Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    25

    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.

    ************************************************** **
    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

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    What was the exact command that was issued? That might determine if the damage is repairable or not.
    As far as your data, have you tried to boot with a rescue disk or LiveCD, then mounting the drives?
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Posts
    25
    Exact command is aptitude only. I did't tried with live CD. But if i go through rescue disk will it keep other files & configs as it is?

  4. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    No options or arguments involved? Just the word aptitude?
    Attachment 3757
    Did you do so with root permissions? So you ended up with a ncurses style box on your screen?
    What did you hit after that? g, perhaps? If so, then you'll need to remember what keystrokes you used in order to determine what you removed, but it sounds like a re-installation will be in order, unless you have a full back-up ready.

    Try a LiveCD, mount your drives, and hopefully your files will be intact.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Apr 2011
    Posts
    25
    Yes i done with root user and i dont remember the exact keystrokes which i hit. Any ways thank you for help. I have backup of my files. Data is not issue for me at this time. I want to recover server without loosing anything. I will try with rescue disk & if get success get back to u.

    Thanks buddy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •