Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2025 08:54:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 284355] pkg-static: Fail to rename /var/* -> /var/db:Not a directory
Message-ID:  <bug-284355-32340-hqx2Au6jS6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284355-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284355-32340@https.bugs.freebsd.org/bugzilla/>

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

Tomasz Sowa <tomasz.sowa@ttmath.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomasz.sowa@ttmath.org

--- Comment #1 from Tomasz Sowa <tomasz.sowa@ttmath.org> ---
I have got a similar issue:

# pkg upgrade -y
Checking for upgrades (52 candidates): 100%
Processing candidates (52 candidates): 100%
Checking integrity... done (0 conflicting)
The following 48 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        [...]

Installed packages to be UPGRADED:
        [...]

Number of packages to be installed: 42
Number of packages to be upgraded: 6

The process will require 902 MiB more space.
[1/48] Installing upower-1.90.7...
[1/48] Extracting upower-1.90.7: 100%
pkg: Fail to rename /.pkgtemp.var.RreUBRNWz3VJ -> /var:Not a directory

There is a symlink from /var to /disk2Tb/var:
/home/tomek$ ls -l /var
lrwxr-xr-x  1 root wheel 12 25 sty 11:54 /var -> /disk2Tb/var

Temporarily I have used mount_nullfs:
# rm /var && mkdir /var
# mount_nullfs /disk2Tb/var /var
after that the upgrade process was successful.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
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-284355-32340-hqx2Au6jS6>