有人知道我该怎么做才能解决这个问题?
我最近收到了这些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