You are not logged in.
Hello ArchLinux, and hello everyone,
I am in difficulty, I have a vps server with archlinux version 5.14.15.
I made an image of the archlinux 5.14.15 system with dd then proceeded with an update.
So I updated from 5.14.15 to 6.8.5 without any problem. I applied my update (pacman -Syu).
Since updating archlinux freshly to 6.8.5 I can no longer do an update higher than 6.8.5, each time I apply an update higher than 6.8.5 (let's assume rest "last"), I have core dumps during the update.
(I also tried to update archlinux from version 5.14.15 up to (by applying an update (repos) greater than 6.8.5) also core dumps.
Here is a core dump example
$ more Debug-Upgrade-6.8.5-to-last.txt | grep -A 5 -B 5 dumped
( 1/144) upgrading linux-api-headers [#################################################] 100%
( 2/144) upgrading tzdata [#################################################] 100%
( 3/144) upgrading iana-etc [#################################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
Generating locales...
en_US.UTF-8.../usr/bin/locale-gen: line 41: 554 Segmentation fault (core dumped) localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
( 5/144) upgrading zlib [#################################################] 100%
( 7/144) upgrading ncurses [#################################################] 100%
( 8/144) upgrading bash [#################################################] 100%
( 9/144) upgrading pcre2 [#################################################] 100%
( 10/144) upgrading libnghttp2 [#################################################] 100%
--
(113/144) upgrading libxpm [#################################################] 100%
(114/144) upgrading libzip [#################################################] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750 package: 755
malloc(): invalid size (unsorted)
/tmp/alpm_FuLhx4/.INSTALL: line 13: 685 Aborted (core dumped) journalctl --update-catalog
:: This is a systemd feature update. You may want to have a look at
NEWS for what changed, or if you observe unexpected behavior:
/usr/share/doc/systemd/NEWS
New optional dependencies for systemd
libarchive: convert DDIs to tarballs [installed]
--
xorg-mkfontscale: font scaling
:: Running post-transaction hooks...
( 1/15) Creating system user accounts...
( 2/15) Updating journal message catalog...
realloc(): invalid pointer
/usr/share/libalpm/scripts/systemd-hook: line 28: 747 Aborted (core dumped) /usr/bin/journalctl --update-catalog
error: command failed to execute correctly
( 3/15) Reloading system manager configuration...
( 4/15) Reloading user manager configuration...
( 5/15) Updating udev hardware database...
malloc(): invalid size (unsorted)
/usr/share/libalpm/scripts/systemd-hook: line 28: 796 Aborted (core dumped) /usr/bin/systemd-hwdb --usr update
error: command failed to execute correctly
( 6/15) Applying kernel sysctl settings...
( 7/15) Creating temporary files...
( 8/15) Reloading device manager configuration...
( 9/15) Arming ConditionNeedsUpdate...
(10/15) Rebuilding certificate stores...
double free or corruption (!prev)
/usr/bin/update-ca-trust: line 35: 867 Aborted (core dumped) trust extract --overwrite --format=pem-directory-hash --filter=ca-anchors --purpose=server-auth "$dest/cadir"
error: command failed to execute correctly
(11/15) Updating module dependencies...
mremap_chunk(): invalid pointer
/usr/share/libalpm/scripts/depmod: line 11: 878 Aborted (core dumped) depmod $(basename "$f")
(12/15) Restarting cronie for libc upgrade...
(13/15) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
-bash-5.2.26$
I don't know what to do anymore, if you have ideas to suggest, I'm interested.
Thank you all
Offline
please use code-tags
as this a virtual system: could be a host issue - have you already contacted the support of your hoster?
Offline
Oops, missed that this is a VPS.
linux 5.14.15 is from oct 2021 or almost 3 years old.
It's not an lts kernel and neither is 6.8 .
I suggest you go back to the 5.14.15 image, then upgrade to https://aur.archlinux.org/packages/linux-lts515 which is very close to your 5.14.x but maintained instead of EOL.
Once that upgrade has been succesfull, check the date of your last succesfull pacman -Syu and post it.
If the year does not say 2024, you can not use pacman -Syu but need to upgrade in steps using the archlinux archive .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Offline
Hello everybody
Thank you all
and thanks to loqs
So I have a vps with archlinux version 5.14.15
I made a backup with dd and mounted the image with Bhyve on my FreeBSD.
I encountered problems that I mentioned above because of Bhyve which has a small BUG.
I changed players and used QEMU and everything went normally without any problem.
Thank you loqs for giving me this very useful link.
Thank you all
Subject closed
Offline