Re: cron.daily error for apt

2011-12-08 Thread Pierre Frenkiel
On Mon, 5 Dec 2011, John Hasler wrote: From debian-policy: hi John, Thank you for this very useful reply. I think that it is a good practice, when giving an information, to give also the way to get it, (it is sometimes enough to give the link to the doc, when available) I

Re: cron.daily error for apt

2011-12-05 Thread Pierre Frenkiel
On Sun, 4 Dec 2011, Bob Proulx wrote: Better to use a mirror. Take a look at the amount of bandwidth used by the main site. Wow! http://www.debian-multimedia.org/statistics.php hi Bob, Actually, the increase is impressive I changed to one of the listed mirrors. Right. You

Re: cron.daily error for apt

2011-12-05 Thread Bob Proulx
Pierre Frenkiel wrote: Bob Proulx wrote: Actually, the increase is impressive I changed to one of the listed mirrors. Oh good. Right. You removed it. It is a conffile. Therefore the system respects your changes to that file. Including removing it. The system views removing a

Re: cron.daily error for apt

2011-12-05 Thread Pierre Frenkiel
On Mon, 5 Dec 2011, Bob Proulx wrote: You said you removed the file. You didn't say you modified it. Sorry, I forgot to say it. I did both tests. Actually, I removed the file after seeing that it was not replaced. Of course asking is still the default for apt-get! But you said you

Re: cron.daily error for apt

2011-12-05 Thread John Hasler
Pierre Frenkiel wrote: I understand this behaviour for a removed conffile. but not for a modified one: I imagine that aptitude doesn't know whether this conffile comes from a previous version or not. The package management system knows what version was installed previously and the checksums of

Re: cron.daily error for apt

2011-12-05 Thread Andrei Popescu
On Lu, 05 dec 11, 12:14:06, Pierre Frenkiel wrote: To replace also the modified files, I added in apt.conf --force-confask; I think there was a time where this was the default with apt-get You must be confusing this with the regular behavior. From 'man dpkg' (emphasis

Re: cron.daily error for apt

2011-12-05 Thread Pierre Frenkiel
On Mon, 5 Dec 2011, Andrei Popescu wrote: You must be confusing this with the regular behavior. I can't confuse, as I am unable to guess, from the man, what is the regular behaviour, i.e. the default one. Details are given for all --force-things, but I found nothing on what

Re: cron.daily error for apt

2011-12-05 Thread Andrei Popescu
On Lu, 05 dec 11, 21:59:50, Pierre Frenkiel wrote: On Mon, 5 Dec 2011, Andrei Popescu wrote: You must be confusing this with the regular behavior. I can't confuse, as I am unable to guess, from the man, what is the regular behaviour, i.e. the default one. Details are given for

Re: cron.daily error for apt

2011-12-05 Thread John Hasler
From debian-policy: E.1 Automatic handling of configuration files by dpkg A package may contain a control information file called conffiles. This file should be a list of filenames of

Re: cron.daily error for apt

2011-12-04 Thread Pierre Frenkiel
On Sat, 3 Dec 2011, Bob Proulx wrote: I do not see such a line in Squeeze or Sid. What version of apt do you have installed? hi Bob, it's difficult for me to understand this mess; I am on Squeeze. apt version is 0.8.10.3+squeeze1 here is my source.list

Re: cron.daily error for apt

2011-12-04 Thread Bob Proulx
Pierre Frenkiel wrote: Bob Proulx wrote: I do not see such a line in Squeeze or Sid. What version of apt do you have installed? it's difficult for me to understand this mess; I am on Squeeze. apt version is 0.8.10.3+squeeze1 That looks normal. deb

cron.daily error for apt

2011-12-03 Thread Pierre Frenkiel
Looking in the log for cron.daily, I discovered the following problem: /etc/cron.daily/apt contains a line: apt-key net-update which gives: ERROR: no location for the archive-keyring given the net-update command is accepted, although it is neither in the man nor in apt-key

Re: cron.daily error for apt

2011-12-03 Thread Bob Proulx
Pierre Frenkiel wrote: Looking in the log for cron.daily, I discovered the following problem: /etc/cron.daily/apt contains a line: apt-key net-update I do not see such a line in Squeeze or Sid. What version of apt do you have installed? $ dpkg --status apt | awk