Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg autoremove removes a shared lib dependency #1639

Open
mariancerny opened this issue Nov 27, 2017 · 2 comments
Open

pkg autoremove removes a shared lib dependency #1639

mariancerny opened this issue Nov 27, 2017 · 2 comments

Comments

@mariancerny
Copy link

When I install vim from my portbuild machine it installs gettext-runtime as well:

# 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

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:

# 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.

@assistcontrol
Copy link

This is a bug in the vim port, not pkg.

@mariancerny
Copy link
Author

mariancerny commented Jan 2, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants