For the past few days, the APT repository at
http://debian.slimdevices.com/ (and
http://debian-origin.slimdevices.com/) has been broken, causing
"apt-get update" to emit messages such as:
Code:
--------------------
W: Failed to fetch
http://debian.slimdevices.com/dists/stable/main/binary-i386/Packages.bz2
Sub-process /bin/bzip2 returned an error code (2)
--------------------
Here's a -*temporary*- workaround: replace the slimdevices.com line in
your /etc/apt/sources.list with:
Code:
--------------------
deb http://debian.slimdevices.retrosnub.co.uk/ stable main
--------------------
This funnels everything via my server; no guarantees that this service
will work without setting fire to your goldfish etc.. The permanent
solution would be for the relevant Logitech people to fix their web
server configuration. (Do such people read this forum, I wonder?)
TECHNICAL EXPLANATION:
The reason for this error is that the web server behind
debian-origin.slimdevices.com has started emitting HTTP 302 redirects
(to the Logitech home page) for nonexistent files, rather than the
usual HTTP 404 Not Found response. During an "apt-get update", APT
routinely looks tentatively for a few files which may not exist, e.g.
the package lists with bzip2 compression. If there is a 404 response,
APT knows to degrade gracefully to (in this case) gzip-compressed
files. Unfortunately if it instead sees a redirect, it will follow it,
and attempt to interpret the Logitech home page as a package list. No
dice.
The workaround, debian.slimdevices.retrosnub.co.uk, is a reverse proxy
which passes almost every request through to debian.slimdevices.com but
intercepts requests for certain nonexistent files and returns a response
which APT will deal with correctly.
If you know Apache and are curious as to what I've done, take a look at
http://debian.slimdevices.retrosnub.co.uk/ :-)
All the best,
Malcolm
--
mas90
------------------------------------------------------------------------
mas90's Profile: http://forums.slimdevices.com/member.php?userid=48377
View this thread: http://forums.slimdevices.com/showthread.php?t=88926
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix