Aptitude removes all packages


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Aptitude removes all packages
# 1  
Old 09-08-2011
Aptitude removes all packages

Hi Team,
Please find below error. I got this after i done something in aptitude. Actually i was trying to update all packages, but unfortunately I removed all packages.

Now my server is down. When i boot it gives me me errors of missing .so files.

Is there any way to repair my server without affecting to existing files? As everything is removed i am not able to run the basic commands like ls / cp / mv / apt-get also.
Please Help me out.

****************************************************
Code:
Reading database ... 37665 files and directories currently installed.)
Removing mpd ...
Removing libaudiofile0 ...
Removing libavformat-extra-52 ...
Removing libavcodec-extra-52 ...
Removing libavutil-extra-49 ...
Removing libfaad2 ...
Removing libflac8 ...
Removing mysql-server ...
Removing mysql-server-5.0 ...
Stopping MySQL database server: mysqld.
Removing mysql-client-5.0 ...
Removing ubuntu-minimal ...
Removing apt-utils ...
Removing ubuntu-standard ...
Removing dselect ...
Removing aptitude ...
Removing libsigc++-2.0-0c2a ...
Removing libresid-builder0c2a ...
Removing man-db ...
Removing groff-base ...
Removing build-essential ...
Removing g++ ...
Removing lshw ...
Removing debhelper ...
Removing html2text ...
Removing w3m ...
Removing libgc1c2 ...
Removing libtiff4-dev ...
Removing libtiffxx0c2 ...
Removing apt ...
Removing wvdial ...
Removing libuniconf4.2 ...
Removing libwvstreams4.2-extras ...
Removing libwvstreams4.2-base ...
Removing libxplc0.3.13 ...
Removing telnet ...
Removing libsidplay2 ...
Removing php5 ...
Removing libapache2-mod-php5 ...
Module php5 disabled; run /etc/init.d/apache2 force-reload to fully disable.
Removing apache2 ...
Removing apache2-mpm-prefork ...
 * Stopping apache 2.0 web server...                                                                                                                                                          [ ok ] 
Removing apache2-common ...
Removing gcc ...
Removing libmms0 ...
Removing libglib2.0-0 ...
Removing libjack0 ...
Removing libmpcdec3 ...
Removing libpulse0 ...
Removing libshout3 ...
Removing libsqlite3-0 ...
Removing libwavpack1 ...
Removing libstdc++6-4.0-dev ...
Removing g++-4.0 ...
Removing libstdc++6 ...
Removing gcc-4.0 ...
Removing libgcc1 ...
Press return to continue.

****************************************************


Thanks & Regards
Parag Nehete

Last edited by pludi; 09-09-2011 at 04:00 AM..
# 2  
Old 09-09-2011
Since you removed pretty much every single important library, and the package management tools too, it probably would be faster to install the base system again, and restore the data from backup if needed. You do have a good backup?
# 3  
Old 09-09-2011
If you don't have backup, might worth to give a try to use a rescue CD to either
  • have a minimal working system, mount disk and possibly backup data offline, or
  • re-install the whole system (lib .so etc.)

That won't be fun anyway,
/Lew
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk removes delimiter unexpectedly

datafile: blah,blah,blah,blah,blah,blah,blah,blah,blah=0_nblah=0-- ,blah,blah,blah im using the following command to turn the "_n" and "-- " to just a space " " only in the $9th field. meaning, it has to make the changes only in the 9th column/field of the datafile. awk -F, '{... (1 Reply)
Discussion started by: SkySmart
1 Replies

2. UNIX for Dummies Questions & Answers

Why awk removes delimiters?

Code : echo "1,2,3,4"|awk -F "," 'NR==n{$3=a}1' n=1 a=45 Output : 1 2 45 4 Expected : 1,2,45,4 (4 Replies)
Discussion started by: Rajesh_us
4 Replies

3. Shell Programming and Scripting

Sed: removes \ from text which causes issues

Hi all, Hoping someone hoping someone might be able to help. i've got the following sed command which i'm using in a bash script that i'm trying to use to insert a new line into an already existing file so i don't have to manually enter it when setting stuff up. the existing script test2/3 are... (3 Replies)
Discussion started by: springs2
3 Replies

4. UNIX for Advanced & Expert Users

perl/sed -i removes link

hello, is it a behavior of or that "-i" removes unix link . example : i create a file "src_file" and link it to "link_file" and then i start "perl -i" the link is removed. does another option exists to change content of a file without temporary files ? UNIX-Version: HP-UX and... (2 Replies)
Discussion started by: bora99
2 Replies

5. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

6. UNIX for Dummies Questions & Answers

eval removes backslash

Hi, ============= In one of my config files, I have below command eval echo RECORDDELIMITER '\n' The above command results in removing backslash and outputs: RECORDDELIMITER n ============= Any workaround to retain the backslash after eval. Appreciated for your... (10 Replies)
Discussion started by: axes
10 Replies

7. UNIX for Advanced & Expert Users

GAWK removes FS | on output

I have the simple gawk script below. When the script runs in the output of all the ITM lines the FS is replaced with a space, the Non ITM lines retain the | field separator. The ITM lines have many fields and I can't insert "|" between each field because some of the fields are blank. Is... (1 Reply)
Discussion started by: paulr211
1 Replies

8. UNIX for Advanced & Expert Users

apt vs aptitude little tutorial

Hi all I dont know if this is right place but I saw somewhere dd tutorial so I decidet to write a little tutorial about debian package manager. I hope this will clear some misundersands about it, maybe somewher i will be wrong or somebody could explain it better so any comments are welcomed. Many... (3 Replies)
Discussion started by: wakatana
3 Replies

9. Shell Programming and Scripting

Script removes itself

I have a script that reads from a file and deletes all files in tha path specified in the file.The problem,however, is the script also deletes itself from the home directory where I run it :-( #!/bin/ksh while read DAYS PURGE_PATH do cd $PURGE_PATH find . \( -type d ! -name . -prune \)... (5 Replies)
Discussion started by: kayarsenal
5 Replies

10. UNIX for Advanced & Expert Users

Debian aptitude - apt-get problem

I've got a strange one. As root, in aptitude, I'll do an update successfully. Then I do an upgrade, the files download, the progress bar will not show total progress, just progress per file, then reset to 0% for the next file. When the files complete downloading, I hit a carrige return to go to... (1 Reply)
Discussion started by: mikek147
1 Replies
Login or Register to Ask a Question