您尚未登录。

#1 2025-01-05 14:26:30

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

无法更新。。。

一个多月没更新了,今天想更新了下。提示错误了。。。


(469/469) checking keys in keyring                                                                        [###############################################################] 100%
(469/469) checking package integrity                                                                      [###############################################################] 100%
error: adwaita-icon-theme-legacy: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/adwaita-icon-theme-legacy-46.2-3-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: python-charset-normalizer: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-charset-normalizer-3.4.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: gperftools: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/gperftools-2.16-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: v4l-utils: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/v4l-utils-1.28.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libpgm: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/libpgm-5.3.128-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: qt6-multimedia-ffmpeg: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/qt6-multimedia-ffmpeg-6.8.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: qt6-multimedia: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/qt6-multimedia-6.8.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libmanette: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/libmanette-0.2.9-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: nodejs: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/nodejs-23.4.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: npm: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/npm-11.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: pnpm: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/pnpm-9.15.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: python-typeguard: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-typeguard-4.4.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: python-pytest: signature from "Daniel M. Capella <polyzen@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-pytest-1:8.3.4-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

离线

#2 2025-01-05 15:02:55

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,023
个人网站

Re: 无法更新。。。

先 pacman -Sy archlinux-keyring 一下再更新。

离线

#3 2025-01-05 15:22:25

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

Re: 无法更新。。。

感谢依云。

我的系统好像无法覆盖更新,每次都提示文件已经存在。所以,现在每次更新之前都在加上--overwrite ‘*’
这样会导致每次更新linux内核后,进不了系统,提示boot分区空间不足。
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
cat: write error: No space left on device
bsdtar: Write error
bsdtar: Write error
==> ERROR: Early uncompressed CPIO image generation FAILED: 'bsdtar (step 1)' reported an error
error: command failed to execute correctly

离线

#4 2025-01-05 15:55:12

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,023
个人网站

Re: 无法更新。。。

啊?不要随意使用 -overwrite ‘*’ 啊。
另外你贴的错误是因为 /boot 满了。你看看它有多大、里边都有些文件。

离线

#5 2025-01-11 18:25:30

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

Re: 无法更新。。。

谢谢依云

如果不加-overwrite的话,根本无法安装哦。

error: failed to commit transaction (conflicting files)
libev: /usr/include/ev++.h exists in filesystem
libev: /usr/include/ev.h exists in filesystem
libev: /usr/lib/libev.so exists in filesystem
libev: /usr/lib/libev.so.4 exists in filesystem
libev: /usr/lib/libev.so.4.0.0 exists in filesystem
libev: /usr/share/licenses/libev/LICENSE exists in filesystem
libev: /usr/share/man/man3/ev.3.gz exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn-common.h exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn-launchee.h exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn-launcher.h exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn-monitor.h exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn-util.h exists in filesystem
startup-notification: /usr/include/startup-notification-1.0/libsn/sn.h exists in filesystem
startup-notification: /usr/lib/libstartup-notification-1.so exists in filesystem
startup-notification: /usr/lib/libstartup-notification-1.so.0 exists in filesystem
startup-notification: /usr/lib/libstartup-notification-1.so.0.0.0 exists in filesystem
startup-notification: /usr/lib/pkgconfig/libstartup-notification-1.0.pc exists in filesystem
xcb-util-xrm: /usr/include/xcb/xcb_xrm.h exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so.0 exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so.0.0.0 exists in filesystem
xcb-util-xrm: /usr/lib/pkgconfig/xcb-xrm.pc exists in filesystem
xcb-util-xrm: /usr/share/licenses/xcb-util-xrm/COPYING exists in filesystem
i3-wm: /etc/i3/config.keycodes exists in filesystem
i3-wm: /usr/bin/i3 exists in filesystem
i3-wm: /usr/bin/i3-config-wizard exists in filesystem
i3-wm: /usr/bin/i3-dmenu-desktop exists in filesystem
i3-wm: /usr/bin/i3-dump-log exists in filesystem
i3-wm: /usr/bin/i3-input exists in filesystem
i3-wm: /usr/bin/i3-migrate-config-to-v4 exists in filesystem
i3-wm: /usr/bin/i3-msg exists in filesystem
i3-wm: /usr/bin/i3-nagbar exists in filesystem
i3-wm: /usr/bin/i3-save-tree exists in filesystem
i3-wm: /usr/bin/i3-sensible-editor exists in filesystem
i3-wm: /usr/bin/i3-sensible-pager exists in filesystem
i3-wm: /usr/bin/i3-sensible-terminal exists in filesystem
i3-wm: /usr/bin/i3-with-shmlog exists in filesystem
i3-wm: /usr/bin/i3bar exists in filesystem
i3-wm: /usr/include/i3/ipc.h exists in filesystem
i3-wm: /usr/share/applications/i3.desktop exists in filesystem
i3-wm: /usr/share/doc/i3/bigpicture.png exists in filesystem
i3-wm: /usr/share/doc/i3/gaps1920.png exists in filesystem
i3-wm: /usr/share/doc/i3/i3-sync-working.png exists in filesystem
i3-wm: /usr/share/doc/i3/i3-sync.png exists in filesystem
i3-wm: /usr/share/doc/i3/keyboard-layer1.png exists in filesystem
i3-wm: /usr/share/doc/i3/keyboard-layer2.png exists in filesystem
i3-wm: /usr/share/doc/i3/layout-saving-1.png exists in filesystem
i3-wm: /usr/share/doc/i3/logo-30.png exists in filesystem
i3-wm: /usr/share/doc/i3/modes.png exists in filesystem
i3-wm: /usr/share/doc/i3/refcard.html exists in filesystem
i3-wm: /usr/share/doc/i3/refcard_style.css exists in filesystem
i3-wm: /usr/share/doc/i3/single_terminal.png exists in filesystem
i3-wm: /usr/share/doc/i3/snapping.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-layout1.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-layout2.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-shot1.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-shot2.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-shot3.png exists in filesystem
i3-wm: /usr/share/doc/i3/tree-shot4.png exists in filesystem
i3-wm: /usr/share/doc/i3/two_columns.png exists in filesystem
i3-wm: /usr/share/doc/i3/two_terminals.png exists in filesystem
i3-wm: /usr/share/doc/i3/wsbar.png exists in filesystem
i3-wm: /usr/share/licenses/i3-wm/LICENSE exists in filesystem
i3-wm: /usr/share/man/man1/i3-config-wizard.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-dmenu-desktop.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-dump-log.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-input.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-migrate-config-to-v4.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-msg.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-nagbar.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-save-tree.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-sensible-editor.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-sensible-pager.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3-sensible-terminal.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3.1.gz exists in filesystem
i3-wm: /usr/share/man/man1/i3bar.1.gz exists in filesystem
i3-wm: /usr/share/xsessions/i3-with-shmlog.desktop exists in filesystem
i3-wm: /usr/share/xsessions/i3.desktop exists in filesystem
Errors occurred, no packages were upgraded.

离线

#6 2025-01-11 18:35:18

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,023
个人网站

Re: 无法更新。。。

呃,为什么会这样呢?之前在更新的过程中异常关过机?

离线

#7 2025-01-11 18:39:00

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

Re: 无法更新。。。

就是很奇怪,感觉pacman正常应该会自动覆盖已存在的文件的。

这个问题很久了,所以一直只能通过-overwrite ‘*’ 来更新的。
想解决这个问题,但是试着好几次了,还是解决不了。。。

离线

#8 2025-01-11 19:19:24

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,023
个人网站

Re: 无法更新。。。

把报错的包用 --overwrite '*' 重装一下吧。

离线

#9 2025-01-11 19:35:34

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

Re: 无法更新。。。

依云 说:

把报错的包用 --overwrite '*' 重装一下吧。

那就几乎每个都得加上 --overwrite '*'才能下一步了。。。

离线

页脚