Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2015 17:25:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203456] ports-mgmt/pkg: keeps trying to reinstall nvidia-driver when using manually installed version
Message-ID:  <bug-203456-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203456

            Bug ID: 203456
           Summary: ports-mgmt/pkg: keeps trying to reinstall
                    nvidia-driver when using manually installed version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: tony@git-pull.com
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

Maybe related: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195467

Similar situation:
https://forums.freebsd.org/threads/prevent-a-package-from-being-installed.45087/

I may have installed nvidia-driver-340 once early on in my system. However, I
uninstalled it, then grabbed NVIDIA-FreeBSD-x86_64-355.11  from the nvidia
website.

I also updated files like /usr/local/share/wine/patch-nvidia.sh to force
355.11.

I run from 355.11 (manually compiled and installed) fine - but it keep trying
to reinstall the pkg for nvidia-driver-340.

$ freebsd-version -ku; uname -apKU                                              
11.0-CURRENT
11.0-CURRENT
FreeBSD z600 11.0-CURRENT FreeBSD 11.0-CURRENT #24: Mon Sep 28 15:30:02 CDT
2015     root@z600:/usr/obj/usr/src/sys/MYKERNEL  amd64 amd64 1100079 1100079



$ pkg info pkg
pkg-1.6.0
Name           : pkg
Version        : 1.6.0
Installed on   : Mon Sep 28 09:03:25 CDT 2015
Origin         : ports-mgmt/pkg
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg@FreeBSD.org
WWW            : http://wiki.freebsd.org/pkgng
Comment        : Package manager
Shared Libs provided:
    libpkg.so.3
Annotations    :
    repo_type      : binary
    repository     : FreeBSD
Flat size      : 10.2MiB
Description    :
Package management tool

WWW: http://wiki.freebsd.org/pkgng


$ pkg search -fe pkg-1.6.0
pkg-1.6.0
Name           : pkg
Version        : 1.6.0
Origin         : ports-mgmt/pkg
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Repository     : FreeBSD [pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest]
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg@FreeBSD.org
WWW            : http://wiki.freebsd.org/pkgng
Comment        : Package manager
Shared Libs provided:
    libpkg.so.3
Annotations    :
Flat size      : 10.2MiB
Pkg size       : 2.45MiB
Description    :
Package management tool

WWW: http://wiki.freebsd.org/pkgng

$ ldd /usr/local/sbin/pkg
/usr/local/sbin/pkg:
    libpkg.so.3 => /usr/local/lib/libpkg.so.3 (0x800846000)
    libutil.so.9 => /lib/libutil.so.9 (0x800c39000)
    libssl.so.7 => /usr/lib/libssl.so.7 (0x800e4c000)
    libcrypto.so.7 => /lib/libcrypto.so.7 (0x8010b1000)
    libm.so.5 => /lib/libm.so.5 (0x8014a8000)
    libelf.so.2 => /usr/lib/libelf.so.2 (0x8016d2000)
    libjail.so.1 => /lib/libjail.so.1 (0x8018e9000)
    libarchive.so.6 => /usr/lib/libarchive.so.6 (0x801aee000)
    libz.so.6 => /lib/libz.so.6 (0x801d93000)
    libbz2.so.4 => /usr/lib/libbz2.so.4 (0x801fa9000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x8021bb000)
    libc.so.7 => /lib/libc.so.7 (0x8023e3000)
    libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x802786000)
    libthr.so.3 => /lib/libthr.so.3 (0x8029ac000)

$ sudo pkg upgrade
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (121 candidates): 100%
Processing candidates (121 candidates): 100%
The following 5 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    nvidia-driver-340: 340.93

Installed packages to be REINSTALLED:
    texinfo-6.0.20150919 (needed shared library changed)
    libgpg-error-1.20
    libgcrypt-1.6.3
    cups-image-2.0.3_2 (needed shared library changed)

The process will require 209 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: 


I have  also ran:

$ sudo pkg lock nvidia-driver
$ sudo pkg lock nvidia-driver-340
$ sudo pkg lock nvidia-driver-340.39

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203456-13>