I want to achieve the effects of ``apt-get clean'' after each 'apt-get
install foo' and I've put ``ATP::APT::Get::Clean "always";'' in
/etc/apt/apt.conf, but it seems not to work. What can I do?
Thank you very much!
James He
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Any error messages?
Also, did you put:
ATP::APT::Get::Clean "always"
or
APT::Get::Clean "always"
--
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B
"Knowledge should be free for all."
Harcourt Fenton Mudd, Star Trek:TOS, "I, Mudd"
ATP::APT::Get::Clean "always";
should quite likely be:
APT::Get::Clean "always";
Otherwise, try:
APT::Clean-Installed Yes;
At least that's what I have in /etc/apt/apt.conf and it seems to be
working. But maybe that is one of the other lines:
DSELECT::Clean auto;
which will do its magic when you are using dselect.
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
- Winston Churchill
I found that the following is the default setting:
APT::Clean-Installed "true";
It cannot meet my needs, for instance, I installed the package "screen"
but after installation,
/var/cache/apt/archives/screen_4.0.2-4_i386.deb still exists.
> DSELECT::Clean auto;
> which will do its magic when you are using dselect.
Sorry, I only use apt-get and aptitude :-)
> It cannot meet my needs, for instance, I installed the package "screen"
> but after installation,
> /var/cache/apt/archives/screen_4.0.2-4_i386.deb still exists.
# ls /var/cache/apt/archives/
fontconfig_2.2.3-3_i386.deb
gftp-common_2.0.17+cvs20041029-1_i386.deb
gftp-gtk_2.0.17+cvs20041029-1_i386.deb
libfontconfig1_2.2.3-3_i386.deb
libxml1_1%3a1.8.17-9_i386.deb
libxml2_2.6.11-5_i386.deb
lock
partial
# apt-get clean
# ls /var/cache/apt/archives/
lock partial
HTH
HAND
--
...Rob
Return address is obfuscated.
You can reach me via mylaptop (at) twcny dot rr dot com
On Sat, 30 Oct 2004 22:01:52 -0400, Rob Bochan
<debia...@lists.debian.org> wrote:
> # apt-get clean
No, it isn't what you want, but yeah.
So, unless I'm mistaken, you're too lazy to type a whopping TWELVE CHARACTERS
on your own? Oh my god, you're pathetic.
Cripes man, get a life, and set up a cron entry.
Sorry to the list for losing my temper, but geeeez... this is just pathetic.
/me wanderes off muttering about sniveling little whiners...
--
...Rob
Return address is obfuscated.
You can reach me via mylaptop (at) twcny dot rr dot com
I thought being lazy was one of the character traits of any good
programmer? ;-)
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
- Winston Churchill
Alright then. I don't use aptitude, but apparantly I have it
installed. From /usr/share/aptitude/README:
--------
Option:Aptitude::Autoclean-After-Update
Default:false
Description: If this option is true, aptitude will clean up obsolete
files (see Actions->Clean obsolete files) every time you update the
package list.
--------
So putting
Aptitude::Autoclean-After-Update
in your apt.conf will delete all obsolete files in your package
cache. Deleting really everything doesn't seem to be an available
option, but maybe you can find it in that file.
--
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
- Winston Churchill