Re: apt
Robert Kerr <kerrr@et.byu.edu> writes:
> Is there a way to make apt not delete the .deb files after it installs
> them?
>
> -bob
I assume you mean when using apt from dselect; otherwise, apt doesn't
delete them automatically.
There's no easy way. The non-easy way is to modify
/usr/lib/dpkg/methods/apt/install and change the line which says:
apt-get clean && echo "Press enter to continue." && read RES && exit 0;
to:
(true || apt-get clean ) && echo "Press enter to continue." && \
read RES && exit 0;
(Oh I suppose you could just remove the reference to apt-get clean
entirely and get something like
echo "Press enter to continue." && read RES && exit 0;
but then how would you remember what you had done and how to undo it?)
Reply to:
- References:
- apt
- From: Robert Kerr <kerrr@et.byu.edu>