[Aptitude-devel] Bug#1065554: Bug#1065554: aptitude: the TUI silently breaks a "Recommends"

Vincent Lefevre vincent at vinc17.net
Wed Mar 6 16:10:35 GMT 2024


On 2024-03-06 16:47:47 +0100, Axel Beckert wrote:
> Hi Vincent,
> 
> Vincent Lefevre wrote:
> > The aptitude TUI silently breaks a "Recommends":
> 
> I've seen also already seen this, but so far it always was for a
> reason here:
> 
> * On multiarch hosts, amd64 and i386 weren't in sync and there were
>   Breaks against any version not being the same version.

This is not a multiarch host yet.

> * An initial solution pulls in a package which Breaks the package in
>   question and that pulled in package later (manually or due to other
>   conflicts by manual changes) gets set to "keep uninstalled", but the
>   effect of its Breaks is not reverted.

I cannot see any Breaks of at-spi2-core.

Note that with the command line, I get

The following packages will be upgraded: 
  gtk-update-icon-cache libgtk-3-bin{b} libgtk-3-common 
The following packages are RECOMMENDED but will NOT be installed:
  libgtk-3-0t64 
3 packages upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
Need to get 4763 kB of archives. After unpacking 3072 B will be used.
The following packages have unmet dependencies:
 libgtk-3-bin : Depends: libgtk-3-0t64 (>= 3.24.41-1.1) but it is not going to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libgtk-3-bin [3.24.41-1 (now, testing)]            

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Remove the following packages:                                     
1)     libatk-bridge2.0-0 [2.50.0-1+b1 (now, testing, unstable)]        
2)     libatk1.0-0 [2.50.0-1+b1 (now, testing, unstable)]               
3)     libatspi2.0-0 [2.50.0-1+b1 (now, testing, unstable)]             
4)     libgtk-3-0 [3.24.41-1 (now, testing, unstable)]                  

     Install the following packages:                                    
5)     libatk-bridge2.0-0t64 [2.51.90-2 (unstable)]                     
6)     libatk1.0-0t64 [2.51.90-2 (unstable)]                            
7)     libatspi2.0-0t64 [2.51.90-2 (unstable)]                          
8)     libgtk-3-0t64 [3.24.41-1.1 (unstable)]                           

     Upgrade the following packages:                                    
9)     at-spi2-core [2.50.0-1+b1 (now, testing) -> 2.51.90-2 (unstable)]

Accept this solution? [Y/n/q/?] y
The following packages have unmet dependencies:
 libgtk-3-0t64 : Depends: libgtk-3-common (>= 3.24.41-1.1) but it is not going to be installed
The following actions will resolve these dependencies:

     Upgrade the following packages:                                                 
1)     libgtk-3-common [3.24.41-1 (now, testing, unstable) -> 3.24.41-1.1 (unstable)]

     Leave the following dependencies unresolved:                                    
2)     libgtk-3-0t64 recommends libgtk-3-bin                                         

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:                                    
1)     libgtk-3-0 [3.24.41-1 (now, testing, unstable)]                                        
2)     libgtk-3-0t64 [Not Installed]                                                          

     Upgrade the following packages:                                                          
3)     libgtk-3-common [3.24.41-1 (now, testing, unstable) -> 3.24.41-1.1~exp1 (experimental)]

     Leave the following dependencies unresolved:                                             
4)     libgtk-3-0 recommends libgtk-3-bin                                                     
5)     libgtk-3-0t64 recommends libgtk-3-bin                                                  

(Note: an upgrade to experimental is bad. BTW, no experimental
packages are currently installed.)

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version: 
1)     libgtk-3-0 [3.24.41-1 (now, testing, unstable)]     
2)     libgtk-3-0t64 [Not Installed]                       
3)     libgtk-3-common [3.24.41-1 (now, testing, unstable)]

     Leave the following dependencies unresolved:          
4)     libgtk-3-0 recommends libgtk-3-bin                  
5)     libgtk-3-0t64 recommends libgtk-3-bin               

and then this is worse and worse. If I type 'y' for this solution,
I get:

The following NEW packages will be installed:
  libatk-bridge2.0-0t64{a} libatk1.0-0t64{a} libatspi2.0-0t64{a} 
The following packages will be REMOVED:
  at-spi2-core{u} libatk-bridge2.0-0{a} libatk1.0-0{a} libatspi2.0-0{a} libgtk-3-bin{u} 
The following packages will be upgraded:
  gtk-update-icon-cache 

Similarly, at-spi2-core gets removed without any warning on
the Recommends.

> But in your case neither of that seems to be case. So it indeed might
> be a bug in this case.

Do you need the bundle?

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