You are not logged in.
Pages: 1
Hi all,
I recently attempted to update my computer after ~2 months of no update (dumb choice I know), and now I cannot get it to boot.
When I was doing my initial update, there were several conflicts and the update didn't go through, which first broke pacman. I started using pacman-static in an attempt to remove and re-download the broken/missing packages, but this only made things worse.
I restarted my computer and now I had two 'failed' errors.
Following this, I booted into an ISO off a USB, and I ran mkinitcpio, which made the boot errors go away, but the computer still won't boot.
I tried to run -S linux, but I get: "Error connecting: Could not connect: No such file or directory"
Any guidance/advice would be appreciated.
Thank you.
Last edited by noahdaboat (2024-05-16 23:11:04)
Offline
That sounds like a quagmire. I would seriously consider reinstalling.
Otherwise, you should set up a chroot and use that as a foundation from which to fix things.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It's seeming like I might have to reinstall.
I did actually mount my drive and used arch-chroot to try and resolve some conflicts/missing packages, but there's so many issues haha.
Offline
Since almost nothing in the installation process touches files not owned by packages, you can safely delete around your own files. I'd make a backup of /etc in case you have changed anything interesting. I'd also be careful with discarding /var, as some programs store their data there. If you have the free space, you could move everything on your root partition to something like /oldroot and merge back what's missing later. I'd say if you manage to get a list of explicitly installed packages on your current setup, you've mostly won.
Offline
Boot the install iso, mount the partitions of the installed system into /mnt and optionally /mnt/boot if you've a boot partition (you can leave your /home alone), do NOT chroot into the system, make sure you've an internet connection and run
LC_ALL=C pacman -root /mnt -Qkk | grep -v ', 0 altered files' > /tmp/howbadisit.txt
cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.st and post the link you get in return.
(don't skip the file cache, pacman might run so long that the curl connection times out)
Online
Not strictly related to the actual problem, but for the future you can update in little steps by using the Archlinux archive.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Boot the install iso, mount the partitions of the installed system into /mnt and optionally /mnt/boot if you've a boot partition (you can leave your /home alone), do NOT chroot into the system, make sure you've an internet connection and run
LC_ALL=C pacman -root /mnt -Qkk | grep -v ', 0 altered files' > /tmp/howbadisit.txt cat /tmp/howbadisit.txt | curl -F 'file=@-' 0x0.stand post the link you get in return.
(don't skip the file cache, pacman might run so long that the curl connection times out)
Just a little confused about the pacman -root part, it's trying to set root: oot and dbpath: oot/var/lib/pacman
Offline
Ah, sorry - it's "--root", obviously.
Online
I was having issues with the site, but here's the output:
backup file: cups: /mnt/etc/cups/printers.conf (Modification time mismatch)
backup file: cups: /mnt/etc/cups/printers.conf (Size mismatch)
backup file: cups: /mnt/etc/cups/printers.conf (SHA256 checksum mismatch)
cups: 946 total files, 2 altered files
backup file: filesystem: /mnt/etc/fstab (Modification time mismatch)
backup file: filesystem: /mnt/etc/fstab (Size mismatch)
backup file: filesystem: /mnt/etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/group (Modification time mismatch)
backup file: filesystem: /mnt/etc/group (Size mismatch)
backup file: filesystem: /mnt/etc/group (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/gshadow (Modification time mismatch)
backup file: filesystem: /mnt/etc/gshadow (Size mismatch)
backup file: filesystem: /mnt/etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/passwd (Modification time mismatch)
backup file: filesystem: /mnt/etc/passwd (Size mismatch)
backup file: filesystem: /mnt/etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (Size mismatch)
backup file: filesystem: /mnt/etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/shadow (Modification time mismatch)
backup file: filesystem: /mnt/etc/shadow (Size mismatch)
backup file: filesystem: /mnt/etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/shells (Modification time mismatch)
backup file: filesystem: /mnt/etc/shells (Size mismatch)
backup file: filesystem: /mnt/etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/subgid (Modification time mismatch)
backup file: filesystem: /mnt/etc/subgid (Size mismatch)
backup file: filesystem: /mnt/etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /mnt/etc/subuid (Modification time mismatch)
backup file: filesystem: /mnt/etc/subuid (Size mismatch)
backup file: filesystem: /mnt/etc/subuid (SHA256 checksum mismatch)
filesystem: 124 total files, 1 altered file
backup file: glibc: /mnt/etc/locale.gen (Modification time mismatch)
backup file: glibc: /mnt/etc/locale.gen (Size mismatch)
backup file: glibc: /mnt/etc/locale.gen (SHA256 checksum mismatch)
intel-ucode: 159 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
backup file: kscreenlocker: /mnt/etc/pam.d/kde (Modification time mismatch)
backup file: kscreenlocker: /mnt/etc/pam.d/kde (Size mismatch)
backup file: kscreenlocker: /mnt/etc/pam.d/kde (SHA256 checksum mismatch)
libutempter: 20 total files, 1 altered file
backup file: mkinitcpio: /mnt/etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /mnt/etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /mnt/etc/mkinitcpio.conf (SHA256 checksum mismatch)
backup file: packagekit: /mnt/var/lib/PackageKit/transactions.db (Modification time mismatch)
backup file: packagekit: /mnt/var/lib/PackageKit/transactions.db (Size mismatch)
backup file: packagekit: /mnt/var/lib/PackageKit/transactions.db (SHA256 checksum mismatch)
backup file: pacman: /mnt/etc/pacman.conf (Modification time mismatch)
backup file: pacman: /mnt/etc/pacman.conf (Size mismatch)
backup file: pacman: /mnt/etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /mnt/etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
pdal: 384 total files, 1 altered file
shadow: 588 total files, 1 altered file
backup file: systemd: /mnt/etc/systemd/timesyncd.conf (Modification time mismatch)
backup file: systemd: /mnt/etc/systemd/timesyncd.conf (Size mismatch)
backup file: systemd: /mnt/etc/systemd/timesyncd.conf (SHA256 checksum mismatch)
systemd: 1451 total files, 1 altered file
vlc: 1085 total files, 1 altered fileLast edited by noahdaboat (2024-05-18 15:35:29)
Offline
Please use [code][/code] tags. Edit your post in this regard.
cups: 946 total files, 2 altered files
filesystem: 124 total files, 1 altered file
intel-ucode: 159 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
libutempter: 20 total files, 1 altered file
pdal: 384 total files, 1 altered file
shadow: 588 total files, 1 altered file
systemd: 1451 total files, 1 altered file
vlc: 1085 total files, 1 altered filelooks uncritical.
pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -S linuxDon't forget to mount your boot partition if you're using one.
Online
The error I'm getting that's been bugging me for a while is:
"Error connecting: Could not connect: No such file or directory"
I've tried but I cannot seem to figure out how to solve this one...
Offline
That error is most likely from package-shit and you can ignore it. It's not relevant to anything you're trying to do here and you should take a look at the warning in https://wiki.archlinux.org/title/Pacman … #Graphical
Please post the entire pacman output
pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -S linux 2>&1 | tee /tmp/pacman.out
cat /tmp/pacman.out curl -F 'file=@-' 0x0.stOnline
Here's the output
warning: linux-6.8.9.arch1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-6.8.9.arch1-2
Total Installed Size: 132.59 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
reinstalling linux...
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
/usr/share/libalpm/scripts/mkinitcpio: line 74: /dev/fd/63: No such file or dir>
error: command failed to execute correctly
(4/4) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctlyOffline
What is the exact context for this?
"/dev/fd/63: No such file or directory" is for a subshell construct and usually indicates a botched chroot and w/ the command in #12 you're explciitly not supposed to chroot.
If it's not a botched chroot, we need to know whyt the hosting shell doesn't provide /dev/fd - this has previously come up w/ openwrt but should really not be a problem if you're just booting the install iso.
Online
Pages: 1