The officially official Devuan Forum!

You are not logged in.

#1 2018-11-21 06:38:22

pcalvert
Member
Registered: 2017-05-15
Posts: 219  

Frequent aptitude upgrade error

I often encounter this error when using aptitude to upgrade my Devuan ASCII system:

# aptitude update && aptitude upgrade
Get: 1 http://pkgmaster.devuan.org/merged ascii InRelease [25.6 kB]
Get: 2 http://pkgmaster.devuan.org/merged ascii-updates InRelease [25.6 kB]
Get: 3 http://pkgmaster.devuan.org/merged ascii-security InRelease [24.9 kB]
Get: 4 http://pkgmaster.devuan.org/merged ascii-backports InRelease [25.6 kB]
Hit http://download.virtualbox.org/virtualbox/debian stretch InRelease
Get: 5 http://pkgmaster.devuan.org/merged ascii-backports/main i386 Packages [510 kB]
Get: 6 http://pkgmaster.devuan.org/merged ascii-backports/main amd64 Packages [516 kB]
Fetched 1,128 kB in 7s (148 kB/s)                                                                                                                             
                                         
Resolving dependencies...                
Internal error: found 2 (choice -> promotion) mappings for a single choice.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

If I comment out backports and try again, the problem goes away. My guess is that someone has messed up and did not properly rename one of the packages in backports. Of course, I could be wrong. Any thoughts?

Phil


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Online

#2 2018-11-21 07:08:11

golinux
Administrator
Registered: 2016-11-25
Posts: 3,347  

Re: Frequent aptitude upgrade error

Offline

#3 2018-11-21 11:41:39

pcalvert
Member
Registered: 2017-05-15
Posts: 219  

Re: Frequent aptitude upgrade error

golinux wrote:

Thank you for the suggestion. Yes, I did, and the problem remains.

Phil


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Online

#4 2018-11-21 14:53:00

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,502  

Re: Frequent aptitude upgrade error

Do you know which packages from backports are causing the problem? Get the list of bpo packages that are to be upgraded, and run 'apt-cache policy' on them to see what versions are in ascii and bpo. That might identify the naming problem you suspect. It might also be possible to find the problem by upgrading one bpo package at a time. (one or a few if necessary.)

Offline

#5 2018-11-28 15:54:13

pcalvert
Member
Registered: 2017-05-15
Posts: 219  

Re: Frequent aptitude upgrade error

I did a little more detective work on this today. I found three packages from Jessie that were, for some reason, never removed when I upgraded to ASCII.

$ apt-show-versions -u
remmina:i386/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1
remmina-common:all/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1
remmina-plugin-rdp:i386/ascii-backports 1.1.1-2 upgradeable to 1.2.32.1+dfsg-1~bpo9+1

After removing them the problem seems to have gone away, at least for now.

Phil


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Online

Board footer