Broken Package - Manually Deleted Scripts - Cannot Fix

Questions about applications and software
Forum rules
Before you post please read how to get help

Broken Package - Manually Deleted Scripts - Cannot Fix

Postby mcurran on Mon Jan 26, 2009 12:09 am

Hello:

Could someone please help me. I installed snort and it was failing to start during the bootup process, because I noticed the failed message during the bootup messages. So like an idiot: Instead of configuring snort and looking into the problem, I just manually deleted the startup scripts in init.d and every instance of symlinks in rc0.d through rc6.d. Now, when I tried to remove, reinstall, or fix the broken package - I can't get apt to do it with any success. Does anyone have any suggestions for me? Please let me know.

Thanks,

Michael Curran
IBM IntelliStation Z Pro [6227-ACU]
Intel Xeon (3.4GHz) | Irwindale (x2)
nVIDIA GTX 460 (1024MB-DDR5)
6GB RAM (800MHz)
MULTI-BOOT: Metro/Mountain Lion/LMDE
    User avatar
    mcurran
    Level 3
    Level 3
     
    Posts: 100
    Joined: Sun Jan 20, 2008 10:32 pm

    Linux Mint is funded by ads and donations.
     

    Re: Broken Package - Manually Deleted Scripts - Cannot Fix

    Postby Husse on Thu Jan 29, 2009 8:28 am

    just manually deleted the startup scripts in init.d

    Not all of them?? Because then you can not boot
    Tell us what you deleted and I'll see what I can do
    (I'm working my way through lots of posts now - no time earlier this week...)
    Image
    Don't fix it if it ain't broken, don't break it if you can't fix it
    Husse
    Level 21
    Level 21
     
    Posts: 19703
    Joined: Sun Feb 11, 2007 7:22 am
    Location: Near Borås Sweden

    Re: Broken Package - Manually Deleted Scripts - Cannot Fix

    Postby mcurran on Thu Jan 29, 2009 8:17 pm

    [SOLVED]

    I opened nautilus as root and did a search for snort. Then I deleted every file and directory associated with the application that nautilus pulled up. I then reinstalled the snort package (same exact version) I downloaded manually from ubuntu Package Search, and then restarted and used Synaptic Package Manager to reinstall and then completely remove the application again to make sure it was a clean removal. Strangely: I reinstalled the package once again, and now it's working fine at startup... I hope this helps anyone who has similar problems when breaking packages by manually deleting items such as the startup scripts, intentionally or unintentionally; however, I'm not too confident that manually deleting all the application's files is a good idea, and should only be a last resort to correct a non-fixable package.
    IBM IntelliStation Z Pro [6227-ACU]
    Intel Xeon (3.4GHz) | Irwindale (x2)
    nVIDIA GTX 460 (1024MB-DDR5)
    6GB RAM (800MHz)
    MULTI-BOOT: Metro/Mountain Lion/LMDE
      User avatar
      mcurran
      Level 3
      Level 3
       
      Posts: 100
      Joined: Sun Jan 20, 2008 10:32 pm

      Re: Broken Package - Manually Deleted Scripts - Cannot Fix

      Postby Husse on Fri Jan 30, 2009 7:27 am

      Fine - the thing with a manual delete is that you might delete one (or more) files too much or too little
      Image
      Don't fix it if it ain't broken, don't break it if you can't fix it
      Husse
      Level 21
      Level 21
       
      Posts: 19703
      Joined: Sun Feb 11, 2007 7:22 am
      Location: Near Borås Sweden


      Return to Software & Applications

      Who is online

      Users browsing this forum: No registered users and 18 guests