apt-get for a package with when "contrib/source/Sources" is not found correctly

Posted by Stuart Woodward on Super User See other posts from Super User or by Stuart Woodward
Published on 2011-11-14T09:55:52Z Indexed on 2011/11/14 9:57 UTC
Read the original article Hit count: 275

Filed under:
|

I tried to install Webmin on Ubuntu by following the instructions on http://www.webmin.com/deb.html. Using the Update Manager GUI I added the repositories and the key

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib 

However when I do an:

apt-get update
apt-get install webmin

I get the error:

W: Failed to fetch http://download.webmin.com/download/repository/dists/sarge/Release  Unable to find expected entry 'contrib/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://webmin.mirror.somersettechsolutions.co.uk/repository/dists/sarge/Release  Unable to find expected entry 'contrib/source/Sources' in Release file (Wrong sources.list entry or malformed file)

Looing at the page at the URL I can see: 7029066c27ac6f5ef18d660d5741979a 20 contrib/source/Sources.gz

Is the error caused by the fact that the Sources are compressed with gzip or am I doing something wrong?

© Super User or respective owner

Related posts about ubuntu

Related posts about package-management