“Snap Store 的待更新”是怎么回事?
ubuntu
最近,打开 Firefox 时出现此警告:
等待更新“firefox”快照
关闭应用程序以避免中断
这是什么意思?我该怎么办?这是一个错误吗?
我刚刚从 Ubuntu 21.10 升级到 22.04。
sudo apt update
以以下警告结束...
W: https://linux.teamviewer.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://apt.keepsolid.com/ubuntu/dists/groovy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://download.virtualbox.org/virtualbox/debian/dists/hirsute/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://download.opensuse.org/repositories/home:/IBBoard:/cawbird/xUbuntu_22.04/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/solaar-unifying/stable/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.
W: http://ppa.launchpad.net/team-xbmc/ppa/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.
W: http://ppa.launchpad.net/yannubuntu/boot-repair/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.
Synaptic
在重新加载时显示相同的警告。
审查man apt-key
并没有为我澄清这一点。
我认为这是因为 Ubuntu 22.04 已经从使用 /etc/apt/trusted.gpg 转变为使用位于 /etc/apt/trusted.gpg.d 中的单个 .gpg 文件。
这些密钥可以从一个转换为另一个,还是我必须删除这些密钥并重新导入它们?
Ubuntu 22.04 有一个错误,即我们无法在任何平台上共享我们的屏幕。
sudo do-release-upgrade -cd
返回
Checking for a new Ubuntu release
New release '22.04' available.
Run 'do-release-upgrade' to upgrade to it.
然后
sudo do-release-upgrade
返回
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release
set Prompt=normal in /etc/update-manager/release-upgrades.
我认为错误是:
22.04 未标记为 LTS。因此do-release-upgrade
不适用于从 20.04 LTS 升级到 22.04 LTS。
任何解决方法除了set Prompt=normal in /etc/update-manager/release-upgrades.
?
Ubuntu 22.04 在 Digital Ocean LAMP 堆栈液滴上更新后,我收到 3 条警告。
W: http://repo.mysql.com/apt/ubuntu/dists/bionic/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://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://pkg.cloudflare.com/dists/trusty/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
如何将钥匙移动到正确的位置并删除旧钥匙?
编辑
sudo apt-key 列表
pub rsa2048 2016-02-17 [SC]
9FE3 B226 BD77 5196 D8C2 E599 DE88 104A A4C6 383F
uid [ unknown] DigitalOcean Insights Engineering <[email protected]>
sub rsa2048 2016-02-17 [E]
pub rsa2048 2015-01-28 [SC]
FBA8 C0EE 6361 7C5E ED69 5C43 254B 391D 8CAC CBF8
uid [ unknown] CloudFlare Software Packaging <[email protected]>
pub dsa1024 2003-02-03 [SCA] [expired: 2022-02-16]
A4A9 4068 76FC BD3C 4567 70C8 8C71 8D3B 5072 E1F5
uid [ expired] MySQL Release Engineering <[email protected]>
pub rsa4096 2021-12-14 [SC] [expires: 2023-12-14]
859B E8D7 C586 F538 430B 19C2 467B 942D 3A79 BD29
uid [ unknown] MySQL Release Engineering <[email protected]>
sub rsa4096 2021-12-14 [E] [expires: 2023-12-14]
/etc/apt/trusted.gpg.d/certbot_ubuntu_certbot.gpg
-------------------------------------------------
pub rsa4096 2016-11-02 [SC]
7BF5 7606 6ADA 6572 8FC7 E70A 8C47 BE8E 75BC A694
uid [ unknown] Launchpad PPA for certbot
/etc/apt/trusted.gpg.d/ondrej-ubuntu-apache2.gpg
------------------------------------------------
pub rsa1024 2009-01-26 [SC]
14AA 40EC 0831 7567 56D7 F66C 4F4E A0AA E526 7A6C
uid [ unknown] Launchpad PPA for Ondřej Surý
/etc/apt/trusted.gpg.d/ondrej_ubuntu_php.gpg
--------------------------------------------
pub rsa1024 2009-01-26 [SC]
14AA 40EC 0831 7567 56D7 F66C 4F4E A0AA E526 7A6C
uid [ unknown] Launchpad PPA for Ondřej Surý
/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>
/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <[email protected]>
ls -l /etc/apt/sources.list.d
-rw-r--r-- 1 root root 276 Apr 8 15:51 certbot-ubuntu-certbot-xenial.list
-rw-r--r-- 1 root root 276 Apr 8 15:51 certbot-ubuntu-certbot-xenial.list.distUpgrade
-rw-r--r-- 1 root root 274 Mar 13 2020 certbot-ubuntu-certbot-xenial.list.save
-rw-r--r-- 1 root root 43 Apr 8 15:51 cloudflare-main.list
-rw-r--r-- 1 root root 43 Apr 8 15:51 cloudflare-main.list.distUpgrade
-rw-r--r-- 1 root root 43 Mar 13 2020 cloudflare-main.list.save
-rw-r--r-- 1 root root 67 Apr 8 15:51 digitalocean-agent.list
-rw-r--r-- 1 root root 67 Apr 8 15:51 digitalocean-agent.list.distUpgrade
-rw-r--r-- 1 root root 67 Mar 13 2020 digitalocean-agent.list.save
-rw-r--r-- 1 root root 501 Apr 8 15:51 mysql.list
-rw-r--r-- 1 root root 501 Apr 8 15:51 mysql.list.distUpgrade
-rw-r--r-- 1 root root 137 Apr 8 15:51 ondrej-ubuntu-apache2-hirsute.list
-rw-r--r-- 1 root root 135 Apr 8 15:51 ondrej-ubuntu-apache2-hirsute.list.distUpgrade
-rw-r--r-- 1 root root 123 Apr 8 15:51 ondrej-ubuntu-php-xenial.list
-rw-r--r-- 1 root root 124 Apr 8 15:51 ondrej-ubuntu-php-xenial.list.distUpgrade
-rw-r--r-- 1 root root 125 Apr 8 19:11 signal-xenial.list
apt upgrade
:
$ sudo apt-get full-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
libpython3.10-dev : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10-minimal : Depends: libpython3.10-minimal (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt --fix-broken install
:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libpython3.10-minimal libpython3.10-stdlib
The following packages will be upgraded:
libpython3.10-minimal libpython3.10-stdlib
2 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
9 not fully installed or removed.
Need to get 0 B/2,566 kB of archives.
After this operation, 68.6 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 279178 files and directories currently installed.)
Preparing to unpack .../libpython3.10-stdlib_3.10.4-1+focal2_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.4-1+focal2) over (3.10.4-1+focal1) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.10-stdlib_3.10.4-1+focal2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.10/_sysconfigdata__linux_x86_64-linux-gnu.py', which is also in package libpython3.10-minimal:amd64 3.10.4-1+fo
cal1
Preparing to unpack .../libpython3.10-minimal_3.10.4-1+focal2_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.4-1+focal2) over (3.10.4-1+focal1) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.10-minimal_3.10.4-1+focal2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python3.10/typing.py', which is also in package libpython3.10-stdlib:amd64 3.10.4-1+focal1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libpython3.10-stdlib_3.10.4-1+focal2_amd64.deb
/var/cache/apt/archives/libpython3.10-minimal_3.10.4-1+focal2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
试图删除已安装python3.10
的软件包,但它会导致错误 Unmet dependencies
此错误消息是什么意思,有没有办法解决它?
据我在22.04 Jammy的持续开发中看到的,Firefox是一个 Snap 包。apt 中相关的 Deb 包只是指向该快照版本的快捷方式/链接。
我更喜欢我的安装不是来自 snap 包,因为我发现它们太多“特定于 Ubuntu”。
是否有其他方法可以在 Jammy 上安装 Firefox?
我最喜欢的选择是Apt 存储库或PPA。同时,我将使用我的测试虚拟机测试Flatpak版本。
谢谢!
最近我在运行时注意到一些问题apt
,系统会警告我密钥环已弃用:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: https://packages.microsoft.com/repos/edge/dists/stable/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://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
这不会阻止我执行更新,但我更希望在更新系统时看不到这一点。我们应该如何存储受信任的 GPG 密钥?
我正在运行 Ubuntu 20.04,我不小心删除了 EFI 分区(该死的 GParted!)系统仍在运行。我可以在 now UNUSED 区域创建一个新分区,设置 EFI 标志和引导标志,然后运行 update-grub 吗?update-grub 会重新填充 EFI 分区吗?我可以从另一个 Ubuntu 安装中 DD EFI 分区吗?
快速回复, 非常感谢!
我在 Windows 11 上使用 WSL2。我想systemctl
在 Ubuntu 20.04 中运行该命令,但它给了我以下错误:
System has not been booted with systemd as init system (PID 1).
Can't operate. Failed to connect to bus: Host is down
我该如何解决?
我刚从 21.04 升到 21.10。我在 Firefox 中安装了 1Password 扩展,它使用 ctrl-period 击键来启动密码管理器。我从……呃……18.10开始就一直在使用它?19.04?现在至少几年了,版本之间没有问题。但是现在在 21.10 ctrl-period 的行为非常奇怪。它将带下划线的 e 放在任何文本输入窗口的焦点上,然后我输入的任何内容都会带下划线,但是如果我按 Enter 键,有时字母会有点混乱,但通常只有 e 和下划线被删除?这真的很混乱......我不知道它在做什么。这种情况无处不在,终端文本编辑器、浏览器、IDE、待办事项列表......所以我假设它是某种系统范围的东西。这是什么?我在不知不觉中跌入了什么模式?我可以更改触发它的键吗?
似乎 GIMP 中的几乎所有东西都是无色的,即使是左上角的工具:
是否可以像在 Windows 或 Mac 中一样让它们变得丰富多彩?
今天我做了sudo apt upgrade
,然后,作为一个双重检查,做了sudo apt update
。后者终止于:
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease
Get:6 https://repo.skype.com/deb stable InRelease [4,502 B]
Err:6 https://repo.skype.com/deb stable InRelease
The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
Fetched 4,502 B in 5s (894 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
为了解决这个问题,我打了电话sudo apt remove skypeforlinux
,然后又做了一个sudo apt update
. 更新再次以关于无效签名的消息终止。
如何清除此无效签名问题?
$ uname -mrs
Linux 5.4.0-77-generic x86_64
$ lsb_release -d
Description: Ubuntu 20.04.2 LTS
sudo apt-get install chromium-browser
出于某种原因,安装的不是正确的 apt-get 包,而是安装了 chromium snap。
我知道阻止此类安装不会神奇地建立维护包,并且会导致安装失败。但我更喜欢出错并手动安装 - 从源代码或在不太可能的情况下从 snap 安装。
我不想使用 snap 安装任何东西(首先,由于 Snap Store 的封闭源代码实践)。特别是当我使用apt-get
.
如何在 gnome 软件中心禁用快照?没有回答我的问题,因为我想摆脱快速感染apt
- 而不是在 gnome-software-center 中。
如何将 Firefox 89 设计恢复为旧设计?
特别是标签设计。我不能(很容易地)知道打开了哪个标签。
我在菜单中找不到任何东西。
我在 Ubuntu 21.04 (Hirsute Hippo) 上运行 Firefox 89。
由于我安装了 ubuntu 20.04,我遇到了系统未检测到蓝牙耳机麦克风的问题。我的耳机与 Windows 完美配合。另外,我无法在 ubuntu 中从 AD2P 切换到 HFP。所以我最后的想法是删除pulseaudio并安装pipewire希望它能解决我的问题。
任何人都可以请提供执行相同操作的步骤吗?我已经搜索了很多次,但无法找到正确的步骤。
非常感谢!