pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgin - is this the expected behaviour?
On Mon, 28 Dec 2020 at 10:19, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
>
> * On 2020-12-27 at 17:23 GMT, Jonathan Perkin wrote:
>
> > * On 2020-12-27 at 17:18 GMT, Chavdar Ivanov wrote:
> >
> > > I had sbcl-2.0.7 installed and modified my local pkgsrc copy to use
> > > 2.0.11, then I updated the pkgin database file on the build server and
> > > tried to upgrade one of the clients, which already had sbcl-2.0.7
> > > installed. 'pkgin update' got he new database, 'pkgin upgrade' didn't
> > > do anything; 'pkgin avail | grep sbcl' correctly displayed the two
> > > available packages. Removing sbcl-2.0.7 and reinstalling with 'pkgin
> > > install sbcl' again installed 2.0.7, so apparently the order is
> > > alphabetic, not number. I had to 'pkgin install sbcl-2.0.11' .
> >
> > Do they have the same PKGPATH? If yes, this may be related to
> > NetBSDfr/pkgin#108.
>
> Can you try applying this patch:
>
> https://github.com/NetBSDfr/pkgin/commit/4653f3cb484cc8f36d5b02fd4a459d54a4cd511a
>
> and verify it now works as expected?
Yes, it seems to work as expected. Here is the (edited) script log:
....
# before the patch
# pkgin avail | grep sbcl
sbcl-2.0.11 SBCL, a Common Lisp implementation
sbcl-2.0.7 SBCL, a Common Lisp implementation
# pkgin install sbcl
calculating dependencies...-calculating dependencies...done.
1 package to install:
sbcl-2.0.7
0 to refresh, 0 to upgrade, 1 to install
0B to download, 40M to install
proceed ? [Y/n] n
# pkg_delete pkgin
# pkg_add /home/xci/pkgin-20.12.0.tgz
# installing the patched pkgin
pkgin-20.12.0: /usr/pkg/etc/pkgin/repositories.conf already exists
# pkgin avail | grep sbcl
sbcl-2.0.11 SBCL, a Common Lisp implementation
sbcl-2.0.7 SBCL, a Common Lisp implementation
# pkgin install sbcl
calculating dependencies...-calculating dependencies...done.
1 package to install:
sbcl-2.0.11
0 to refresh, 0 to upgrade, 1 to install
0B to download, 39M to install
proceed ? [Y/n] y
installing sbcl-2.0.11...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking sbcl-2.0.11 as non auto-removable
.......................
>
> Thanks,
>
> --
> Jonathan Perkin - Joyent, Inc. - www.joyent.com
Thanks,
Chavdar
--
----
Home |
Main Index |
Thread Index |
Old Index