Announcement

Collapse
No announcement yet.

UnInstall ngircd ? - SOLVED

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UnInstall ngircd ? - SOLVED

    Has anyone figured out yet how to uninstall ngircd?

    I installed this guy, but I want to get rid of it so that I can use dancer-ircd, instead. But, ngircd will not uninstall. Some kind of error occurs during the uninstall process and Adept Manager bails out. I did a search in the ether, and it appears that this is a known issue. I just haven't seen any solutions.

    Is there maybe a way to tell apt-get or Adept Manager to force the uninstall?

    Thanks in advance.
    Dave

    #2
    Re: UnInstall ngircd ?

    Additional Information:

    I've tried both apt-get and dpkg to try to remove this beast, include a --force-yes in apt-get, but I'm a little worried to use the --force-things option in dpkg because I don't think I really understand it.

    Anyway, the output is:
    Code:
    root@dhicks:~# apt-get --force-yes remove ngircd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
     ngircd
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 254kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 91277 files and directories currently installed.)
    Removing ngircd ...
    Stopping Next generation IRC server: invoke-rc.d: initscript ngircd, action "stop" failed.
    dpkg: error processing ngircd (--remove):
     subprocess pre-removal script returned error exit status 1
    Starting Next generation IRC server: /usr/sbin/ngircd already running.
    invoke-rc.d: initscript ngircd, action "start" failed.
    dpkg: error while cleaning up:
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     ngircd
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Comment


      #3
      Re: UnInstall ngircd ?

      It seems that the pre-removal script fails improperly. I haven't found any way to, but maybe someone knows how to tell dpkg not to run the pre-removal script?

      Comment


        #4
        Re: UnInstall ngircd ?

        Okie dokie. Finally found an answer to this one here -> http://www.debian-administration.org/articles/251

        I just had to go modify the prerm script for the package and then run "dpkg --remove ngircd" and all is wonderful in the world again.

        Comment

        Working...
        X