From owner-freebsd-ports Sat Jan 26 15:10:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 213C737B41B for ; Sat, 26 Jan 2002 15:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0QNA2066513; Sat, 26 Jan 2002 15:10:02 -0800 (PST) (envelope-from gnats) Date: Sat, 26 Jan 2002 15:10:02 -0800 (PST) Message-Id: <200201262310.g0QNA2066513@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Alan Eldridge Subject: Re: ports/34310: portupgrade cannot install or upgrade timidity++ port ('+' signs a problem?) Reply-To: Alan Eldridge Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/34310; it has been noted by GNATS. From: Alan Eldridge To: Akinori MUSHA Cc: Alan Eldridge , FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/34310: portupgrade cannot install or upgrade timidity++ port ('+' signs a problem?) Date: Sat, 26 Jan 2002 18:00:39 -0500 On Sun, Jan 27, 2002 at 07:51:47AM +0900, Akinori MUSHA wrote: >At Sat, 26 Jan 2002 15:36:31 -0500 (EST), >Alan Eldridge wrote: >> [alane ~/FreeBSD/packages/stable/All]$ portupgrade -PPsN -o timidity++-2.11.3.tgz 'timidity++' > >Wrong usage. You put a package origin after a -o option. > >A package origin is a port identifier, which is in the form of >"category/portname". OK. Let's see if it can find it on its own. [alane ~/FreeBSD/packages/stable/All]$ echo $PKG_PATH /home/alane/FreeBSD/ports/packages/All:/home/alane/FreeBSD/packages/bento/packages-4-full [alane ~/FreeBSD/packages/stable/All]$ ls timidity++-2* timidity++-2.11.3.tgz [alane ~/FreeBSD/packages/stable/All]$ portupgrade -PPsN timidity++ [You have no permission to update the pkgdb -- using a slow method] ** No such installed package nor such port called 'timidity++' is found. No. Let's try with a valid package origin. [alane ~/FreeBSD/packages/stable/All]$ ls -d $PORTSDIR/audio/timid*++ /home/alane/FreeBSD/ports/audio/timidity++ [alane ~/FreeBSD/packages/stable/All]$ portupgrade -PPsN -o audio/timidity++ timidity++ [You have no permission to update the pkgdb -- using a slow method] ** No such installed package nor such port called 'timidity++' is found. [alane ~/FreeBSD/packages/stable/All]$ No. OK, let's use pkg_add and then see if portupgrade can recognize it as being there. [alane ~/FreeBSD/packages/stable/All]$ sudo pkg_add timidity++-2.11.3.tgz .. package install message elided ... [alane ~/FreeBSD/packages/stable/All]$ pkg_info -I -x timidity timidity++-2.11.3 Software MIDI player [alane ~/FreeBSD/packages/stable/All]$ portupgrade -PPsf -o audio/timidity++ timidity++ [You have no permission to update the pkgdb -- using a slow method] ---> Checking the availability of the latest package of 'audio/timidity++' ---> Fetching the package(s) for 'timidity++-esound-2.11.3' (audio/timidity++) ---> Fetching timidity++-esound-2.11.3.tgz fetch: /usr/tmp/timidity++-esound-2.11.3.tgz: Not Found ** The command returned a non-zero exit status: 1 ** Failed to fetch http://bento.FreeBSD.org/errorlogs/packages-4-latest/All/timidity++-esound-2.11.3.tgz fetch: /usr/tmp/timidity++-esound-2.11.3.tgz: Not Found ... more attempts to fetch timidity++-esound elided .... ** The following packages were not downloaded ( ! timidity++-esound@ (fetch error) ** Could not fetch the latest version '2.11.3' ** The package of 'audio/timidity++' is not found. ** The following packages were not installed or upgraded ( ! audio/timidity++ (timidity++-2.11.3) (package not found) [alane ~/FreeBSD/packages/stable/All]$ Well, it won't reinstall it, either. It insists on looking for timidity++-esound, even though that is not what I have installed. -- Alan Eldridge Pmmfmffmmfmp mmmpppppffmpmfpmpppff PmpMpmMpp ppfppp MpfpffmppmppMmpFmmMpm mfpmmmmmfpmpmpppff. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message