archive.ubuntu.com 存储库错误?

archive.ubuntu.com 存储库错误?

我是 Ubuntu 新手,如果这是一个快速修复,请原谅。我在运行时遇到问题apt-get update,反复出现的错误消息是:

Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty Release.gpg                               
Hit http://archive.ubuntu.com trusty Release                                   
Ign http://archive.canonical.com trusty InRelease                              
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/main Sources                              
Ign http://extras.ubuntu.com trusty InRelease                                  
Hit http://archive.canonical.com trusty Release.gpg                            
Hit http://archive.ubuntu.com trusty/universe Sources              
Hit http://archive.ubuntu.com trusty/multiverse Sources                        
Hit http://extras.ubuntu.com trusty Release.gpg                                
Hit http://archive.canonical.com trusty Release                   
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
Hit http://archive.ubuntu.com trusty/main amd64 Packages          
Hit http://extras.ubuntu.com trusty Release                       
Hit http://archive.canonical.com trusty/partner Sources                        
Hit http://archive.ubuntu.com trusty/universe amd64 Packages      
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages    
Hit http://extras.ubuntu.com trusty/main Sources
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'restricted/binary-i3836/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

我尝试删除 sources.list 文件,然后使用命令“software-properties-gtk”替换它,但不起作用。有什么想法吗?

答案1

似乎我之前使用“dpkg --add-architecture”命令时不小心将错误的外部架构添加到我的计算机中。下面是不正确我输入的命令:

sudo dpkg --add-architecture i3836

这就是 binary-i3836 反复出现的问题的原因。我使用以下命令来修复该问题:

sudo dpkg --remove-architecture i3836

我现在可以使用 sudo apt-get update 了。

相关内容