Re: yp cyclic rpm dependency - portmap uninstall script errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 19 Nov 2002 20:11:43 -0600, Miguel M wrote:

> While trying (for security reasons) to remove the
> portmap service, I have found two issues about
> which I kindly request your comments:
> 
> --------------------------------------------------
> 
> 1. Cyclic RPM dependency ypbind<->yp-tools
> 
>    portmap is needed by ypbind-1.11-2
>    ypbind is needed by yp-tools-2.7-3
>    yp-tools is needed by ypbind-1.11-2
> 
> 
>    I solved this issue by typing:
> 
>    # rpm -e --nodeps ypbind
>    # rpm -e yp-tools

"rpm -e ypbind yp-tools" would have worked without problems.

>    Is this cyclic dependency a design flaw or
>    a mechanism to keep both packages installed
>    simultaneously or none of the above?

The latter.

> 2. After uninstalling ypbind and yp-tools, I get
>    these portmap uninstall script errors:
>    error: %preun(portmap-4.0-46) scriptlet failed, exit status 1
>    error: %trigger(portmap-4.0-46) scriptlet failed, exit status 1

Upon uninstall, the preun script runs:

  ---snip---
  service portmap stop > /dev/null 2>&1
  /sbin/chkconfig --del portmap
  ---snip---

Since you've removed the package already, it's too late to test this
manually. Or can you reproduce above errors if you re-install the
package and erase it again? Does running above two lines give any
error?

The only other thing in the preun script which could need a change
is adding double-quotes in the first line.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE92wFP0iMVcrivHFQRAnrNAJ9tiQQbW9kn4fcHyL5tDZelRRmYhACeL5vj
P87QtH4mYR/tWHP5CDn5Jt0=
=Bc6k
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux