Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I usually install many debug packages to know what happened when something crashed. But those debug packages are not removed when I remove the package they belong to, for example if I type

sudo apt-get autoremove gimp

gimp-dbg will not be removed. Could I somehow mark a dbg package to be removed if the respective package is removed, meaning could I mark gimp-dbg to be removed if I remove gimp?

share|improve this question
    
Generally, -dbg packages should depend on the standard package, so if the standard package is removed, the -dbg package is removed as well. In the case of gimp-dbg, it requires either gimp or libgimp2.0, so if you remove both of these, then the -dbg package will automatically be removed. –  saiarcot895 Mar 23 at 19:25
    
saiarcot895: Does not seem to be true here, I guess :-(. I tried with multiple packages. –  GEO Mar 23 at 19:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.