[packagekit] Installing from CD media

Justin Haygood jhaygood at reaktix.com
Tue Mar 4 07:21:09 PST 2008


>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.

>
>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.

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



More information about the PackageKit mailing list