Rather, use aptitude instead of apt-get

On Tue, May 13, 2008 at 9:35 AM, David Meireles <[EMAIL PROTECTED]> wrote:
>
>  Hi.
>  I ended up removing the eBox components I don't need, in order to have a
> clean system, running and having installed just what I need. I've removed
> mail services, proxy services, traffic shappers, etc... Before aprove the
> machine to go to the production environment, I did a nmap and for my
> surprise, I saw squid and mail (imap, smtp, etc...) ports opened and the
> respective services listening, althrough I had removed them via the eBox
> management interface. Then, I log into the machine (SSH) and did a "apt-get
> install htop" and the following came up:
>
>  The following packages were automatically installed and are no longer
> required:
>    libconvert-binhex-perl bind9 libarchive-tar-perl courier-imap
>    courier-authlib-ldap sasl2-bin gamin libtree-perl db4.6-util courier-ldap
>    clamav libmail-spf-perl unzoo clamav-freshclam tftpd-hpa libsocket6-perl
>    libnetaddr-ip-perl clamav-base libconvert-uulib-perl courier-imap-ssl
>    postfix-ldap libclamav3 spamassassin libarchive-zip-perl
> libmime-tools-perl
>    libgamin0 courier-pop libfile-temp-perl courier-ssl arj libgmp3c2 expect
>    libio-stringy-perl courier-base clamav-daemon dhcp3-server openbsd-inetd
>    libio-zlib-perl libnet-dns-perl squid-common dansguardian
>    libconvert-tnef-perl courier-authlib-userdb courier-authlib
>    libnet-server-perl tcl8.4 libmime-perl squid libunix-syslog-perl
>    libio-multiplex-perl libnet-cidr-perl libberkeleydb-perl amavisd-new
>    libdigest-hmac-perl libversion-perl libesmtp5 libsys-hostname-long-perl
>    courier-authdaemon courier-pop-ssl
>  Use 'apt-get autoremove' to remove them.
>
>  So, I've got 2 questions:
>
>  1 - Can I do the autoremove without criple my system? If somehow later, I
> have the need to install the services I removed before, would this packages
> be automaticly installed?
>
>  2 - In the software removal scripts that the internal ebox process uses,
> could you substitute the command "apt-get remove" for "apt-get autoremove"?
> This way there won't be any lost packages laying around the system, using
> ressources and doing nothing...
>
>  Cheerz
> _______________________________________________
>  Ebox-user mailing list
>  [email protected]
>  https://lists.warp.es/mailman/listinfo/ebox-user
>



-- 
"He who controls the past controls the future. He who controls the
present controls the past." - 1984

Random quote of the week/month/whenever i get to updating it: "Don't
worry about people stealing an idea. If it's original, you will have
to ram it down their throats."
 - Howard Aiken
_______________________________________________
Ebox-user mailing list
[email protected]
https://lists.warp.es/mailman/listinfo/ebox-user

Responder a