pkg: mkdir(/tmp): Invalid argument
Pierre Abbat
phma at leaf.dragonflybsd.org
Sun Apr 11 17:52:34 PDT 2021
Resending. I've fixed the bug, but the problem with pkg remains.
I tried to install dmalloc to debug a memory allocation bug. The interaction
went like this:
# pkg sea dmalloc
pkg: mkdir(/tmp): Invalid argument
pkg: mkdir(/tmp): Invalid argument
dmalloc-5.5.2_1 Portable debug memory allocation library
# pkg ins dmalloc
Updating Avalon repository catalogue...
pkg: mkdir(/tmp): Invalid argument
pkg: mkdir(/tmp): Invalid argument
pkg: mkdir(/tmp): Invalid argument
Avalon repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
pkg: 1.15.10 -> 1.16.1 [Avalon]
Number of packages to be upgraded: 1
3 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching pkg-1.16.1.txz: 100% 3 MiB 95.4kB/s 00:32
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.15.10 to 1.16.1...
[1/1] Extracting pkg-1.16.1: 0%
pkg: Fail to create /usr:Invalid argument
[1/1] Extracting pkg-1.16.1: 100%
# pkg ins dmalloc
Updating Avalon repository catalogue...
pkg: mkdir(/tmp): Invalid argument
pkg: mkdir(/tmp): Invalid argument
pkg: mkdir(/tmp): Invalid argument
Avalon repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
pkg: 1.15.10 -> 1.16.1 [Avalon]
Number of packages to be upgraded: 1
Proceed with this action? [y/N]: y
[1/1] Upgrading pkg from 1.15.10 to 1.16.1...
[1/1] Extracting pkg-1.16.1: 0%
pkg: Fail to create /usr:Invalid argument
[1/1] Extracting pkg-1.16.1: 100%
I then created a file in /tmp, with no problem. Running pkg-static doesn't
help. How do I fix this?
Pierre
--
li fi'u vu'u fi'u fi'u du li pa
More information about the Users
mailing list