[packagekit] API change request: INFO_ENUM_FAILED

Sebastian Heinlein devel at glatzor.de
Thu Jul 4 21:52:36 PDT 2013


Am Sonntag, den 30.06.2013, 09:24 +0100 schrieb Richard Hughes:
> On 29 June 2013 09:48, Sebastian Heinlein <glatzor at ubuntu.com> wrote:
> > The APTcc backend and aptdaemon will already emit a corresponding
> > ErrorCode if the download fails. But nevertheless APT won't stop until
> > all downloads are done.
> 
> So it does this?
> 
> downloading a.i386
> downloading b.i386
> down.... failed c.i386
> downloading d.i386
> downloading e.i386
> error-code failed?
> 
> > So it is more about improving the progress reporting.
> 
> The transaction should fail after c.i386 fails, and not carry on,
> anything else is quite strange indeed.

Why downloading behaves this way in apt:

The apt-get tool allows to continue installing the non-failed downloads.
Another benefit of this behavior is a summary of all failed downloads.
So the user hasn't to repeat the command until you figure out the
working downloads.

Furthermore the refresh cache call doesn't fail if one or two repos
cannot be accessed. It uses the same acquire/download class.



More information about the PackageKit mailing list