Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 09:42:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272751] ports-mgmt/pkg Conflict detection has gone missing in 1.20.4
Message-ID:  <bug-272751-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272751

            Bug ID: 272751
           Summary: ports-mgmt/pkg Conflict detection has gone missing in
                    1.20.4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: jeroen.pulles@gmail.com
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

On pkg 1.20.4 there doesn't seem to the usual run of things when you want to
install a package that conflicts with an existing package.=20

It seems the installation of the new package just takes place, there is no
mention of REMOVED the old package; And in the end pkg is saying it is doing
some things with the conflicting package. See below where postgresql14-clie=
nt
seems to get the last "install". Nonetheless, the files on disk seem to be =
from
postgresql15-client.=20

The example below is from postgresql client and server, but I'm also seeing
this with other packages that have CONFLICTS_INSTALL in their port.=20

This is a snippet from an upgrade in a jail that has pkg 1.20.4:

[...]

Checking integrity... done (1 conflicting)=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
  - postgresql15-client-15.3 conflicts with postgresql14-client-14.8 on
/usr/local/bin/clusterdb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Checking integrity... done (0 conflicting)=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
Conflicts with the existing packages have been found.=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
One more solver iteration is needed to resolve them.=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The following 6 package(s) will be affected (of 0 checked):=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

New packages to be INSTALLED:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
        postgresql15-client: 15.3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20

Installed packages to be UPGRADED:=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
        py311-phonenumberslite: 8.13.16 -> 8.13.17=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
        py311-urllib3: 2.0.3,1 -> 2.0.4,1=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20

Installed packages to be REINSTALLED:=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
        py311-psycopg2-2.9.6 (direct dependency changed: postgresql15-clien=
t)=20=20=20

Number of packages to be installed: 1=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
Number of packages to be upgraded: 2=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
Number of packages to be reinstalled: 1=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20

The process will require 10 MiB more space.=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20

Proceed with this action? [y/N]: y
[xxx] Fetching postgresql14-client-14.8.pkg: 100%    2 MiB   2.5MB/s    00:=
01=20=20=20
[xxx] [1/6] Deinstalling postgresql14-client-14.8...
[xxx] [1/6] Deleting files for postgresql14-client-14.8: 100%
[xxx] [2/6] Installing postgresql15-client-15.3...
[xxx] [2/6] Extracting postgresql15-client-15.3: 100%
[xxx] [2/6] Installing postgresql14-client-14.8...
pkg: postgresql14-client-14.8 conflicts with postgresql15-client-15.3 (inst=
alls
files into the same place).  Problematic file: /usr/local/bin/clusterdb


On pkg 1.19.2:

[...]

Installed packages to be REMOVED:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-client: 14.8
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-contrib: 14.8
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql14-server: 14.8

New packages to be INSTALLED:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql15-client: 15.3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postgresql15-server: 15.3

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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