Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

  1. #11
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

    Code:
    dpkg --remove snort

    if that too complains about dependencies
    Code:
    dpkg --force-depends --remove snort

  2. #12
    Join Date
    Feb 2008
    Location
    utah
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

    Well... I fixed it myself...

    This may be useful information for anyone else with a problem like this.

    The problem was with the directory /var/lib/dpkg/info/. All I had to do was remove any instances referring to snort. I just did "sudo rm snort*" and removed all the snort files.

    Afterward, I did sudo apt-get remove -f snort then I updated and upgraded accordingly and all is well.

    My server is now running 10.04 as planned!

  3. #13
    Join Date
    Feb 2008
    Location
    utah
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

    Quote Originally Posted by koenn View Post
    Code:
    dpkg --remove snort

    if that too complains about dependencies
    Code:
    dpkg --force-depends --remove snort
    koenn, thanks. I didn't see your post on the second page till I replied. I wonder if your method does the same thing? Too late for me to find out. Oh well..

  4. #14
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

    thanks for sharing your solution! next time I will keep it in mind.

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  5. #15
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't upgrade, dpkg error 1, old failed install keeps trying to -configure

    Quote Originally Posted by cornflake000 View Post
    koenn, thanks. I didn't see your post on the second page till I replied. I wonder if your method does the same thing? Too late for me to find out. Oh well..
    They don't do exactly the same thing, but the net result would be the same : you get something like "there is no snort whatsoever on this system", so the higher level tools such as apt stop obsessing over it and go about their business of installing and updating.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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