Hi,

I can reproduce this here too. aptitude fails but returns 0 and does
not tell me what the problem is:

[EMAIL PROTECTED]:~$ sudo aptitude update
Get:1 http://apt-proxy.kurp.hut.fi etch/updates Release.gpg [189B]
Hit http://apt-proxy.kurp.hut.fi etch/updates Release
Get:2 http://apt-proxy.kurp.hut.fi etch/updates/main Packages [326kB]
Fetched 327kB in 0s (2141kB/s)
Reading package lists... Done
W: Couldn't stat source package list http://apt-proxy.kurp.hut.fi 
etch/updates/main Packages 
(/var/lib/apt/lists/apt-proxy.kurp.hut.fi:9999_security_dists_etch_updates_main_binary-amd64_Packages)
 - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
[EMAIL PROTECTED]:~$ echo $?
0

but apt-get reports what error is and exits with 100:


[EMAIL PROTECTED]:~$ sudo apt-get update
Get:1 http://apt-proxy.kurp.hut.fi etch/updates Release.gpg [189B]
Hit http://apt-proxy.kurp.hut.fi etch/updates Release
Get:2 http://apt-proxy.kurp.hut.fi etch/updates/main Packages [326kB]
Fetched 327kB in 0s (2556kB/s)
Failed to fetch 
http://apt-proxy.kurp.hut.fi:9999/security/dists/etch/updates/main/binary-amd64/Packages.gz
  MD5Sum mismatch
Reading package lists... Done
W: Couldn't stat source package list http://apt-proxy.kurp.hut.fi 
etch/updates/main Packages 
(/var/lib/apt/lists/apt-proxy.kurp.hut.fi:9999_security_dists_etch_updates_main_binary-amd64_Packages)
 - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones 
used instead.
[EMAIL PROTECTED]:~$ echo $?
100




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

Reply via email to