Re: Uninstalling kde3 meta-port
Leslie Jensen skrev: Mel skrev: On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. Thanks Mel I did a [EMAIL PROTECTED]/usr/ports/x11/kde3:make PORTNAME make: don't know how to make PORTNAME. Stop How do I solve the error? /Leslie Problem solved Answering my own question. I forgot the -V. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
Mel skrev: On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. Thanks Mel I did a [EMAIL PROTECTED]/usr/ports/x11/kde3:make PORTNAME make: don't know how to make PORTNAME. Stop How do I solve the error? /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
On Tue, 2 Dec 2008 13:35:40 +0100 Mel <[EMAIL PROTECTED]> wrote: > On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: > > > How would you guys uninstall a meta-port? > > > > I'm considering a move to kde4 but I want a clean install, so I > > want to remove the kde3 meta-port first. > > cd /usr/ports/x11/kde3 > for dep in `make -V RUN_DEPENDS`; do > origin=${dep##*:}; > portname=`make -C ${origin} -V PORTNAME`; > pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; > done > cd /usr/ports/ports-mgmt/pkg_cutleaves > make install > pkg_cutleaves -xg > > Delete all leaves you are sure you don't need anymore, till no leaves > are left. If I were you I'd skip the loop at the top and just run the pkg_cutleaves command, delete kde3 and work down through the new leaf-dependencies. The loop takes out the first level of kde3 dependencies, saving you a few seconds in pkg_cutleaves, but also deletes x11-toolkits/qt33, which is required by some non-kde apps such as Opera. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
On Tue 2008-12-02 19:26:40 UTC+0530, Masoom Shaikh ([EMAIL PROTECTED]) wrote: > > How would you guys uninstall a meta-port? > > can try `pkg_delete -a` No Masoom, this is wrong advice. pkg_delete(1) manpage: -a, --all Unconditionally delete all currently installed packages. (Assuming you weren't trying to be "funny") ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
can try `pkg_delete -a` On Tue, Dec 2, 2008 at 1:08 PM, Leslie Jensen <[EMAIL PROTECTED]> wrote: > Hi > > How would you guys uninstall a meta-port? > > I'm considering a move to kde4 but I want a clean install, so I want to > remove the kde3 meta-port first. > > Thanks > > /Leslie > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
Jerry skrev: On Tue, 02 Dec 2008 08:38:02 +0100 Leslie Jensen <[EMAIL PROTECTED]> wrote: How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. Well, you might try navigating to the kde3 port and running: make deinstall. Alternately, you could try running something like 'pkg_delete'; i.e.: "pkg_delete -vdf kde-3.5.10". Well, I tried your first suggestion before I posted, and it only removes the meta-port but none of the ports it has installed. The second suggestion I have not tried because I want it to do a recursive deinstall without touching any ports that are dependencies of other installed ports. Maybe it is as simple as pkg_delete -r, but because I saw what happend when deinstaling the meta-port I felt I needed to ask to be sure. I could ofcourse deinstall kde, kdebase, kdehier and so forth but I'm looking for a smarter way to do it. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: > How would you guys uninstall a meta-port? > > I'm considering a move to kde4 but I want a clean install, so I want to > remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
On Tue, 02 Dec 2008 08:38:02 +0100 Leslie Jensen <[EMAIL PROTECTED]> wrote: >How would you guys uninstall a meta-port? > >I'm considering a move to kde4 but I want a clean install, so I want >to remove the kde3 meta-port first. Well, you might try navigating to the kde3 port and running: make deinstall. Alternately, you could try running something like 'pkg_delete'; i.e.: "pkg_delete -vdf kde-3.5.10". -- Jerry [EMAIL PROTECTED] Everybody wants to go to heaven, but nobody wants to die. signature.asc Description: PGP signature