where is apt.conf?
I have an error with apt's cachesize (I have only 10 sources in my sources.list :S) and now I need to change it in apt.conf. The problem is in /etc/apt I only have apt.conf.d which I can't change with a normal text editor, and I don't know how to do that another way. Do I need to change this file and how or do I just make apt.conf myself and add the cachesize line to it?
thanks for the help!
so you can't find your apt.conf? It must be there!
apt.conf.d is, like the name says a directory! try to change to the diretory and you must get something like this:
-rw-r--r-- 1 root root 390 2004-05-15 21:51 apt.conf
-rw-r--r-- 1 root root 164 2004-05-29 17:26 gpg-checker.conf
-rw-r--r-- 1 root root 102 2004-05-16 21:59 list-extras.conf
-rw-r--r-- 1 root root 48 2004-05-16 21:59 list-nodeps.conf
-rw-r--r-- 1 root root 206 2004-05-16 21:59 pkglog.conf
-rw-r--r-- 1 root root 101 2004-05-16 21:59 post.conf
contents of this dir. is on debian as it is on suse the same!
let me know if I helped you!:p
O lol so .d stands for directory :newbie:
BTW I found something. It ended up to be in /usr/share/doc/apt/examples so I hope it's more than an example and the actual file that's used. In /etc/apt/apt.conf.d there's only 1 file 70debconf and in /etc/apt only the sources.list
edit it's only an example and kfind and whereis don't find anything else :S how can something work without files lol. Maybe I should try finding it as non-root or it might be hidden? How do I make hidden files visible in kde
i don't know where your trouble is...? I guess that you want to know where apt is located...whereis apt returns:
cs@linux:/etc/apt/apt.conf.d> whereis apt
apt: /usr/bin/apt /etc/apt /usr/lib/apt /usr/share/man/man1/apt.1.gz /usr/share/man/man8/apt.8.gz
See, whereis does not find the examples!
U found the examples for apt config files. Apt does not automatically use those files, they have to be in the /etc/apt directory!
Is your apt working in any way?
My apt is working but I have trouble with the cache size. Now I have to change apt.conf to allow larger cache but the apt.conf file is gone or something.
in /etc/apt i have apt.conf.d and sources.list
in /etc/apt/apt.conf.d I have the file 70debconf
those are all the files.
If I search for apt.conf I only find the example above.
I did find a workaround for the cache problem, just commenting some lines out but a workaround is not a solution. So I'd like to know where the apt.conf file and those otehr files you mentioned that should be in /etc/apt and /etc/apt/apt.conf.d are?
I don't have apt.conf anywhere either, but as `man apt.conf' says:
OK will try that :) Thanks for the help!
|All times are GMT -5. The time now is 08:48 PM.|