После недели попытки я очень застреваю при ровном нахождении, что способ установить требуемое программное обеспечение через Кв. - добирается или склонный. Например, при установке thunar, существует эта ошибка:
$ sudo apt install thunar
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package thunar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'thunar' has no installation candidate
Я попробовал следующее:
sudo apt-get update --fix-missing
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get -f install
Но существует все еще та же проблема. Я подозревал, что это могло произойти из-за огромного соединения в sources.list
, таким образом, я перешел к центру программного обеспечения и вернулся список путем выбора Best Server
опция. Однако это не помогло вообще. На самом деле, когда я попробовал это дважды и получил два различных лучших сервера, таким образом, я подозреваю, что это не проблема серверов.
Вот мой ток sources.list
:
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial main restricted universe multiverse
###### Ubuntu Update Repos
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ xenial-proposed main restricted universe multiverse
#------------------------------------------------------------------------------#
# UNOFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
#### Wine PPA - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 883E8688397576B6C509DF495A9A06AEF9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main
####### 3rd Party Source Repos
#### Wine PPA (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 883E8688397576B6C509DF495A9A06AEF9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main
От обновления я получаю следующую ошибку:
Err:102 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-security/main arm64 Packages
404 Not Found [IP: 137.189.4.14 80]
Ign:112 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-security/universe arm64 Packages
Ign:63 http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial/main DEP-11 64x64 Icons
Err:127 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-updates/main arm64 Packages
404 Not Found [IP: 137.189.4.14 80]
Ign:137 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-updates/universe arm64 Packages
Ign:143 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-updates/multiverse arm64 Packages
Err:151 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-proposed/main arm64 Packages
404 Not Found [IP: 137.189.4.14 80]
Ign:158 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-proposed/universe arm64 Packages
Err:64 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main Sources
404 Not Found
Ign:65 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main amd64 Packages
Ign:66 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main i386 Packages
Ign:67 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main arm64 Packages
Ign:68 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main all Packages
Ign:69 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main Translation-en_US
Ign:70 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main Translation-en
Ign:71 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:72 http://ppa.launchpad.net/richardgv/compton/ubuntu xenial/main DEP-11 64x64 Icons
Err:73 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main Sources
404 Not Found
Ign:83 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main amd64 Packages
Ign:84 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main i386 Packages
Ign:76 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main arm64 Packages
Ign:77 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main all Packages
Ign:78 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main Translation-en_US
Ign:85 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main Translation-en
Ign:80 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:81 http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 37.2 MB in 1min 11s (520 kB/s)
Reading package lists... Done
W: file:///var/cuda-repo-8-0-local/Release.gpg: Signature by key 889BEE522DA690103C4B085ED88C3D385C37D3BE uses weak digest algorithm (SHA1)
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-sfm-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-tracking-repo_Release
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://build.openvpn.net/debian/openvpn/stable xenial Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8E6DA8B4E158C569
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.dockerproject.org/repo ubuntu-xenial InRelease' doesn't support architecture 'arm64'
W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A7D1D38BEB6D886
W: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'stable/binary-arm64/Packages' as repository 'https://www.perfect-privacy.com/repos/linux/debian perfect-privacy-vpn InRelease' doesn't support architecture 'arm64'
W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/richardgv/compton/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Failed to fetch http://build.openvpn.net/debian/openvpn/stable/dists/xenial/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8E6DA8B4E158C569
E: Failed to fetch http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 137.189.4.14 80]
E: Failed to fetch http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 137.189.4.14 80]
E: Failed to fetch http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found [IP: 137.189.4.14 80]
E: Failed to fetch http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/dists/xenial-proposed/main/binary-arm64/Packages 404 Not Found [IP: 137.189.4.14 80]
E: Failed to fetch http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/dists/xenial/main/source/Sources 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/source/Sources 404 Not Found
E: Failed to fetch http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/main/binary-arm64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu/dists/xenial/main/source/Sources 404 Not Found
W: Some index files failed to download. They have been ignored, or old ones used instead.
И 'Неудавшийся для выборки' ошибки последовательно даже после изменяющихся серверов к основному. У меня нет полностью идеи, почему это происходит.
Потоки я посмотрел на:
Есть ли что-нибудь, что я могу сделать для разрешения этого? Я в настоящее время выживаю на существующих пакетах, которые я мог установить прежде, чем загрузить, получил проблемы. Надежда там является экспертом там, который мог диагностировать и решить эту проблему.
Спасибо.
Редактирование 1: Почему моим вопросом не является дубликат того, Как я фиксирую ошибку GPG "NO_PUBKEY"?
Я попробовал решение и получил эту проблему вместо этого:
$ sudo apt-get install y-ppa-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
y-ppa-manager : Depends: yad (>= 0.36.0) but it is not going to be installed
Depends: ppa-purge but it is not installable
Depends: xclip but it is not installable
E: Unable to correct problems, you have held broken packages.
Дополнительная Ошибка при использовании программного обеспечения и Обновлений, который является, происходит, когда приложение требует, чтобы я перезагрузил после изменения серверов и т.д.:
W:Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:34 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:2, W:Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:27 and /etc/apt/sources.list.d/ubuntu-wine-ubuntu-ppa-xenial.list:1, W:Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/vertex-theme.list:1 and /etc/apt/sources.list.d/vertex-theme.list:2, W:Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/vertex-theme.list:1 and /etc/apt/sources.list.d/vertex-theme.list:2, W:file:///var/cuda-repo-8-0-local/Release.gpg: Signature by key 889BEE522DA690103C4B085ED88C3D385C37D3BE uses weak digest algorithm (SHA1), W:Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-local_Release, W:Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release, W:Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-repo_Release, W:Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-sfm-repo_Release, W:Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-tracking-repo_Release, W:Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.dockerproject.org/repo ubuntu-xenial InRelease' doesn't support architecture 'arm64', W:GPG error: http://build.openvpn.net/debian/openvpn/stable xenial Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8E6DA8B4E158C569, W:The repository 'http://build.openvpn.net/debian/openvpn/stable xenial Release' is not signed., 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:Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://build.openvpn.net/debian/openvpn/stable xenial InRelease' doesn't support architecture 'arm64', W:GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A7D1D38BEB6D886, W:The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release' is not signed., 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:Skipping acquire of configured file 'stable/binary-arm64/Packages' as repository 'https://www.perfect-privacy.com/repos/linux/debian perfect-privacy-vpn InRelease' doesn't support architecture 'arm64', W:The repository 'http://ppa.launchpad.net/mc3man/trusty-media/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., W:The repository 'http://ppa.launchpad.net/richardgv/compton/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., W:The repository 'http://ppa.launchpad.net/varlesh-l/papirus-pack/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., W:Failed to fetch http://....archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not resolve '....archive.ubuntu.com', W:Failed to fetch http://....archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease Could not resolve '....archive.ubuntu.com', W:Failed to fetch http://....archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Could not resolve '....archive.ubuntu.com', W:Failed to fetch http://....archive.ubuntu.com/ubuntu/dists/xenial-proposed/InRelease Could not resolve '....archive.ubuntu.com', E:Failed to fetch http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/dists/xenial/main/source/Sources 404 Not Found, E:Failed to fetch http://ppa.launchpad.net/richardgv/compton/ubuntu/dists/xenial/main/source/Sources 404 Not Found, E:Failed to fetch http://ppa.launchpad.net/varlesh-l/papirus-pack/ubuntu/dists/xenial/main/source/Sources 404 Not Found, E:Failed to fetch http://archive.ubuntukylin.com:10006/ubuntukylin/dists/xenial/main/binary-arm64/Packages 404 Not Found, W:Some index files failed to download. They have been ignored, or old ones used instead.
У Вас есть много ошибок в Ваших источниках программного обеспечения, некоторые из которых связаны с обновлением Вашей системы к Гостеприимному. В частности, источники в
http://ftp.cuhk.edu.hk
не имейте выпуска для arm64 архитектуры, и
http://ppa.launchpad.net/richardgv/compton
http://ppa.launchpad.net/varlesh-l/papirus-pack
http://ppa.launchpad.net/mc3man/trusty-media
Не имейте выпусков для Гостеприимного, и несколько других compain о не наличии arm64 выпуски.
Наконец, Вы включаете несколько архивов от OpenSuse и по-видимому имеете локальный архив для Cuda, который сообщает о некоторых ошибках.
Быстрое исправление: Откройте "Software & Updates", перейдите в Other Software
вкладка и снятие флажка (отключают) сторонние архивы, которые сообщают, что они не доступны. От CLI, если Вы предпочли бы, можно отредактировать /etc/apt/sources.list
и место a #
на незаконной строке, но Вы, возможно, должны отредактировать файлы в /etc/apt/sources.list.d
если соответствующие строки не присутствуют в /etc/apt/sources.list
Это не решит проблему некоторых репозиториев, сообщая, что у них нет выпусков arm64: необходимо оценить при необходимости в той архитектуре для того, что Вы делаете и возможно удаляете архитектуру из своей системы:
sudo dpkg --remove-architecture arm64
При установке arm64 пакетов необходимо будет удалить их сначала:
sudo apt-get purge ".*:arm64"
Дольше Зафиксируйте: Поскольку Вы указали в комментариях, что необходимо сохранить некоторые пакеты, которые используют arm64 архитектуру, необходимо будет вместо этого отредактировать каждый источник в /etc/apt/sources.list
и /etc/apt/sources.list.d/*.list
который производит ошибку, связанную с arm64 архитектурой, для включения слов [arch=amd64]
или [arch=amd64,i386]
Например, необходимо найти строку в исходном чтении
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-security main
и измените эту строку на
deb [arch=amd64,i386] http://ftp.cuhk.edu.hk/pub/Linux/ubuntu xenial-security main
Это сообщит склонный загрузить только amd64 и i386 архитектуру для того источника, и не попытаться загрузить arm64 архитектуру (который не является там, и что склонный предупреждает о),
Наконец, если Вам нужны пакеты от части из, деактивирует источники, такие как cuda пакет, необходимо будет исследовать, как добавить эти источники соответственно для Вас Гостеприимная система.