pkg_deinstall -n

Charles Howse chowse at charter.net
Fri Oct 10 13:46:31 PDT 2003


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 at larry ~]# pkg_deinstall -n cups-base
--->  Deinstalling 'cups-base-1.1.19.0'
--->  Reporting the results (+:done / -:ignored / *:skipped / !:failed) 
+ cups-base-1.1.19.0

[root at 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 at home and help make history!
http://setiathome.ssl.berkeley.edu/




More information about the freebsd-questions mailing list