pkg-devel-2.8.99.1 and .4

After a pkg upgrade I encounter some conflict messages like:

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
All repositories are up to date.
Checking for upgrades (10 candidates): 100%
Processing candidates (10 candidates): 100%
Checking integrity... done (2 conflicting)
- pkg-devel-2.8.99.1 [FreeBSD] conflicts with pkg-2.8.4 [installed] on /usr/local/etc/bash_completion.d/_pkg.bash
- pkg-devel-2.8.99.4_1 [FreeBSD-ports] conflicts with pkg-2.8.4 [installed] on /usr/local/etc/bash_completion.d/_pkg.bash
Checking integrity... done (0 conflicting)
Your packages are up to date.

Where do the pkg-devel-2.8.99.1 /4_1 come from? They do not show up on a pkg info -a.
How do I get rid of them?
 
Hi,

You seem to have two same-type repository enabled, called with different names.

Can you post output of $ pkg repos to be sure?
 
Checking integrity... done (2 conflicting)
- pkg-devel-2.8.99.1 [FreeBSD] conflicts with pkg-2.8.4 [installed] on /usr/local/etc/bash_completion.d/_pkg.bash
- pkg-devel-2.8.99.4_1 [FreeBSD-ports] conflicts with pkg-2.8.4 [installed] on /usr/local/etc/bash_completion.d/_pkg.bash
Somehow ports-mgmt/pkg-devel comes into play.
Please post the output of:
pkg -vv | sed -nE -e '/(^OSVERSION|^ABI|^BACKUP)/p' -e '/^Repositories:/,$ p'
pkg which /usr/sbin/pkg /usr/local/sbin/pkg

(Some overlap with the request of message #2)
 
Hi,

You seem to have two same-type repository enabled, called with different names.

Can you post output of $ pkg repos to be sure?

FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_1",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_1",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
 
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_1",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_1",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
Interesting, that was not what I was expecting to see. Maybe a package was installed from a no longer existing repository.

Can you also post output of this command?

$ pkg query '%n %R' | grep pkg-devel
 
Somehow ports-mgmt/pkg-devel comes into play.
Please post the output of:
pkg -vv | sed -nE -e '/(^OSVERSION|^ABI|^BACKUP)/p' -e '/^Repositories:/,$ p'
pkg which /usr/sbin/pkg /usr/local/sbin/pkg

(Some overlap with the request of message #2)
BACKUP_LIBRARIES = false;
BACKUP_LIBRARY_PATH = "/usr/local/lib/compat/pkg";
ABI = "FreeBSD:15:amd64";
OSVERSION = "1501000";
Repositories:
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_1",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_1",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}

/usr/sbin/pkg was not found in the database
/usr/local/sbin/pkg was installed by package pkg-2.8.4
 
The upgrade to pkg-2.9.0 which I've done just now made the problem disappear...

I did a pkg autoremove 2 days ago. It didn't help.

Thanks for your help
 
Back
Top