Bug#451137: aptitude update succeeds despite md5sum mismatches

2008-07-13 Thread Harald Braumann
Hi,

I can confirm this with aptitude 0.4.11.4-1. Packages.bz2 was
somehow broken in the proxy cache and apt-get update shows:

W: Failed to fetch
http://ftp.at.debian.org/debian/dists/lenny/main/binary-i386/Packages.bz2
Hash Sum mismatch

Aptitude doesn't show any error message on update. So with aptitude
alone, there's no way to find out what the problem is, one needs
apt-get for that.

Regards,
harry


signature.asc
Description: PGP signature


Bug#451137: aptitude update succeeds despite md5sum mismatches

2008-05-20 Thread Timo Juhani Lindfors
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:_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:/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:_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]



Bug#451137: aptitude update succeeds despite md5sum mismatches

2007-11-13 Thread Darren Salt
Package: aptitude
Version: 0.4.6.1-1.1
Severity: important

Currently, there is a problem with ftp.uk.debian.org lenny main, or the files
cached from there by apt-cacher, such that the MD5 checksum of the packages
and sources lists do not match those in the release file.

apt-get update reports the mismatches and exits with code 100, but
aptitude update succeeds, reporting no errors and exiting with code 0. This
can affect automated update  upgrade:

* it is unreliable if you're using (mostly) testing and have deb lines for
  unstable (solution: -y -d safe-upgrade, then review and upgrade at
  leisure);

* some ISPs' ADSL offerings have low download caps (quite likely because of
  profit margins and per-megabyte charges by the telecoms supplier), making
  large downloads something to do sparingly.

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.

A clash of doctrine is not a disaster - it is an opportunity.



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