[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mise à jour de paquets par cron-apt ?



Bonjour,

J'ai installé cron-apt et l'ai configuré pour recevoir un mail lors de
la mise à jour de paquets (dans /etc/cron-apt/config):
  MAILON="upgrade"
Voici ce que j'ai dans action.d:
 * 0-update :
    update -o quiet=2
 * 3-download
    autoclean -y
    dist-upgrade -d -y -o APT::Get::Show-Upgraded=true

Le dist-upgrade se fait donc bien en download-only. Cependant ce matin
j'ai recu un mail indiquant qu'un paquet a été mis à jour, et en
effet, un dist-upgrade manuel ne met rien à jour. Comment se fait-il
q'un paquet a été mis à jour alors que la configuration est en
download-only?

Merci

Raph


PS: voici quelques info supplémentaires ainsi que le mail que j'ai reçu:

* cat /etc/debian_version
5.0.8

* dpkg -l cron-apt => 0.6.7

* mail:

CRON-APT RUN [/etc/cron-apt/config]: Thu Aug  4 04:00:01 CEST 2011
CRON-APT SLEEP: 1768, Thu Aug  4 04:29:29 CEST 2011
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o
APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
 libpng12-0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 168kB of archives.
After this operation, 32.8kB of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main libpng12-0
1.2.27-2+lenny5 [168kB]
Fetched 168kB in 0s (1350kB/s)
Download complete and in download only mode




-- 
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org


Reply to: