Я не смог обновить машину 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.
Можете ли вы рассказать мне, что я, возможно, сделал не так, или что я могу сделать, чтобы отредактировать это?
Я предлагаю несколько решений:
Чтобы избавиться от ошибки cdrom, см. здесь. Для ошибки: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 и удалите повторяющиеся записи для этого репо или просто добавьте # перед одной из записей. 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.,, удалите репо с помощью: sudo add-apt-repository -r ppa:noobslab/deepin-sc
После этого запуска sudo apt update, затем sudo apt dist-upgrade Я предлагаю несколько решений:
Чтобы избавиться от ошибки cdrom, см. здесь. Для ошибки: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 и удалите повторяющиеся записи для этого репо или просто добавьте # перед одной из записей. 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.,, удалите репо с помощью: sudo add-apt-repository -r ppa:noobslab/deepin-sc
После этого запуска sudo apt update, затем sudo apt dist-upgrade