Я получаю ошибку, “Отказавшую для загрузки информации о хранилище. Проверьте свое Интернет-соединение”. Как я могу зафиксировать это?

Я не смог обновить свою машину 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.

Можно ли сказать мне, что я возможно сделал неправильно или что я могу сделать для разрешения этого?

0
задан 9 July 2017 в 11:00

1 ответ

Я собираюсь предложить несколько решений:

  1. Для избавлений от ошибки CD-ROM, посмотрите здесь

  2. Для ошибки:

    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`
    
      1. Открытый /etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list и удалите дублирующиеся записи для этого repo туда или просто добавьте # перед одной из записи.

        sudo nano /etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-xenial.list
        
  3. Зафиксировать эту ошибку The repository http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu xenial Release' does not have a Release file.,

      1. удалите repo с:

        sudo add-apt-repository -r ppa:noobslab/deepin-sc
        
  4. После того выполнения sudo apt update затем sudo apt dist-upgrade

1
ответ дан 2 November 2019 в 23:38

Другие вопросы по тегам:

Похожие вопросы: