Обновление программы обновления программного обеспечения несколько раз дает сбой в 20.04

Я получаю Отправить отчет об ошибке каждый раз, когда пытаюсь найти обновления программного обеспечения через Программное обеспечение и обновления . В настоящее время я нажимаю на нее, и ничего не происходит.

Я пытался выполнить обновление с помощью sudo apt-get update . В Терминале я получаю много сообщений об ошибке «Не подписан», как показано ниже.

E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Origin' value from 'LP-PPA-tista-plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Label' value from 'Plata-theme' to 'Ubuntu'
E: Repository 'http://in.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Suite' value from 'focal' to 'focal-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.

Также есть этот значок ошибки и выпадающий список на верхней панели за последние 2 недели

enter image description here

Обновление 1:

попробовал sudo apt update согласно комментарию + Kulfy

Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Get:18 http://in.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [207 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [55.6 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [87.9 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
Get:23 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [12.9 kB]
Get:24 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [16.2 kB]
Get:25 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [171 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [25.3 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [436 B]
Get:28 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [755 kB]
Get:29 http://in.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [560 kB]
Get:30 http://in.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [159 kB]
Get:31 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Get:32 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [200 kB]
Get:33 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [356 kB]
Get:34 http://in.archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
Get:35 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [16.5 kB]
Get:36 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [4,356 B]
Get:37 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.6 kB]
Get:38 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [5,508 B]
Get:39 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:40 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:41 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:42 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Get:43 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [596 B]
Reading package lists... Error!                                                
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.

Обновление 2:

Пробовал sudo apt update снова

$ sudo apt update
[sudo] password for myPC: 
Get:1 http://in.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Hit:2 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease      
Ign:3 http://dl.google.com/linux/webdesigner/deb stable InRelease              
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]      
Get:5 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]      
Ign:6 http://linux.dropbox.com/ubuntu disco InRelease                          
Err:5 http://packages.microsoft.com/repos/code stable InRelease                
  Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Err:1 http://in.archive.ubuntu.com/ubuntu focal InRelease                      
  Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:8 http://linux.dropbox.com/ubuntu disco Release [6,598 B]                  
Hit:9 http://archive.canonical.com/ubuntu focal InRelease                      
Hit:10 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal InRelease          
Get:11 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Err:9 http://archive.canonical.com/ubuntu focal InRelease                      
  Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
Get:14 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Hit:15 http://dl.google.com/linux/webdesigner/deb stable Release               
Hit:16 http://ppa.launchpad.net/tista/plata-theme/ubuntu focal InRelease       
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease
  Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
Ign:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Get:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages [520 B]
Err:18 http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal/main i386 Packages
  File has unexpected size (32 != 520). Mirror sync in progress? [IP: 91.189.95.85 80]
  Hashes of expected file:
   - Filesize:520 [weak]
   - SHA256:a3773bb530cff42a2d0897847644b9d65187c8ecb3556a98641ed51a199bafe0
   - SHA1:dd9a0819692490aaa173d9d4509651e08ec89c2c [weak]
   - MD5Sum:e38999641c7c26e004f9ad328196758b [weak]
  Release file created at: Thu, 08 Oct 2020 11:47:42 +0000
Reading package lists... Error!
W: GPG error: http://packages.microsoft.com/repos/code stable InRelease: Splitting up /var/lib/apt/lists/partial/packages.microsoft.com_repos_code_dists_stable_InRelease into data and signature failed
E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://in.archive.ubuntu.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/partial/in.archive.ubuntu.com_ubuntu_dists_focal_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu focal InRelease: Splitting up /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease into data and signature failed
W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_focal-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Clearsigned file '/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_focal_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.
0
задан 28 March 2021 в 17:19

1 ответ

Вы должны попросить разработчика программного обеспечения о создании deb-пакета и/или публикации его в https://launchpad.net .

В настоящее время это программное обеспечение можно установить с помощью пакета RPM, упомянутого в PKGBUILD , со специальной утилитой alien :

sudo apt-get install alien

cd ~/Downloads
wget https://www.rz.uni-osnabrueck.de/fileadmin/user_upload/VPN/Software/ps-pulse-linux-9.1r11.0-b6725-64-bit-installer.rpm
sudo alien --install --scripts ps-pulse-linux-9.1r11.0-b6725-64-bit-installer.rpm

Затем запустите его с помощью средства запуска PulseUI. Управление его pulsesecure.service осуществляется с помощью systemctl .

-121--914187-

Ubuntu имеет собственный набор из четырёх официальных репозиториев ( 1 )

  • Main - поддерживается канонически бесплатно и программное обеспечение с открытым исходным кодом.
  • Universe - бесплатное программное обеспечение с открытым исходным кодом, поддерживаемое сообществом.
  • Restricted - системные драйверы для устройств.
  • Multiverse - Программное обеспечение ограничено авторскими или юридическими правами.

Канонические сотрудники и более широкое сообщество создают и поддерживают эти репозитории как часть процесса создания выпуска Ubuntu. Это сообщество решает, какие пакеты включены. Все эти пакеты подлежат контролю качества и компилируются для конкретной версии Ubuntu для обеспечения стабильной системы.

После установки этих репозиториев они поддерживаются главным образом для обновлений безопасности в течение срока службы выпуска Ubuntu. Поэтому они также довольно статичны. Редко новое программное обеспечение будет внедрено в течение срока службы выпуска. Новое программное обеспечение может в конечном итоге получить его в последующих выпусках Ubuntu после довольно тщательного процесса принятия решения.

Для удовлетворения других потребностей, таких как установка более новых версий или бета-тестирование, концепция PPA Personal Package Archives переходит в. Дальнейшее обсуждение см. здесь . Ubuntu предоставляет платформу « Launchpad », которая позволяет разработчикам программного обеспечения создавать собственные репозитории. Эти PPA поддерживаются и тестируются разработчиками или добровольцами и официально не одобрены Ubuntu.

Поэтому создание PPA зависит от разработчика или других добровольцев. Чем более стабильным, качественным, хорошо поддерживаемым, довольно широко используемым и популярным является программное обеспечение, тем больше вероятность того, что оно однажды будет рассмотрено на предмет включения в официальное хранилище.

-121--914188-

я вижу 2 ошибки что-то с ключом apt для microsoft repo. Может, это и будет Справка

Примечание от меня не проверено.

# uninstall code
sudo apt remove code
sudo rm /etc/apt/sources.list.d/vscode.list
sudo apt update # should succeed now

# download code and reinstall it
    wget -O ~/Downloads/code.deb https://update.code.visualstudio.com          
    /latest/linux-deb-x64/stable
    sudo dpkg -i ~/Downloads/code.deb

На следующем шаге стирается информация для apt/apt-get, доступная в источниках пакетов

sudo rm -rf /var/lib/apt/lists/*

Выполните

sudo apt update

или sudo apt-get update , чтобы повторно создать стертые файлы

, после чего следующая часть стирает пакеты частичной загрузки.

sudo rm -rf /var/cache/apt/archive/partial/* 
1
ответ дан 23 April 2021 в 23:29

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

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