[T11 -> T12]

4 risposte [Ultimo contenuto]
useresu
Offline
Iscritto: 04/18/2026

Opening a specific thread for this: https://trisquel.info/en/forum/do-release-upgrade-stopped-lock-files#comment-183091

The upgrade from T11 to T12 in two machines stop with the following message:

The package 'trisquel-desktop-common' is marked for removal but it is in the removal deny list.

The command

$ [sudo] apt-mark showhold

returns nothing. This other one returns:

$ sudo apt-mark unhold trisquel-desktop-common
trisquel-desktop-common was already not on hold.
useresu
Offline
Iscritto: 04/18/2026

(Sorry, I forgot to fulfill the rest of the thread's title. I cannot remove this one either.)

useresu
Offline
Iscritto: 04/18/2026

Making the question from #13 there here:

In a fresh T12 installation, trisquel-desktop-common is present. Why is the upgrade mechanism trying to remove it from T11?

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

https://trisquel.info/en/forum/do-release-upgrade-stopped-lock-files#comment-183091

Answering to your question in that post: yes, you can run build-ecne-upgrader.sh on https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/245#3-current-version-of-the-script to generate the latest version of the upgrade script and execute it. I am not sure it will solve your problem though.

The package 'trisquel-desktop-common' is marked for removal but it is in the removal deny list.

That package and those that depend on it, such as trisquel-desktop-recommended or trisquel, are actually meta-packages: they do not install anything by themselves. If removing them helps you upgrade to Trisquel 12, I believe you can do so. Then, on Trisquel 12, executing tasksel in a terminal will allow you to setup your preferred desktop environment(s).

useresu
Offline
Iscritto: 04/18/2026

Taking the opportunity: Thank you for teaching me about tasksel.

Removing trisquel-desktop-common just worked, with the script from gitlab. In the end of the upgrade, during removals, dpkg failed; it fails again in T12 already before tasksel:

$ sudo apt autoremove 
REMOVING:
  trisquel-desktop-common-data

Summary:
  Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 1
  1 not fully installed or removed.
  Freed space: 593 kB

Continue? [Y/n] 
(Reading database ... 306780 files and directories currently installed.)
Removing trisquel-desktop-common-data (11.0-4) ...
Removing 'diversion of /etc/gtk-3.0/settings.ini to /etc/gtk-3.0/settings.ini.ubuntu by trisquel-desktop-common-data'
dpkg-divert: error: rename involves overwriting '/etc/gtk-3.0/settings.ini' with
  different file '/etc/gtk-3.0/settings.ini.ubuntu', not allowed
dpkg: error processing package trisquel-desktop-common-data (--remove):
 installed trisquel-desktop-common-data package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
 trisquel-desktop-common-data
Processing was halted because there were too many errors.
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Besides that, there was only two apparent glitches. One of them was dpkg complaining about not having fontconfig-config installed before installing noto fonts; fontconfig-config was installed just after that. The second was dpkg complaining about: break-usrmerge (dpkg does not work with mere links for usrmerge, according to that message).