Re: pkg writing to /
- Reply: Eugene Grosbein : "Re: pkg writing to /"
- In reply to: Baptiste Daroussin : "Re: pkg writing to /"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Mar 2023 11:15:09 UTC
so I’m trying again with a read-only root, /var is zfs and writable bhv-10# pkg update Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 7 MiB 1.4MB/s 00:05 pkg: Error extracting the archive: 'Write error' pkg: No signature found Unable to update repository FreeBSD Error updating repositories! bhv-10# df /var/tmp Filesystem 1K-blocks Used Avail Capacity Mounted on h/var 986158480 324336 985834144 0% /var bhv-10# df /var Filesystem 1K-blocks Used Avail Capacity Mounted on h/var 986158456 324336 985834120 0% /var > On 6 Mar 2023, at 10:07, Baptiste Daroussin <bapt@FreeBSD.org> wrote: > > On Mon, Mar 06, 2023 at 09:57:55AM +0200, Daniel Braniss wrote: >> is this true also for ‘pky update’? > > I don't understand the question here, pkg update does not do anything in / > > Best regards, > Bapt >> >> the /compat was a problem, >> it was a symlink /usr/local/compat and for some reason the mkdir /compat/linux failed, >> i did as root ‘mkdir /usr/local/compat/linux’, and linux installed ok. >> danny >> >> >>> On 6 Mar 2023, at 09:52, Baptiste Daroussin <bapt@FreeBSD.org> wrote: >>> >>> On Sun, Mar 05, 2023 at 09:37:32AM +0200, Daniel Braniss wrote: >>>> Hi, >>>> how can I tell pkg not to write to /? in my case sometimes / >>>> is mounted ro, and so for example pkg update failed, or >>>> / - which is usually- kept as small as possible gets filled up, eg >>>> by /.pkgtemp.compat.xxxxx/linux >>>> >>>> thanks, >>>> danny >>>> >>>> >>> This is because you don't have a /compat on your / but you are trying to >>> install a package that installs files under /compat >>> >>> Bapt >> >