Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[ Solved ] dist-upgrade fails due to unresolved conflict that is not even a conflict
[ Solved ] dist-upgrade fails due to unresolved conflict that is not even a conflict
Hi,
upon trying to dist-upgrade, apt complains that there are unresolvable conflicts:
libqt5positioningquick5 depends on libqt5quick5 (>= 5.15.10+dfsg~) or libqt5quick5-gles (>= 5.15.10+dfsg~)
but they are not marked for installation, and therefore dist-upgrade fails. I do not understand this: both libqt5positioningquick5 and libqt5quick5 (5.15.10+dfsg-2+b1) are in fact installed on my system, and are up-to-date to the latest version available. dist-upgrade is not even supposed to affect them. Accordingly, they do not show up in "apt-list --upgradable".
Any ideas how to solve this?
upon trying to dist-upgrade, apt complains that there are unresolvable conflicts:
libqt5positioningquick5 depends on libqt5quick5 (>= 5.15.10+dfsg~) or libqt5quick5-gles (>= 5.15.10+dfsg~)
but they are not marked for installation, and therefore dist-upgrade fails. I do not understand this: both libqt5positioningquick5 and libqt5quick5 (5.15.10+dfsg-2+b1) are in fact installed on my system, and are up-to-date to the latest version available. dist-upgrade is not even supposed to affect them. Accordingly, they do not show up in "apt-list --upgradable".
Any ideas how to solve this?
Last edited by izemize on 2024-05-03 21:45, edited 1 time in total.
- dilberts_left_nut
- Administrator
- Posts: 5354
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 69 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Moved to "Testing & Unstable"
AdrianTM wrote:There's no hacker in my grandma...
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Hello,
Can you please post the complete output of
or
if the previous command does not show the error.
Also
and
Can you please post the complete output of
Code: Select all
#> apt -sV full-upgrade
Code: Select all
#> apt -V full-upgrade
Also
Code: Select all
$> apt policy libqt5positioningquick5 libqt5quick5 libqt5quick5-gles
Code: Select all
$> apt policy
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Sure, here are they:
Code: Select all
apt -sV full-upgrade
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
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:
libqt5positioningquick5 : Depends: libqt5quick5 (>= 5.15.10+dfsg~) but it is not going to be installed or
libqt5quick5-gles (>= 5.15.10+dfsg~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Code: Select all
apt policy libqt5positioningquick5 libqt5quick5 libqt5quick5-gles
libqt5positioningquick5:
Installed: 5.15.10+dfsg-3+b1
Candidate: 5.15.10+dfsg-3+b1
Version table:
*** 5.15.10+dfsg-3+b1 900
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
100 /var/lib/dpkg/status
5.15.8+dfsg-3+deb12u1 600
600 http://deb.debian.org/debian bookworm/main amd64 Packages
libqt5quick5:
Installed: 5.15.10+dfsg-2+b1
Candidate: 5.15.10+dfsg-2+b1
Version table:
*** 5.15.10+dfsg-2+b1 900
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
100 /var/lib/dpkg/status
5.15.8+dfsg-3 600
600 http://deb.debian.org/debian bookworm/main amd64 Packages
libqt5quick5-gles:
Installed: (none)
Candidate: 5.15.10+dfsg-2+b1
Version table:
5.15.10+dfsg-2+b1 900
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
5.15.8+dfsg-1 600
600 http://deb.debian.org/debian bookworm/main amd64 Packages
Code: Select all
apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://updates.signal.org/desktop/apt xenial/main amd64 Packages
release o=. xenial,a=xenial,n=xenial,l=. xenial,c=main,b=amd64
origin updates.signal.org
500 https://dbeaver.io/debs/dbeaver-ce Packages
release c=
origin dbeaver.io
100 http://deb.debian.org/debian bookworm-backports/main i386 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/non-free-firmware amd64 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free-firmware,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/non-free i386 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/non-free amd64 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/contrib amd64 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/main i386 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
900 http://ftp.de.debian.org/debian testing/non-free-firmware i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free-firmware,b=i386
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/non-free-firmware amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free-firmware,b=amd64
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/non-free i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free,b=i386
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/non-free amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free,b=amd64
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/contrib i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=contrib,b=i386
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/contrib amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=contrib,b=amd64
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/main i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=main,b=i386
origin ftp.de.debian.org
900 http://ftp.de.debian.org/debian testing/main amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=main,b=amd64
origin ftp.de.debian.org
1100 http://security.debian.org/debian-security bookworm-security/non-free-firmware i386 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=i386
origin security.debian.org
1100 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=non-free-firmware,b=amd64
origin security.debian.org
1100 http://security.debian.org/debian-security bookworm-security/contrib amd64 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
1100 http://security.debian.org/debian-security bookworm-security/main i386 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=i386
origin security.debian.org
1100 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=amd64
origin security.debian.org
600 http://deb.debian.org/debian bookworm/non-free-firmware i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=i386
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free-firmware,b=amd64
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/non-free i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free,b=i386
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/non-free amd64 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=non-free,b=amd64
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/contrib i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=i386
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/contrib amd64 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=contrib,b=amd64
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/main i386 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=i386
origin deb.debian.org
600 http://deb.debian.org/debian bookworm/main amd64 Packages
release v=12.5,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
-
- Posts: 10
- Joined: 2022-07-20 17:55
- Has thanked: 1 time
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Hi,
Do you have a mixed source.list?
Perhaps, you have installed a package that does not reside in testing?
Or simply a package has a library that is not ready yet and you simply have to wait.
Posible way to solve its to uninstall the the package or libs in conflicts, disabling others repos like stable, making apt autoremove, upgrade, dist-upgrade until it work or brake the system.
You have to consider, what this in conflict library does?, it is save to remove?. Maybe its just the calculator or something important like your video drivers.
My guess is that you have a mixed source.list or mixed repo package install. The best action is to investigate more while time pass to ty again later.
Have a nice day.
Do you have a mixed source.list?
Perhaps, you have installed a package that does not reside in testing?
Or simply a package has a library that is not ready yet and you simply have to wait.
Posible way to solve its to uninstall the the package or libs in conflicts, disabling others repos like stable, making apt autoremove, upgrade, dist-upgrade until it work or brake the system.
You have to consider, what this in conflict library does?, it is save to remove?. Maybe its just the calculator or something important like your video drivers.
My guess is that you have a mixed source.list or mixed repo package install. The best action is to investigate more while time pass to ty again later.
Have a nice day.
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Could you please post the output of
Does
show the same error?
Code: Select all
#> apt -sV -o "Debug::pkgProblemResolver=1" full-upgrade
Code: Select all
#> apt -sV install libqt5positioningquick5
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
The output of the first command is so long that it exceeds the max. number of character I'm allowed to type in a post, so I've uploaded it here:
https://justpaste.it/em441
The 2nd one says the package is up to date:
https://justpaste.it/em441
The 2nd one says the package is up to date:
Code: Select all
apt -sV install libqt5positioningquick5
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libqt5positioningquick5 is already the newest version (5.15.10+dfsg-3+b1).
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Thanks.
I assume you have things like this in /etc/apt/preferences.d/:
It looks like you have a form of FrankenDebian I didn't know about.
I tested something similar on my Bookworm (I added Bullseye with Pin-Priority: 1100) and it breaks my upgrade. This pin priority is probably not intended to be used in the general form (see man 5 apt_preferences for the wording). How long has this been enabled and why?
Can you please post the output of
I assume you have things like this in /etc/apt/preferences.d/:
Code: Select all
Package: *
Pin: release n=bookworm-security
Pin-Priority: 1100
I tested something similar on my Bookworm (I added Bullseye with Pin-Priority: 1100) and it breaks my upgrade. This pin priority is probably not intended to be used in the general form (see man 5 apt_preferences for the wording). How long has this been enabled and why?
Can you please post the output of
Code: Select all
apt list '?not(?archive(^testing$))?installed'
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
In all honesty, I do not get the problem itself. Why does apt complain about libqt5positioningquick5 and libqt5quick5, when they are both installed and up to date? What blocks exactly what?
/etc/apt/preferences.d/ looks like this:
As can be seen a few comments above in the policy, unstable is not used (it's not in sources.list), and in fact I have never used it. I am really unsure what and how could have broken the system. I've only used the backports repo once to downgrade a certain package, that's all, but it's not the reason for this current situation, the system was fine after that.
The output of the command is the following:
/etc/apt/preferences.d/ looks like this:
Code: Select all
Package: *
Pin: release l=Debian-Security
Pin-Priority: 1100
Package: *
Pin: release a=testing
Pin-Priority: 900
Package: *
Pin: release a=stable
Pin-Priority: 600
Package: *
Pin: release a=unstable
Pin-Priority: 50
Package: *
Pin: release a=oldstable
Pin-Priority: 1
The output of the command is the following:
Code: Select all
caja-extensions-common/stable,stable,now 1.26.1-1.2 all [installed,automatic]
caja-open-terminal/stable,now 1.26.1-1.2 amd64 [installed]
dbeaver-ce/unknown,now 24.0.3 amd64 [installed]
engrampa-common/stable-security,stable-security 1.26.0-1+deb12u2 all
engrampa/stable-security 1.26.0-1+deb12u2 amd64
ibus-anthy/now 1.5.15-1 amd64 [installed,local]
libarchive13/now 3.7.2-1 amd64 [installed,local]
libcapi20-3/stable,now 1:3.27-3+b1 amd64 [installed,automatic]
libcapi20-3/stable,now 1:3.27-3+b1 i386 [installed,automatic]
libcholmod4/now 1:7.2.2+dfsg-1 amd64 [installed,local]
libclang-cpp14/now 1:14.0.6-16 amd64 [installed,local]
libclucene-contribs1v5/now 2.3.3.4+dfsg-1.1+b1 amd64 [installed,local]
libclucene-core1v5/now 2.3.3.4+dfsg-1.1+b1 amd64 [installed,local]
libdb5.3/now 5.3.28+dfsg2-4+b1 amd64 [installed,local]
libdb5.3/now 5.3.28+dfsg2-4+b1 i386 [installed,local]
libdv4/now 1.0.0-17 amd64 [installed,local]
libdv4/now 1.0.0-17 i386 [installed,local]
libefiboot1/now 38-3 amd64 [installed,local]
libefivar1/now 38-3 amd64 [installed,local]
libgnutls30/now 3.8.3-1 amd64 [installed,local]
libgnutls30/now 3.8.3-1 i386 [installed,local]
libhogweed6/now 3.9.1-2+b1 amd64 [installed,local]
libhogweed6/now 3.9.1-2+b1 i386 [installed,local]
libieee1284-3/stable,now 0.2.11-14 amd64 [installed,automatic]
libjxr0/now 1.2~git20170615.f752187-5+b1 amd64 [installed,local]
libllvm14/now 1:14.0.6-16 amd64 [installed,local]
liblouisutdml9/now 2.12.0-3 amd64 [installed,local]
libmbedcrypto7/now 2.28.7-1 amd64 [installed,local]
libmspack0/stable,now 0.11-1 amd64 [installed,automatic]
libnatpmp1/now 20230423-1.1 amd64 [installed,local]
libneon27/now 0.33.0-1 amd64 [installed,local]
libnettle8/now 3.9.1-2+b1 amd64 [installed,local]
libnettle8/now 3.9.1-2+b1 i386 [installed,local]
libnorm1/now 1.5.9+dfsg-3 amd64 [installed,local]
libnova-0.16-0/stable,now 0.16-5 amd64 [installed,automatic]
libnpth0/now 1.6-3+b1 amd64 [installed,local]
libotr5/stable,now 4.1.1-5 amd64 [installed,automatic]
libpgm-5.3-0/stable,now 5.3.128~dfsg-2 amd64 [installed,automatic]
libportsmf0/now 0.1~svn20101010-6+b1 amd64 [installed,local]
libpsl5/now 0.21.2-1+b1 amd64 [installed,local]
libpsl5/now 0.21.2-1+b1 i386 [installed,local]
libqpdf29/now 11.9.0-1 amd64 [installed,local]
libraw20/stable,now 0.20.2-2.1 amd64 [installed]
libraw23/now 0.21.2-2 amd64 [installed,local]
libreadline8/now 8.2-3+b1 amd64 [installed,local]
libsource-highlight4v5/now 3.1.9-4.2+b4 amd64 [installed,local]
libspandsp2/stable,now 0.0.6+dfsg-2+b1 amd64 [installed,automatic]
libssh2-1/now 1.11.0-4 amd64 [installed,local]
libssh2-1/now 1.11.0-4 i386 [installed,local]
libssl3/stable,stable-security 3.0.11-1~deb12u2 amd64
libssl3/stable,stable-security 3.0.11-1~deb12u2 i386
libts0/stable,now 1.22-1+b1 amd64 [installed,automatic]
libunistring2/stable,now 1.0-2 amd64 [installed]
liburcu8/now 0.14.0-3 amd64 [installed,local]
libvpx7/stable,stable-security,now 1.12.0-1+deb12u2 amd64 [installed,automatic]
libzzip-0-13/now 0.13.72+dfsg.1-1.1+b1 amd64 [installed,local]
linux-image-6.6.13-amd64/now 6.6.13-1 amd64 [installed,local]
llvm-14-dev/now 1:14.0.6-16 amd64 [installed,local]
llvm-14-linker-tools/now 1:14.0.6-16 amd64 [installed,local]
llvm-14-runtime/now 1:14.0.6-16 amd64 [installed,local]
llvm-14-tools/now 1:14.0.6-16 amd64 [installed,local]
llvm-14/now 1:14.0.6-16 amd64 [installed,local]
mime-support/stable,stable,now 3.66 all [installed]
mysql-connector-python-py3/now 8.2.0-1debian12 amd64 [installed,local]
numba-doc/now 0.57.1+dfsg-1 all [installed,local]
python3-llvmlite/now 0.41.1-1 amd64 [installed,local]
python3-numba/now 0.57.1+dfsg-1 amd64 [installed,local]
signal-desktop/xenial,now 7.5.1 amd64 [installed]
thunderbird/stable-security 1:115.10.1-1~deb12u1 amd64 [upgradable from: 1:115.9.0-1~deb12u1]
transmission-common/now 4.0.5-1 amd64 [installed,local]
transmission-gtk/now 4.0.5-1 amd64 [installed,local]
xserver-xorg-video-qxl/stable,now 0.1.5+git20200331-3 amd64 [installed,automatic]
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
I'm not sure why the error only talks about libqt5positioningquick5, but the problem is much deeper, as shown by the output you provided. Your pinning imposes impossible things on the resolver.
As an example on my Bookworm+(Bullseye Pin-Priority: 1100):
Code: Select all
Investigating (0) libavutil57:amd64 < 7:5.1.4-0+deb12u1 @ii mK Ib >
Broken libavutil57:amd64 Depends on libc6:amd64 < 2.36-9+deb12u6 -> 2.31-13+deb11u8 @ii mD > (>= 2.35)
Considering libc6:amd64 11882 as a solution to libavutil57:amd64 19
Removing libavutil57:amd64 rather than change libc6:amd64
The pinning (mostly).
I'm not sure what you want to achieve with your pinning, but you need to do a big cleanup.
In short, I would at least remove the pinning, remove all Bookworm packages, remove all locally installed packages, remove all Bookworm references from the sources.list
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Thank you very much for your help! I've removed the pinning, and this problem indeed disappeared.
Two final questions:
- How should I do this pinning correctly? All I wanted to achieve is to have the possibility to install older versions of certain packages. I did not mean to cause a system-wide trouble.
- How can I remove all Bookworm packages?
Two final questions:
- How should I do this pinning correctly? All I wanted to achieve is to have the possibility to install older versions of certain packages. I did not mean to cause a system-wide trouble.
- How can I remove all Bookworm packages?
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
You're welcome! Nice to hear from you.
However, this is not guaranteed to work, depending on package dependencies. Dependency versions may conflict with those of other packages. Basically, releases are not meant to be mixed. At least this method will limit the problem. May I ask what packages and why?
In any case, you must start from a clean state:
First, libraries are installed as dependencies of other packages and therefore automatically installed. You must change the status of manually installed libraries:
This will allow automatic removal of libraries that nothing depends on:
Then you can remove the remaining packages one by one. Use the simulate (-s) switch before each action to examine the situation:
Please feel free to ask questions if you need assistance.
You should use pinning specific to your package and give low priority to the release it comes from. Something like
Code: Select all
Package: *
Pin: release a=stable
Pin-Priority: 1
Package: pkgname
Pin: release a=stable
Pin-Priority: 1001
In any case, you must start from a clean state:
Using the command
apt list '?not(?archive(^testing$))?installed'
as a guideFirst, libraries are installed as dependencies of other packages and therefore automatically installed. You must change the status of manually installed libraries:
Code: Select all
#> apt-mark auto libfoo libbar
Code: Select all
#> apt -s --purge autoremove
Code: Select all
#> apt -s --purge remove pkgname
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Thanks, I'll have a look on these! Currently, it seems that the system got so entangled that trying to modify (remove or update) certain packages would result in the desktop environment I'm using (Mate) to be removed...
The reason why I've started with pinning is the following. I'm using a free EDA software called KiCad. Even as of now, the most recent version in the testing repo is 7.0.11. It was working perfectly, until at some point newer releases of two crucial libraries used by this program: kicad-footprints and kicad-symbols were authorized in testing, so upon the next dist-upgrade I have ended up having KiCad version 7, with libraries version 8. And of course, these were not made to be compatible with each other, so the software became completely unusable. I really think this is a mistake by the respective package maintainers, there was no reason to allow these newer libs into the repo without the newer version of the main software.
I have filed a bug report, but in the meantime, I also had to continue working, so I had to find a way to downgrade these packages back to version 7, while keeping the system as much "testing" as possible. The alternative would have been to install KiCad version 8 from unstable, but I wanted to avoid this for multiple reasons. And here we are
The reason why I've started with pinning is the following. I'm using a free EDA software called KiCad. Even as of now, the most recent version in the testing repo is 7.0.11. It was working perfectly, until at some point newer releases of two crucial libraries used by this program: kicad-footprints and kicad-symbols were authorized in testing, so upon the next dist-upgrade I have ended up having KiCad version 7, with libraries version 8. And of course, these were not made to be compatible with each other, so the software became completely unusable. I really think this is a mistake by the respective package maintainers, there was no reason to allow these newer libs into the repo without the newer version of the main software.
I have filed a bug report, but in the meantime, I also had to continue working, so I had to find a way to downgrade these packages back to version 7, while keeping the system as much "testing" as possible. The alternative would have been to install KiCad version 8 from unstable, but I wanted to avoid this for multiple reasons. And here we are
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
I would remove Mate, remove other packages not from testing, reinstall Mate. This is probably the simplest method.
That is to be expected when using a development version. What you should have done is use a backup system (like Timeshift for example), restore the last working snapshot, mark kicad packages as held.izemize wrote: ↑2024-04-30 22:51 The reason why I've started with pinning is the following. I'm using a free EDA software called KiCad. Even as of now, the most recent version in the testing repo is 7.0.11. It was working perfectly, until at some point newer releases of two crucial libraries used by this program: kicad-footprints and kicad-symbols were authorized in testing, so upon the next dist-upgrade I have ended up having KiCad version 7, with libraries version 8. And of course, these were not made to be compatible with each other, so the software became completely unusable. I really think this is a mistake by the respective package maintainers, there was no reason to allow these newer libs into the repo without the newer version of the main software.
I have filed a bug report, but in the meantime, I also had to continue working, so I had to find a way to downgrade these packages back to version 7, while keeping the system as much "testing" as possible. The alternative would have been to install KiCad version 8 from unstable, but I wanted to avoid this for multiple reasons. And here we are
Code: Select all
#> apt-mark hold kicad "kicad-*"
Code: Select all
$> grep -v "^ *$\|^ *#" /etc/apt/sources.list
deb https://deb.debian.org/debian/ testing main contrib non-free non-free-firmware
deb https://security.debian.org/debian-security testing-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
Code: Select all
$> cat /etc/apt/preferences.d/kicad.pref
Package: *
Pin: release a=stable-backports
Pin-Priority: 1
Package: kicad*
Pin: release a=stable-backports
Pin-Priority: 1001
Code: Select all
$> apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
1 https://deb.debian.org/debian bookworm-backports/non-free armel Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=non-free,b=armel
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/non-free i386 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=non-free,b=i386
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/non-free amd64 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=non-free,b=amd64
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/contrib armel Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=contrib,b=armel
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/contrib i386 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=contrib,b=i386
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/contrib amd64 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=contrib,b=amd64
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/main armel Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=armel
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/main i386 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=i386
origin deb.debian.org
1 https://deb.debian.org/debian bookworm-backports/main amd64 Packages
release o=Debian Backports,a=stable-backports,n=bookworm-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free-firmware armel Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free-firmware,b=armel
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free-firmware i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free-firmware,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free-firmware amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free-firmware,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free armel Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free,b=armel
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian testing/non-free amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian testing/contrib armel Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=contrib,b=armel
origin deb.debian.org
500 https://deb.debian.org/debian testing/contrib i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=contrib,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian testing/contrib amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 https://deb.debian.org/debian testing/main armel Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=main,b=armel
origin deb.debian.org
500 https://deb.debian.org/debian testing/main i386 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=main,b=i386
origin deb.debian.org
500 https://deb.debian.org/debian testing/main amd64 Packages
release o=Debian,a=testing,n=trixie,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
kicad-demos -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-libraries -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-footprints -> 7.0.11-1~bpo12+1 with priority 1001
kicad-templates -> 7.0.9-1~bpo12+1 with priority 1001
kicad -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-packages3d -> 7.0.11-1~bpo12+1 with priority 1001
kicad-doc-ca -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-de -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-en -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-es -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-fr -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-id -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-it -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-ja -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-pl -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-ru -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-doc-zh -> 7.0.11+dfsg-1~bpo12+1 with priority 1001
kicad-symbols -> 7.0.11-1~bpo12+1 with priority 1001
Code: Select all
#> apt -sV install kicad
Installing:
kicad (7.0.11+dfsg-1~bpo12+1)
Installing dependencies:
kicad-demos (7.0.11+dfsg-1~bpo12+1)
kicad-footprints (7.0.11-1~bpo12+1)
kicad-libraries (7.0.11+dfsg-1~bpo12+1)
kicad-symbols (7.0.11-1~bpo12+1)
kicad-templates (7.0.9-1~bpo12+1)
libfreeimage3 (3.18.0+ds2-10+b1)
libglew2.2 (2.2.0-4+b1)
libhwloc-plugins (2.10.0-1+b1)
libhwloc15 (2.10.0-1+b1)
libimagequant0 (2.18.0-1+b1)
libngspice0 (42+ds-2~bpo12+1)
libocct-data-exchange-7.6 (7.6.3+dfsg1-7+b1)
libocct-draw-7.6 (7.6.3+dfsg1-7+b1)
libocct-foundation-7.6 (7.6.3+dfsg1-7+b1)
libocct-modeling-algorithms-7.6 (7.6.3+dfsg1-7+b1)
libocct-modeling-data-7.6 (7.6.3+dfsg1-7+b1)
libocct-ocaf-7.6 (7.6.3+dfsg1-7+b1)
libocct-visualization-7.6 (7.6.3+dfsg1-7+b1)
libodbc2 (2.3.12-1+b2)
libpcre2-32-0 (10.42-4+b1)
libpython3.11t64 (3.11.9-1)
libraqm0 (0.10.1-1+b1)
libraw23t64 (0.21.2-2.1)
libtbb12 (2021.11.0-2)
libtbbbind-2-5 (2021.11.0-2)
libtbbmalloc2 (2021.11.0-2)
libwxbase3.2-1 (3.2.4+dfsg-3)
libwxgtk-gl3.2-1 (3.2.4+dfsg-3)
libwxgtk3.2-1 (3.2.4+dfsg-3)
occt-misc (7.6.3+dfsg1-7)
python3-olefile (0.46-3)
python3-pil (10.3.0-2)
python3-wxgtk4.0 (4.2.1+dfsg-3)
xsltproc (1.1.35-1+b1)
Suggested packages:
extra-xdg-menus (1.0-6)
kicad-doc-ca (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-de (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-en (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-es (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-fr (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-id (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-it (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-ja (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-pl (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-ru (7.0.11+dfsg-1~bpo12+1)
| kicad-doc-zh (7.0.11+dfsg-1~bpo12+1)
kicad-packages3d (7.0.11-1~bpo12+1)
glew-utils (2.2.0-4+b1)
libhwloc-contrib-plugins (2.10.0-1)
odbc-postgresql (1:16.00.0000-1+b1)
tdsodbc (1.3.17+ds-2+b3)
python-pil-doc (10.3.0-2)
wx3.2-doc (3.2.4+dfsg-3)
Summary:
Upgrading: 0, Installing: 35, Removing: 0, Not Upgrading: 0
Code: Select all
$> apt list '?not(?archive(^testing$))?not(?obsolete)?installed'
kicad-demos/stable-backports,stable-backports,stable-backports,now 7.0.11+dfsg-1~bpo12+1 all [installed,automatic]
kicad-libraries/stable-backports,stable-backports,stable-backports,now 7.0.11+dfsg-1~bpo12+1 all [installed,automatic]
kicad/stable-backports,now 7.0.11+dfsg-1~bpo12+1 amd64 [installed]
libngspice0/stable-backports,now 42+ds-2~bpo12+1 amd64 [installed,automatic]
Code: Select all
$> apt list '?not(?archive(^testing$))?installed'
kicad-demos/stable-backports,stable-backports,stable-backports,now 7.0.11+dfsg-1~bpo12+1 all [installed,automatic]
kicad-libraries/stable-backports,stable-backports,stable-backports,now 7.0.11+dfsg-1~bpo12+1 all [installed,automatic]
kicad/stable-backports,now 7.0.11+dfsg-1~bpo12+1 amd64 [installed]
libclucene-contribs1v5/now 2.3.3.4+dfsg-1.1+b1 amd64 [installed,local]
libclucene-core1v5/now 2.3.3.4+dfsg-1.1+b1 amd64 [installed,local]
libdirectfb-1.7-7/now 1.7.7-11+b1 amd64 [installed,local]
libdv4/now 1.0.0-17 amd64 [installed,local]
libgdbm-compat4/now 1.23-5+b1 amd64 [installed,local]
libieee1284-3/now 0.2.11-14 amd64 [installed,local]
libllvm17/now 1:17.0.6-5 amd64 [installed,local]
libmagickcore-6.q16-6-extra/now 8:6.9.11.60+dfsg-1.6 amd64 [installed,local]
libmagickcore-6.q16-6/now 8:6.9.11.60+dfsg-1.6 amd64 [installed,local]
libmagickwand-6.q16-6/now 8:6.9.11.60+dfsg-1.6 amd64 [installed,local]
libmjpegutils-2.1-0/now 1:2.1.0+debian-8+b1 amd64 [installed,local]
libmpeg2encpp-2.1-0/now 1:2.1.0+debian-8+b1 amd64 [installed,local]
libmplex2-2.1-0/now 1:2.1.0+debian-8+b1 amd64 [installed,local]
libneon27/now 0.33.0-1 amd64 [installed,local]
libngspice0/stable-backports,now 42+ds-2~bpo12+1 amd64 [installed,automatic]
libnpth0/now 1.6-3 amd64 [installed,local]
libopenmpt0/now 0.7.3-1 amd64 [installed,local]
libqpdf29/now 11.9.0-1 amd64 [installed,local]
librasqal3/now 0.9.33-2+b1 amd64 [installed,local]
libspandsp2/now 0.0.6+dfsg-2+b1 amd64 [installed,local]
libtevent0/now 0.16.1-1 amd64 [installed,local]
libxmlsec1-nss/now 1.2.38-1+b1 amd64 [installed,local]
libxmlsec1/now 1.2.38-1+b1 amd64 [installed,local]
libzvbi0/now 0.2.42-1.1 amd64 [installed,local]
libzvbi0/now 0.2.42-1.1 i386 [installed,local]
linux-image-6.5.0-5-amd64/now 6.5.13-1 amd64 [installed,local]
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
Thanks! I've learned a lot I was also not aware of apt-mark.
- fabien
- Forum Helper
- Posts: 733
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: dist-upgrade fails due to unresolved conflict that is not even a conflict
I am happy to help you. Did you manage to recover a clean testing? If so, please mark your topic as [Solved], otherwise please describe the problems you are experiencing.
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: [ Solved ] dist-upgrade fails due to unresolved conflict that is not even a conflict
Yes, I've managed! Thanks for everything!