You are not logged in.
Hi!
I saw the latest changes regarding /bin dir required a manual action, so I got to it and followed the instructions on arch page's frontpage.
I use syslinux to boot my encrypted root partition, which also unlocks my /home using crypttab.
After the update, i get a complaint about /sbin/init not being found and I'm thrown back to the console.
I chrooted into the partition and modified mkinitcpio script, which had the interpreter line wrongly set to /bin/bash to /usr/bin/bash to see if re-generating the kernel was the problem, but I'm still stuck....
I don't know where to start but one thing is for sure: I won't update my "big" computer, which I use as home cinema with xmbc and 4th of storage managed by mdadm..... I'm afraid to lose data...
I need a hand with this... if any more info is necessary, please, let me know.
Cheers.
Last edited by Xi0N (2013-06-09 12:31:45)
Offline
Can you post the output of the following command from a chrooted environment?
# ls -l /sbin"I quoted myself." -oboenerd
Offline
I gather you have init=/sbin/init on your kernel line. Remove it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Also, you did not need to "correct" the interpreter in mkinitcpio.conf. /bin/bash is correct and will work just fine.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
sh-4.2# ls -l /sbin
ls: cannot access /sbin: No such file or directoryAlso, my syslinux looks like this:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND cryptdevice=/dev/sda3:root root=/dev/mapper/root ro
INITRD ../initramfs-linux.imgOffline
Sanity check: 1) did the filesystem upgrade complete without any errors? 2) do you have systemd-sysvcompat installed?
Offline
It couldn't have, otherwise /sbin would exist (and be a symlink).
Xi0N, what exactly did you do when upgrading?
Offline
I'm afraid to lose data...
You should backup then ![]()
ktr
Offline
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
# pacman -Suhttps://www.archlinux.org/news/binaries … ervention/
As indicated here...... should i use pacstrap and re-install "filesystem" package?
Offline
Xi0N wrote:I'm afraid to lose data...
You should backup then
I wish I had a cloud storage service to backup 4Tb of movies and series ![]()
Last edited by Xi0N (2013-06-09 10:49:37)
Offline
Xi0N, data that is not properly backed up is data that is not important.
That means you can stop worrying about losing it.
Offline
Tell us exactly what you did. Were there any foreign packages with files in /bin, /sbin or /usr/sbin? Where there any packages installed via foreign repos in those directories? Did you fix/remove those packages?
If you only did those last three commands and ignored any errors, which is what I suspect happened, then yeah, you'll end up in the state that you're in.
Last edited by jakobcreutzfeldt (2013-06-09 10:55:29)
Offline
Ok,
So what I did was basically ignore the part that said to look for packages from unofficial repos since the only one I use is archlinuxfr for yaourt and another packages from aur installed via this tool: I thought they were just not going to work, which I was fine with...but turns out the result is other than what I expected......
By "fix the packages" what does it mean? move the binary files manually one by one?
Can I fix (at least as a temporal solution) this issue by creating by hand some symlinks to /usr/bin ?
Offline
By "fix the packages" what does it mean? move the binary files manually one by one?
Why don't you search the forums? You're not exactly the first person who failed to upgrade and doesn't know how to fix the foreign packages.
Offline
Xi0N wrote:By "fix the packages" what does it mean? move the binary files manually one by one?
Why don't you search the forums? You're not exactly the first person who failed to upgrade and doesn't know how to fix the foreign packages.
Well, what makes you think I didn't do so?
I have seen many posts but I didn't find the solution in them as different people messed their setup in many different ways.
Also, I might have been using Arch for years now but I still have some trouble with these major changes of the system and I'd appreciate your help, don't take for granted the thought that no one searches the forum before posting, and more when It's the newbie subforum.
Thanks.
Offline
Xi0N, you haven't even posted which packages do you need to fix ...
These are not Care Bears(tm) Fluffy Forums, this is Spartaaaaa Arch ;P
Offline
Xi0N, you haven't even posted which packages do you need to fix ...
These are not Care Bears(tm) Fluffy Forums, this is Spartaaaaa Arch ;P
I guess I need to fix all? I mean, apart from the packages that were in the official repos and yaourt and some aur packages, which i really don't mind: I believe they can be fixed afterwards, the damage is already done and I guess i'd need to fix all (dont know how to check this).....
Believe me, it's really frustrating for a guy like me, that is not IT illiterate, that makes a living out of this and have some machines both at home and in production as servers when I have to post silly questions like this in the newbie sub-forum..... shame on me!!!!....... jk....
I really appreciate your patience........
Last edited by Xi0N (2013-06-09 11:33:31)
Offline
I still don't understand what exactly the problem is.
https://bbs.archlinux.org/viewtopic.php … 9#p1281589
https://bbs.archlinux.org/viewtopic.php … 7#p1283867
Offline
Ok, /usr/sbin was stil there, so I moved it and installed filesystem with pacman -root /mnt -Su filesystem
Now, It got successfully installed, but consolekit seems to fail.... which is a minor issue considering the system already boots up...
I'll look into it when I have some time... as for now... thanks, karol for being a bit patient with me ![]()
Offline
consolekit is not in the repos anymore.
Offline
consolekit is not in the repos anymore.
I see....it's not necessary anymore?
Offline
karol wrote:consolekit is not in the repos anymore.
I see....it's not necessary anymore?
You did search the forums, so you know <evil grin>
Offline
Xi0N wrote:karol wrote:consolekit is not in the repos anymore.
I see....it's not necessary anymore?
You did search the forums, so you know <evil grin>
You got me... I'm a lazy ass...... mostly because I have little time.
Thanks, I'll stop bothering you
Offline
Many unsupported packages aren't silently dropped from the repos https://www.archlinux.org/news/consolek … by-logind/
Asking the devs to provide such news items is hard to justify if users keep ignoring them.
Offline
Merging with the (comprehensive) sticky thread
Edit: Thanks Karol; I forgot do do the actual merge ![]()
Last edited by ewaller (2013-06-09 19:36:42)
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