当“contrib/source/Sources”无法正确找到时,apt-get 软件包

当“contrib/source/Sources”无法正确找到时,apt-get 软件包

我尝试按照以下说明在 Ubuntu 上安装 Webminhttp://www.webmin.com/deb.html。使用更新管理器 GUI,我添加了存储库和密钥

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

但是当我这样做时:

apt-get update
apt-get install webmin

我收到错误:

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)

查看 URL 上的页面我可以看到:

 7029066c27ac6f5ef18d660d5741979a               20 contrib/source/Sources.gz

这个错误是由于源文件使用 gzip 压缩而导致的还是我做错了什么?

答案1

我设法通过删除源存储库来使其工作/etc/apt/sources.list

deb http://download.webmin.com/download/repository sarge contrib
#deb-src http://download.webmin.com/download/repository sarge contrib

相关内容