Subject: pkg_add fails to find out newer packages
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 06/22/2004 21:53:42
$ uname -a
NetBSD IANZAG 2.0_BETA NetBSD 2.0_BETA (IANZAG) #1: Tue Jun 15 16:15:27 NOVST
2004 ianzag@IANZAG:/usr/src/sys/arch/i386/compile/IANZAG i386
System was completely rebuilt from -release-2-0 CVS about a month ago.
pkgsrc updated from CVS about 1..2 weeks ago.
---cut---
# pkg_add -v gimp
parsing: .
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
Requested space: 41066608 bytes, free space: 445518848 bytes
in /var/tmp/instmp.02769a
running: tar --fast-read --use-compress-program gzip
-xpf /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/./gimp-2.0.1nb1.tgz
+CONTENTS
running: tar --use-compress-program gzip
-xpf /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/./gimp-2.0.1nb1.tgz
Package `gimp-2.0.1nb1' conflicts with `gimp<=1.2.3'.
Depends pre-scan: `aalib>=1.4.0.4' required.
Depends pre-scan: `fontconfig>=2.2.0' required.
Depends pre-scan: `gimp-print-lib>=4.2.5nb1' required.
Depends pre-scan: `gtk2+>=2.4.0' required.
Depends pre-scan: `jpeg>=6b' required.
Depends pre-scan: `lcms>=1.06' required.
Depends pre-scan: `libart2>=2.3.10nb1' required.
Depends pre-scan: `libexif>=0.5.12' required.
Depends pre-scan: `libgtkhtml>=2.6.0' required.
Depends pre-scan: `librsvg2>=2.6.3' required.
Depends pre-scan: `libwmf>=0.2.8nb2' required.
Depends pre-scan: `mng>=1.0.0' required.
Depends pre-scan: `png>=1.2.4' required.
Depends pre-scan: `tiff>=3.6.1' required.
Package `gimp-2.0.1nb1' depends on `aalib>=1.4.0.4'.
- aalib-1.4.0.4nb1 already installed.
Package `gimp-2.0.1nb1' depends on `fontconfig>=2.2.0'.
- fontconfig-2.2.1nb3 already installed.
Package `gimp-2.0.1nb1' depends on `gimp-print-lib>=4.2.5nb1'.
- gimp-print-lib-4.2.6 already installed.
Package `gimp-2.0.1nb1' depends on `gtk2+>=2.4.0'.
- gtk2+-2.4.1nb1 already installed.
Package `gimp-2.0.1nb1' depends on `jpeg>=6b'.
- jpeg-6bnb1 already installed.
Package `gimp-2.0.1nb1' depends on `lcms>=1.06'.
- lcms-1.12nb1 already installed.
Package `gimp-2.0.1nb1' depends on `libart2>=2.3.10nb1'.
- libart2-2.3.16 already installed.
Package `gimp-2.0.1nb1' depends on `libexif>=0.5.12'.
- libexif-0.5.12nb1 already installed.
Package `gimp-2.0.1nb1' depends on `libgtkhtml>=2.6.0'.
Loading it from libgtkhtml-2.6.0.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'libgtkhtml-2.6.0', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `libgtkhtml-2.6.0' failed!
Loading it from libgtkhtml>=2.6.0.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'libgtkhtml>=2.6.0', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `libgtkhtml>=2.6.0' failed!
Package `gimp-2.0.1nb1' depends on `librsvg2>=2.6.3'.
Loading it from librsvg2-2.6.3nb1.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'librsvg2-2.6.3nb1', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `librsvg2-2.6.3nb1' failed!
Loading it from librsvg2>=2.6.3.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'librsvg2>=2.6.3', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `librsvg2>=2.6.3' failed!
Package `gimp-2.0.1nb1' depends on `libwmf>=0.2.8nb2'.
Loading it from libwmf-0.2.8.2.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'libwmf-0.2.8.2', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `libwmf-0.2.8.2' failed!
Loading it from libwmf>=0.2.8nb2.
PKG_PATH = /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
parsing: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
path: /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
increasing RLIMIT_NOFILE to max. 1772 open files
trying PKG_PATH /disk/nbsd1/ftp/pub/NetBSD/packages/2.0/i386/All/.
pkg_add: no pkg found for 'libwmf>=0.2.8nb2', sorry.
pkg_add: 1 package addition failed
pkg_add: autoload of dependency `libwmf>=0.2.8nb2' failed!
Package `gimp-2.0.1nb1' depends on `mng>=1.0.0'.
- mng-1.0.7 already installed.
Package `gimp-2.0.1nb1' depends on `png>=1.2.4'.
- png-1.2.5nb3 already installed.
Package `gimp-2.0.1nb1' depends on `tiff>=3.6.1'.
- tiff-3.6.1nb1 already installed.
pkg_add: 1 package addition failed
---cut---
So it fails to load packages:
libgtkhtml-2.6.0
librsvg2-2.6.3nb1
libwmf-0.2.8.2
On the other hand, i have this packages in the same directory, just their
version numbers are a bit higher:
-rw-r--r-- 1 root wheel 432165 Jun 16 10:36 libgtkhtml-2.6.1.tgz
-rw-r--r-- 1 root wheel 101043 Jun 16 02:10 librsvg2-2.6.5.tgz
-rw-r--r-- 1 root wheel 1177270 Jun 10 12:51 libwmf-0.2.8.3.tgz
And this happens not only with gimp package but with all others which were
build with older packages i had at thes time.
AFAIU when package dependency is ">=" i.e. equal-or-higher pkg_add should add
required packages with the highest version found. And some time ago it worked
exactly this way. But now it's obviously broken..
Any ideas ?
// wbr