From owner-freebsd-ports@FreeBSD.ORG Sun Mar 28 11:38:31 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B1C716A4CE; Sun, 28 Mar 2004 11:38:31 -0800 (PST) Received: from palle.girgensohn.se (1-2-8-5a.asp.sth.bostream.se [82.182.157.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AEA143D31; Sun, 28 Mar 2004 11:38:30 -0800 (PST) (envelope-from girgen@pingpong.net) Received: from localhost (localhost [127.0.0.1]) by palle.girgensohn.se (8.12.11/8.12.11) with ESMTP id i2SJcSN5056586; Sun, 28 Mar 2004 21:38:28 +0200 (CEST) (envelope-from girgen@pingpong.net) Date: Sun, 28 Mar 2004 21:38:28 +0200 From: Palle Girgensohn To: knu@freebsd.org, ports@freebsd.org Message-ID: <70970000.1080502708@palle.girgensohn.se> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: bug in latest portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 19:38:31 -0000 Hi, Just upgraded portupgrade, and there seems to be a bug there. portupgrade treats versionnumber 1.09 as 1.9 when trying to install from a package. I guess you could argue that 1.09 is not a correct version number, true, but ports like graphics/lcms has it notheless. There seems to be no problems using the previous portupgrade. Below is a session up upgrading lcms. Check when it tries to pkg_add, suddenly the packagefile is lcsm-1.9xxx instead of 1.09xxx. Regards, Palle # portupgrade -fP lcms ---> Checking the availability of the latest package of 'graphics/lcms' ---> Found a package of 'graphics/lcms': /usr/ports/packages/All/lcms-1.09_1,1.tgz ---> Reinstalling 'lcms-1.09_1,1' (graphics/lcms) using a package ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'lcms-1.09_1,1' ---> Preserving /usr/local/lib/liblcms.so.1 as /usr/local/lib/compat/pkg/liblcms.so.1 pkg_delete: package 'lcms-1.09_1,1' is required by these other packages and may not be deinstalled (but I'll delete it anyway): ImageMagick-5.5.7.16 arts-1.2.1,1 avifile-0.7.38_2,2 c_c++_reference-2.0.2_1 epiphany-1.0.7_3 firefox-0.8_4 galeon2-1.3.13a_1 gimp-gnome-2.0.pre3_1,1 gnome2-2.4.2 gnome2-fifth-toe-2.4.2 gnomemedia2-2.4.1.1_1 gstreamer-plugins-0.6.4_3 html2ps-A4-1.0_1 jamboree-0.3_2 kde-3.2.1_1 kdeaccessibility-3.2.1 kdeaddons-3.2.1_3 kdeaddons-atlantikdesigner-3.2.1_2 kdeaddons-kaddressbook-plugins-3.2.1 kdeaddons-kate-plugins-3.2.1 kdeaddons-kfile-plugins-3.2.1 kdeaddons-kicker-applets-3.2.1 kdeaddons-knewsticker-scripts-3.2.1 kdeaddons-konq-plugins-3.2.1 kdeaddons-kontact-plugins-3.2.1 kdeaddons-ksig-3.2.1 kdeaddons-noatun-plugins-3.2.1_3 kdeaddons-renamedlg-plugins-3.2.1 kdeaddons-vimpart-3.2.1 kdeadmin-3.2.1 kdeartwork-3.2.1 kdebase-3.2.1 kdeedu-3.2.1 kdegames-3.2.1 kdegraphics-3.2.1_1 kdelibs-3.2.1_1 kdemultimedia-3.2.1 kdenetwork-3.2.1 kdepim-3.2.1 kdesdk-3.2.1 kdetoys-3.2.1 kdeutils-3.2.1 kdevelop-3.0.2 koffice-1.3,1 libmng-1.0.6 libxine-1.0.r3_4 mozilla-1.6_3,2 mozilla-gtk1-1.6_1 nautilus-media-0.3.4 plugger-4.0_4 pp-helpers-1.3 qt-3.3.1_1 quanta-3.2.1,2 rhythmbox-0.6.5_1 sdl-1.2.7_1,1 se-openoffice-1.1.0_3 sound-juicer-0.5.10.1_1 thunderbird-0.5 totem-0.99.9 [Updating the pkgdb in /var/db/pkg ... - 492 packages found (-1 +0) (...) done] ---> Installing the new version via the package pkg_add: can't stat package file 'lcms-1.9_1,1' ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade75260.0 /usr/sbin/pkg_add -f lcms-1.9_1,1 egrep: /var/db/pkg/lcms-1.09_1,1/+CONTENTS: No such file or directory ---> Restoring the old version pkg_add: package kav4freebsd-4.x-5.0.1.0 has no origin recorded ** Fix the package's problem and try again. [Updating the pkgdb in /var/db/pkg ... - 493 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! graphics/lcms (lcms-1.09_1,1) (pkg_add failed) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed #