[Aptitude-devel] Bug#940819: aptitude: meaningless message "it is being removed because..." / issue with ORed dependency

Vincent Lefevre vincent at vinc17.net
Fri Sep 20 11:43:43 BST 2019


On 2019-09-20 11:48:53 +0200, Vincent Lefevre wrote:
> During an upgrade, a package is automatically marked as to be removed
> and the corresponding reason is meaningless:
> 
> xserver-xorg-video-tdfx (remove, 1:1.4.7-1+b1) was installed automatically; it ▒
> is being removed because all of the packages which depend upon it are being    ▒
> removed:                                                                       ▒
> 
> but there are no removed packages (no packages are listed).
> 
> FYI:
> 
> zira:~> aptitude why xserver-xorg-video-tdfx
> i   xserver-xorg            Depends  xserver-xorg-video-all | xorg-driver-video
> i A xserver-xorg-video-tdfx Provides xorg-driver-video                         
> 
> and xserver-xorg-video-all is installed. I don't think that this
> output is correct either because as xserver-xorg-video-all is installed,
> the xorg-driver-video dependency should be ignored. Thus this is not the
> reason why xserver-xorg-video-tdfx is installed.

It seems that the real reason is that xserver-xorg-video-tdfx 1:1.4.7-1+b1
(which was installed on my machine) had

Provides: xorg-driver-video

but the new version xserver-xorg-video-tdfx 1:1.5.0-1 no longer has it.

aptitude should detect when the "all of the packages which depend upon
it are being removed" list is empty and output an alternate message
instead, because the reason is different.

-- 
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