Trisquel 11 update fails

18 replies [Last post]
Hein

I am a member!

Offline
Joined: 07/30/2022

I just tried to upgrade Triskel from Nabia to Aramo.
Before I ran the following commands to have everything up to date:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Then I tried to upgrade to Aramo via:
sudo do-release upgrade

But all i got was this, where the process got stuck:

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
If none of this applies, then please report this bug using the
command https://gitlab.trisquel.org/trisquel/package-helpers in a
browser.. If you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Wed Mar 22 19:01:18 2023) ===
=== Command terminated with exit status 1 (Wed Mar 22 19:01:28 2023) ===

Did anyone else experience this or know how to solve this? I got the same result trying to upgrade on two different computers.

Cheers,
Hein

samsgnu
Offline
Joined: 05/11/2022

I also tried to upgrade Triskel (with kde plasma) from Nabia to Aramo, and I experienced exactly the same thing :|
But aside from that: Thank you all for the hard work that went into the release of T11!

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

As the error says, it would be useful to read /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log, that you can attach to your next post.

samsgnu
Offline
Joined: 05/11/2022

Yeah, sorry, could have done that the first time already. So, here I attach the two log files. Maybe these tell you something. Thank you in advance!

PS: I just took a quick look into "apt.log". It was mainly generated in English, but a German phrase "Hängt ab von" appears quite some times. "Hängt ab von" means "depends on". Just for your information ;)

AttachmentSize
main.log 6.43 KB
apt.log 1.77 MB
Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Could you translate that line?
2023-03-23 09:29:36,305 ERROR Dist-upgrade failed: 'E:Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.'
Do you have packages installed from third-party repositories (PPAs for instance)? Broken packages (the Synaptic Package Manager has a "Custom Filter" for "Broken" packages)?

samsgnu
Offline
Joined: 05/11/2022

I would translate that line somewhat like this:

```
2023-03-23 09:29:36,305 ERROR Dist-upgrade failed: 'E:Error: Interruptions evoked by pkgProblemResolver::Resolve; this could be caused by held back packages.'
```

I can't see any broken packages in synaptic, but yes, I do have packages installed from third-party repositories, see screenshot. I deactivated them, but maybe I have to delete them temporarily? I will try this weekend ;)

Screenshot_20230325.png
samsgnu
Offline
Joined: 05/11/2022

Okay, here's what I've done in the meantime:

I removed the applications that I had manually installed as .deb-packages over the last years. Also, I removed third-party repositories in Synaptic Package Manager.

When I then run

$ sudo do-release-upgrade

I get

[...]
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
If none of this applies, then please report this bug using the
command https://gitlab.trisquel.org/trisquel/package-helpers in a
browser.. If you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Sat Mar 25 19:16:46 2023) ===
=== Command terminated with exit status 1 (Sat Mar 25 19:16:56 2023) ===

And when I run

$ sudo do-release-upgrade -d

I get

[...]
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was caused by:
* Upgrading to a pre-release version of Trisquel
This is most likely a transient problem,
please try again later.
If none of this applies, then please report this bug using the
command https://gitlab.trisquel.org/trisquel/package-helpers in a
browser.. If you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Sat Mar 25 19:14:13 2023) ===
=== Command terminated with exit status 1 (Sat Mar 25 19:14:23 2023) ===

Hm, do you have any idea why it doesn't work? I also attached my log-files again. Thank you!

AttachmentSize
main.log 6.25 KB
apt.log 1.73 MB
Ark74

I am a member!

I am a translator!

Offline
Joined: 07/15/2009

Just in case, upload the complete directory.

samsgnu
Offline
Joined: 05/11/2022

Hi! Thanks for your reply. You mean upload the complete "dist-upgrade" directory? Here it is.

BTW: Just today I changed the system language from German to US English, in order to make communication a little easier.

BTW2: I'm just a "normal" user without much technical OS-knowledge. Not sure whether it is important, but: I think by the time I installed Triskel 10 my SSD was placed in a Dell Latitude E7450. As I need this laptop at another place right now, I just swapped the SSD over into my old machine (a Lenovo X230) some weeks ago. Could this maybe cause problems now when I try to upgrade to T11?

AttachmentSize
dist-upgrade.tar.gz 1.67 MB
amenex
Offline
Joined: 01/04/2015

Whenever you swap hardware, the operating system has to be adjusted, as the operating system may not have identical coding. Try installing nabia from a live DVD or live flash card (faster !). The live installation process is attuned to selecting appropriate coding that is designed for your new hardware. Once nabia works OK, then the distribution upgrade should have an easier time of it.

Gottfried
Offline
Joined: 02/22/2022

Hi,
I tried to update from triskel 10 to 11 and I had exactly the same messages.

$ sudo do-release-upgrade

I get

[...]

Checking package manager

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

If none of this applies, then please report this bug using the

command https://gitlab.trisquel.org/trisquel/package-helpers in a

browser.. If you want to investigate this yourself the log files in

'/var/log/dist-upgrade' will contain details about the upgrade.

Specifically, look at 'main.log' and 'apt.log'.

Restoring original system state

Aborting

Reading package lists... Done

Building dependency tree

AttachmentSize
main.log 7.7 KB
apt.log 135.15 KB
Gottfried
Offline
Joined: 02/22/2022

$ sudo do-release-upgrade

I get

[...]

Checking package manager

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

If none of this applies, then please report this bug using the

command https://gitlab.trisquel.org/trisquel/package-helpers in a

browser.. If you want to investigate this yourself the log files in

'/var/log/dist-upgrade' will contain details about the upgrade.

Specifically, look at 'main.log' and 'apt.log'.

Restoring original system state

Aborting

Reading package lists... Done

Building dependency tree

AttachmentSize
main.log 7.7 KB
apt.log 135.15 KB
Ark74

I am a member!

I am a translator!

Offline
Joined: 07/15/2009

Hein, samsgnu, and Gottfried ,

It's very possible that you have mixed packages on your current installation.

Please try the following,
Disable all third party repositories, you might find them at /etc/apt/sources.list or at several other files at /etc/apt/sources.list.d/

Make sure you have main, main-updates and main-security active, you may be using some mirror but the main components need to be enabled, so it could look something like this:

deb http://archive.trisquel.org/trisquel/ nabia main
deb-src http://archive.trisquel.org/trisquel/ nabia main
deb http://archive.trisquel.org/trisquel/ nabia-updates main
deb-src http://archive.trisquel.org/trisquel/ nabia-updates main
deb http://archive.trisquel.org/trisquel/ nabia-security main
deb-src http://archive.trisquel.org/trisquel/ nabia-security main
# deb http://archive.trisquel.org/trisquel/ nabia-backports main
# deb-src http://archive.trisquel.org/trisquel/ nabia-backports main

Then install aptitude

sudo apt install aptitude

then replace nabia for aramo at /etc/apt/sources.list, you can do this with something like;
sudo sed -i "s|nabia|aramo|g" /etc/apt/sources.list

Finally do a complete upgrade,

sudo aptitude update ; sudo aptitude dist-upgrade

This will likely show some conflicts, being the reason for do-release-upgrade to fail, aptitude is smart enough to provide options on how to solve these, please take your time to read every suggestion, if you have doubts we might be able to review some here.

Once you resolve the conflicts it should proceed to upgrade your system to aramo.

Cheers!

samsgnu
Offline
Joined: 05/11/2022

Thanks a lot for your indications!
I will try soon ...
Best,
samsgnu

Hein

I am a member!

Offline
Joined: 07/30/2022

Thank you for all your helpful replies and thank you Ark74
I have no third party repositories but experienced exactly the same errors.
In German the error message says "Es konnte nicht ermittelt werden, welche Systemaktualisierungen verfügbar sind" instead of "could not calcuate the upgrade", which means something like: "Could not find out which system upgrades are available"

I was following Ark74's steps and it all worked out perfectly and resolved all the conflicts. (I also switched from using apt to using aptitude, thank you for that hint as well)

I'm now a happy Triskel 11 user. Lots of nice improvements, thank you!

samsgnu
Offline
Joined: 05/11/2022

So, I followed your suggestions, thanks again. There were a looot of conflicts ...

Considering my limited skills in solving them, I decided to go for a fresh installation. Took me some time then to set things up the way I like them, but that's a good exercise anyway. Everything's fine now, and I'm enjoying Triskel 11!

A huge THANK YOU to all of you, cheers!

jxself
Offline
Joined: 09/13/2010

I don't bother with OS upgrades. Instead, I prefer to format and reinstall. This helps me clean out old packages I've installed and long since forgotten about and re-evaluate how I want to do things.

samsgnu
Offline
Joined: 05/11/2022

Yeah, I usually do it the way you do, and for exactly the same reasons. This time, though, I was curious about the dist-upgrade thing. I'll keep trying for a bit ... and otherwise switch back to a fresh install ;) Looking forward to discovering and setting up T11!
Cheers!

GNUser
Offline
Joined: 07/17/2013

Hey, sorry for bringing this thread back up again.

As I mentioned in another thread, I made a fresh install of Trisquel 9 and upgraded to Trisquel 10. I have no third party repos added or any extra software installed. I too get the error mentioned above when trying to upgrade to 11. I believe Ark74 recommendations could work, but I don't understand why a fresh system would have problems updating... Maybe should it be considered a "bug"? Or am I understanding it wrong?