无法更新和下载任何内容

无法更新和下载任何内容

我最近刚刚修复了 libssl1.1:amd64 包错误,该错误阻止我下载任何内容。我使用了此来源:focal-backports InRelease' 不支持架构 '1386'。我使用了提到的命令行;sudo dpkg --remove-architecture i386

现在我可以开始下载了,但下载完成后系统提示我更新。我尝试了apt updatesudo apt-get update,结果都如下:

apt update 
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

我尝试删除锁定文件,但没有效果。

sudo apt update(我已删除我的 IP 地址):

sudo apt update 
Hit:1 http://ppa.launchpad.net/blaze/rtbth-dkms/ubuntu groovy InRelease
Hit:2 http://br.archive.ubuntu.com/ubuntu groovy InRelease          
Get:3 http://security.ubuntu.com/ubuntu groovy-security InRelease [110 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]    
Hit:5 http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy InRelease           
Get:6 http://br.archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]  
Err:3 http://security.ubuntu.com/ubuntu groovy-security InRelease              
  Connection timed out [IP: ]
Fetched 216 kB in 58s (3.694 B/s)  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
133 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ppa.launchpad.net/blaze/rtbth-dkms/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://ppa.launchpad.net/micahflee/ppa/ubuntu groovy InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://br.archive.ubuntu.com/ubuntu groovy-backports InRelease' doesn't support architecture '1386'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/groovy-security/InRelease  Connection timed out [IP: 91.189.91.39 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

我不太清楚这里出了什么问题,但我确定没有更新。

任何帮助将不胜感激。

相关内容