склонные sudo - получают ошибочное предупреждение обновления

Каждый раз, когда я работаю, sudo Кв. - получают обновление, которое я получаю ниже ошибок и предупреждений

[обновленный после попытки решения NORBERT]

Reading package lists... Done
 W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
 W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
 W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
 W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
 W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
 W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
  W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54
   W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54

Это - мой/etc/apt/sources.list [обновленный] [updated] 1

0
задан 17 March 2019 в 08:00

1 ответ

Необходимо устранить несколько проблем:

  1. ... is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list:54 - ручным редактированием /etc/apt/sources.list и комментирование дубликата 54 строки.
  2. вручную удалите списки пакетов:

    sudo rm -rf /var/lib/apt/lists/*
    
  3. отключите PPAs без Гостеприимных пакетов:

    sudo add-apt-repository -r ppa:picaso/octave
    sudo add-apt-repository -r ppa:samuellb/fribid
    sudo add-apt-repository -r ppa:tomahawk/ppa
    sudo add-apt-repository -r ppa:yorba/ppa
    
  4. добавьте новый Spotify ключ GPG:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
    
  5. списки пакета обновления

    sudo apt-get update
    
  6. установите все обновления

    sudo apt-get upgrade
    
1
ответ дан 26 October 2019 в 00:51

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

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