在sudo apt update检测到臭虫之后,所以,我想清除这些包裹.但是包裹的名字是什么?怎么清除它?
我试着删除列出的bug(下面是最后的),但是:
sudo apt purge pgadmin4,没有效果。“软件包'pgadmin4‘未安装,因此未删除”sudo apt purge qgis,好的!清除,没有QGIS在机器上,但警报仍然存在。apt显示警告,但不显示包名,因此很难发现我必须清除哪些内容。怎样才能真正清除?
apt update列出的bug,在qgis清除后保持不变:
W: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy/dists/pgadmin4/
InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
see the DEPRECATION section in apt-key(8) for details.
W: https://qgis.org/ubuntu/dists/jammy/
InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://qgis.org/ubuntu jammy
InRelease' doesn't support architecture 'i386'发布于 2023-03-18 23:27:48
这些不是包错误。添加或删除包将没有任何效果(正如您已经发现的那样)。
这些都是储存库(W)岩层和(N)个化工点。您必须在apt源中修复(或禁用或删除)存储库列表。
示例:必须修复、禁用或删除https://qgis.org apt源以消除W:警告。它通常在您的/etc/apt/sources.list.d目录中。
/etc/apt/sources.list.d中)并注释掉源代码。然后运行sudo apt update,因为您的源刚刚更改。/etc/apt/sources.list.d中)或删除源文件中的行来删除源。然后运行sudo apt update,因为您的源刚刚更改。/etc/apt/trusted.gpg.d中)来删除"apt键“,从而避免最近UBUNTU错误/关于apt-key弃用的警告。然后运行sudo apt update,因为您的源刚刚更改。https://askubuntu.com/questions/1459933
复制相似问题