Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 781  / 3 Years ago, mon, may 24, 2021, 8:10:36

I'm having broken packages / conflicts between Ubuntu and Debian. In particular, Thunderbird and Perl cannot be updated.


For Perl, I get something like


$ sudo apt upgrade perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
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 resolve the situation:

The following packages have unmet dependencies:
libclass-xsaccessor-perl : Depends: perl (< 5.30.1~) but 5.32.1-4+deb11u1 is to be installed
libcommon-sense-perl : Depends: perl (< 5.30.1~) but 5.32.1-4+deb11u1 is to be installed
perl : Depends: perl-base (= 5.32.1-4+deb11u1) but 5.30.0-9ubuntu0.2 is to be installed
Depends: perl-modules-5.32 (>= 5.32.1-4+deb11u1) but it is not going to be installed
Depends: libperl5.32 (= 5.32.1-4+deb11u1) but it is not going to be installed

My PPA list should be reasonable, in sources.list.d/:


debian.list
dropbox.list
graphics:darktable.list
graphics-drivers-ubuntu-ppa-focal.list
jonaski-ubuntu-strawberry-focal.list
nodesource.list
sbt.list
spotify.list

and here is the content of debian.list


deb http://ftp.debian.org/debian bullseye main
deb http://ftp.debian.org/debian bullseye-updates main
deb http://security.debian.org bullseye-security main

Any idea how to fix it, barring a reinstall? (which I would love to postpone until 22.04)


More From » apt

 Answers
2

Your PPA list is not reasonable. You are not expected to mix in Debian repositories with Ubuntu repositories, because both operating systems are binary incompatible, even though Ubuntu is based of Debian.


Remove these PPA's asap. Using inadapted repositories may heavily damage a system, even leading to a need to reinstall. Only add third party repositories if 1) there is no other option and 2) they are explicitly indicated to work with the specific Ubuntu version that you use.


[#1244] Tuesday, May 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otputler

Total Points: 53
Total Questions: 105
Total Answers: 93

Location: Zimbabwe
Member since Wed, Nov 9, 2022
2 Years ago
otputler questions
;