How this bug can come out of its dead-end? Any suggestions?!

Ankur Sinha sanjay.ankur at gmail.com
Sun May 9 07:13:22 UTC 2010


On Sun, 2010-05-09 at 11:22 +0430, Hedayat Vatankhah wrote:
> 
> Frank Murphy <frankly3d at gmail.com> wrote on 05/08/2010 10:51:42 PM
> +0450:
> > On 08/05/10 19:15, Hedayat Vatnakhah wrote:
> >   
> > > Please have a look at the last comments of the bug. Most of the
> > > implementation is done, the only missing part is how to mount the CD/DVD
> > > in PackageKit!
> > > 
> > > Thanks,
> > > Hedayat
> > > 
> > > 
> > >     
> > If you can install "gnome-packagekit-extra" if using Gnome?
> > 
> > Is houls allow you to choose which sources\repos to use.
> >   
> No, the problem is this: PackageKit does not know how to mount a
> removable media. As noted in the last comment of the mentioned bug,
> Muayyad Alsadi has implemented four methods for mounting a removable
> media: using DeviceKit, using GIO, using HAL and calling the system's
> mount command. The DeviceKit implementation cannot mount the device
> because of default system policies (the backend is running as root),
> GIO has a bug and does not allow mounting, HAL is deprecated, and
> PackageKit developer doesn't like mounting using the system's mount
> command!
> 
> Thanks,
> Hedayat

hey,

A suggestion. 

Instead of working specifically and trying to mount the dvd/cd, why not
have an option that says "use a custom/local repo"

It could open an explorer window and let you choose the repo directory.
Since dvds/cds are mounted by default on insertion, the user could
easily select it and use it as an additional repo. This way, you
(packagekit devs) don't have to worry about mounting the dvd/cd media,
and are also providing support for any local repos that people might
want to use (copied repos using USB hard drives etc). You won't need to
get the media.repo and configure it to the correct path etc. too.

Comments?

-- 
regards,
Ankur 
- FAS : ankursinha ; franciscod @ Freenode
- gpg --keyserver pgp.mit.edu --recv-keys 5E9BF638

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100509/96cad499/attachment.bin 


More information about the devel mailing list