You are not logged in.
I currently cannot upgrade my system:
1 ✗ neumann@ThinkCentre ~ $ LANG=C sudo pacman -Syu --noc
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
homeinfo is up to date
rne is up to date
:: Starting full system upgrade...
:: Replace qemu with extra/qemu-desktop? [Y/n]
:: Replace qemu-arch-extra with extra/qemu-emulators-full? [Y/n]
resolving dependencies...
looking for conflicting packages...
Package (90) Old Version New Version Net Change
extra/archiso 63-1 63-2 0.00 MiB
extra/dav1d 0.9.2-1 1.0.0-1 0.27 MiB
extra/edk2-armvirt 202202-2 130.00 MiB
extra/ffmpeg 2:5.0-6 2:5.0-7 0.00 MiB
extra/ffmpeg4.4 4.4.1-4 4.4.1-5 0.00 MiB
extra/gd 2.3.3-3 2.3.3-4 0.00 MiB
extra/git 2.36.0-1 2.36.1-1 0.00 MiB
community/gnome-boxes 42.0.1-1 42.0.1-2 0.00 MiB
extra/gnome-shell-extensions 42.0-1 42.1-1 -0.03 MiB
extra/gspell 1.10.0-1 1.10.0-2 0.00 MiB
core/hwdata 0.358-1 0.359-1 0.00 MiB
extra/imagemagick 7.1.0.32-1 7.1.0.33-1 0.00 MiB
community/libavif 0.9.3-1 0.10.1-1 0.00 MiB
extra/libreoffice-fresh 7.3.3-1 7.3.3-2 0.00 MiB
core/libunistring 0.9.10-3 1.0-1 0.20 MiB
community/libvirt 1:8.2.0-7 1:8.3.0-1 0.11 MiB
community/libyuv r2266+eb6e7bb6-1 r2322+3aebf69d-1 0.19 MiB
extra/mesa 22.0.2-1 22.0.3-1 0.01 MiB
community/multipath-tools 0.8.9-1 1.12 MiB
extra/poppler 22.03.0-1 22.05.0-1 0.06 MiB
extra/poppler-glib 22.03.0-1 22.05.0-1 0.01 MiB
community/python-astroid 2.11.4-1 2.11.5-1 0.00 MiB
community/python-markdown 3.3.6-3 3.3.7-1 -0.01 MiB
qemu 6.2.0-4 -50.68 MiB
qemu-arch-extra 6.2.0-4 -766.41 MiB
extra/qemu-audio-alsa 7.0.0-9 0.03 MiB
extra/qemu-audio-dbus 7.0.0-9 0.03 MiB
extra/qemu-audio-jack 7.0.0-9 0.02 MiB
extra/qemu-audio-oss 7.0.0-9 0.02 MiB
extra/qemu-audio-pa 7.0.0-9 0.02 MiB
extra/qemu-audio-sdl 7.0.0-9 0.01 MiB
extra/qemu-audio-spice 7.0.0-9 0.02 MiB
extra/qemu-block-curl 7.0.0-9 0.04 MiB
extra/qemu-block-dmg 7.0.0-9 0.01 MiB
extra/qemu-block-nfs 7.0.0-9 0.03 MiB
extra/qemu-block-ssh 7.0.0-9 0.04 MiB
extra/qemu-chardev-spice 7.0.0-9 0.03 MiB
extra/qemu-common 7.0.0-9 3.58 MiB
extra/qemu-desktop 7.0.0-9 0.00 MiB
extra/qemu-emulators-full 7.0.0-9 0.00 MiB
extra/qemu-hw-display-qxl 7.0.0-9 0.10 MiB
extra/qemu-hw-display-virtio-gpu 7.0.0-9 0.06 MiB
extra/qemu-hw-display-virtio-gpu-gl 7.0.0-9 0.03 MiB
extra/qemu-hw-display-virtio-gpu-pci 7.0.0-9 0.01 MiB
extra/qemu-hw-display-virtio-gpu-pci-gl 7.0.0-9 0.01 MiB
extra/qemu-hw-display-virtio-vga 7.0.0-9 0.01 MiB
extra/qemu-hw-display-virtio-vga-gl 7.0.0-9 0.01 MiB
extra/qemu-hw-s390x-virtio-gpu-ccw 7.0.0-9 0.01 MiB
extra/qemu-hw-usb-host 7.0.0-9 0.05 MiB
extra/qemu-hw-usb-redirect 7.0.0-9 0.07 MiB
extra/qemu-hw-usb-smartcard 7.0.0-9 0.03 MiB
extra/qemu-img 7.0.0-9 10.13 MiB
extra/qemu-pr-helper 7.0.0-9 0.98 MiB
extra/qemu-system-aarch64 7.0.0-9 24.94 MiB
extra/qemu-system-alpha 7.0.0-9 28.23 MiB
extra/qemu-system-arm 7.0.0-9 39.25 MiB
extra/qemu-system-avr 7.0.0-9 12.31 MiB
extra/qemu-system-cris 7.0.0-9 12.48 MiB
extra/qemu-system-hppa 7.0.0-9 28.87 MiB
extra/qemu-system-m68k 7.0.0-9 13.92 MiB
extra/qemu-system-microblaze 7.0.0-9 24.96 MiB
extra/qemu-system-mips 7.0.0-9 77.54 MiB
extra/qemu-system-nios2 7.0.0-9 12.31 MiB
extra/qemu-system-or1k 7.0.0-9 12.40 MiB
extra/qemu-system-ppc 7.0.0-9 77.67 MiB
extra/qemu-system-riscv 7.0.0-9 64.52 MiB
extra/qemu-system-rx 7.0.0-9 12.30 MiB
extra/qemu-system-s390x 7.0.0-9 24.91 MiB
extra/qemu-system-sh4 7.0.0-9 33.96 MiB
extra/qemu-system-sparc 7.0.0-9 52.28 MiB
extra/qemu-system-tricore 7.0.0-9 12.46 MiB
extra/qemu-system-x86 7.0.0-9 66.21 MiB
extra/qemu-system-xtensa 7.0.0-9 41.33 MiB
extra/qemu-tools 7.0.0-9 1.43 MiB
extra/qemu-ui-curses 7.0.0-9 0.04 MiB
extra/qemu-ui-dbus 7.0.0-9 0.24 MiB
extra/qemu-ui-egl-headless 7.0.0-9 0.01 MiB
extra/qemu-ui-gtk 7.0.0-9 0.08 MiB
extra/qemu-ui-opengl 7.0.0-9 0.03 MiB
extra/qemu-ui-sdl 7.0.0-9 0.04 MiB
extra/qemu-ui-spice-app 7.0.0-9 0.01 MiB
extra/qemu-ui-spice-core 7.0.0-9 0.07 MiB
extra/qemu-user 7.0.0-9 272.05 MiB
extra/qemu-vhost-user-gpu 7.0.0-9 0.40 MiB
extra/qemu-virtiofsd 7.0.0-9 0.44 MiB
community/runc 1.1.1-1 1.1.1-2 0.00 MiB
extra/samba 4.16.1-2 4.16.1-3 0.00 MiB
extra/smbclient 4.16.1-2 4.16.1-3 0.00 MiB
extra/vlc 3.0.17.4-2 3.0.17.4-3 0.00 MiB
core/xfsprogs 5.15.0-2 5.16.0-1 0.00 MiB
Total Installed Size: 1900.44 MiB
Net Upgrade Size: 277.93 MiB
:: Proceed with installation? [Y/n]
(88/88) checking keys in keyring [########################################################################################] 100%
(88/88) checking package integrity [########################################################################################] 100%
(88/88) loading package files [########################################################################################] 100%
(88/88) checking for file conflicts [########################################################################################] 100%
error: failed to commit transaction (conflicting files)
qemu-common: /etc/qemu/bridge.conf exists in filesystem
Errors occurred, no packages were upgraded.
But the config file in question was never owned by a package.
1 ✗ neumann@ThinkCentre ~ $ LANG=C pacman -Qo /etc/qemu/bridge.conf
error: No package owns /etc/qemu/bridge.conf
1 ✗ neumann@ThinkCentre ~ $
Why has qemu-common commandeered my custom config file?
How should I resolve this file conflict?
PS: I just saw that some config files in /etc/ are now provided by said package: https://github.com/archlinux/svntogit-p … BUILD#L103
I find this surprising, since I'd expect config files in /etc/ to be managed by the systems administrator and not by a package.
Hence, I am steadfast of the opinion, that those files should also be in the backup=() array.
Last edited by schard (2022-05-09 13:42:40)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
I suppose the packaging team thought this file was unlikely to be actually customized?
To update it anyway, you could first save a backup, then let pacman overwrite the custom file, and finally restore the backup:
# BACKUP=$(< /etc/qemu.bridge.conf)
# pacman -Syu --overwrite /etc/qemu.bridge.conf
# >/etc/qemu/bridge.conf <<<$BACKUP
(Of course if you never actually customized this file you don't need to backup & restore.)
Last edited by Gyscos (2022-05-09 13:39:46)
Offline
Ah, you jinxed me. I also just realized that the content of the upstream file and my config file is the same.
So I'll just let pacman override the file:
sudo pacman -Syu --overwrite etc/qemu/bridge.conf
Still, this file really should be in backup=() and customizable.
Last edited by schard (2022-05-09 13:44:52)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Hi all
I hope you are all safe. I had the same issue and solved it as @Gyscos suggests.
Also, I agree and would not expect this. Maybe it is worth considering, in case bridge.conf already exists, a bridge.conf.pacnew is created. It would be the decision of the system administrator how to resolve it. This is also how I understand [1]. However, I might also mix things up here.
Thanks
Offline
The temporary backup is not a real solution, since subsequent updates of qemu-common will override said config file.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline