文章目录
  1. 1. pacman
  1. 用root打开vscode

code –user-data-dir=”~/.vscode-root”

  1. How can I stop being prompted to unlock the ‘default’ keyring on boot?

local/share/keyrings/ and delete Default_keyring.keyring. Then, to make login.keyring default, open default in a text editor and change its text to login.

How can I stop being prompted to unlock the ‘default’ keyring on boot?

pacman

pacman

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[pc ~]# pacman -Syyu
error: could not register 'core' database (database already registered)
:: Synchronizing package databases...
core
extra 165.3 KiB 599 KiB/s 00:00 [##################################################] 100%
community 1849.7 KiB 6.14 MiB/s 00:00 [##################################################] 100%
multiliby 7.1 MiB 10.2 MiB/s 00:01 [##################################################] 100%
:: Some packages should be upgraded first... 180.5 KiB 2.94 MiB/s 00:00 [##################################################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (3) base-3-2 manjaro-keyring-20220514-2 manjaro-system-20220727-1

Total Download Size: 0.54 MiB
Total Installed Size: 0.71 MiB
Net Upgrade Size: 0.54 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
manjaro-keyring-20220514-2-any
(3/3) checking keys in keyring [##################################################] 100%
(3/3) checking package integrity [##################################################] 100%
error: manjaro-keyring: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/manjaro-keyring-20220514-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n

......
......
......

error: timeshift: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/timeshift-22.06.5-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded
1
2
3
+
If you are not concerned about package signing, you can disable PGP signature checking completely. Edit /etc/pacman.conf to have the following lines under [options]:

SigLevel = Never
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

1
2
仍然报错

:: File /var/cache/pacman/pkg/systemd-libs-251.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: systemd: signature from “Mark Wagie mark@manjaro.org“ is unknown trust
:: File /var/cache/pacman/pkg/systemd-251.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: apparmor: signature from “Mark Wagie mark@manjaro.org“ is unknown trust
…..
….,
….
:: File /var/cache/pacman/pkg/timeshift-22.06.5-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.










文章目录
  1. 1. pacman