Bug 17328 - unable to update with debian stable and http://debian.slimdevices.com/
: unable to update with debian stable and http://debian.slimdevices.com/
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: Debian
: unspecified
: PC Debian Linux
: -- normal with 1 vote (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-21 12:14 UTC by Mathieu Ruellan
Modified: 2012-03-09 09:16 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Ruellan 2011-07-21 12:14:02 UTC
This is what I since a few day when i want to update my debian server:

sudo aptitude update && sudo aptitude safe-upgrade
...
Err http://debian.slimdevices.com/ stable/main Translation-en
  The HTTP server sent an invalid Content-Range header [IP: 4.23.53.254 80]
Err http://debian.slimdevices.com/ stable/main Translation-en_US
  Bad header line [IP: 4.23.53.254 80]
Err http://debian.slimdevices.com/ stable/main Translation-fr
  Bad header line [IP: 4.23.53.254 80]
...

Get:3 http://debian.slimdevices.com stable/main i386 Packages [34.4 kB]
99% [3 Packages bzip2 0]bzip2: (stdin) is not a bzip2 file.
Err http://debian.slimdevices.com stable/main i386 Packages
  Sub-process /bin/bzip2 returned an error code (2)
Fetched 68.7 kB in 5s (11.5 kB/s)
W: GPG error: http://debian.slimdevices.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2



PS: Sorry, but i don't know where to post this bug.
Comment 1 karel.de-vriendt 2011-07-23 00:44:31 UTC
I can confirm this.
Comment 2 Mike Windsor 2011-08-09 01:39:56 UTC
I can also confirm this on Ubuntu Server 11.04. As far as I can make out, it will affect every user of the apt repositories on Debian based systems and so is quite serious.

There is a post detailing the cause (and a generously donated workaround) on the Squeezebox forum:
http://forums.slimdevices.com/showthread.php?t=88926

Essentially, it's because the slimdevices.com web server now redirects (HTTP 302) rather than reports (HTTP 404) not found files, which isn't compatible with apt.

To fix, the web server needs to be reverted to previous behaviour or some sort of special rules need to be set up for debian.slimdevices.com. The rewrite rules Mas90 links to in the above post might form the basis of a permanent solution.
Comment 3 Michael Herger 2012-03-09 07:20:48 UTC
Matt is no longer working here.
Comment 4 Mike Windsor 2012-03-09 09:16:17 UTC
This bug has remained unconfirmed since being raised and as of today has become unassigned (as the original assignee has left the organisation).

However, it looks to me as if someone has fixed it as I no longer have this problem when updating from either of the two Ubuntu server installations I use.

It would be good to get feedback from other Debian users, but I expect it should be closed.