From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 05:55:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5795016A4CE for ; Mon, 5 Jan 2004 05:55:27 -0800 (PST) Received: from vsmtp3.tin.it (vsmtp3.tin.it [212.216.176.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE88B43D48 for ; Mon, 5 Jan 2004 05:55:25 -0800 (PST) (envelope-from theglide@tiscali.it) Received: from tiscali.it (213.45.70.188) by vsmtp3.tin.it (7.0.019) (authenticated as luca_gerli@virgilio.it) id 3FF18716000A2545; Mon, 5 Jan 2004 14:55:23 +0100 Message-ID: <3FF96CBF.9000606@tiscali.it> Date: Mon, 05 Jan 2004 14:55:11 +0100 From: Luca Gerli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: pkg_add and openoffice package problems (5.2-RC2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 13:55:27 -0000 Hello all, I'm totally new to FreeBSD, and I come from a Linux-Gentoo experience. I installed 5.2RC2 yesterday without much hassle, but I'm having problems installing OpenOffice.org v1.1 package, due to some dependency errors coming from pkg_add that I couldn't solve either looking at the docs or skimming through past posts. So, I downloaded the FreeBSD package from: http://projects.imp.ch/openoffice/current/openoffice-1.1.0_1.tbz First thing I tried was to run pkg_add on the downloaded package, which failed due to some dependency errors: falcon# pkg_add ./openoffice-1.1.0_1.tbz pkg_add: could not find package glib-1.2.10_10 ! pkg_add: could not find package gtk-1.2.10_10 ! pkg_add: could not find package ORBit-0.5.17 ! Then I tried the "-r" option, hoping the command would automatically download the missing and necessary packages, without much luck as pkg_add refused to use the local ./openoffice-1.1.0_1.tbz, and was looking for it on ftp.freebsd...: falcon# pkg_add -r ./openoffice-1.1.0_1.tbz Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-current/Latest/./openoffice-1.1.0_1.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-current/Latest/./openoffice-1.1.0_1.tbz' by URL I then set the PACKAGESITE to the appropriate link to download openoffice, but then this same site was used to download the missing packages which were obviously not found. falcon# setenv PACKAGESITE http://projects.imp.ch/openoffice/current/ falcon# pkg_add -r ./openoffice-1.1.0_1.tbz I'm surely doing something wrong, but my questions are: . is there a way to specify more than one FTP/HTTP source for packages ? PACKAGESITE does not seem to accept a syntax where different URLs are separated by a semicolon (":"); . do I have to manually download the necessary packages that openoffice depends on ? Or is pkg_add really able to do that alone ? Thanks for any help / documentation pointers you might give, Best regards, Luca.