From owner-freebsd-questions Mon Oct 28 19:31:38 2002 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 7F1C237B401 for ; Mon, 28 Oct 2002 19:31:37 -0800 (PST) Received: from amelia.vangyzen.net (siren.adsl.duke.edu [152.16.64.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9160F43E6E for ; Mon, 28 Oct 2002 19:31:36 -0800 (PST) (envelope-from vangyzen@stat.duke.edu) Received: from amelia.vangyzen.net (localhost [127.0.0.1]) by amelia.vangyzen.net (8.12.6/8.12.6) with ESMTP id g9T3VVUC001130 for ; Mon, 28 Oct 2002 22:31:31 -0500 (EST) (envelope-from vangyzen@stat.duke.edu) Content-Type: text/plain; charset="iso-8859-1" From: Eric van Gyzen To: freebsd-questions@freebsd.org Subject: pkg_add(1) logic Date: Mon, 28 Oct 2002 22:31:31 -0500 User-Agent: KMail/1.4.2 Organization: Duke University MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210282231.31186.vangyzen@stat.duke.edu> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following error message from pkg_add(1) doesn't make sense [to me]: amelia:/var/db/pkg# pkg_add -r bash Fetching ftp://blah/packages/Latest/mysql-client.tgz... Done. pkg_add: package 'mysql-client-3.23.52' or its older version already=20 installed amelia:/var/db/pkg# ls -d mysql-client* mysql-client-3.23.49 Yes, that's correct: an /OLDER/ version is installed. I would like to=20 update to the version on the ftp server. That's why I ran pkg_add. Why=20 does it not update the package without the -f flag? I realize that there= =20 is now a pkg_update command, but it lacks the ability to fetch packages -= -=20 and their dependencies -- remotely. Would anyone like to explain this logic? Thanks. Eric --=20 Eric van Gyzen Sr. Systems Programmer, ISDS, Duke University PGP Public Key: http://www.stat.duke.edu/~vangyzen/vangyzen.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message