Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2024 16:52:59 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Yuri <yuri@FreeBSD.org>, "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: After following the advise from UPDATING about pythoin-3.11, 'pkg add' now says: pkg: "Cannot solve problem using SAT solver" and attempts to install and then offers to remove py39- packages
Message-ID:  <SI2PR01MB5036D9886E3A182BDBD2BE49FAC62@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <187dec33-ae28-435b-9dce-04968da0a45d@FreeBSD.org>
References:  <b9d28cb8-4071-4d16-9e5b-54b833fe65e8@FreeBSD.org> <SI2PR01MB50369A901B50909246BC3AADFAC42@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <187dec33-ae28-435b-9dce-04968da0a45d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmmm,

I have never used poudriere to create all the packages.
However, since I was using the STABLE version for my jail, I have lost all the packages I have built on several occasions.

It seems to happen when the value returned by the uname -KU of the jail changes.

It seems that poudriere-pkgclean is the only other way to get rid of packages that can no longer be traced from the port tree.

If the package directory is not cleaned of unnecessary packages, poudriere-bulk creates a repository that also contains the packages.
In fact, my poudriere repository includes llvm70-7.0.1_8.pkg and seamonkey-2.49.4_27.pkg.
Also, if the package name is the same but the version is different, it seems to be a repository that has no problem providing it.

I have such a rule of thumb :)

Regards.

Yuri wrote on 2024/06/09 12:30:
> You are right. Package DB contains both py39- and py311- packages:
> $ pkg search py311- | wc
>    4477   33240  346412
> $ pkg search py39- | wc
>    3506   25946  270059
> Since pkg has no awareness of the current python version - it attempts to install all found candidates for each particular PKGORIGIN.
> Anybody knows what caused this regression in the package database?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036D9886E3A182BDBD2BE49FAC62>