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 upgrade/install <package> doesn't upgrade deps (even pkg install did with 1.2.x...) #964
Comments
I have this case on my system now. I have an older |
I just installed 1.2 and it does not automatically handle this situation. It does not upgrade I will build my own repo with fixed shlibs and see if it makes a difference. I do agree this is a defect that should be fixed though. Just as |
I ran into this today with 1.3.8: # pkg install -f subversion openssl nginx Updating local repository catalogue... local repository is up-to-date. All repositories are up-to-date. The following 4 packages will be affected (of 0 checked): New packages to be INSTALLED: rubygem-gettext: 2.3.1 Installed packages to be UPGRADED: openssl: 1.0.1_13 -> 1.0.1_15 nginx: 1.6.0_2,2 -> 1.6.2,2 subversion: 1.8.9_5 -> 1.8.10_3 The process will require 1 MB more space. 5 MB to be downloaded. Proceed with this action? [y/N]: y Checking integrity... done (0 conflicting) [1/4] Upgrading openssl from 1.0.1_13 to 1.0.1_15: 100% ===> Creating users and/or groups. Using existing group 'www'. Using existing user 'www'. [2/4] Upgrading nginx from 1.6.0_2,2 to 1.6.2,2: 100% [3/4] Upgrading subversion from 1.8.9_5 to 1.8.10_3: 100% [4/4] Installing rubygem-gettext-2.3.1: 100% # service nginx restart Performing sanity check on nginx configuration: Shared object "libGeoIP.so.1" not found, required by "nginx" |
This is still an issue with pkg version 1.3.8_3. I switched a system that was using my own package repository to use the official packages. My own packages were built with OPTIONS_UNSET=X11. After doing 'pkg update -f', 'pkg install -f vim' the editors/vim package was installed but none of the new dependencies including a whole bunch of X11 libraries were not installed resulting in a broken installation. Only when I reinstalled another package by force, devel/pcre, the missing dependencies were detected and pkg prompted me to install them. |
I've had the same issues and posted about it here: http://markmail.org/message/anqqpncruvgwz53m This is a pretty serious bug for us since it doesn't have a simple workaround other than always upgrading every installed package on a system at the same time, or manually trawling through all the dependencies. |
yep, same here with 1.4.0 |
I did a poudriere bulk -c to build (among other things) multimedia/mpv for a 9.2 box that has somewhat older packages; pkg install mpv there then only upgraded mpv itself even tho at least libdvdread needed to be upgraded as well (shilib bump) - i was told this is because 1.3.6 no longer cares about shlib versions and to try pkg upgrade instead of pkg install - but that also didn't upgrade libdvdread. I'm told this is a bug, and I agree. :)
The text was updated successfully, but these errors were encountered: