LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   [6.0] Remove apps + links cleanly? (https://www.linuxquestions.org/questions/debian-26/%5B6-0%5D-remove-apps-links-cleanly-4175455177/)

littlebigman 03-22-2013 06:39 PM

[6.0] Remove apps + links cleanly?
 
Hello

I'm tidying up things on an embedded appliance running Debian 6.0, and am having a small issue after removing NFS.

Here's what I did:
Code:

apt-get remove nfs-common portmap
rm /etc/rc3.d/S13portmap
rm /etc/rc3.d/S14nfs-common

1. I expected apt-get to remove all the symlinks in /etc/rc?d.d/, but it doesn't. Is there a command I should run next?

2. When rebooting, I get those errors in dmesg:
Code:

startpar: service(s) returned failure: portmap nfs-common ... failed!
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
nfs-common: No such file or directory
portmap: No such file or directory
Starting enhanced syslogd: rsyslogd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting MTA: exim4.
startpar: service(s) returned failure: nfs-common portmap ... failed!

Thank you.

Dutch Master 03-23-2013 12:34 PM

apt-get purge will remove all traces of a package. First, re-install the NFS packages, then purge them.

goumba 03-24-2013 03:39 PM

No need to reinstall.

Code:

aptitude purge ~c

littlebigman 04-11-2013 04:56 AM

Thanks for the tips.


All times are GMT -5. The time now is 04:43 PM.