NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc vs. binary packages



On 10/14/11, Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
>
>   PKG_PATH="ftp://ftp.NetBSD.org/pub/NetBSD/packages/5.1/i386/All"; and I
>   get
>
> See ftp://ftp.netbsd.org/pub/NetBSD/packages/README.
>
> This path is deprecated.

>Please use:
> /pub/pkgsrc/current                          for the latest sources
> /pub/pkgsrc/pkgsrc-<quarter>                 for the source of the release
> /pub/pkgsrc/distfiles                        for distfiles
> /pub/pkgsrc/packages/<OS>/<arch>/<version>   for binary packages
>
> Basically, you should to look under
>
>   ftp://ftp.netbsd.org/pub/packages
>
> however what you're doing is essentially an alias into it.
>
> But, IMHO you should use a PATH that has an explicit version, because
> you should synchronize changing the source version and the binary
> package version.
>
> But, after chasing the symlinks from the deprecated path, your path is I
> believe equal to the modern path:
>
>   ftp://ftp.netbsd.org//pub/pkgsrc/packages/NetBSD/i386/5.1_2011Q2/All
>
> (midori-* packages have the same sha1)
>
> So:
>
> Information for midori-0.3.6nb1.tgz:
>
> Comment:
> Lightweight web browser using WebKit
>
> Requires:
> gnome-themes-[0-9]*
> libidn>=1.20nb1
> libsexy>=0.1.11nb6
> libxml2>=2.6.23nb1
> gtk2+>=2.24.4nb1
> hicolor-icon-theme>=0.9nb1
> python26>=2.6.6nb8
> libsoup24>=2.34.2
> desktop-file-utils>=0.10nb1
> webkit-gtk>=1.4.1nb1
> libunique>=1.1.6nb5
> libnotify>=0.4.5nb6
>
> and then I find:
>
>   gtk2+-2.24.4nb1.tgz
>
> so this looks ok.
>
> Perhaps you can post the exact commands you are running.
>
> I don't usually use these binary packages, but I think you should be
>
> # export
> PKG_PATH=ftp://ftp.netbsd.org//pub/pkgsrc/packages/NetBSD/i386/5.1_2011Q2/All
> # pkg_add midori
>

I just did that and got

  pkg_add: Error: package 'midori-0.3.6nb1' was built with a newer
pkg_install version
  pkg_add: 1 packages addition failed


> I did this and while I already had gtk2+ installed (built from 2011Q3
> sources), I didn't have webkit-gtk, and that was auto-installed as a
> dependency.
>
> Also, make sure /var/tmp/ has space.
>
>
>

In the end I d'loaded pkgsrc from the 2011Q2 repository and things are
running smoothly (so far ;-) Thanks for the help.


Home | Main Index | Thread Index | Old Index