Upgrade failed: Trisquel 7 to Trisquel 8

2 Antworten [Letzter Beitrag]
bernie
Offline
Beigetreten: 11/21/2010

Hi all,

Yes, I know... I'm just upgrading now. This is an old machine that I usually boot into Parabola, but decided to upgrade the Trisquel install, but it failed.

In /var/log/dist-upgrade/main.log I found:

2019-11-03 20:23:41,050 DEBUG blacklist expr 'trisquel-desktop-common' matches 'trisquel-desktop-common-recommended'
2019-11-03 20:23:41,050 DEBUG The package 'trisquel-desktop-common-recommended' is marked for removal but it's in the removal blacklist
2019-11-03 20:23:41,138 ERROR Dist-upgrade failed: 'The package 'trisquel-desktop-common-recommended' is marked for removal but it is in the removal blacklist.'

And in /var/log/dist-upgrade/20191103-2020/apt.log I found:

Investigating (5) trisquel-desktop-common-recommended [ amd64 ] < 7.0-39 -> 8.0-34 > ( metapackages )
Broken trisquel-desktop-common-recommended:amd64 Depends on trisquel-codecs [ amd64 ] < 7.0-39 -> 8.0-34 > ( metapackages )
  Considering trisquel-codecs:amd64 22 as a solution to trisquel-desktop-common-recommended:amd64 0
  MarkKeep trisquel-desktop-common-recommended [ amd64 ] < 7.0-39 -> 8.0-34 > ( metapackages ) FU=0
  Removing trisquel-desktop-common-recommended:amd64 rather than change trisquel-codecs:amd64
  MarkDelete trisquel-desktop-common-recommended [ amd64 ] < 7.0-39 -> 8.0-34 > ( metapackages ) FU=0

There are a lot of similar messages with all manner of packages, so I'm guessing that the problem is not something peculiar to trisquel-desktop-common-recommended, but something systemic gone wrong when calculating the upgrade.

Any suggestions on what to do to fix this?

I have run apt-get update, apt-get upgrade and apt-get dist-upgrade.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

You could remove "trisquel-desktop-common-recommended", which does not install anything by itself (it is a meta-package), try again and, if the upgrade works, reinstall that package on Trisquel 8. Notice that Trisquel 7 is not supported anymore. I believe that includes its upgrade to Trisquel 7.

That said, the easy solution is to backup your user data, maybe your list of packages ( https://trisquel.info/en/wiki/cloning-system-or-how-make-copy-installed-packages-one-computer-another ) and to do a clean install. If you have /home separated from /, you can choose the "Something else" type of install, specify the existing filesystem to be mounted at /home and that it must *not* be formatted. You can also specify an existing swap partition. Once the new system installed, you can reinstall your list of additional packages (although there may be some problems: some packages may have been removed from the repository, etc.).

bernie
Offline
Beigetreten: 11/21/2010

Thanks, removing that package did the trick. I reinstalled it after the upgrade, and everything seems in order now.