Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have uninstalled my distro's (Debian Wheezy) package of torchat, and use a newer version I've built myself. Since removing the package apt-get wants me to autoremove something which the software I've built still depends on. How do I make it so I never see this warning again?

The following package was automatically installed and is no longer required:
   python-socksipy
Use 'apt-get autoremove' to remove it.
share|improve this question
    
Not sure if this will work but you could try removing it and then reinstalling it manually. That way apt-get will no longer treat it as auto installed. –  terdon Oct 23 '12 at 15:12
    
@terdon The removal step is superfluous. –  Gilles Oct 23 '12 at 22:20

1 Answer 1

The best solution would be to build your package with the correct dependencies. As a quick hack you can mark the package as manually installed, this will prevent autoremove from removing it.

apt-mark manual python-socksipy
share|improve this answer
    
apt-get install python-socksipy would also work (but may try to upgrade in the process) –  Jim Paris Oct 23 '12 at 17:52

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.