Re: 'apt-get dist-upgrade' tries to install unneeded packages
Corey Hickey wrote:
I don't have anything non-default in /etc/apt/apt.conf.d.
They made a change (a very bad change in my mind) that has it install recommended files and
suggested files by default.
To go back to the sane old way:
Create a file called local in /etc/apt/apt.conf.d
edit that file and put in the following:
APT::Default-Release "lenny";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
To further clarify this for the interested:
Use wajig instead of apt-get to get a better user interface.
to do a distupgrade with wajig :
$ wajig distupgrade
If you want to install a package
$ wajig install package-name
if you want to install more than just the package change install to one of these:
installr Install package and associated recommended packages
installrs Install package and recommended and suggested packages
installs Install package and associated suggested packages
One effect of this change is that it will bog down the servers updating files that are never used.
If you don't know about this setting you will fill your disk with crud.
----------------------------------------------------------------
Karl Schmidt EMail Karl@xtronics.com
Transtronics, Inc. WEB http://xtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434
Assumption is the mother of mistakes
Buckaroo Banzai
----------------------------------------------------------------
Reply to: