On Mon, Mar 16, 2009 at 08:22:02PM +0100, marco.borsat...@libero.it wrote:
> 
> Hi, this are my questions.
> 
> 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.
> 
> 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
-- 
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)

Attachment: pgpDFK0NxKFB3.pgp
Description: PGP signature

Reply via email to