You are not logged in.
And with only a single exception, all problems in this topic and others have been user error.
Offline
after step one of your instructions, here are the OFFENDING packages (aka "crap")
grub
sysvinit
initscripts
great. but then the advice is to "fix it". exactly how would I do just that?
0dvh
Offline
Hi Friends, Yesterday I upgraded my system. The upgrade went smoothly and pacman gave me no errors. I did not read instructions on the archlinux front page for /usr/bin. ( Really sorry for that)
And when I rebooted the system, It gave me the following error like this:
ERROR: Root device mounted succesfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.
sh: can't access tty,job control turned off.
The computer just hangs after that. I am not able to do anything rather than restart my computer using power button.
I also tried the command 'pacman -root <mountpoint>' from a arch live cd but it give me some error about alpm library not present.
Also, tried chrooting from a fedora 18 live cd (used it as it boots straight to gui and is easy to use), but it says /bin/bash not found. I tried copying the bash from fedora's livecd itself, but again it gives me error about libtinfo.so.5 not being found.
Please help me friends. I don't want to go for a complete reinstall. Instead would like to rescue my system. Many thanks.
Also , for more information , i upgraded some packages like bash, systemd, systemd-sysvcompat , netctl if that helps. Many thanks.
Last edited by Pranavg1890 (2013-06-06 04:36:55)
Using Openbox + Tint2 + Idesk
Offline
None of those packages is supported. You show up here whingeing about the developers efforts to improve Arch and you are running initscripts?
Pathetic.
Offline
all three unsupported package no longer in the official repos.
grub - I would suggest updating to syslinux or grub2, but if you want to keep it, install grub-legacy from the AUR, it's already been fixed.
sysvinit - switch to systemd and uninstall this
initscripts - see previous
Offline
all three unsupported package no longer in the official repos.
grub - I would suggest updating to syslinux or grub2, but if you want to keep it, install grub-legacy from the AUR, it's already been fixed.
sysvinit - switch to systemd and uninstall this
initscripts - see previous
Not only this, but I have seen this issue covered at least three times since yesterday.
Offline
Hi Friends, Yesterday I upgraded my system. The upgrade went smoothly and pacman gave me no errors. I did not read instructions on the archlinux front page for /usr/bin. ( Really sorry for that)
And when I rebooted the system, It gave me the following error like this:ERROR: Root device mounted succesfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.sh: can't access tty,job control turned off.
The computer just hangs after that. I am not able to do anything rather than restart my computer using power button.
I also tried the command 'pacman -root <mountpoint>' from a arch live cd but it give me some error about alpm library not present.
Also, tried chrooting from a fedora 18 live cd (used it as it boots straight to gui and is easy to use), but it says /bin/bash not found. I tried copying the bash from fedora's livecd itself, but again it gives me error about libtinfo.so.5 not being found.
Please help me friends. I don't want to go for a complete reinstall. Instead would like to rescue my system. Many thanks.
Also , for more information , i upgraded some packages like bash, systemd, systemd-sysvcompat , netctl if that helps. Many thanks.
Instructions here: https://bbs.archlinux.org/viewtopic.php … 3#p1283343
The error you got usually means you didn't mount something that's important or you gave the wrong mount point.
Offline
Scimmia wrote:all three unsupported package no longer in the official repos.
grub - I would suggest updating to syslinux or grub2, but if you want to keep it, install grub-legacy from the AUR, it's already been fixed.
sysvinit - switch to systemd and uninstall this
initscripts - see previousNot only this, but I have seen this issue covered at least three times since yesterday.
In this thread...
Offline
all three unsupported package no longer in the official repos.
grub - I would suggest updating to syslinux or grub2, but if you want to keep it, install grub-legacy from the AUR, it's already been fixed.
sysvinit - switch to systemd and uninstall this
initscripts - see previous
Oh, and in case you're interested:
https://www.archlinux.org/news/grub-leg … supported/
https://www.archlinux.org/news/end-of-i … s-support/
Offline
is it very serious? I mean, I didn't updated my system because I'm not very sure about what to do *a bit scared maybe*, are this changes present on the last iso?
I'm very sorry because I don't fully understand how to make a proper update, also, I can't broke my system this days, I'm working on some projects , so, I need my computer.
Archlinux + AwesomeWM
Offline
shuuichi_nitori, just like always - if you can't spend a couple of hours fixing things if they break, it's better to put off the update for a few days (or even a few weeks).
But if you carefully follow the directions on the front page, the update is very smooth.
Offline
is it very serious? I mean, I didn't updated my system because I'm not very sure about what to do *a bit scared maybe*, are this changes present on the last iso?
I'm very sorry because I don't fully understand how to make a proper update, also, I can't broke my system this days, I'm working on some projects , so, I need my computer.
You can not expect to update Arch "sometimes". You either install it and keep it up to date regularly, or expect things to break (badly) when you do try and update. Yes it's serious, and yes the changes are present in the latest ISO.
Arch is NOT for you if you need a stable system, especially if you're not prepared and/or posses the skills to maintain it in working order.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
@jasonwryan, I am not at all running initscripts. I am using systemd and systemd-sysvcompat.
Also, I would like to mention that i did not upgrade filesystem package . The only system packages I upgraded are bash, systemd, systemd-sysvcompat only. and no other low-level packages.
Also, tried this command, pacman --root /mnt -Qo /mnt/usr/sbin , but it gives me this error:
could not determine ownership of the destination
Many thanks. I guess i will have to download the latest arch iso and then see what i can do. Many thanks.
Last edited by Pranavg1890 (2013-06-06 06:51:17)
Using Openbox + Tint2 + Idesk
Offline
Pranavg1890, jasonwryan's post was directed at the post before yours. Yours just got in the middle.
As I said, that pacman error usually means you didn't mount everything or you specified the wrong --root (notice it's two dashes, not one) mountpoint. Specifically, do you have a separate /var partition?
Last edited by Scimmia (2013-06-06 06:50:23)
Offline
OK. Really Sorry for that also. As, you can see I am big Noob. Many thanks.
Using Openbox + Tint2 + Idesk
Offline
Hi, I needed several attempts until the upgrade succeeded so I want to put my experience in digital form [small advice if you are scared for your system just do backup image that you can restore 1:1, then start playing, you can even first try on your restored image in some virtual machine ]:
$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
returned consolekit initscripts, so I needed to remove them, but not with -Rsn, so the right one was
# pacman -Rdd consolekit initscripts
after that "pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -" did not return anything, then
$ find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null
returned /usr/sbin/VBoxService, so I needed to move it
# mv /usr/sbin/VBoxService /usr/bin/
then
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
executed without error, but "# pacman -Su" gave me error, /sbin exist. In /sbin were files like halt, reboot, shutdown ... They need to be removed and a systemd compatibilty to be installed, so
# pacman -R sysvinit
# pacman -Su
# pacman -S systemd-sysvcompat
should execute without error. You may need to take care of some other packages that can be listed with "# pacman -Ql | grep ' /s\?bin/\| /usr/sbin/'", but I did not have any of them, probably by removing them and installing them after the reboot again ... I am not sure about that
Hope it helps, cheers
Last edited by roninn (2013-06-06 07:42:50)
Offline
returned consolekit initscripts, so I needed to remove them, but not with -Rsn, so the right one was
# pacman -Rdd consolekit initscripts
Never use -Rdd if you don't know exactly what you are doing. Ignoring dependencies is not a good idea.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
What is causing this error? How can I know which packages are in conflict?
By reading the stickied thread in the Newbie Forum, where you should have started looking for an answer: https://bbs.archlinux.org/viewtopic.php?id=130138
Offline
Merging with the stickied thread...
Offline
grub - if you want to keep it, install grub-legacy from the AUR, it's already fixed. Alternative - install a supported bootloader like syslinux or grub2
gen-init-cpio - hasn't been used in years, remove it
cpufreqd - the AUR package has been updated, update yours.
dcron - you'll have to fix it yourself. There's instructions in the AUR comments
initscripts - are you using it? If you're booting with systemd, just remove it. If you're not, upgrade to systemd. If you don't want to do that, you're on your own.
tcp_wrappers - removed from the repos long ago, you're probably not using it. Unless pacman complains, just remove it. If pacman does complain (ie you still use it), it's been fixed in the AUR, update.
Thanks a lot Scimmia. I see I have some work to do and I'll come back here in case of issues.
TC!
Offline
When upgrading grub and systemd packages before filesystem, 'grub-mkconfig -o /boot/grub/grub.cfg' shoud be run to prevent issues after reboot. My issue was grub failure reading root device option. Running 'mkinitcpio -p linux' after that is a safety belt if anything wit kernel upgrade was not as it should be. Some missing firmware report when rebuiliding ramdisk is worth checking your module support by the system.
Our tomcat for your mice! Archlinux for your comps! Alfa Romeo for your roads! Faster running guaranted!
Offline
Also, tried chrooting from a fedora 18 live cd (used it as it boots straight to gui and is easy to use), but it says /bin/bash not found.
Is it possible that you're trying to fix a 64-bit system with a 32-bit LiveCD system (or vice versa)?
Offline
Pranavg1890 wrote:Also, tried chrooting from a fedora 18 live cd (used it as it boots straight to gui and is easy to use), but it says /bin/bash not found.
Is it possible that you're trying to fix a 64-bit system with a 32-bit LiveCD system (or vice versa)?
No, what he's seeing is normal; with no /bin symlink, there is no /bin/bash. If you want to chroot you need to specify your shell as /usr/bin/bash
Offline
I am a newbie trying to keep things simple, never used testing nor AUR, but when trying a system update
pacman -Syu
got these same errors
so tried to follow the method of post 3
item 1
$ comm -12 <(pacman -Qqm) <(pacman -Qqo /bin /sbin /usr/sbin | sort -u)
got no packages
item 2
there were no pakages
item 3
went ok
without errors
but when i reboot I'm getting:
ERROR: device 'UUID=7cf13....' not found, Skippink fsck
ERROR: Unable to find root device 'UUID=7cf13....'.
you are being dropped to a recovery shell
type 'exit' to try and continue booting
sh: can't access tty:job control turned off
any help?
Offline
I finally solved!!
thanks to #227 and #265
Last edited by Visp (2013-06-06 13:51:08)
Offline