On Sat, Feb 16, 2013 at 12:13:23PM +0100, Thijs Kinkhorst wrote:
> Thanks for the patch. I've applied it and it will be part of the next upload.

Thanks.

> It made me wonder though: couldn't problems like this be avoided in
> general if apt would automatically sort dpkg to the front of the upgrade?
> I've seen this behaviour in Red Hat's up2date, rpm and yum; if any of
> those packages is part of the upgrade, it's upgraded first and it restarts
> itself before continuing with the rest of the packages. Do you know if
> something like this has been considered in Debian?

apt does generally try to sort Essential packages earlier (it's not
possible for it always to upgrade dpkg first, since it has Pre-Depends),
but I don't think it's wise for packages to rely on that when it's
normally so easy to avoid relying on it.  It is occasionally necessary
to upgrade dpkg in reasonably close sync with other libraries and
language bindings and the like, and that can pull a surprising number of
packages quite early in the upgrade; it's better if maintainers are in
the habit of being clear about their ordering requirements, since then
they're less likely to make mistakes if they touch base system packages.

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to