Open mariancerny opened 6 years ago
When I install vim from my portbuild machine it installs gettext-runtime as well:
vim
gettext-runtime
# pkg install vim New packages to be INSTALLED: vim: 8.0.1309 gettext-runtime: 0.19.8.1_1
However, when I run pkg autoremove, gettext gets removed:
pkg autoremove
gettext
# pkg autoremove Installed packages to be REMOVED: gettext-runtime-0.19.8.1_1
After I confirm the removal, vim does not run:
Shared object "libintl.so.8" not found, required by "vim"
Vim has the dependency for shared lib properly registered:
Vim
# pkg info -rdbB vim vim-8.0.1309 Shared Libs required: libintl.so.8
And gettext-runtime provides the required shared lib:
# pkg info -rdbB gettext-runtime gettext-runtime-0.19.8.1_1 Shared Libs provided: libasprintf.so.0 libintl.so.8 Depends on : indexinfo-0.3.1
So I believe pkg autoremove should not have removed the gettext-runtime shared lib dependency.
This is a bug in the vim port, not pkg.
I believe this is a bug of pkg as well.
pkg autoremove should not have removed the gettext-runtime shared lib dependency.
The bug of the vim port has been fixed.
When I install
vim
from my portbuild machine it installsgettext-runtime
as well:However, when I run
pkg autoremove
,gettext
gets removed:After I confirm the removal,
vim
does not run:Vim
has the dependency for shared lib properly registered:And
gettext-runtime
provides the required shared lib:So I believe
pkg autoremove
should not have removed thegettext-runtime
shared lib dependency.