Date: Sun, 28 Mar 2004 21:38:28 +0200 From: Palle Girgensohn <girgen@pingpong.net> To: knu@freebsd.org, ports@freebsd.org Subject: bug in latest portupgrade Message-ID: <70970000.1080502708@palle.girgensohn.se>
next in thread | raw e-mail | index | archive | help
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 <format:bdb1_btree> 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 <format:bdb1_btree> 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 #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70970000.1080502708>