|
13 years ago 17 |
Using it is bad practice to use aptitude and apt-get interchangeably, as they record separately the changes made by a user.
please note that
sudo aptitude update && sudo aptitude install gtkorphan
It brings up a beautiful interface to search, navigate, install, update and otherwise to manage packages.
Use the commands on the screen to install all the updates. You may use the mouse or CTRL + T to open the menu. Also, you could use the arrow keys and the Enter key to navigate.
You can also install the Aptitude Package Manager if you want to use something like Synaptic. Just type aptitude-gtk in the search field of the Mint Menu and click on Install package 'aptitude-gtk'. You can then find it under the Administration menu.
You may also use other commands to:
sudo aptitude install
sudo aptitude remove
sudo aptitude purge
sudo aptitude search package-name
sudo aptitude show package-name
sudo aptitude update
sudo aptitude upgrade
sudo aptitude dist-upgrade
sudo aptitude autoclean
sudo aptitude clean
sudo aptitude hold
Recommended reading: Aptitude vs Apt-Get
Life saver - thankyou.
I was stuck in an apt-get "loop". Broken package couldn't be uninstalled.
"dpkg: error processing package ibm-java80-jre:amd64 (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
ibm-java80-jre:amd64"
Following the instructions in this article cleaned up the mess. Thank you very much!
there is no aptitude-gtk package to be found in synaptic
lifesaver!
Using aptitude for package management instead of apt-get (via Synaptic), please note that it is bad practice to use aptitude and apt-get interchangeably, as warned at the very beginning of this tutorial.
It is not necessary to install a program to fix broken packages.
Open Synaptic Package Manager > click edit > click Fix Broken Packages
Try the command:
aptitude why-not package
where package is the name of the package you want to install.
For details see http://unix.stackexchange.com/questions/121149/fix-held-broken-packages-on-debian
Very nice and instructive. only it didn't solve the problem. The irksome "solve the problem with broken packages" is still there. I am accused for "holding back broken packages". What do I do wrong?
Nice and straight. We like this
Works great thanks
This article rules!!! Thanks so much. Well done.
Nice article. Solved the problem, I was hunting for 3 days.
Thanks a lot.
sudo aptitude -f
this command removed all my package, when i come back my computer return black screen and nothing in there...
Good information.
I didn't say your post was an idea, following your instructions is not a good idea. It may well have worked for you but you probably understand what you are doing. An inexperienced user doing this could cause themselves problems.
This is a tutorial and not an idea :) It worked well for me and for others when Synaptic was not able to fix the broken packages. It is possible to install a nice front-end to aptitude called "aptitude-gtk".
This is not a good idea, users should understand what is causing the broken packages, not just force a fix or they could end up removing needed software. Besides imo, it is easier to see what is going on using synaptic rather than aptitude.