LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2003, 03:59 PM   #1
Kanou
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
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!!
 
Old 11-27-2003, 04:27 PM   #2
minio
Member
 
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
You mean that package that should be NEVER removed? I think he removed whole system...
 
Old 11-27-2003, 04:48 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 11-27-2003, 05:12 PM   #4
Kanou
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 11-27-2003, 05:35 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 11-27-2003, 05:48 PM   #6
Kanou
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 11-27-2003, 06:12 PM   #7
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Everything you *would* be overwriting was apparently deleted.
 
Old 11-27-2003, 06:24 PM   #8
Kanou
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 11-27-2003, 06:51 PM   #9
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
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.
 
Old 11-27-2003, 07:21 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 11-28-2003, 09:20 AM   #11
Kanou
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent a package from being removed? raid517 Debian 3 04-29-2005 10:09 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
aaa_base & aaa-elflibs KMcD Slackware 4 01-25-2005 07:26 AM
removed the wrong package phek Linux - General 2 10-20-2004 04:40 AM
does aaa_base package change over versions? rich442 Slackware - Installation 1 02-29-2004 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration