From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 20:11:43 2009 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 71D821065762 for ; Mon, 16 Mar 2009 20:11:43 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id DF8808FC1C for ; Mon, 16 Mar 2009 20:11:42 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id n2GKBfut080040; Mon, 16 Mar 2009 21:11:41 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 1175BBA9C; Mon, 16 Mar 2009 21:11:41 +0100 (CET) Date: Mon, 16 Mar 2009 21:11:41 +0100 From: Roland Smith To: "marco.borsatino@libero.it" Message-ID: <20090316201141.GA73812@slackbox.xs4all.nl> References: <13060403.254531237231322879.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <13060403.254531237231322879.JavaMail.defaultUser@defaultHost> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: installing packages 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: Mon, 16 Mar 2009 20:11:44 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 16, 2009 at 08:22:02PM +0100, marco.borsatino@libero.it wrote: >=20 > Hi, this are my questions. >=20 > 1) I've installed many packages using pkg_add -rK [package] because I > had the idea to use the same packages on a different PC. Packages are > present in the directory i used as a repository, but only the > requested packages, not the dependecies. When creating packages with pkg_add, also add the -R option to create packages for all dependencies. > When I tried on another PC pkg_add [package] (I've copied all the > requested packages on a USB HD) the program tells me that it cannot > find dependencies. What is my mistake? Not creating packages for all required dependencies, I think. Probably the easiest way is to install all the ports you want on one machine, and then copy /usr/local and /var/db/pkg to the other PC. Provided of course that both machines use the same hardware architecture! Use rsync(1) if you can make a network connection between the machines. This can be very fast. Otherwise write the files to a USB disk. > 2) I've installed FreeBSD 7.1 on a 2.6Gh Celeron with 1Gb of RAM and a > fast internet connection. I haven't installed KDE 3.5 because I wished > to install KDE 4. >=20 > When I used pkg_add -r kde4 the PC worked for almost 6 hours. During > the installation I saw many error messages but, when finished, KDE was > working. > > Is this the only possibility or is there a better way to install a big > program with a lot of dependecies? I prefer compiling ports from source myself, so I can use non-standard options. But this might take a lot longer. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkm+snwACgkQEnfvsMMhpyUJzgCgq8mCAN5y2qY9m9QnUkJngBPC f+cAniXGDJWB9Z178fk+hawgEU5lzDTg =OLbM -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--