Posture Assessment Failed: Unable to Download Csd Library. Please Try Again
[SOLVED] Unable to correct problems, you have held broken packages
APT is one of the about popular program in Ubuntu/Debian and their derivatives. Information technology's fabricated to handle the installation and removal of packages. Well-nigh of the fourth dimension, the application works flawlessly without whatever issues. But on rare occasions, you lot may see "Unable to correct problems, you have held broken packages" fault message pops up. This error, along with "apt-get : command not institute" are ii of the almost popular mistake message when information technology comes to apt
or apt-get
in Linux.
This brusque commodity is going to show y'all what cause the "Unable to right problems, you accept held broken packages" error and what you can exercise to prepare it.
"Unable to correct problems, yous have held broken packages" error
The error message may look something like this :
Reading parcel lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you take requested an impossible state of affairs 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 assistance to resolve the situation: The following packages have unmet dependencies: ffmpeg : Depends: libavcodec58 (= vii:4.i.six-ane~deb10u1) Depends: libavdevice58 (= 7:4.1.half-dozen-1~deb10u1) but 7:4.3.1-half-dozen~bpo10+1 is to be installed Depends: libavfilter7 (= 7:4.ane.half dozen-ane~deb10u1) Depends: libavformat58 (= vii:4.1.6-1~deb10u1) but seven:4.3.1-six~bpo10+1 is to exist installed Depends: libavresample4 (= 7:four.one.vi-one~deb10u1) merely 7:4.3.1-half-dozen~bpo10+1 is to exist installed Depends: libavutil56 (= 7:4.1.six-ane~deb10u1) but seven:4.iii.1-vi~bpo10+ane is to exist installed Depends: libpostproc55 (= 7:4.1.6-1~deb10u1) but 7:4.3.i-6~bpo10+one is to be installed Depends: libswresample3 (= 7:4.ane.half dozen-one~deb10u1) but vii:iv.iii.ane-6~bpo10+ane is to be installed Depends: libswscale5 (= 7:4.i.half dozen-one~deb10u1) but 7:4.3.i-vi~bpo10+i is to be installed E: Unable to right problems, y'all take held broken packages.
Linux systems follow Unix design philosophy : Make each program do one matter well. That means a complex programme has to rely on smaller ones to do its many small jobs.
For example, the VLC media histrion needs libavcodec, libavutil, libgles2 and a whole bunch of other packages to be able to piece of work properly. Those small libraries and software components are called dependencies. These dependencies may not be function of the application package itself, but they are expected to either exist installed on your system already or installed during the installation of the awarding.
The "Unable to right problems, you have held cleaved packages" error usually comes with other data about which libraries/programs needs to be installed just the system is unable to install them. In the message above, it is python-pip-whl.
The situation may go more complicated when ii programs, let's say VLC and Gnome Video Player need unlike versions of the same library. APT, in that case, cannot figure out how to install both version and raise "Unable to right problems, you take held broken packages" error.
Fix "Unable to correct problems, you have held cleaved packages" error
In that location'southward a few things you can exercise to get things to work once again. Before following the steps below, make certain yous know how to interact with the Linux terminal and the APT command.
Update local parcel index
If you're installing a well-known software, in that location's a high chance that it was tested thoroughly by the original developers as well equally Ubuntu/Debian squad before adding to the packet directory. In other words, maintainers fabricated sure the software works flawlessly with the organisation, and then updating your local parcel index is a pop style to go rid of the "broken packages" mistake.
You can resynchronize the packet index files from their sources on Ubuntu via the Internet by running the following command.
sudo apt update
Once the update procedure is done, effort reinstalling the troublesome bundle again to verify that the error has gone.
Remove left-over packages from your organisation
Aside from updating package alphabetize, removing unused packages from your system usually helps in instance y'all keep encounter "Unable to correct bug, you have held broken packages" error.
Every time you install a program, its dependencies get installed, too. But afterwards you remove the program, some of the dependencies are left over. Those left-over dependencies rely on other programs, and APT needs to keep track of that information, besides. APT has an autoremove
command that helps clean your system from residual packages.
sudo apt-go autoremove
Effort to search and install the dependency again
If you have tried the two solution to a higher place just the error bulletin nevertheless persist, the dependency may not be bachelor for the distribution version you lot're running.
You can apply apt search
to expect upward the package alphabetize for the troublesome dependency.
sudo apt search package_name
If the package is available, inspect it to meet whether it's the same version that the system is searching for (specified in the error message). And then, endeavor to install the dependency package and see what happens side by side.
sudo apt install dependency_package
At this signal, you may encounter a dependency chain. Basically, the software A depends on B, so B rely on C, but C is not available for your distribution version.
It may also happen that when you try to install bundle C, information technology is already installed. In that instance, check the version of package C. Is it the aforementioned version as required by package B? If yes, then removing C and installing it again could assistance.
Straight install from DEB file
If the missing dependency cannot exist found past apt search
, you may endeavour to install either the packet or its dependency directly from a DEB file.
For example, in the apt-get
output, yous tin meet that one of the many packages FFMPEG needed is libavcodec58
version iv.one.6-one~deb10u1.
Reading parcel lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you lot have requested an impossible situation or if yous are using the unstable distribution that some required packages have not nonetheless been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ffmpeg : Depends: libavcodec58 (= vii:4.1.vi-i~deb10u1) Depends: libavdevice58 (= vii:4.one.6-ane~deb10u1) just 7:4.three.1-6~bpo10+1 is to be installed Depends: libavfilter7 (= seven:4.1.vi-1~deb10u1) Depends: libavformat58 (= 7:iv.1.6-1~deb10u1) simply 7:iv.three.1-six~bpo10+1 is to be installed Depends: libavresample4 (= 7:4.1.vi-1~deb10u1) but 7:4.three.1-six~bpo10+1 is to be installed Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:iv.3.1-6~bpo10+i is to be installed Depends: libpostproc55 (= vii:iv.1.half dozen-1~deb10u1) just 7:4.iii.1-half-dozen~bpo10+1 is to exist installed Depends: libswresample3 (= 7:4.1.vi-1~deb10u1) merely 7:iv.3.1-half-dozen~bpo10+1 is to exist installed Depends: libswscale5 (= 7:4.1.half-dozen-i~deb10u1) only 7:4.3.one-6~bpo10+i is to be installed E: Unable to right problems, y'all accept held broken packages.
With this data, you tin do a quick Google search or a web-based tool similar PKGS.org to find the corresponding DEB file. Once you lot've downloaded the DEB, install it by running the post-obit command :
sudo dpkg -i libavcodec58_4.one.6-i~deb10u1_amd64.deb
Afterward that, merely re-install the troublesome package.
Discover another installation source or PPA
If y'all're trying to install legacy packages, the "Unable to right problems, you take held broken packages" error wold be raised a lot. In this case, installing private dependencies can speedily become inconvenient. Your best bet in this state of affairs is to notice another installation source, usually a PPA.
Suppose yous're trying to install FFMPEG 4, doing a quick search, you would easily find Jonathon F's PPA. You can only add his PPA to your organization before actually re-run apt-become install ffmpeg
to install the software.
sudo add together-apt-repository ppa:jonathonf/ffmpeg-4 sudo apt-get update sudo apt-get install ffmpeg
Alternatively, you can try to wait for the same software packaged in other formats, such every bit Snap/Flatpak or AppImage.
If you lot run across the held broken parcel mistake during update try this
Almost of the solutions above assumed that you encounter this fault while installing a new application. That may not always be the instance.
If you see this error when you try updating your system with sudo apt update
, you may have to take a slightly dissimilar approach.
Commencement, cheque which package is being held with this command:
dpkg --get-selections | grep hold
If you see whatsoever package held back from updating, you can either remove it (sudo apt-get remove
) using or unhold it with the following command
sudo apt-marking unhold package_name
The package would exist unheld and a confirmation message would exist returned : Canceled hold on package_name.
.
Determination
There is no straightforward fix for this problem. You'll have to investigate the problem on your ain and see if the error can be fixed or not. If you detect this article helpful, consider checking out our other guide on fixing "apt-get : command not constitute" - some other popular apt-go
error bulletin that acquired confusion amongst our readers.
Please share in the comments if your problem gets fixed or non, you will receive the help from united states and the community.
Click to rate this post!
You have already voted for this commodity
Source: https://linuxpip.org/fix-unable-to-correct-problems-you-have-held-broken-packages/
0 Response to "Posture Assessment Failed: Unable to Download Csd Library. Please Try Again"
Post a Comment