Hello

Chris Stiles (<[EMAIL PROTECTED]>) wrote:

> I have the following cron job that runs nightly :
> 
> /usr/bin/apt-get update &&
> /usr/bin/apt-get autoclean &&
> /usr/bin/apt-get -dy dist-upgrade &&
> /usr/bin/apt-move update &&
> /usr/bin/apt-get update
> 
> This downloads updates currently needed, and puts them into an
> apt-move style archive in /usr/mirror, which is then picked up like so
> in sources.list:
> 
> deb file:/usr/mirror/debian testing main
> 
> However, even if a file exists in /usr/mirror, apt-upgrade will still
> tryn and download it.

Check apt-cache policy packagename to see if your apt-move package
source is listed. If it is, move it to a higher position in your
sources.list and run apt-get update.

best regards
        Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to