LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt.conf configuration (https://www.linuxquestions.org/questions/debian-26/apt-conf-configuration-539688/)

abd_bela 03-22-2007 01:02 PM

apt.conf configuration
 
I want to customize the apt.conf, in order to save the cache of the
> packages ( by default) the cache is deleted, but it is not working,
> although I followed the doc
>
Hi every body

In fact I created a local repository with in sources.list
> deb file:///home etch/
>
> and I want to put there all the downloaded files, so I copy the files
> from /var/cache/apt/archive unfortunatly, the downloaded file are not
> stored there.
> It was in previous release!!!!
>
> so following the doc I create the apt.conf like this:
>
> APT
> {
> Clean-Installed "false";
> DSelect
> {
> Clean "never"; // always|auto|prompt|never
> }
> };
> Is there an error ??
> I tried it with synaptic too, same problem!!!
>
>
> thanks for help
> bela
>

nx5000 03-22-2007 01:27 PM

Hard to understand your post. It looks like you have a keyboard error also ;)


I'm not sure comments are done like this:

// always|auto|prompt|never

so replace this:
Clean "never"; // always|auto|prompt|never

by
!always|auto|prompt|never
Clean "never";

That's for the syntax. Now the contents I don't know, I don't use this options.

nx5000 03-22-2007 02:08 PM

Hum looks like I'm wrong.
// at the beginning of a line is a comment.

Probably the caracter ';' ends a line and then my advice is crap.

Sorry


All times are GMT -5. The time now is 04:16 PM.