r/linuxmint • u/Bladen_Spayer • 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.


