You are not logged in.
Hi, after dumbly trying to install libc6.deb running as root “dpkg -i libc6.deb” all basic bash commands started throwing seg fault and after reboot I get kernel panic.
I have a live boot drive with arch and can mount the unbootable one.
libc6 link: https://debian.pkgs.org/sid/debian-main … 4.deb.html
Sorry for bad formatting, I’m on my phone right now.
Tell me if I can provide you with more info as I’m currently panicking too
Last edited by joaonunatings (2021-11-05 03:09:38)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Follow Pacman#Pacman_crashes_during_an_upgrade steps 1 to 3 then replace step 4 with
pacman --root /mnt --cachedir=/mnt//var/cache/pacman/pkg -S glibcIf that command succeeds try rebooting.
Edit:
1 to 3 not 1 and 3.
Last edited by loqs (2021-11-04 23:52:09)
Offline
Follow Pacman#Pacman_crashes_during_an_upgrade steps 1 and 3 then replace step 4 with
pacman --root /mnt --cachedir=/mnt//var/cache/pacman/pkg -S glibcIf that command succeeds try rebooting.
After steps 1 and 3 I executed yours and got:
error: failed to initialize alpm library
(root: /mnt, dbpath: /mnt/var/lib/pacman/)
could not find or read directoryLast edited by joaonunatings (2021-11-04 23:33:08)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
What is the output of
findmnt /mnt
ls /mntOffline
findmnt /mnt Output:
nothing
ls /mntOutput:
dev proc sys Last edited by joaonunatings (2021-11-04 23:49:38)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Edit ah I meant steps 1 to 3 instead of steps 1 and 3. I am guessing you skipped step 2?
Redo 2 and 3 then try the replacement for 4 again.
Offline
Ok that worked and I can boot without kernel panic. But now I can’t login with my user/password. Also tried root (I set custom passwds for both root and user)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
From the live media can you chroot in and check the journal?
Also post the output of the following
# pacman -Qkk 2>&1 | grep -Fv '0 altered files' | curl -F 'f:1=<-' ix.io Offline
Chroot as in, mounting to /mnt and then arch-chroot /mnt?
What should I check for in journalctl
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Chroot as in, mounting to /mnt and then arch-chroot /mnt?
What should I check for in journalctl
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Messages relating to PAM or login or anything that is failing.
Edit:
Did you install any other Debian packages?
Edit2:
pam: 555 total files, 11 altered files
pambase: 8 total files, 8 altered filesThat could well be related
Seeing a log of packages with altered files
alsa-lib: 159 total files, 1 altered file
alsa-utils: 103 total files, 1 altered file
archlinux-keyring: 8 total files, 1 altered file
at-spi2-core: 319 total files, 4 altered files
attr: 72 total files, 2 altered files
audit: 197 total files, 13 altered files
avahi: 318 total files, 7 altered files
bash: 250 total files, 7 altered files
bind: 414 total files, 8 altered files
bluez: 60 total files, 3 altered files
ca-certificates-utils: 27 total files, 11 altered files
cifs-utils: 39 total files, 5 altered files
clight: 38 total files, 7 altered files
clightd: 20 total files, 4 altered files
coreutils: 431 total files, 103 altered files
dconf: 77 total files, 5 altered files
dnssec-anchors: 7 total files, 2 altered files
dotnet-host: 22 total files, 3 altered files
dpkg: 537 total files, 23 altered files
dwarffortress: 337 total files, 1 altered file
e2fsprogs: 202 total files, 3 altered files
fakeroot: 44 total files, 4 altered files
fcft: 37 total files, 1 altered file
filesystem: 118 total files, 29 altered files
fontconfig: 339 total files, 6 altered files
foot: 47 total files, 1 altered file
freetype2: 71 total files, 4 altered files
fuse-common: 2 total files, 2 altered files
gawk: 131 total files, 4 altered files
gdk-pixbuf2: 364 total files, 1 altered file
git: 768 total files, 1 altered file
glibc: 1578 total files, 4 altered files
gnupg: 210 total files, 1 altered file
gpm: 36 total files, 3 altered files
greetd: 24 total files, 5 altered files
grub: 1104 total files, 13 altered files
gstreamer: 327 total files, 1 altered file
gtk3: 990 total files, 4 altered files
iana-etc: 11 total files, 3 altered files
imv: 20 total files, 2 altered files
iproute2: 198 total files, 12 altered files
iptables: 257 total files, 5 altered files
iputils: 52 total files, 3 altered files
jack2: 120 total files, 3 altered files
java-runtime-common: 21 total files, 7 altered files
jlink-software-and-documentation: 367 total files, 264 altered files
jre-openjdk: 17 total files, 1 altered file
jre-openjdk-headless: 366 total files, 24 altered files
js78: 443 total files, 2 altered files
kbd: 781 total files, 3 altered files
keepass: 37 total files, 1 altered file
keyutils: 75 total files, 4 altered files
kmod: 46 total files, 3 altered files
krb5: 206 total files, 4 altered files
lib32-fontconfig: 16 total files, 1 altered file
lib32-glibc: 350 total files, 3 altered files
libcanberra: 71 total files, 5 altered files
libcap: 97 total files, 4 altered files
libinput: 106 total files, 2 altered files
libldap: 218 total files, 3 altered files
libnewt: 243 total files, 1 altered file
libnl: 246 total files, 4 altered files
libproxy: 34 total files, 1 altered file
libpulse: 99 total files, 3 altered files
libtirpc: 91 total files, 3 altered files
libva: 65 total files, 2 altered files
libvdpau: 21 total files, 2 altered files
libxcrypt: 25 total files, 1 altered file
lm_sensors: 48 total files, 6 altered files
man-db: 465 total files, 3 altered files
mkinitcpio: 81 total files, 7 altered files
mono: 3851 total files, 28 altered files
mpv: 78 total files, 3 altered files
msodbcsql: 22 total files, 1 altered file
mssql-server: 188 total files, 1 altered file
neovim: 1677 total files, 4 altered files
networkmanager: 506 total files, 12 altered files
nfsidmap: 26 total files, 2 altered files
nss: 141 total files, 11 altered files
opendoas: 16 total files, 4 altered files
openmpi: 844 total files, 8 altered files
openssh: 59 total files, 8 altered files
openssl: 4115 total files, 11 altered files
p11-kit: 73 total files, 4 altered files
pacman: 399 total files, 6 altered files
pacman-mirrorlist: 3 total files, 3 altered files
pam: 555 total files, 11 altered files
pambase: 8 total files, 8 altered files
perl: 2821 total files, 4 altered files
pinentry: 15 total files, 3 altered files
polkit: 201 total files, 5 altered files
pulseaudio: 356 total files, 11 altered files
readline: 53 total files, 2 altered files
rhash: 40 total files, 2 altered files
rsync: 23 total files, 4 altered files
shadow: 558 total files, 21 altered files
shared-mime-info: 246 total files, 1 altered file
slang: 179 total files, 2 altered files
sndio: 65 total files, 3 altered files
sssd: 459 total files, 23 altered files
sway: 60 total files, 5 altered files
swaylock: 25 total files, 3 altered files
systemd: 1904 total files, 86 altered files
systemd-sysvcompat: 14 total files, 5 altered files
tslib: 73 total files, 2 altered files
tzdata: 2494 total files, 3 altered files
unixodbc: 51 total files, 4 altered files
util-linux: 508 total files, 9 altered files
v4l-utils: 326 total files, 3 altered files
waybar: 42 total files, 5 altered files
wine: 4333 total files, 1 altered file
wpa_supplicant: 34 total files, 3 altered files
xkeyboard-config: 464 total files, 1 altered file
xorg-server: 50 total files, 4 altered files
xorg-server-common: 15 total files, 2 altered filesLast edited by loqs (2021-11-05 00:31:49)
Offline
Ok I got one error message in journal:
pan_shells(login:auth): /etc/shells is either world writable or not a normal fileAfter I got kernel panic I tried restoring from my backup drive just before installing that deb package. I backed up /etc /root and /var. After recovering backup still got kernel panic.
I tried copying and overwriting /bin and /lib files from the live usb to the drive with some hope of restoring something (big mistake I guess). Still nothing. Then I came here to post this.
I use yay as AUR helper if this is relevant. I don’t remember installing more deb packages.
The deb package I was trying to install was for a program called mcuxpresso-ide which has that dependency.
Last edited by joaonunatings (2021-11-05 00:43:47)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Try reinstalling all native packages. So steps 1 to 3 as before then:
pacman -Qnq --root /mnt | pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -S -Then probably have to fix up file and directory permissions.
You can not install .deb packages on Arch.
Last edited by loqs (2021-11-05 01:13:34)
Offline
After running command I get a bunch of:
warning: <name of package> is up to date — reinstallingThen I get an error:
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcap (2.60-1) breaks dependency ‘libcap=2.59’ required by lib32-libcapSway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Try a full system update at the same time as reinstalling all packages
pacman -Qnq --root /mnt | pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -Syu -Last edited by loqs (2021-11-05 01:13:23)
Offline
Same error
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
pacman --root /mnt -Si lib32-libcap libpcap
pacman --root /mnt -Qi lib32-libcap libpcapOffline
First command:
error: package ‘lib32-libcap’ was not foundthen prints info about libpcap
Second command prints name, version, desc, etc of lib32-libcap and libpcap
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Did you disable multilib?
Offline
I forgot to enable it, now I’m getting:
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency ‘ncurses=6.3’ required by lib32-ncursesSway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Did you enable multilib-testing instead of multilib or if you have testing enabled you need multilib-testing enabled as well.
Offline
I disabled multilib-testing. Executed your last command, got some errors during initcpios update:
==> ERROR: binary dependency ‘libf2fs.so.8’ not found for ‘/usr/bin/fsck.f2fs’
==> ERROR: binary dependency ‘libreiserfscore.so.0’ not found for ‘/usr/bin/fsck.reiserfs’
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctlySame behavior after reboot (pam_shells(login:auth) error)
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
stat /mnt/etc/shells
pacman --root /mnt -Qo /usr/bin/fsck.reiserfs /usr/bin/fsck.f2fsLast edited by loqs (2021-11-05 02:33:02)
Offline
Sway on ASUS ZenBook UX434DA-UM433DA: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx, 16GB RAM, Samsung MZVLB1T0HALR-1TB SSD, Keychron K12 with Banana Switches Keyboard
Offline
Change the permissions on /etc/shells and delete the two binaries you copied in from the live media
chmod 0644 /mnt/etc/shells
rm /mnt/usr/bin/fsck.reiserfs /mnt/usr/bin/fsck.f2fsOffline