Telling apt not to delete old packages that are no longer in a repository

Johannes Kastl ojkastl at gmx.de
Wed Apr 18 12:50:23 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am looking for a way to tell apt (Version apt-0.5.15lorg3.2-34.1 on
Suse 10.2 and 9.3) to NOT delete packages that are no longer available
in a repository.

Til now I got the answer that putting

{
  Clean "never";   // always|auto|prompt|never
};

into apt.conf should do the trick, but it doesnt. No matter where I
put the apt.conf. By default there is one in
/etc/apt/apt.conf.d/apt.conf, I tried a copy in /etc, but that also
didnt work.

Right now the apt.conf is the same on 9.3 and 10.2, and both return

DSelect "";
DSelect::Clean "never";

when running apt-config dump, so I assume it is recognized.

What to do?

OJ
- --
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying
to build bigger and better idiots. So far, the universe is winning.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGJnZ/MAex/QZx/TMRApMFAJ43sxiEFQDQvog7WYSZHkHEyKycgwCfe33m
PisWHx9BQYEGFjqZ3ci1gY4=
=jIQp
-----END PGP SIGNATURE-----



More information about the Apt-Rpm mailing list