LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   HELP! removed aaa_base package!! (https://www.linuxquestions.org/questions/slackware-14/help-removed-aaa_base-package-120540/)

Kanou 11-27-2003 03:59 PM

HELP! removed aaa_base package!!
 
please help me. a friend of mine used pkgtool and deleted the aaa_base package! nothing works anymore. please help. i dont get anything to work anymore. i m... dead. thank you in advance!!

minio 11-27-2003 04:27 PM

You mean that package that should be NEVER removed? I think he removed whole system...

Tinkster 11-27-2003 04:48 PM

Re: HELP! removed aaa_base package!!
 
Quote:

Originally posted by Kanou
please help me. a friend of mine used pkgtool and deleted the aaa_base package! nothing works anymore. please help. i dont get anything to work anymore. i m... dead.
You're not dead, you just smell funny :}


Well, the way to fix this would be something
like
Code:

1. boot of install CD
2. after root password, mount your hdd
  mount -t <your / fs> /dev/<yourhdd> /tmp
3. chroot /tmp
4. mount -t iso9660 /dev/<cdrom> /mnt/cdrom
5. installpkg /mnt/cdrom/slackware/a/aaa*tgz

Hope it works ... if installpkg won't go without
aaa I'll have to re-think that approach. :}


Cheers,
Tink

Kanou 11-27-2003 05:12 PM

damn. very well friend thanks for help but it does not work.
i alsways get a: cannot excecute /bin/sh : no such file or directory.

why the hell did this happen?

anyone to save me?

Tinkster 11-27-2003 05:35 PM

Easy mate, not all hope is lost :}


After all this is linux, and where there's
a will, there's always a shrub...


Repeat steps 1.) from above...
then
mkdir /tmp/hd
mkdir /tmp/cdrom
mount -t <your / fs> /dev/<yourhdd> /tmp/hd
Also mount the CD-ROM to /tmp/cdrom

Does plain tar work at this stage?
If it does, do
tar -xvzf /mnt/cdrom/slackware/a/aaa*tgz -C /tmp

Then you should be able to just
cp /tmp/bin/* /tmp/hd/bin

and so on for the other directories it created...



Cheers,
Tink

Kanou 11-27-2003 05:48 PM

yea things i thought of too but i will delete all other directories, wont i?
does it work with cp? isnt it just overwriting? bit confused by now.

h3pc4t 11-27-2003 06:12 PM

Everything you *would* be overwriting was apparently deleted.

Kanou 11-27-2003 06:24 PM

uhm... you mean everything was deleted? like scripts and configurations and so on? is it better to install everything new?
will everything work when i do those copy commands?

skog 11-27-2003 06:51 PM

no when you installpkg it wont overright newer files ... if you changed the config the timestamp on the file will be later, and it wont overwrite it.

what happened when you mounted the cdrom and chrooted yourself and then installpkg the aaa package ... the aaa package is actually a very small part of slack just seems big cause some important stuff is in it so slack runs really ugly when its missing.


If worse comes to worse and you cant figure out how to make it work. Try doing a new setup but dont format your drives, mount the partitions back the way they use to be, and only install the aaa package. This will bypass anything your missing but wont overwrite everything in the process.

Tinkster 11-27-2003 07:21 PM

Quote:

Originally posted by Kanou
will everything work when i do those copy commands?
Look at the tarball mate ... all it does it put a few
things in a few directories, and then it runs a little
script that you'll have to execute manually as well.

No need to re-install...


Cheers,
Tink

Kanou 11-28-2003 09:20 AM

thank you all men, by now i m at the job and will try those little commandos tonight.
i will write you if it works out.
cheers,
kanou


All times are GMT -5. The time now is 06:41 PM.