From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 15:34:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6EE106566B for ; Fri, 18 Jun 2010 15:34:46 +0000 (UTC) (envelope-from fluffy@freebsd.org) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 00F8B8FC2C for ; Fri, 18 Jun 2010 15:34:44 +0000 (UTC) Received: from Fluffy.Khv.RU (host85.khb.ttkdv.ru [188.168.9.85] (may be forged)) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id o5IFYaXF009003; Sat, 19 Jun 2010 02:34:37 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: from Fluffy.Khv.RU (fluffy@localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.4/8.14.4/Fluffy/5.4.1) with ESMTP id o5IFYQrw043756; Sat, 19 Jun 2010 02:34:26 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: (from fluffy@localhost) by Fluffy.Khv.RU (8.14.4/8.14.4/Submit) id o5IFYQNc043755; Sat, 19 Jun 2010 02:34:26 +1100 (VLAST) (envelope-from fluffy@freebsd.org) From: Dima Panov Organization: The FreeBSD Project To: freebsd-questions@freebsd.org, Polytropon Date: Sat, 19 Jun 2010 02:34:25 +1100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-900013-CURRENT; KDE/4.4.4; amd64; ; ) References: <20100618162851.815f24da.freebsd@edvax.de> In-Reply-To: <20100618162851.815f24da.freebsd@edvax.de> X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&; qb0K4]Hv>J}"l9,=:m2_]-3S/}`b\]yA-g !y3en*Zl(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [62.76.207.226]); Sat, 19 Jun 2010 02:34:38 +1100 (VLAST) Cc: Giorgos Tsiapaliokas Subject: Re: change kde4 (pkg) to kde4 (ports) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 15:34:46 -0000 --nextPart2756581.P9Y500tjoZ Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Saturday 19 June 2010 01:28:51 Polytropon wrote: > On Fri, 18 Jun 2010 14:21:30 +0300, Giorgos Tsiapaliokas wrote: > > i know that i can reinstall the packages and install them again as port= s but > > i don't want to do that,i want to convert the package installiation into > > ports installiation. >=20 > Okay, I think I basically understand. :-) >=20 > First of all, I think you mean to DE-install the installed > packages, not RE-install them. >=20 > In oder to install KDE from ports, you need to removed the > currently installed software (no matter if it has initially > been installed by packages or ports). >=20 > The de-installation of installed software can be done with > pkg_delete, or with "make deinstall" from the ports infra- > structure. In order to do the last thing, you would do > something like this: >=20 > # cd /usr/ports/x1/kde4 > # make > # make deinstall > # make reinstall Not right. By this way you deinstall metaport only.=20 >=20 > This procedure would first compile all the stuff, then remove > the existing installation, and finally installing the just > compiled new software. See if you need "make config-recursive", > too; see "man 7 ports" for details. >=20 > There's one thing I'm not sure about, maybe someone else could > explain this: KDE4 as in /usr/ports/x1/kde4 is a so called > meta-port. If someone does "make deinstall" for a meta-port, > will it run "make deinstall" on all its parts (which are ports)? >=20 > If you're using a port & package management tool, such as > portmaster, portupgrade or portmanager, I think the solution > is much easier: >=20 > # portupgrade -Rf kde4 Wrong again. Please carefully read ports/UPDATING for upgrade instructions for all time since your binary package was releases.=20 >=20 > See "man portupgrade" for details. The portupgrade program > acts as a "front-end" to the ports infrastructure, and so > controls the "make", "make install", "make clean" and so > on steps. >=20 >=20 >=20 =2D-=20 Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 = B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 = 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept = 1995 Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy= =2Ekhv --nextPart2756581.P9Y500tjoZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEABECAAYFAkwbkgEACgkQpiZ27ZPjsBgRDgCglHddH3lJT5hYiYmHXcD1fEZ2 9MIAn2HZQaV4Y9yvMjvDcpEWqxOqBpeA =gq1o -----END PGP SIGNATURE----- --nextPart2756581.P9Y500tjoZ--