我已经有一段时间没有使用这个系统了,所以当我去更新它时,我开始收到如下错误消息:
E:Line 1 too long in source list /etc/apt/sources.list.d/medibuntu.list.
E:The list of sources could not be read.
E:The package lists or status file could not be parsed or opened.
我对此束手无策,请帮帮我。
编辑:结果head -n 1 /etc/apt/sources.list.d/medibuntu.list
<!DOCTYPE html><html lang=en data-adblockkey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANnylWw2vLY4hUn9w06zQKbhKBfvjFUCsdFlb6TdQhxb9RXWXuI4t31c+o8fYOv/s8q1LGPga3DE1L/tHU4LENMCAwEAAQ==_MaYS1KVPt2+/yDcH97o943cwuSBXaOPOGTouhf+8hyKGWccg8Zq9mVqKE6OV/PIsUTzrudXE+o5hzXbLvX+2HA==><head><meta charset=utf-8><title>medibuntu.org - This website is for sale! - medibuntu Resources and Information.</title><noscript><meta http-equiv="refresh" content="0; url=http://www.medibuntu.org/sources.list.d/trusty.list/?gtnjs=1"></noscript><meta name=GOOGLEBOT content="index, follow, all"><meta name=robots content="index, follow, all"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta name=description content=This website is for sale! medibuntu.org is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, medibuntu.org has it all. We hope you find what you are searching for!><link href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM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s7a8OPq9m6Y1d3l9cHP7OLp9kNvxNPo9Wes2DNhwJSv3uDt+Ovw+cDP6yNVuurv+Nbf8pjI5aDL56G44rTL6h1RuWaJz9bp9tDo9u31+oWi2TZlwMfg8E16yd7t99Hc8Vl+ysri897l9JCq3FB5yPL1++/2/MLQ7HGb1j9sw////2AvJ1QAAADsSURBVHjaRM9ZMwNREAXgnpvLZKOENsQSJrTlIjHEEhQZS2JJxljHmoT+//9B37w4j19Xna4DzKzGDbHKLN+MdZlB4GNJ8fV9AbH1W7ew7g6zn9ORt/uM8wJkBOs7eHai/P05Bnp0S8ynBQz2qk9v0jEbTyjpKWZRI0Z9hqlV29u9ynQmR6PAY7g0NYH+efvzYDHAQ4bExBY0Bi3E7BHDkGkI+MXN7+ncV1pKU1AhIiYbudgvx957c+t2YW2k1ugJUKmqdXs7DGdiN5+yW+hV4K4cVhI37wzGdX4u0skL9FYcRw2ANh74P38CDABMCjqJfzUcfQAAAABJRU5ErkJggg==" type=image/png rel="shortcut icon"><script src=http://img.sedoparking.com/js/jquery-1.11.3.custom.min.js></script><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
所以我猜这是个问题!!
答案1
https://wiki.ubuntuusers.de/sources.list/#Ubuntu-14-04显示默认的 sources.list,也许你可以备份你的并尝试使用默认设置。你也可以使用https://repogen.simplylinux.ch/它允许您生成 sources.list 并添加一些您想要添加的存储库。此外,medibuntu 不再受支持,因为您可能有一些未解决的依赖项,如果您清除 medibuntu,这些依赖项将通过常规支持的软件包替换。您应该启用 ubuntu-restricted-addons 和 ubuntu-restricted-extras 以及安装 vlc 存储库。使用 synaptic 时,您可以轻松地手动编辑(禁用、启用或删除)您的 sources.list 条目。
答案2
删除或备份您的“/etc/apt/sources.list.d/medibuntu.list”并更新。