[packagekit] Installing from CD media

Justin Haygood jhaygood at reaktix.com
Tue Mar 4 07:33:36 PST 2008


>On Tue, 2008-03-04 at 10:21 -0500, Justin Haygood wrote:
>> >On Tue, 2008-03-04 at 09:52 -0500, Justin Haygood wrote:
>> >> openSUSE users expect this as well. By default, if installed from a 
>CD/DVD,
>> >> the only repo available is the CD/DVD, and if network connection was
>> >> available during install, the Online Update repo. Heck, openSUSE uses 2
>> >> DVD-9s :).
>> >
>> >Could we do:
>> >
>> >ErrorCode(PK_ERROR_ENUM_INSERT_MEDIA, "cannot find local media")
>> >Finished()
>> >
>> >And then handle this client side? How does the suse installer handle
>> >this interaction?
>> 
>> That might work. If ZYPP chooses to use the CD/DVD repo (i.e., if
>> there is no newer version on another repo), the frontend (zypper,YaST)
>> simply prompts for the media number and waits until inserted.
>
>So you ask mid transaction? My worry is that packagekit can't do that,
>and we might even need to change DVD's in the extreme case.
>

Yes, basically.

>> >Surely for this case can can default to the cdrom repo, and if not
>> >inserted, fall back to the network install. I don't think we can rely on
>> >the cdrom as the sole media as there might have been updates in the
>> >meantime which conflict with the cd media versions.
>> >
>> 
>> There is no network install available other than the update repo,
>> which is preferred over the CD/DVD. However, the update repo only has
>> packages which has been updated, and not the full repo.
>
>So if you loose the disc you can't install software not in updates?
>

Pretty much. Again, this is just a default install. You can add the online repo, but its not added by default.

-- 
Justin Haygood
jhaygood at reaktix.com
Reaktix. Reality Redefined.



More information about the PackageKit mailing list