[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] Changing APT to pre-depend on ${shlibs:Depends}

On Wed, Apr 27, 2011 at 01:46:50PM -0500, Peter Samuelson wrote:
> [Eugene V. Lyubimkin]
> > Second, why the APT's ability to upgrade is broken under these
> > conditions? Unless I'm missing something, the upgrade cannot be
> > started in the middle of another upgrade [1].

> > [1] If we count the situation for resuming broken upgrade, there is a
> > some chance you'll have to call dpkg manually or some hacks
> > to proceed anyway.

> Not always.  There are states dpkg goes through that 'apt-get install'
> can "recover" from on its own.  You don't always have to go to dpkg.

> Also, what if apt wants to call one of its auxilliary binaries during
> the install/upgrade?  I imagine it's not implemented that way _now_,
> but a Pre-Depends would make such a thing a lot safer if they want it.
> (Same is true if they want to dlopen a library during the install, but
> that's somewhat less likely.)

"We might some day later change the way apt works for upgrades" is not an
argument for adding a pre-dependency now.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Reply to: