I tried to upgrade my older laptop (which is taking dust) from Trisquel 7 to Trisquel 8. I first disabled the external repositories (e.g., jxself's since I use the latest Linux-libre). After discovering that neither 'update-manager -d' nor 'sudo do-release-upgrade -d' would propose me to update, I changed all "belenos" in /etc/apt/sources.list to "flidas" ('sudo sed -i s/belenos/flidas/' /etc/apt/sources.list) and:

I ran 'sudo apt upgrade'. At that point I thought everything went well and just copied the errors/warnings into "1. original-apt-upgrade.txt". However, I was about to discover that the last logged error is malignant:
Errors were encountered while processing:
 libclutter-imcontext-0.1-bin
 ibus-clutter:amd64
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
A reboot later, GDM did not start. I logged into tty1 and tried again 'sudo apt upgrade'. In vain. The log, "2. failed-apt-upgrade-after-reboot.txt", ends with: /usr/bin/clutter-scan-immodules: relocation error: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
dpkg: error processing package libclutter-imcontext-0.1-bin (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of ibus-clutter:amd64:
 ibus-clutter:amd64 depends on libclutter-imcontext-0.1-bin; however:
  Package libclutter-imcontext-0.1-bin is not configured yet.
dpkg: error processing package ibus-clutter:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up sa-compile (3.4.1-3) ...
Running sa-compile (may take a long time)
re2c: relocation error: re2c: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
/usr/bin/sa-compile requires re2c for proper operation.
dpkg: error processing package sa-compile (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libclutter-imcontext-0.1-bin
 ibus-clutter:amd64
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Since before that, there was a long list of packages to "autoremove", I did 'sudo apt-get autoremove' and, again, 'sudo apt upgrade', which upgraded 43 packages and installed 131 packages. However, the log, "3. apt-upgrade-after-autoremove.txt", ended like before:
Errors were encountered while processing:
 libclutter-imcontext-0.1-bin
 ibus-clutter:amd64
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
I therefore decided to 'sudo apt remove sa-compile', what went well, according to "4. apt-remove-sa-compile.txt". I proceeded to 'sudo apt remove libclutter-imcontext-0.1-bin', that went well too, according to "5. apt-remove-libclutter-imcontext-0.1-bin.txt" (and "ibus-clutter" depending on "libclutter-imcontext-0.1-bin", it was removed as well). After all that, I still could not get a graphical session, probably because 'sudo apt-get autoremove' removed too much. I therefore decided to install the default desktop with 'sudo apt install trisquel', which apparently went well (I did not save the logs). On the contrary, 'sudo apt install trisquel-recommended' does not work, for depending on packages that are still absent (if I remember well the error). I executed 'sudo start lightdm' and could log into the MATE desktop... but the icons on the desktop did not load, the cursor spun forever and the system was lagging a lot. I managed after some time to get back to tty1 and 'top' showed me that 'mate-settings-daemon' (if I remember well) and X were occupying the CPU. Worse, any attempt to use 'apt' or 'apt-get' (even to just show its version with "-v") now gives this error: apt: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference


I hope that helps to fix issues in the upgrade process. It does not look ready. At least not for my selection of packages. I did not think of saving that selection (which notably includes GNOME Shell) before the upgrade. However, my current laptop has a similar selection. Indeed, I used https://trisquel.info/en/wiki/cloning-system-or-how-make-copy-installed-packages-one-computer-another to initially set it up a few months ago. I can give its list of installed packages, if useful.

I will try to install from ISO on the older laptop.

Reply via email to