Stubborn rpm stuck - how to remove? - Suse

This is a discussion on Stubborn rpm stuck - how to remove? - Suse ; On running the last smart update (SUSE 10.1), I mistakenly selected nfs-server-2.2beta51-225.i586 as an update to nfs-utils-1.0.7-36.i586 The installation failed with a conflict message. Alas, the package shows as being installed and yet it can't be removed! Smart reports two ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Stubborn rpm stuck - how to remove?

  1. Stubborn rpm stuck - how to remove?

    On running the last smart update (SUSE 10.1), I mistakenly selected
    nfs-server-2.2beta51-225.i586
    as an update to
    nfs-utils-1.0.7-36.i586

    The installation failed with a conflict message.

    Alas, the package shows as being installed and yet it can't be removed!
    Smart reports two broken packages, but fails when trying to fix them.
    Manual removal attempt via "rpm -e" fails with the following message:

    # rpm -e nfs-server
    /var/tmp/rpm-tmp.13595: line 7: /etc/init.d/ugidd: No such file or directory
    /var/tmp/rpm-tmp.13595: line 13: sbin/insserv: Input/output error
    error: %postun(nfs-server-2.2beta51-225.i586) scriptlet failed, exit
    status 126

    Trying to reinstall either package, even with the --nodeps and --force
    switches fails with the following:

    package nfs-utils-1.0.7-36 is already installed
    file /etc/init.d/nfsserver from install of nfs-utils-1.0.7-36 conflicts
    with file from package nfs-server-2.2beta51-225
    file /usr/sbin/rpc.mountd from install of nfs-utils-1.0.7-36 conflicts
    with file from package nfs-server-2.2beta51-225
    file /usr/sbin/rpc.nfsd from install of nfs-utils-1.0.7-36 conflicts
    with file from package nfs-server-2.2beta51-225
    file /usr/sbin/showmount from install of nfs-utils-1.0.7-36 conflicts
    with file from package nfs-server-2.2beta51-225
    file /usr/share/man/man5/exports.5.gz from install of nfs-utils-1.0.7-36
    conflicts with file from package nfs-server-2.2beta51-225
    file /usr/share/man/man8/mountd.8.gz from install of nfs-utils-1.0.7-36
    conflicts with file from package nfs-server-2.2beta51-225
    file /usr/share/man/man8/nfsd.8.gz from install of nfs-utils-1.0.7-36
    conflicts with file from package nfs-server-2.2beta51-225
    file /usr/share/man/man8/showmount.8.gz from install of
    nfs-utils-1.0.7-36 conflicts with file from package nfs-server-2.2beta51-225

    I tried "rpm --rebuilddb" which seems to run without errors, but on
    completion the above problems remain.

    And now nfs does not work.

    What can be done?

  2. Re: Stubborn rpm stuck - how to remove?

    Tom wrote:

    > On running the last smart update (SUSE 10.1), I mistakenly selected
    > nfs-server-2.2beta51-225.i586
    > as an update to
    > nfs-utils-1.0.7-36.i586
    >
    > The installation failed with a conflict message.
    >

    --------------snip---------------------------------------
    > I tried "rpm --rebuilddb" which seems to run without errors, but on
    > completion the above problems remain.
    >
    > And now nfs does not work.
    >
    > What can be done?


    Try uninstalling BOTH programs at the same time and then reinstall
    nfs-utils.



  3. Re: Stubborn rpm stuck - how to remove?

    Tom wrote:
    > On running the last smart update (SUSE 10.1), I mistakenly selected
    > nfs-server-2.2beta51-225.i586
    > as an update to
    > nfs-utils-1.0.7-36.i586
    >
    > The installation failed with a conflict message.
    >
    > Alas, the package shows as being installed and yet it can't be removed!
    > Smart reports two broken packages, but fails when trying to fix them.
    > Manual removal attempt via "rpm -e" fails with the following message:
    >
    > # rpm -e nfs-server
    > /var/tmp/rpm-tmp.13595: line 7: /etc/init.d/ugidd: No such file or directory
    > /var/tmp/rpm-tmp.13595: line 13: sbin/insserv: Input/output error
    > error: %postun(nfs-server-2.2beta51-225.i586) scriptlet failed, exit
    > status 126
    >
    > Trying to reinstall either package, even with the --nodeps and --force
    > switches fails with the following:
    >
    > package nfs-utils-1.0.7-36 is already installed
    > file /etc/init.d/nfsserver from install of nfs-utils-1.0.7-36 conflicts
    > with file from package nfs-server-2.2beta51-225
    > file /usr/sbin/rpc.mountd from install of nfs-utils-1.0.7-36 conflicts
    > with file from package nfs-server-2.2beta51-225
    > file /usr/sbin/rpc.nfsd from install of nfs-utils-1.0.7-36 conflicts
    > with file from package nfs-server-2.2beta51-225
    > file /usr/sbin/showmount from install of nfs-utils-1.0.7-36 conflicts
    > with file from package nfs-server-2.2beta51-225
    > file /usr/share/man/man5/exports.5.gz from install of nfs-utils-1.0.7-36
    > conflicts with file from package nfs-server-2.2beta51-225
    > file /usr/share/man/man8/mountd.8.gz from install of nfs-utils-1.0.7-36
    > conflicts with file from package nfs-server-2.2beta51-225
    > file /usr/share/man/man8/nfsd.8.gz from install of nfs-utils-1.0.7-36
    > conflicts with file from package nfs-server-2.2beta51-225
    > file /usr/share/man/man8/showmount.8.gz from install of
    > nfs-utils-1.0.7-36 conflicts with file from package nfs-server-2.2beta51-225
    >
    > I tried "rpm --rebuilddb" which seems to run without errors, but on
    > completion the above problems remain.
    >
    > And now nfs does not work.
    >
    > What can be done?



    I've been through this with other rpms in the past; I think you need the
    full name minus the ".rpm"

    rpm -e nfs-server-2.2beta51-225.i586

    If I remember correctly, this should uninstall the rpm. I think.

+ Reply to Thread