You are not logged in.
Pages: 1
Hi there,
Today I was dumb enough to delete /usr/bin. Actually I just wanted to delete a file in /bin, but you know how it works, before you've written everything you hit enter, and bad things happen. Now I've only got kdemod, opera, kontact, and amarok running, nothing else works.
So how do I get /usr/bin back, or at least pacman back so I can install everything anew?
I've got a 32Bit System, and KDEmod, obviously, if you need anything else tell me and I'll post it.
Offline
Reinstall your system, it's gone now.
Offline
If I were you I'd make a backup of system files (fstab, pacman configs, rc.conf etc) and reinstall. I think that's a lot faster than trying to restore /usr/bin.
Offline
i would boot a livecd, chroot into your install and reinstall all your (or most important) packages.
or copy /usr/bin from another arch system that just has the base group (eg livecd, although it has a few more packages)
Last edited by Dieter@be (2010-04-02 10:52:32)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Why on earth would you be deleting stuff from /usr/bin ?
I don't know, you could try the ftp iso and a chroot but I'm not sure...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Offtopic, but I just realized that pacman is in /usr/bin, shouldn't it be in /usr/sbin?
Offline
Offtopic, but I just realized that pacman is in /usr/bin, shouldn't it be in /usr/sbin?
No, if so, you couldn't do normal operations.
As stated, just chroot. No need to reinstall, this is not windows.
Offline
I wrote a script to reinstall all packages, of course having pacman install is necessary. If you're eager, grab the pacman package pacman....pkg.tar.gz, extract it to /. You'll need other basic tools too like bash probably . Like I said you can run the script, extract each package the script requires and could eventually get to it, if you're eager. Or you can do like most others suggest and just reinstall.
http://bbs.archlinux.org/viewtopic.php? … 05#p719905
Last edited by Gen2ly (2010-04-03 06:36:31)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Pages: 1