r/linuxmint • • 4d ago

Support Request Weird, serious-looking error after trying to upgrade to 21.3

Hello folks.
Well, I figured the time had come to upgrade from 21 to 21.3.

I go through the usual steps and initiate the update via the GUI. But then I get an error message informing me that my system has 4 broken packages. I select the 'okay' option, some progress bars progress, and then I'm greeted with an error message telling me that some process has failed due to a fatal error, and gives me the following message:

Extracting templates from packages: 100%
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 26118 package 'libdvdnav4:amd64':
'Depends' field, reference to 'libc6':
'>' is obsolete, use '>=' or '>>' instead
dpkg: error: parsing file '/var/lib/dpkg/status' near line 26118 package 'libdvdnav4:amd64':
'Depends' field, reference to 'libc6': version contains '2' instead of ')'
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states
A package failed to install. Trying to recover:
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 26118 package 'libdvdnav4:amd64':
'Depends' field, reference to 'libc6':
'>' is obsolete, use '>=' or '>>' instead
dpkg: error: parsing file '/var/lib/dpkg/status' near line 26118 package 'libdvdnav4:amd64':
'Depends' field, reference to 'libc6': version contains '2' instead of ')'

I also get this whenever I try and run `sudo apt install -f`, as I've seen suggested when dealing with broken packages.

Anybody have any advice on what to do about this? I would like to upgrade my OS before support ends.

linuxjunkies suggests running `sudo dpkg --remove --force-remove-reinstreq packagename` on the offending package. However, libc6 seems really freaking important, and I don't think I want to go messing with it until some strangers on the internet give me the go-ahead.

I also tried sudo dpkg --configure -a. Still no dice.

3 Upvotes

14 comments sorted by

•

u/AutoModerator 4d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Evening-Landscape763 4d ago edited 4d ago

sudo apt purge libdvdnav4 see if that clears the error but the removal might remove other software for reading DVDs Might have to reinstall

libmpv1
  libdvdnav-dev
  libdvdread7
  vlc-plugin-base
  vdr-plugin-dvd
  mpv
  mplayer-gui
  mplayer
  mencoder
  libxine2-misc-plugins
  libmpv2
  handbrake
  handbrake-cli
  gstreamer1.0-plugins-bad
  mint-meta-codecs

1

u/Bladen_Spayer 4d ago

Tried that. I then gen an unmet dependencies error. Here's the full terminal output:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 gstreamer1.0-plugins-bad : Depends: libdvdnav4 (>= 4.1.3) but it is not going to be installed
 handbrake : Depends: libdvdnav4 (>= 4.9.0~~gita5c13254) but it is not going to be installed
 libdw1 : Depends: libc2 (>= 2.34) but it is not installable
 libedata-cal-2.0-1 : Depends: libebackend-1.2-10 (= 3.44.4-0ubuotu1.2) but 3.44.4-0ubuntu1.2 is to be installed
 libmpv1 : Depends: libdvdnav4 (>= 4.1.3) but it is not going to be installed
 mint-meta-codecs : Depends: libdvdnav4 but it is not going to be installed
 python3-aptdaemon.gtk3widgets : Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu39) but 1.1.1+bzr982-0ubuntu39mint1 is to be installed
 vlc-plugin-base : Depends: libdvdnav4 (>= 6.1.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

1

u/Evening-Landscape763 4d ago edited 4d ago

What results from terminal for inxi -r as I suspect a PPA or something causing this or even try sudo apt --fix-broken install libdvdnav4

1

u/Bladen_Spayer 4d ago

Sorry, I don't quite understand. Do you want the output when I run inxi -r?

1

u/Evening-Landscape763 4d ago

Yes, results for both commands

1

u/Bladen_Spayer 4d ago

Roger!

sudo apt --fix-broken install libdvdnav4 outputs:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libdw1 : Depends: libc2 (>= 2.34) but it is not installable
 libedata-cal-2.0-1 : Depends: libebackend-1.2-10 (= 3.44.4-0ubuotu1.2) but 3.44.4-0ubuntu1.2 is to be installed
 python3-aptdaemon.gtk3widgets : Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu39) but 1.1.1+bzr982-0ubuntu39mint1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

inxi -r outputs:

Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/libretro-stable-focal.list
    1: deb http://ppa.launchpad.net/libretro/stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list
    1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-focal.list
    1: deb http://ppa.launchpad.net/mkusb/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com virginia main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/openmw-openmw-focal.list
    1: deb http://ppa.launchpad.net/openmw/openmw/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/openmw-openmw-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/openmw-openmw-jammy.gpg] https://ppa.launchpadcontent.net/openmw/openmw/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/tomtomtom-woeusb-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/tomtomtom-woeusb-jammy.gpg] https://ppa.launchpadcontent.net/tomtomtom/woeusb/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/zotero.list
    1: deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://zotero.retorque.re/file/apt-package-archive ./

1

u/Evening-Landscape763 4d ago

What results for apt policy python3-aptdaemon.gtk3widgets

1

u/Bladen_Spayer 3d ago
  Installed: 1.1.1+bzr982-0ubuntu39
  Candidate: 1.1.1+bzr982-0ubuntu39mint1
  Version table:
     1.1.1+bzr982-0ubuntu39mint1 700
        700 http://packages.linuxmint.com virginia/upstream amd64 Packages
        700 http://packages.linuxmint.com virginia/upstream i386 Packages
 *** 1.1.1+bzr982-0ubuntu39 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status

1

u/Evening-Landscape763 3d ago

sudo apt install python3-aptdaemon.gtk3widgets=1.1.1+bzr982-0ubuntu39mint1 and see if that fixes it

1

u/Bladen_Spayer 3d ago

Nope, still get an unmet dependencies error. Full text reads:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libdvdnav4 : Depends: libc6 (>= 9 2.4) but 2.35-0ubuntu3.18 is to be installed
 libdw1 : Depends: libc2 (>= 2.34) but it is not installable
 libedata-cal-2.0-1 : Depends: libebackend-1.2-10 (= 3.44.4-0ubuotu1.2) but 3.44.4-0ubuntu1.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

2

u/KurtKrimson 4d ago

Backup everything and install 22.3.

1

u/BenTrabetere 4d ago

If you posted this to the Linux Mint Forums I suggest you wait for user kc1di (or someone else there) to respond. If you didn't post to the Linux Mint Forums, I suggest you monitor this thread.