LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-22-2007, 01:02 PM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 623

Rep: Reputation: 31
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
>
 
Old 03-22-2007, 01:27 PM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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.
 
Old 03-22-2007, 02:08 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 03:24 AM
httpd.conf configuration Ameii83 Linux - General 1 06-07-2006 01:24 AM
apt-build.conf....file options utanja Debian 4 02-26-2005 06:02 PM
where is apt.conf? darkleaf Linux - Software 6 07-05-2004 11:52 AM
i can't find the file /etc/apt/apt.conf. lsj Linux - Newbie 1 05-21-2004 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration