|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
KDE 4.1 - deinstall
Hi!
I decided to stay with KDE 3.5 and I want to remove 4.1 from the disk. I use portmaster to install 4.1. It is possible or are there option (I didn't find it) to use portmaster for deinstall KDE 4.1, please or just mahke deinstall? Thanks in adbvance, Mitja |
|
|||
Quote:
portmaster -e /usr/ports/x11/kde4 ===>>> No such directory/port: /var/db/pkg//usr/ports/x11/kde4 ===>>> Aborting update Now I di: make deinstall and it was okay and manually deleted /usr/local/kde4. I hope that I didn't made a mess.... |
|
||||
You made a mess. kde4 is a meta-port. Removing it does absolutely nothing with respect to actual kde4 components and dependencies. You needed to run make deinstall on each of it's dependencies and components instead of deleting /usr/local/kde4. Now, you have a bunch of stale ports entries in /var/db/pkg that should not be there and possibly KDE 4.1 files that were not installed in /usr/local/kde4.
With respect to portmaster, it does work. You should read the manual page because it literally spells out how to use portmaster. Did you miss the following line at the beginning of the manual page? Code:
portmaster [Common Flags] Multiple full names or paths from /usr/ports or /var/db/pkg, and/or multiple globs from /var/db/pkg portmaster [Common Flags] -p port directory in /usr/ports You could have done one of the following: Code:
portmaster -e -p x11/kde4 Code:
portmaster -e kde4 Code:
ls -l /var/db/pkg/kde* Code:
pkg_info -x kde4 Code:
portmaster -s
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) Last edited by ninjatux; 15th August 2008 at 03:55 PM. |
|
|||
Quote:
Thank you very much. I hope that I didn't "clean" more than I need ). |
|
||||
I don't think that's an issue. I think you cleaned too little.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
One way to remove ports is using ports-mgmt/pkg_cutleaves.
Before you install a large meta-port with lots of dependencies you may want to uninstall (Such as KDE4) generate an exclude list (with -gl), when you want to uninstall just use # pkg_cutleaves -x and press `y' a lot of times (Or use the -V flag).I deinstalled KDE4 in a few minutes this way. You didn't generate an exclude list, but pkg_cutleaves is still usefull, you just need to be careful not to remove any useful ports (i.e. pay attention and not mindlessly press `y').
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
In order to use portmaster, just first do
pkg_info -x kde4 make a note of the full name of kde4... then do portmaster -v -e kde4... where you put the right version. This will automatically imply portmaster -s, you need to be careful not to say "yes" too often. |
|
|||
|
|
|||
This relates to exactly what im having trouble with but in reverse, i want to remove the old KDE3 files but have all ready done a make deinstall in the kde3 port itself and then a pkg_delete on anything that was/had kde3* in it...
Killer is there are still so many things remaining and i want to use that use the kdelibs3 not vers 4 im in a pickle to either stay with 4 or revert back to KDE3 and wait a while for a lot more pkg's to be updated. I dont use portmaster either. Last edited by shinjii; 21st August 2008 at 07:42 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thoughts on "make deinstall clean" | Mantazz | FreeBSD Ports and Packages | 8 | 14th September 2009 06:45 PM |
ran make deinstall in /usr/ports/multimedia/ How do I undo this? | kasse | FreeBSD General | 11 | 5th September 2008 08:22 AM |