When I try to update FreeBSD packages, shared-mime-info creates and error and it halts the whole process so I have to update everything else one by one if I want stuff up-to-date since I'm at a loss on how to fix this.
Here's what I get if I try to update:
"/usr/local/share/licenses/shared-mime-info-2.0/" contains:
and the x-epoc file indeed doesn't exist.
If I copy and rename the 3 missing files, that takes care of those errors but if I manually create an empty x-epoc file, it simply gets deleted and the 3 missing files become missing again.
Haven't found a solution to this from google and not really sure what that file is supposed to be either so I don't want to mess too much with this.
Any help with this would be great.
Here's what I get if I try to update:
Code:
pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (4 candidates): 100%
Processing candidates (4 candidates): 100%
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
shared-mime-info: 2.0 -> 2.0_2
Installed packages to be REINSTALLED:
docbook-xml-5.0_3 (ABI changed: 'freebsd:13:x86:64' -> 'freebsd:13:*')
hicolor-icon-theme-0.17 (ABI changed: 'freebsd:13:x86:64' -> 'freebsd:13:*')
p5-Heap-0.80_1 (ABI changed: 'freebsd:13:x86:64' -> 'freebsd:13:*')
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 3
The operation will free 2 MiB.
Proceed with this action? [y/N]: y
[1/4] Upgrading shared-mime-info from 2.0 to 2.0_2...
[1/4] Extracting shared-mime-info-2.0_2: 100%
shared-mime-info-2.0: missing file /usr/local/share/licenses/shared-mime-info-2.0/GPLv2
shared-mime-info-2.0: missing file /usr/local/share/licenses/shared-mime-info-2.0/LICENSE
shared-mime-info-2.0: missing file /usr/local/share/licenses/shared-mime-info-2.0/catalog.mk
pkg: Fail to set time on /usr/local/share/mime/x-epoc:No such file or directory
"/usr/local/share/licenses/shared-mime-info-2.0/" contains:
Code:
-rw-r--r-- 1 root user 18K Nov 19 20:34 GPLv2.pkgsave
-rw-r--r-- 1 root user 81B Nov 19 20:34 LICENSE.pkgsave
-rw-r--r-- 1 root user 319B Nov 19 20:34 catalog.mk.pkgsave
and the x-epoc file indeed doesn't exist.
If I copy and rename the 3 missing files, that takes care of those errors but if I manually create an empty x-epoc file, it simply gets deleted and the 3 missing files become missing again.
Haven't found a solution to this from google and not really sure what that file is supposed to be either so I don't want to mess too much with this.
Any help with this would be great.