PDA

View Full Version : apt-get not obeying /etc config file



lavaman094
10-13-2003, 04:37 AM
my /etc/apt/apt.conf
Apt::Get::Show-Versions;
APT::Default-Release "testing";
APT::Cache-Limit 10000000;
Apt::Get::Purge;
Apt::Get::Show-Upgraded;

I do "apt-get upgrade" and it does not show version numbers as it should. What is wrong? If I do -V (the commandline switch for it), it does....is there perhaps separate conf files for apt and apt-get?

rickenbacherus
10-13-2003, 04:47 AM
/etc/apt/sources.list

lavaman094
10-13-2003, 05:23 AM
/etc/apt/sources.list

if I do that then I get this:
root@Harkonnen:~# apt-get upgrade
E: Type 'Apt::Get::Show-Versions' is not known in on line 4 in source list /etc/apt/sources.list
E: The list of sources could not be read.

Perhaps I wasn't clear.. I want apt-get upgrade to show versions. the -V flag is used, but I don't want to use the flag. apt-get says according to the man page that I can put Apt::Get::Show-Versions in some file and it will show versions...

RockMumbles
10-13-2003, 07:03 AM
maybe try:

APT::Get::Show-Versions "true";

I also don't know if Apt needs to be APT???

HTH

rock

lavaman094
10-16-2003, 07:30 AM
maybe try:

APT::Get::Show-Versions "true";

I also don't know if Apt needs to be APT???

HTH

rock

that worked...