Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 15:46:20 -0500
From:      "Charles Howse" <chowse@charter.net>
To:        <freebsd-questions@freebsd.org>
Subject:   pkg_deinstall -n
Message-ID:  <002601c38f6f$8f945270$04fea8c0@moe>

next in thread | raw e-mail | index | archive | help
Hi,

Just idle curiosity here...

If I run 'pkg_deinstall' on a port that another port depends on, it
will refuse to deinstall the port and tell me the name(s) of then ports
that depend
on the one I want to deinstall.

If I run 'pkg_deinstall -n' on that same port, it doesn't tell me
that it would refuse to desinstall.

For example, samba requires cups-base....

[root@larry ~]# pkg_deinstall -n cups-base
--->  Deinstalling 'cups-base-1.1.19.0'
--->  Reporting the results (+:done / -:ignored / *:skipped / !:failed)=20
+ cups-base-1.1.19.0

[root@larry ~]# pkg_deinstall cups-base
--->  Deinstalling 'cups-base-1.1.19.0'
pkg_delete: package 'cups-base-1.1.19.0' is required by these other
Packages and may not be deinstalled:
samba-3.0.0.b3,1
** The following packages were not deinstalled (*:skipped / !:failed)
! cups-base-1.1.19.0    (pkg_delete failed)


Is there a way to make "pkg_deinstall -n" stop lying?


Thanks,
Charles

Got a computer with idle CPU time?
Join SETI@home and help make history!
http://setiathome.ssl.berkeley.edu/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601c38f6f$8f945270$04fea8c0>