Hi,
I cannot upgrade libnotify on one on my servers. The message is:
Checking for the files in question I can see the following:
When I try to move/rename the file myself I get the same message:
Symlinking or touching the destination file says the following though:
Trying to edit the file in vim fails with:
Clearing flags won't help either, because the file does not exist for these tools. But somehow this file still exists in a sort of limbo?
Does anybody know what I can do here? The zpool is healthy and even a scrub did not return any errors.
Thanks for your help.
I cannot upgrade libnotify on one on my servers. The message is:
Bash:
root@magrathea:/usr/local/bin # pkg install libnotify
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: php56-mbstring has a missing dependency: oniguruma6
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
libnotify: 0.7.7_1
py27-acme: 0.22.2,1
Number of packages to be installed: 2
The process will require 1 MiB more space.
Proceed with this action? [y/N]: y
[1/2] Installing libnotify-0.7.7_1...
[1/2] Extracting libnotify-0.7.7_1: 100%
pkg: Fail to rename /usr/local/bin/.notify-send.C6hnQOXTnP1f -> /usr/local/bin/notify-send:No such file or directory
Checking for the files in question I can see the following:
Bash:
root@magrathea:/usr/local/bin # ls -la /usr/local/bin/.notify-send.C6hnQOXTnP1f
-rwxr-xr-x 1 root wheel 11848 May 10 08:08 /usr/local/bin/.notify-send.C6hnQOXTnP1f
root@magrathea:/usr/local/bin # file /usr/local/bin/.notify-send.C6hnQOXTnP1f
/usr/local/bin/.notify-send.C6hnQOXTnP1f: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.1, FreeBSD-style, stripped
Bash:
root@magrathea:/usr/local/bin # ls -la /usr/local/bin/notify-send
ls: /usr/local/bin/notify-send: No such file or directory
root@magrathea:/usr/local/bin # file /usr/local/bin/notify-send
/usr/local/bin/notify-send: cannot open `/usr/local/bin/notify-send' (No such file or directory)
When I try to move/rename the file myself I get the same message:
Bash:
root@magrathea:~ # mv /usr/local/bin/.notify-send.C6hnQOXTnP1f /usr/local/bin/notify-send
mv: rename /usr/local/bin/.notify-send.C6hnQOXTnP1f to /usr/local/bin/notify-send: No such file or directory
Symlinking or touching the destination file says the following though:
Bash:
root@magrathea:~ # ln -s /usr/local/bin/.notify-send.C6hnQOXTnP1f /usr/local/bin/notify-send
ln: /usr/local/bin/notify-send: File exists
root@magrathea:~ # touch /usr/local/bin/notify-send
touch: /usr/local/bin/notify-send: File exists
Trying to edit the file in vim fails with:
Code:
"/usr/local/bin/notify-send" E212: Can't open file for writing
Clearing flags won't help either, because the file does not exist for these tools. But somehow this file still exists in a sort of limbo?
Bash:
root@magrathea:~ # chflags nouchg /usr/local/bin/notify-send
chflags: /usr/local/bin/notify-send: No such file or directory
Does anybody know what I can do here? The zpool is healthy and even a scrub did not return any errors.
Thanks for your help.