pkg thinks a package is installed, but its files aren't
Pierre Abbat
phma at leaf.dragonflybsd.org
Mon Jan 26 21:27:05 PST 2015
I tried to build one of my projects and it told me that cmake requires a
version of libexpat that isn't installed.
[phma at zyxomma ~/crypt/build/bezitopo/dbg]$ make -j 3 && ./bezitest
Shared object "libexpat.so.6" not found, required by "cmake"
# pkg ins cmake
Updating Avalon repository catalogue...
Avalon repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked):
Installed packages to be UPGRADED:
cmake: 3.0.2 -> 3.1.0
The operation will free 1 MB.
3 MB to be downloaded.
Proceed with this action? [y/N]: y
Fetching cmake-3.1.0.txz: 100% 3 MB 784.2k/s 00:04
Checking integrity... done (0 conflicting)
[1/1] Upgrading cmake from 3.0.2 to 3.1.0...
[1/1] Extracting cmake-3.1.0: 0%
pkg: archive_read_extract(): truncated input
[1/1] Extracting cmake-3.1.0: 100%
[1/1] Deleting files for cmake-3.1.0: 100%
[phma at zyxomma ~/crypt/build/bezitopo/dbg]$ make -j 3 && ./bezitest
/usr/local/bin/cmake: not found
# pkg ins cmake
Updating Avalon repository catalogue...
Avalon repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 packages will be affected (of 0 checked):
Installed packages to be UPGRADED:
cmake: 3.0.2 -> 3.1.0
The operation will free 1 MB.
Proceed with this action? [y/N]: y
[1/1] Upgrading cmake from 3.0.2 to 3.1.0...
pkg: unlinkat(usr/local/share/licenses/cmake-3.0.2/BSD3CLAUSE): No such file or
directory
pkg: unlinkat(usr/local/share/licenses/cmake-3.0.2/LICENSE): No such file or
directory
pkg: unlinkat(usr/local/share/licenses/cmake-3.0.2/catalog.mk): No such file or
directory
[1/1] Extracting cmake-3.1.0: 100%
[phma at zyxomma ~/crypt/build/bezitopo/dbg]$ make -j 3 && ./bezitest
Shared object "libexpat.so.1" not found, required by "cmake"
phma at zyxomma ~/crypt/build/bezitopo/dbg]$ ls /usr/lib/*expat*
ls: /usr/lib/*expat*: No such file or directory
[phma at zyxomma ~/crypt/build/bezitopo/dbg]$ ls /usr/local/lib/*expat*
ls: /usr/local/lib/*expat*: No such file or directory
[phma at zyxomma ~/crypt/build/bezitopo/dbg]$ ls /lib/*expat*
ls: /lib/*expat*: No such file or directory
# pkg upg expat
Updating Avalon repository catalogue...
Avalon repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
# ls /usr/local/lib/*expat*
/usr/local/lib/libexpat.a /usr/local/lib/libexpat.so.1.6.0
/usr/local/lib/libexpat.so /usr/local/lib/libexpat.so.6
/usr/local/lib/libexpat.so.1
Should I file a bug in pkg? Its version is 1.4.6.
Pierre
--
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.
More information about the Users
mailing list