[packagekit] make pkgenpack work

Richard Hughes hughsient at gmail.com
Mon Oct 19 01:41:35 PDT 2009


2009/10/19 Ville-Pekka Vainio <vpivaini at cs.helsinki.fi>:
> su, 2009-10-18 kello 20:58 +0100, Richard Hughes kirjoitti:
>> Either wait a week for it to be automatically created (not practical)
>> or just issue the command "pkcon refresh" and this will generate the
>> package list for you.
>
> I've been hit by this issue at least once, too. Could we maybe have a
> better error message when this happens? Something like
> "Failed to open package list: '/var/lib/PackageKit/system.package-list'.
> Try generating the package list by running 'pkcon refresh'".

I guess this would be better:

The system package list has not yet been created. Do you want to
manually create it now? [Y|n]

and then get pkgenpack to do the refresh-cache action. Does anyone
want to work on this feature?

Richard.



More information about the PackageKit mailing list