I was at the middle of the most recent update and I had a black out, so, my system crashed and when rebooting I get the message
error: file ‘/boot/vmlinuz-5.12-X86-64’ not found
I have already checked the steps offered in the following link
However, when I do the
rm -f /var/lib/pacman/db.lck
pacman -Syu
It gives me multiple errors regarding imagemagick, which is one of the packages being updated. The first error is the following
error: failed to commit transaction (conflicting files)
imagemagick: /usr/bin/Magick++-config exists in filesystem
And it has several other lines like these showing many different files that already exist in filesystem.
I try to directly install the kernel with sudo mhwd-kernel -i linux510 like it is recommended in the post above, but I get the same kind of error.
You’re doing all of that in the manjaro-chroot environment?
On an unrelated note, do you have a Timeshift backup?
Yep, I do
sudo su -
manjaro-chroot -a
Then
rm -f /var/lib/pacman/db.lck
pacman -Syu
Here is all the output I get
manjaro ~]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda2]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
[manjaro /]# rm -f /var/lib/pacman/db.lck
[manjaro /]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (252) firefox-98.0.1-1 gwenview-21.12.3-1 harfbuzz-icu-4.0.1-1 haskell-aeson-1.5.6.0-86 haskell-aeson-pretty-0.8.9-37
haskell-ansi-terminal-0.11.1-3 haskell-asn1-encoding-0.9.6-156 haskell-asn1-parse-0.9.5-156 haskell-asn1-types-0.3.4-135
haskell-assoc-1.0.2-126 haskell-async-2.2.4-21 haskell-attoparsec-0.14.4-5 haskell-base-compat-batteries-0.12.0-10
haskell-base-orphans-0.8.6-13 haskell-base16-bytestring-1.0.2.0-11 haskell-base64-bytestring-1.2.1.0-32 haskell-basement-0.0.13-1
haskell-bifunctors-5.5.11-51 haskell-blaze-html-0.9.1.2-155 haskell-blaze-markup-0.8.2.8-61 haskell-case-insensitive-1.2.1.0-134
haskell-citeproc-0.6.0.1-18 haskell-colour-2.3.6-72 haskell-commonmark-0.2.1.1-9 haskell-commonmark-extensions-0.2.2.1-11
haskell-commonmark-pandoc-0.2.1.2-15 haskell-comonad-5.0.8-130 haskell-conduit-1.3.4.2-34 haskell-conduit-extra-1.3.5-212
haskell-connection-0.3.1-178 haskell-cryptonite-0.29-49 haskell-data-default-0.7.1.1-205
haskell-data-default-instances-dlist-0.0.1-218 haskell-data-fix-0.3.2-33 haskell-distributive-0.6.2.1-133 haskell-dlist-1.0-140
haskell-doclayout-0.3.0.2-58 haskell-doctemplates-0.10.0.1-36 haskell-emojis-0.1.2-5 haskell-glob-0.10.2-21
haskell-haddock-library-1.10.0-102 haskell-hashable-1.4.0.0-13 haskell-hourglass-0.2.12-177 haskell-hslua-1.3.0.1-102
haskell-hslua-module-path-0.1.0.1-87 haskell-hslua-module-system-0.2.2.1-158 haskell-hslua-module-text-0.3.0.1-146
haskell-hsyaml-0.2.1.0-147 haskell-http-client-0.7.10-15 haskell-http-client-tls-0.3.5.3-496 haskell-http-types-0.12.3-214
haskell-iproute-1.7.12-9 haskell-ipynb-0.1.0.1-283 haskell-jira-wiki-markup-1.4.0-44 haskell-juicypixels-3.3.6-21
haskell-memory-0.16.0-49 haskell-mono-traversable-1.0.15.3-32 haskell-network-3.1.2.7-9 haskell-network-uri-2.6.4.1-66
haskell-pandoc-types-1.22-142 haskell-pem-0.2.4-212 haskell-primitive-0.7.3.0-24 haskell-quickcheck-2.14.2-275
haskell-random-1.2.1-63 haskell-resourcet-1.2.4.3-33 haskell-scientific-0.3.7.0-44 haskell-skylighting-0.11-76
haskell-skylighting-core-0.11-79 haskell-socks-0.6.1-160 haskell-split-0.2.3.4-176 haskell-splitmix-0.1.0.4-38
haskell-streaming-commons-0.2.2.4-4 haskell-strict-0.4.0.1-100 haskell-syb-0.7.2.1-113 haskell-tagsoup-0.14.8-157
haskell-temporary-1.3-363 haskell-texmath-0.12.3.2-17 haskell-text-conversions-0.3.1-114 haskell-text-icu-0.8.0-6
haskell-th-compat-0.1.3-28 haskell-th-lift-instances-0.1.19-17 haskell-these-1.1.1.1-127 haskell-time-compat-1.9.6.1-28
haskell-tls-1.5.7-10 haskell-typed-process-0.2.8.0-17 haskell-unicode-collation-0.1.3.1-24 haskell-unicode-transforms-0.4.0-16
haskell-uniplate-1.6.13-104 haskell-unordered-containers-0.2.16.0-5 haskell-utf8-string-1.0.2-81 haskell-uuid-types-1.0.5-48
haskell-vector-0.12.3.1-54 haskell-vector-algorithms-0.8.0.4-96 haskell-x509-1.7.5-192 haskell-x509-store-1.6.9-7
haskell-x509-system-1.6.7-10 haskell-x509-validation-1.6.12-12 haskell-xml-conduit-1.9.1.1-87 haskell-zip-archive-0.4.1-163
haskell-zlib-0.6.2.3-64 hplip-1:3.22.2-1 imagemagick-7.1.0.27-1 inkscape-1.1.2-2 k3b-1:21.12.3-2 kaccounts-integration-21.12.3-1
kaccounts-providers-21.12.3-1 kactivitymanagerd-5.24.3-1 kamera-21.12.3-1 kate-21.12.3-1 kcalc-21.12.3-1 kde-cli-tools-5.24.3-1
kde-gtk-config-5.24.3-1 kdeconnect-21.12.3-1 kdegraphics-thumbnailers-21.12.3-1 kdenetwork-filesharing-21.12.3-1
kdeplasma-addons-5.24.3-1 keditbookmarks-21.12.3-1 kfind-21.12.3-1 kgamma5-5.24.3-1 kget-21.12.3-2 khelpcenter-21.12.3-1
khotkeys-5.24.3-1 kinfocenter-5.24.3-1 kmenuedit-5.24.3-1 konsole-21.12.3-1 konversation-21.12.3-1 kpmcore-21.12.3-1
kscreen-5.24.3-1 kscreenlocker-5.24.3-1 ksshaskpass-5.24.3-1 ksystemlog-21.12.3-1 ksystemstats-5.24.3-1 kwallet-pam-5.24.3-1
kwalletmanager-21.12.3-1 kwayland-integration-5.24.3-1 kwayland-server-5.24.3-1 kwin-5.24.3-1 kwrited-5.24.3-1
layer-shell-qt-5.24.3-1 lib32-brotli-1.0.9-4 lib32-curl-7.82.0-1 lib32-dbus-1.14.0-1 lib32-expat-2.4.7-1 lib32-gcc-libs-11.2.0-4
lib32-libpsl-0.21.1-2 lib32-libtirpc-1.3.2-2 lib32-libva-mesa-driver-21.3.7-2 lib32-libvdpau-1.4-2 lib32-mesa-21.3.7-2
lib32-mesa-vdpau-21.3.7-2 lib32-nss-3.76-1 lib32-sqlite-3.38.0-1 lib32-systemd-250.4-1 lib32-vulkan-intel-21.3.7-2
lib32-vulkan-radeon-21.3.7-2 libcurl-gnutls-7.82.0-1 libebml-1.4.2-2 libgit2-1:1.4.2-1 libgphoto2-2.5.29-1 libimagequant-2.17.0-3
libkcddb-21.12.3-1 libkexiv2-21.12.3-1 libksane-21.12.3-1 libkscreen-5.24.3-1 libksysguard-5.24.3-1 libktorrent-21.12.3-1
liblouis-3.21.0-1 libmatroska-1.6.3-2 libnfs-5.0.1-2 libnm-1.36.2-1 libopenshot-0.2.7-9 libplacebo-4.192.1-2
libreoffice-still-7.2.6-1 libva-intel-driver-2.4.1-2 libva-mesa-driver-21.3.7-2 libva-vdpau-driver-0.7.4-6
linux-firmware-20220309.cd01f85-1 linux-firmware-whence-20220309.cd01f85-1 linux510-5.10.105-1 manjaro-printer-20220314-1
manjaro-release-21.2.5-1 manjaro-settings-manager-0.5.7-2 manjaro-settings-manager-kcm-0.5.7-2
manjaro-settings-manager-knotifier-0.5.7-2 mesa-vdpau-21.3.7-2 milou-5.24.3-1 mpv-1:0.34.1-4 networkmanager-1.36.2-1
networkmanager-openconnect-1.2.8-1 networkmanager-openvpn-1.8.18-1 networkmanager-pptp-1.2.10-1 networkmanager-vpnc-1.2.8-1
node-gyp-9.0.0-1 npm-8.5.4-1 obsidian-0.13.31-1 okular-21.12.3-1 oniguruma-6.9.7.1-2 oxygen-5.24.3-1 pandoc-2.14.2-44
partitionmanager-21.12.3-1 patchelf-0.14.5-1 perl-alien-build-2.47-1 plasma-desktop-5.24.3-1 plasma-integration-5.24.3-1
plasma-nm-5.24.3-1 plasma-pa-5.24.3-1 plasma-sdk-5.24.3-1 plasma-systemmonitor-5.24.3-1 plasma-workspace-5.24.3-1
plasma-workspace-wallpapers-5.24.3-1 polkit-kde-agent-5.24.3-1 powerdevil-5.24.3-1 print-manager-21.12.3-1 pyside6-6.2.3-3
python-manjaro-sdk-0.7-1 python-more-itertools-8.12.0-1 python-numpy-1.22.3-1 python-pycurl-7.45.0-1 python-pyparsing-3.0.1-1
python-zstandard-0.17.0-1 qgpgme-1.17.1-1 qpdf-10.6.2-3 qt5-imageformats-5.15.3+kde+r0-1 qt5-script-5.15.8-4
qt5-sensors-5.15.3+kde+r0-1 qt5-tools-5.15.3+kde+r1-1 qt5-virtualkeyboard-5.15.3+kde+r3-1 qt5-webkit-5.212.0alpha4-12
qt5-xmlpatterns-5.15.3+kde+r0-1 r-4.1.3-1 sddm-kcm-5.24.3-1 shaderc-2022.1-2 shiboken6-6.2.3-3 skanlite-21.12.3-1
smartmontools-7.3-1 snapd-2.54.4-1 spectacle-21.12.3-1 spirv-tools-2022.1-1 sudo-1.9.10-1 systemd-sysvcompat-250.4-1
systemsettings-5.24.3-1 thunderbird-91.7.0-1 udiskie-2.4.2-1 usb_modeswitch-2.6.1-3 vulkan-headers-1:1.3.207-1
vulkan-intel-21.3.7-2 vulkan-radeon-21.3.7-2 vulkan-tools-1.2.203-2 web-installer-url-handler-2.3-1 wireless-regdb-2022.02.18-1
xxhash-0.8.1-2 yakuake-21.12.3-1
Total Installed Size: 3013.88 MiB
Net Upgrade Size: 52.43 MiB
:: Proceed with installation? [Y/n] Y
(252/252) checking keys in keyring [####################################################] 100%
(252/252) checking package integrity [####################################################] 100%
(252/252) loading package files [####################################################] 100%
(252/252) checking for file conflicts [####################################################] 100%
error: failed to commit transaction (conflicting files)
imagemagick: /usr/bin/Magick++-config exists in filesystem
imagemagick: /usr/bin/MagickCore-config exists in filesystem
imagemagick: /usr/bin/MagickWand-config exists in filesystem
imagemagick: /usr/bin/animate exists in filesystem
imagemagick: /usr/bin/compare exists in filesystem
And to answer your question, I unfortunately do not have it.
What if you remove imagemagick, and then try to proceed with the update?
You can install it again later.
Or even, why not try to forecefully reinstall everything first?
pamac reinstall *
pamac update --force-refresh
pamac upgrade -a
mkinitcpio -P
update-grub
Using pamac reinstall imagemagick did the trick. Afterwards I just follwed the steps from the other post and everything ran smoothly this time
1 Like
system
Closed
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.