Bug 237328 - ports-mgmt/pkg: pkg upgrade installed compat7x-amd64 for no obvious reason
Summary: ports-mgmt/pkg: pkg upgrade installed compat7x-amd64 for no obvious reason
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-17 09:47 UTC by martin
Modified: 2019-04-19 13:52 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin 2019-04-17 09:47:23 UTC
I just ran a selective pkg upgrade as follows, which installed compat7x-amd64 for no obvious reason:

$ pkg upgrade python36 clamav wget openjpeg
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 8 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	compat7x-amd64: 7.4.704000.201310.1

Installed packages to be UPGRADED:
	python36: 3.6.8 -> 3.6.8_2
	clamav: 0.101.1,1 -> 0.101.2,1
	wget: 1.20_2 -> 1.20.3
	openjpeg: 2.3.0_3 -> 2.3.1
	readline: 7.0.5 -> 8.0.0
	curl: 7.64.0_1 -> 7.64.1_1
	pcre2: 10.32 -> 10.32_1

Number of packages to be installed: 1
Number of packages to be upgraded: 7

The process will require 17 MiB more space.
25 MiB to be downloaded.

None of the installed packages depend on compat7x-amd64 and I was able to pkg remove it afterwards without any sign of dependencies:

$ pkg remove compat7x-amd64
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	compat7x-amd64-7.4.704000.201310.1

Number of packages to be removed: 1

The operation will free 17 MiB.

I am running 11.2-RELEASE-p5 with pkg-1.10.5_5 configured to use pkg+http://pkg.FreeBSD.org/${ABI}/latest.
Comment 1 martin 2019-04-17 10:14:47 UTC
Hmm, now various commands (e.g. ipmitool) give:

$ ipmitool
Shared object "libreadline.so.7" not found, required by "ipmitool"

and pkg check -d shows:

$ pkg check -d
Checking all packages: 100%
gdb is missing a required shared library: libreadline.so.7
gdbm is missing a required shared library: libreadline.so.7
gnupg is missing a required shared library: libreadline.so.7
gnupg1 is missing a required shared library: libreadline.so.7
hunspell is missing a required shared library: libreadline.so.7
ipmitool is missing a required shared library: libreadline.so.7
mailutils is missing a required shared library: libreadline.so.7
postgresql94-client is missing a required shared library: libreadline.so.7
python27 is missing a required shared library: libreadline.so.7
samba46 is missing a required shared library: libreadline.so.7
spidermonkey52 is missing a required shared library: libreadline.so.7
sqlite3 is missing a required shared library: libreadline.so.7

I upgraded all packages to fix this.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2019-04-19 13:52:32 UTC
see https://github.com/freebsd/pkg/issues/1753