Bug 248654 - ports-mgmt/pkg keeps wanting to install devel/libffi321 with no nothing depending on it
Summary: ports-mgmt/pkg keeps wanting to install devel/libffi321 with no nothing depen...
Status: New
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: 2020-08-14 12:20 UTC by Adam Jimerson
Modified: 2020-08-15 02:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jimerson 2020-08-14 12:20:19 UTC
For a while now when doing a pkg upgrade pkg still wants to keep installing devel/libffi321 even though nothing depends on it.

> [/u/h/vendion]─> doas pkg upgrade
> Updating FreeBSD repository catalogue...
> Fetching meta.txz: 100%    916 B   0.9kB/s    00:01    
> Fetching packagesite.txz: 100%    6 MiB   6.6MB/s    00:01    
> Processing entries: 100%
> FreeBSD repository update completed. 32070 packages processed.
> All repositories are up to date.
> Checking for upgrades (14 candidates): 100%
> Processing candidates (14 candidates): 100%
> The following 8 package(s) will be affected (of 0 checked):
>
>  New packages to be INSTALLED:
> 	libffi321: 3.2.1_1 [FreeBSD]
>
> Installed packages to be UPGRADED:
>	caddy: 1.0.4 -> 2.1.1 [FreeBSD]
>	gettext-runtime: 0.20.2 -> 0.21 [FreeBSD]
>	git: 2.27.0 -> 2.28.0 [FreeBSD]
>	go: 1.14.6,1 -> 1.14.7,1 [FreeBSD]
>	p5-Mozilla-CA: 20180117 -> 20200520 [FreeBSD]
>	rsync: 3.2.2 -> 3.2.2_1 [FreeBSD]
>	vim-console: 8.2.1334 -> 8.2.1382 [FreeBSD]
>
> Number of packages to be installed: 1
> Number of packages to be upgraded: 7
>
> The process will require 21 MiB more space.
> 99 MiB to be downloaded.
> 
> Proceed with this action? [y/N]:

If I proceed with it, and run "pkg info -r libffi321" I get the following:

> [/u/h/vendion]─> doas pkg info -r libffi321
> libffi321-3.2.1_1:

What is even more confusing is that immanently afterwards "pkg autoremove" wants to remove devel/libffi321

> [/u/h/vendion]─> doas pkg autoremove
> Checking integrity... done (0 conflicting)
> Deinstallation has been requested for the following 1 packages:
> 
> Installed packages to be REMOVED:
>	libffi321: 3.2.1_1
>
> Number of packages to be removed: 1
>
> Proceed with deinstalling packages? [y/N]: