Я не смог обновить свою машину Ubuntu 16.04 в течение прошлого месяца из-за этой ошибки. Когда я нажимаю, чтобы посмотреть детали, я добираюсь
W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list:2 and
/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list:3,
W:The repository 'cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release' does not have a Release file.,
W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use.,
W:See apt-secure(8) manpage for repository creation and user configuration details.,
W:The repository http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial Release' does not have a Release file.,
W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use.,
W:See apt-secure(8) manpage for repository creation and user configuration
details.,
E:Failed to fetch cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs,
E:Failed to fetch http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu/dists/xenial/main/source/Sources 404 Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.
Можно ли сказать мне, что я возможно сделал неправильно или что я могу сделать для разрешения этого?
Я собираюсь предложить несколько решений:
Для избавлений от ошибки CD-ROM, посмотрите здесь
Для ошибки:
W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list:2 and
/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list:3`
Открытый /etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list
и удалите дублирующиеся записи для этого repo туда или просто добавьте #
перед одной из записи.
sudo nano /etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list
Зафиксировать эту ошибку The repository http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial Release' does not have a Release file.,
удалите repo с:
sudo add-apt-repository -r ppa:noobslab/deepin-sc
После того выполнения sudo apt update
затем sudo apt dist-upgrade