dpkg has 2 additional versions

Joined
Mar 26, 2021
Messages
81
Reaction score
41
Credits
863
dpkg has 2 additional versions which are showing up on the command line yet i cant resolve the issue
 


dpkg has 2 additional versions which are showing up on the command line yet i cant resolve the issue
Hey dude, sounds like you're having trouble with dpkg and some additional versions showing up on the command line. No worries, I can help you out with that!

To resolve this issue, you can try clearing the package cache by running the following command:

Code:
sudo apt-get clean

This will remove any partially downloaded or installed packages that may be causing conflicts. After that, you can update the package list by running:

Code:
sudo apt-get update

Once the package list is updated, you can try installing or removing the desired package using dpkg again. If the additional versions still show up, you might want to check if any third-party package repositories or PPAs are causing conflicts.

If that doesn't work, you can also try reinstalling dpkg itself using the following commands:

Code:
sudo apt-get purge dpkg
sudo apt-get install dpkg

This will remove and then reinstall dpkg, which can sometimes resolve issues with conflicting package versions.

Hope that helps, bro! Let me know if you need any further assistance.
 
i tried all of that many times already but none work?
Bummer, dude! Sorry to hear that the previous suggestions didn't work for you. No worries, let's keep troubleshooting.

In this case, it might be helpful to provide more information about the specific error messages or issues you're encountering. That way, I can better understand what's going on and provide more targeted assistance.

For now, one thing you can try is to force the installation or removal of the package by using the --force flag with dpkg. For example:

Code:
sudo dpkg --force-all -i package.deb

This will attempt to install the package even if it encounters errors or conflicts. Be careful with this option, though, as it can potentially lead to system instability if not used correctly.

If this doesn't work, another option you can try is to manually remove the additional versions of dpkg. First, list all the installed versions of dpkg by running:

Code:
dpkg -l | grep dpkg

Then, identify the unwanted versions from the list and remove them using:

Code:
sudo apt-get remove --purge <package-name>

Replace <package-name> with the specific package name you want to remove. Repeat this step for each unwanted package version.

If you're still stuck, it would be super helpful if you could provide any relevant error messages or output you're seeing. That way, I can provide more specific guidance.

Hang ten, dude! We'll get you sorted out.
 
root@mint:/home/admin# sudo apt-get clean
root@mint:/home/admin# sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 https://deb.tmiland.com/debian ./ InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://packages.linuxmint.com una Release
Hit:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
root@mint:/home/admin# sudo apt-get purge dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dictionaries-common : Depends: debconf (>= 1.5.5) but it is not going to be installed or
debconf-2.0
Depends: libtext-iconv-perl but it is not going to be installed
fontconfig : Depends: fontconfig-config but it is not going to be installed
libfontconfig1 : Depends: fontconfig-config (>= 2.13.1-2ubuntu3) but it is not going to be installed
libicu66 : Depends: tzdata (> 2019c-3ubuntu1~) but it is not going to be installed
libqt5network5 : Depends: libssl1.1 but it is not going to be installed
libqt5svg5 : Depends: libqt5widgets5 (>= 5.12.8+dfsg~) but it is not going to be installed
lsb-release : Depends: python3:any
Recommends: apt but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@mint:/home/admin# sudo apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# sudo apt update && sudo apt upgrade
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Ign:6 http://packages.linuxmint.com una InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://packages.linuxmint.com una Release
Fetched 114 kB in 1s (87.7 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libmalcontent-0-0 mint-backgrounds-uma
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
root@mint:/home/admin# sudo apt update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:6 http://packages.linuxmint.com una InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://packages.linuxmint.com una Release
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libmalcontent-0-0 mint-backgrounds-uma
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
root@mint:/home/admin# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
libmalcontent-0-0 mint-backgrounds-uma
0 to upgrade, 0 to newly install, 2 to remove and 1 not to upgrade.
After this operation, 54.4 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 480782 files and directories currently installed.)
Removing libmalcontent-0-0:amd64 (0.10.0-2+elementary5~ubuntu6.1) ...
Removing mint-backgrounds-uma (1.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.12) ...
root@mint:/home/admin# apt update
Hit:1 https://deb.tmiland.com/debian ./ InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://packages.linuxmint.com una Release
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin#
 
root@mint:/home/admin# sudo apt-get clean
root@mint:/home/admin# sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 https://deb.tmiland.com/debian ./ InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://packages.linuxmint.com una Release
Hit:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
root@mint:/home/admin# sudo apt-get purge dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dictionaries-common : Depends: debconf (>= 1.5.5) but it is not going to be installed or
debconf-2.0
Depends: libtext-iconv-perl but it is not going to be installed
fontconfig : Depends: fontconfig-config but it is not going to be installed
libfontconfig1 : Depends: fontconfig-config (>= 2.13.1-2ubuntu3) but it is not going to be installed
libicu66 : Depends: tzdata (> 2019c-3ubuntu1~) but it is not going to be installed
libqt5network5 : Depends: libssl1.1 but it is not going to be installed
libqt5svg5 : Depends: libqt5widgets5 (>= 5.12.8+dfsg~) but it is not going to be installed
lsb-release : Depends: python3:any
Recommends: apt but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@mint:/home/admin# sudo apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# sudo apt update && sudo apt upgrade
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Ign:6 http://packages.linuxmint.com una InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://packages.linuxmint.com una Release
Fetched 114 kB in 1s (87.7 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libmalcontent-0-0 mint-backgrounds-uma
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
root@mint:/home/admin# sudo apt update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:6 http://packages.linuxmint.com una InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://packages.linuxmint.com una Release
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libmalcontent-0-0 mint-backgrounds-uma
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
root@mint:/home/admin# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
libmalcontent-0-0 mint-backgrounds-uma
0 to upgrade, 0 to newly install, 2 to remove and 1 not to upgrade.
After this operation, 54.4 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 480782 files and directories currently installed.)
Removing libmalcontent-0-0:amd64 (0.10.0-2+elementary5~ubuntu6.1) ...
Removing mint-backgrounds-uma (1.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.12) ...
root@mint:/home/admin# apt update
Hit:1 https://deb.tmiland.com/debian ./ InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://packages.linuxmint.com una Release
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin#
Alright, let's see what we can do here. It seems like there are some unmet dependencies and held packages that are causing issues with the installation of dpkg.

Let's try to resolve this by force installing the required dependencies. Run the following command:

Code:
sudo apt-get install -f

This command will attempt to fix the broken dependencies and install any missing packages.

After running that, try installing dpkg again using:

Code:
sudo apt-get install dpkg

If you still encounter issues, you can also try resetting the package database by running:

Code:
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update

Once you've done that, try installing dpkg once more.

If all else fails, you might need to manually download the dpkg package from the official Ubuntu package repository and install it using the dpkg command.

Let me know if any of these steps work for you, dude!
 
This doesnt work either, please see below;
------------------------------
root@mint:/home/admin# apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# dpkg --configure -a
root@mint:/home/admin# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
root@mint:/home/admin# apt-get update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://packages.linuxmint.com una Release
Hit:7 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
root@mint:/home/admin# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 https://deb.tmiland.com/debian ./ InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:8 http://packages.linuxmint.com una InRelease
Hit:9 http://packages.linuxmint.com una Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin#
 
This doesnt work either, please see below;
------------------------------
root@mint:/home/admin# apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# apt-get install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin# dpkg --configure -a
root@mint:/home/admin# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
root@mint:/home/admin# apt-get update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 https://deb.tmiland.com/debian ./ InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://packages.linuxmint.com una Release
Hit:7 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
root@mint:/home/admin# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 https://deb.tmiland.com/debian ./ InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:8 http://packages.linuxmint.com una InRelease
Hit:9 http://packages.linuxmint.com una Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin#
I apologize for the inconvenience, dude. It looks like you're still facing issues with the installation of dpkg and the unmet dependencies.

At this point, you can try using the aptitude package manager to resolve the conflicts and dependencies. Install aptitude using the following command:

Code:
sudo apt-get install aptitude

Once aptitude is installed, you can use it to automatically resolve the conflicts by running:

Code:
sudo aptitude install dpkg

Aptitude will present you with a prompt and suggest a solution to resolve the dependencies. You can review the proposed actions and choose the one that seems best. Aptitude is generally more adept at handling complex dependency resolutions than apt-get.

If aptitude is unable to resolve the issues, it's possible that your system has some conflicting or broken package dependencies that require manual intervention. This can be a bit tricky, but there are additional steps we can take to troubleshoot further.

Let me know if aptitude helps in resolving the issue. If not, I'll provide you with further instructions to dig deeper into the problem.
 
Hi i tried those commands too but still doesnt work, please refer to the below CLI output;
----------------
root@mint:/home/admin# sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
aptitude is already the newest version (0.8.12-1ubuntu4).
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
root@mint:/home/admin#
root@mint:/home/admin#
root@mint:/home/admin#
root@mint:/home/admin# sudo aptitude install dpkg
The following packages will be upgraded:
dpkg{b}
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,494 kB of archives. After unpacking 785 kB will be freed.
The following packages have unmet dependencies:
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is installed
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) dpkg [1.19.7ubuntu3.2 (focal-security, focal-updates, now)]



Accept this solution? [Y/n/q/?] Y
The following packages have been kept back:
dpkg
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@mint:/home/admin# apt update
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:3 https://deb.tmiland.com/debian ./ InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://packages.linuxmint.com una Release
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin# apt list --upgradable
Listing... Done
dpkg/unknown 1.20.12 amd64 [upgradable from: 1.19.7ubuntu3.2]
N: There are 2 additional versions. Please use the '-a' switch to see them.
root@mint:/home/admin# apt list --upgradable -a
Listing... Done
dpkg/unknown 1.20.12 amd64 [upgradable from: 1.19.7ubuntu3.2]
dpkg/focal-updates,focal-security,now 1.19.7ubuntu3.2 amd64 [installed,upgradable to: 1.20.12]
dpkg/focal 1.19.7ubuntu3 amd64

root@mint:/home/admin# sudo aptitude install dpkg
The following packages will be upgraded:
dpkg{b}
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,494 kB of archives. After unpacking 785 kB will be freed.
The following packages have unmet dependencies:
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is installed
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) dpkg [1.19.7ubuntu3.2 (focal-security, focal-updates, now)]



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

Downgrade the following packages:
1) dpkg [1.19.7ubuntu3.2 (focal-security, focal-updates, now) -> 1.19.7ubuntu3 (focal)]



Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
dpkg
0 packages upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 1,128 kB of archives. After unpacking 1,024 B will be freed.
Do you want to continue? [Y/n/?] Y
Get: 1 http://archive.ubuntu.com/ubuntu focal/main amd64 dpkg amd64 1.19.7ubuntu3 [1,128 kB]
Fetched 1,128 kB in 1s (898 kB/s)
dpkg: warning: downgrading dpkg from 1.19.7ubuntu3.2 to 1.19.7ubuntu3
(Reading database ... 480593 files and directories currently installed.)
Preparing to unpack .../dpkg_1.19.7ubuntu3_amd64.deb ...
Unpacking dpkg (1.19.7ubuntu3) over (1.19.7ubuntu3.2) ...
Setting up dpkg (1.19.7ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...

Current status: 1 (+1) upgradable.
root@mint:/home/admin# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 https://deb.tmiland.com/debian ./ InRelease
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
Ign:7 http://packages.linuxmint.com una InRelease
Hit:8 http://archive.canonical.com/ubuntu focal InRelease
Hit:9 http://packages.linuxmint.com una Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@mint:/home/admin# apt list --upgradable
Listing... Done
dpkg/unknown 1.20.12 amd64 [upgradable from: 1.19.7ubuntu3]
N: There are 2 additional versions. Please use the '-a' switch to see them.
root@mint:/home/admin# apt list --upgradable -a
Listing... Done
dpkg/unknown 1.20.12 amd64 [upgradable from: 1.19.7ubuntu3]
dpkg/focal-updates,focal-security 1.19.7ubuntu3.2 amd64
dpkg/focal,now 1.19.7ubuntu3 amd64 [installed,upgradable to: 1.20.12]

root@mint:/home/admin# apt install dpkg
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies.
dpkg : PreDepends: libc6 (>= 2.34) but 2.31-0ubuntu9.12 is to be installed
PreDepends: libselinux1 (>= 3.1~) but 3.0-1build2 is to be installed
PreDepends: libzstd1 (>= 1.5.2) but 1.4.4+dfsg-3ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@mint:/home/admin#
 
Hi Ai i have not heard from you in sometime and was wondering if you forgot about me or just cant solve this issue? thanks
 

Members online


Latest posts

Top