How to repair broken packages in Debian via the command line?


Sometimes you want to experiment and sometimes it goes awry.

This issue may occur when installing applications from Kali Linux using Katoolin. To try to correct this, then the update manager will work again.

NOTE! There is no guarantee that below will correct the error, you may need to dig in the log file to find the error.

sudo aptitude update && sudo aptitude install gtkorphan

Press Enter, "If the first command runs smoothly, next will run && command number 2".

If you want to split it into two commands:

sudo aptitude update

Press Enter.

sudo aptitude install gtkorphan

Press Enter after each command:

sudo aptitude update && sudo aptitude upgrade

Press Enter.

If you like, you can split these into two commands:

sudo aptitude update

Press Enter.

sudo aptitude upgrade

Press Enter.

Depends on you !

These commands make sure you have all the updates.

To clear out the broken packages use the following commands:

sudo aptitude -f

Press Enter.

Good luck !

Library categories: 

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.


All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While strives to make the information on this site as accurate as possible, does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.


Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.


Limited Time Offers

Coming soon...