降级包循环

降级包循环

我遇到了同样的问题。如何停止 APT 持续降级?

每次我 sudo apt update 输出都是:

Ign:1 http ://dl.google.com/linux/chrome/deb stable InRelease  
Ign:2 http ://dl.google.com/linux/earth/deb stable InRelease                    
Hit:3 http ://repo.steampowered.com/steam precise InRelease                     
Ign:4 http ://dl.google.com/linux/talkplugin/deb stable InRelease               
Hit:5 http ://dl.google.com/linux/chrome/deb stable Release                     
Hit:6 http ://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:7 http ://dl.google.com/linux/earth/deb stable Release                      
Hit:8 http ://dl.google.com/linux/talkplugin/deb stable Release                 
Get:9 http ://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]    
Hit:11 http ://archive.canonical.com/ubuntu xenial InRelease                    
Hit:12 http ://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease   
Get:13 http ://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]    
Get:16 http ://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] 
Hit:17 http ://ppa.launchpad.net/rednotebook/stable/ubuntu xenial InRelease     
Hit:18 http ://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease       
Fetched 306 kB in 2s (146 kB/s)                    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http ://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386' 

__ [链接故意被破坏,这样我就可以不经警告就发布此内容,因为我的声誉太低了]__

每次 sudo apt upgrade 都会产生:

Reading package lists... Done  
Building dependency tree       
Reading state information... Done  
Calculating upgrade... Done  
The following packages will be DOWNGRADED:  
  debhelper dh-autoreconf  
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.  
Need to get 854 kB of archives.  
After this operation, 0 B of additional disk space will be used.  
Do you want to continue? [Y/n] y  
Get:1 http ://ppa.launchpad.net/rednotebook/stable/ubuntu xenial/main amd64 dh-autoreconf all 12~ubuntu16.04.1 [16.0 kB]  
Get:2 http://ppa.launchpad.net/rednotebook/stable/ubuntu xenial/main amd64 debhelper all 10.2.2ubuntu1~ubuntu16.04.1 [838 kB]  
Fetched 854 kB in 1s (480 kB/s)    
(Reading database ... 300410 files and directories currently installed.)  
Preparing to unpack .../dh-autoreconf_12~ubuntu16.04.1_all.deb ...  
Unpacking dh-autoreconf (12~ubuntu16.04.1) over (12~ubuntu16.04.1) ...  
Preparing to unpack .../debhelper_10.2.2ubuntu1~ubuntu16.04.1_all.deb ...  
Unpacking debhelper (10.2.2ubuntu1~ubuntu16.04.1) over (10.2.2ubuntu1~ubuntu16.04.1) ...  
Processing triggers for man-db (2.7.5-1) ...  
Setting up dh-autoreconf (12~ubuntu16.04.1) ...  
Setting up debhelper (10.2.2ubuntu1~ubuntu16.04.1) ...  
rdafg@rdafg-multimade:~/Desktop$ 

我可以做些什么来删除这两个一直显示“要降级”的软件包?

谢谢

答案1

对于已安装的软件包,如果在多个 apt 源中具有完全相同的版本,则可能会发生这种情况。apt 不会跟踪您从哪个源安装的软件包,并且根据您的 apt 源的顺序,它可能会导致这种奇怪的行为。

相关内容