Ubuntu 16.04 Проблема с обновлением

Кто-нибудь знает, что я должен сделать, чтобы решить эту проблему?

Я недавно получил это после того, как я делаю sudo apt-get update:

N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'partner/binary-foreign-architecture/Packages' as repository 'http://archive.canonical.com/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'partner/binary-multiarch/Packages' as repository 'http://archive.canonical.com/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'restricted/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'restricted/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'universe/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'universe/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'multiverse/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'multiverse/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'restricted/binary-foreign-architecture/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'restricted/binary-multiarch/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'universe/binary-foreign-architecture/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'universe/binary-multiarch/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'multiverse/binary-foreign-architecture/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'multiverse/binary-multiarch/Packages' as repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'public/binary-foreign-architecture/Packages' as repository 'http://dell.archive.canonical.com/updates xenial-dell InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'public/binary-multiarch/Packages' as repository 'http://dell.archive.canonical.com/updates xenial-dell InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'non-free/binary-foreign-architecture/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'non-free/binary-multiarch/Packages' as repository 'http://repository.spotify.com stable InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease' doesn't support architecture 'multiarch'
W: The repository 'http://ppa.launchpad.net/tualatrix/ppa/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.
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'restricted/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'restricted/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'universe/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'universe/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'multiverse/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'multiverse/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'main/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'main/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'restricted/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'restricted/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'universe/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'universe/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'multiarch'
N: Skipping acquire of configured file 'multiverse/binary-foreign-architecture/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'foreign-architecture'
N: Skipping acquire of configured file 'multiverse/binary-multiarch/Packages' as repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' doesn't support architecture 'multiarch'
E: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Также терминал вывод sudo dpkg --print-architecture является amd64и выходной терминал sudo dpkg --print-foreign-architectures является

i386
foreign-architecture
multiarch

1 ответ

Решение

Что касается...

Мой запрос на данные...

sudo dpkg --print-architecture
amd64

sudo dpkg --print-foreign-architectures
i386
foreign-architecture  <== this is wrong
multiarch             <== this is wrong

В terminal...

Чтобы исправить 90% ошибок, которые вы получаете...

sudo dpkg --remove-architecture foreign-architecture
sudo dpkg --remove-architecture multiarch

Чтобы исправить оставшиеся 10% ошибок, которые вы получаете... мы исправляем PPA...

grep tualatrix /etc/apt/sources.list.d/*.list
* note the filename returned
gksudo gedit /etc/apt/sources.list.d/filename # replace filename with name from previous step
* change "xenial" to "trusty"
* save file and quit gedit

sudo apt-get update
Другие вопросы по тегам