Can never seem to upgrade the distros and would appreciate some help

13 risposte [Ultimo contenuto]
hi-from-mike
Offline
Iscritto: 12/10/2020

Hi I've been trying to upgrade from Trisquel 10 to 11 but whenever I tried the following commands:

sudo apt dist-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
libodbcinst2 : Breaks: odbcinst1debian2 (< 2.3.9-1~) but 2.3.6-0.1build1 is to be installed
libwmflite-0.2-7 : Breaks: libwmf0.2-7 (< 0.2.12-1) but 0.2.8.4-17ubuntu1 is to be installed
unixodbc-common : Breaks: odbcinst (< 2.3.9-1~)
Breaks: odbcinst1debian2 (< 2.3.9-1~) but 2.3.6-0.1build1 is to be installed
Breaks: odbcinst:i386 (< 2.3.9-1~)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I've also tried:

sudo do-release-upgrade

Checking for a new Trisquel release
Please install all available updates for your release before upgrading.

I have placed a # in front of every line of all of the files within /etc/apt/sources.list.d , unless I was suppose to rename each file with a # in front; but now I'm at a loss of what to do.

I had this same problem with on an older distro and It looks like I will have to make a back up and make a fresh install again but I really don't want to keep doing this every single time I need to upgrade the distro.

Is there anyone who can give me advice on what to do to resolve this?

Any help will be well appreciated.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

libodbcinst2 : Breaks: odbcinst1debian2 (< 2.3.9-1~) but 2.3.6-0.1build1 is to be installed
libwmflite-0.2-7 : Breaks: libwmf0.2-7 (< 0.2.12-1) but 0.2.8.4-17ubuntu1 is to be installed
unixodbc-common : Breaks: odbcinst (< 2.3.9-1~)
Breaks: odbcinst1debian2 (< 2.3.9-1~) but 2.3.6-0.1build1 is to be installed
Breaks: odbcinst:i386 (< 2.3.9-1~)

Have you tried to remove (some of) those packages? Their reverse dependencies, which would be removed as well, will be listed. Go ahead if you are OK with removing them (you could reinstall them after the upgrade), otherwise do not confirm.

hi-from-mike
Offline
Iscritto: 12/10/2020

Thank you Magic Banana

I'd be happy to temporarily remove them. I have tried using:

Sudo apt purge libodbcinst2 libwmflite-0.2-7 unixodbc-common

But all I get is:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libodbcinst2' is not installed, so not removed
Package 'libwmflite-0.2-7' is not installed, so not removed
Package 'unixodbc-common' is not installed, so not removed

Am I doing something wrong?

.....or was I suppose to remove 'odbcinst1debian2 libwmf0.2-7 odbcinst odbcinst1debian2 odbcinst:i386'

Because those packages I do have (but I can't seem to find the latter, but I think that relates to odbcinst)

hi-from-mike
Offline
Iscritto: 12/10/2020

Alright, I did try removing the latter packages ('odbcinst1debian2 libwmf0.2-7 odbcinst odbcinst1debian2 odbcinst:i386'), executed 'sudo apt dist-upgrade' and now I get this:

(A huge swarm of package listed to be, removed, held back, upgraded etc and then....)

WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt adduser (due to apt) trisquel-keyring (due to apt)
libgnutls30 (due to apt) e2fsprogs init systemd-sysv (due to init) login
libpam-runtime (due to login) libpam-modules (due to login) mount
util-linux (due to mount) sysvinit-utils
106 to upgrade, 8 to newly install, 1335 to remove and 544 not to upgrade.
Need to get 209 MB of archives.
After this operation, 4,898 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

Now, I am just someone whoose painting by numbers at this point, so I not sure whether or not to go through with this. I wanna get some work done first before continuing with this.

Still getting the same results for using 'sudo do-release-upgrade' though

It's looking like I may have to pull of a fresh install, as I don't seem to have much luck with the distro upgrades.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

was I suppose to remove 'odbcinst1debian2 libwmf0.2-7 odbcinst odbcinst1debian2 odbcinst:i386'

Yes, I believe the packages to remove are after "Breaks": odbcinst1debian2, libwmf0.2-7, and odbcinst.

hi-from-mike
Offline
Iscritto: 12/10/2020

Alright, I did remove the latter packages ('odbcinst1debian2 libwmf0.2-7 odbcinst odbcinst1debian2 odbcinst:i386'), executed 'sudo apt dist-upgrade' and now I get this:

(A huge swarm of package listed to be, removed, held back, upgraded etc and then....)

WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt adduser (due to apt) trisquel-keyring (due to apt)
libgnutls30 (due to apt) e2fsprogs init systemd-sysv (due to init) login
libpam-runtime (due to login) libpam-modules (due to login) mount
util-linux (due to mount) sysvinit-utils
106 to upgrade, 8 to newly install, 1335 to remove and 544 not to upgrade.
Need to get 209 MB of archives.
After this operation, 4,898 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

Now, I am just someone whoose painting by numbers at this point, so I not sure whether or not to go through with this. I wanna get some work done first before continuing with this.

Still getting the same results for using 'sudo do-release-upgrade' though

It's looking like I may have to pull of a fresh install, as I don't seem to have much luck with the distro upgrades.

Staircase
Offline
Iscritto: 02/24/2022

Unless I'm missing something, I understand from your message that:


$ sudo do-release-upgrade
Checking for a new Trisquel release
Please install all available updates for your release before upgrading.

says that you should install all updates for the current distribution before upgrading to the next. Maybe you can try


$ sudo apt update && sudo apt upgrade

before trying to upgrade to the next distribution.

hi-from-mike
Offline
Iscritto: 12/10/2020

I've already tried updating and upgrading thanks, but still the same results unfortunately

Ark74

I am a member!

I am a translator!

Offline
Iscritto: 07/15/2009

When apt is not able to give you at least enough information, try using aptitude.

sudo aptitude dist-upgrade

It would suggest a more detailed view of the issue.

hi-from-mike
Offline
Iscritto: 12/10/2020

Okay, thanks. Now I got more info to work with:

The following packages have unmet dependencies:
python-six : Breaks: python (< 2.7.18) which is a virtual package, provided by:
- python-is-python2 (2.7.17-4) provides python=2.7.17-1, but 2.7.17-4 is installed

libumfpack5 : Depends: libamd2 (>= 1:4.5.2) but it is not going to be installed
Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
libcom-err2 : Breaks: libcom-err2:i386 (!= 1.46.5-2ubuntu1.1+11.0trisquel0) but 1.46.5-2ubuntu1.1 is to be installed
libcom-err2:i386 : Breaks: libcom-err2 (!= 1.46.5-2ubuntu1.1) but 1.46.5-2ubuntu1.1+11.0trisquel0 is installed
libsemanage1 : Depends: libsemanage-common (= 3.0-1build2) but 3.3-1build2 is to be installed
ayatana-indicator-messages : Breaks: indicator-messages but 13.10.1+18.10.20180918-0ubuntu3 is to be installed
libpod-constants-perl : Depends: libpod-parser-perl but it is not going to be installed
gvfs-bin : Depends: gvfs-common (= 1.44.1-1ubuntu1.2) but 1.48.2-0ubuntu1 is to be installed
libgirepository-1.0-1 : Breaks: python-gi (< 3.42.0-1+b1) but 3.36.0-1 is installed
python3-protobuf : Depends: python3 (< 3.9) but 3.10.6-1~22.04 is to be installed
libc6 : Breaks: libc6:i386 (!= 2.35-0ubuntu3.1+11.0trisquel1) but 2.35-0ubuntu3.1 is to be installed
libc6:i386 : Breaks: libc6 (!= 2.35-0ubuntu3.1) but 2.35-0ubuntu3.1+11.0trisquel1 is to be installed
qemu-system-x86 : Breaks: qemu-kvm but 1:4.2-3ubuntu6.26 is installed
fuse3 : Breaks: fuse but 2.9.9-5ubuntu3+11.0trisquel1 is to be installed
libkmlbase1 : Depends: liburiparser1 (>= 0.7.1) but it is not going to be installed
libssl3 : Breaks: libssl3:i386 (!= 3.0.2-0ubuntu1.10+11.0trisquel0) but 3.0.2-0ubuntu1.7 is to be installed
libssl3:i386 : Breaks: libssl3 (!= 3.0.2-0ubuntu1.7) but 3.0.2-0ubuntu1.10+11.0trisquel0 is to be installed
gir1.2-unity-7.0 : Conflicts: gir1.2-unity-5.0 but 7.1.4+19.04.20190319-0ubuntu3 is installed
libcrypt1 : Breaks: libcrypt1:i386 (!= 1:4.4.27-1+11.0trisquel0) but 1:4.4.27-1 is to be installed
libcrypt1:i386 : Breaks: libcrypt1 (!= 1:4.4.27-1) but 1:4.4.27-1+11.0trisquel0 is to be installed
libgcc1 : Depends: gcc-10-base (= 10.3.0-1ubuntu1~20.04) but 10.4.0-4ubuntu1~22.04 is to be installed
libsz2 : Depends: libaec0 (>= 1.0.6) but it is not going to be installed
ayatana-indicator-power : Breaks: indicator-power but 12.10.6+17.10.20170829.1-0ubuntu7 is installed
libayatana-appindicator3-1 : Conflicts: libappindicator3-1 but 12.10.1+20.10.20200706.1-0ubuntu1 is installed
libodbcinst2 : Depends: unixodbc-common (>= 2.3.9-5) but it is not going to be installed
qemu-kvm : Depends: qemu-system-x86 (= 1:4.2-3ubuntu6.26) but 1:6.2+dfsg-2ubuntu6.12 is to be installed
python3-crypto : Depends: python3 (< 3.9) but 3.10.6-1~22.04 is to be installed
ayatana-indicator-datetime : Breaks: indicator-datetime but 15.10+21.04.20210304-0ubuntu1+11.0trisquel2 is to be installed
ayatana-indicator-sound : Breaks: indicator-sound but 12.10.2+18.10.20180612-0ubuntu4 is to be installed
sshfs : Breaks: fuse (< 3) but 2.9.9-5ubuntu3+11.0trisquel1 is to be installed
python3-chardet : Breaks: python-chardet (< 3.0.4-6) but 3.0.4-4build1 is installed
open: 4984; closed: 17681; defer: 18; conflict: 27

I'll try and get round to them whenever I can

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

You apparently have Trisquel 11's repositories already enabled. Can you show us your /etc/apt/sources.list?

hi-from-mike
Offline
Iscritto: 12/10/2020

Sure. This is what I have:

# deb cdrom:[Trisquel 10.0.1 _nabia_ - Release amd64 (20220525)]/ nabia main

# Trisquel repositories for supported software and updates
deb https://archive.trisquel.org/trisquel/ aramo main
deb-src https://archive.trisquel.org/trisquel/ aramo main
deb https://archive.trisquel.org/trisquel/ aramo-security main
deb-src https://archive.trisquel.org/trisquel/ aramo-security main
deb https://archive.trisquel.org/trisquel/ aramo-updates main
deb-src https://archive.trisquel.org/trisquel/ aramo-updates main
# deb https://mirror.operationtulip.com/trisquel/packages nabia-backports main
# deb-src https://mirror.operationtulip.com/trisquel/packages nabia-backports m>

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

The uncommented lines are for Trisquel 11's repositories. It looks like you launched the upgrade to Trisquel 11 and stopped it before completion. When you can afford to possibly end up with an unusable system (requiring a fresh installation), you can try:
$ sudo apt full-upgrade

hi-from-mike
Offline
Iscritto: 12/10/2020

I wish I could, now the system can't even boot up the log in screen; it's just a black screen with a movable cursor.

It's true I stopped it mid way through the GUI update software, but it ended up freezing.

So unless I can SSH my way back in, I'm gonna have to depend on the fresh installs