[Aptitude-devel] Bug#1019465: Bug#1019465: aptitude: wants to remove the required package lsb-base with a broken reason

Vincent Lefevre vincent at vinc17.net
Sat Sep 10 17:22:28 BST 2022

Hi Axel,

On 2022-09-10 15:34:50 +0200, Axel Beckert wrote:
> Vincent Lefevre wrote:
> > After marking some packages for upgrade, I get:
> > 
> > --\ Packages being deleted due to unsatisfied dependencies (1)
> > id  lsb-base         -50.2 kB  11.2                     11.2
> which is correct, yes.
> > Linux Standard Base init script functionality
> > lsb-base (remove, 11.2) will be automatically removed because of dependency    ▒
> > errors:                                                                        ▒
> Where did this show up? I didn't get this. Or at least can't remember
> it. Was this a pop-up message?

After typing 'g' (to "perform all pending installations, removals,
and upgrades") and putting the cursor over the

id  lsb-base         -50.2 kB  11.2                     11.2

line (in order to learn why this package is removed). This is what
the bottom part of the window shows.

> > but no errors shown!!!
> Because they were resolved.

OK, so the real reason should be given.

> > It seems to be triggered by the upgrade of sysvinit packages from
> > 3.04-1 to 3.05-2. In the sysvinit 3.05-1 log message:
> > 
> >   * Take over library scripts from lsb-base.
> Yes, but because of this:
> Conflicts: lsb-base

Normally conflicts produce an error on packages that must not be
removed. Here, I suppose that this is OK because of

Provides: lsb-base (= 11.1.0)

(by default, this is not shown by aptitude in the package description).

> So from my point of view aptitude did everything correctly and I don't
> see a bug here.

Well, the "because of dependency errors" in the above message is
incorrect and very confusing. Since there are no dependency errors,
this cannot be because of dependency errors.

Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the Aptitude-devel mailing list