[packagekit] Installing from CD media

Richard Hughes hughsient at gmail.com
Tue Mar 4 07:14:28 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?

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.

Richard.





More information about the PackageKit mailing list