New in pkg-1.4-0 pkg: unlinkat(usr/local/): Read-only file system [Was: pkg-1.4-0 signal-4-exit with core-avx-i; FreeBSD:10:i386 vs. FreeBSD:10:32?]

Harry Schmalzbauer freebsd at omnilan.de
Fri Dec 19 15:44:24 UTC 2014


 Bezüglich Harry Schmalzbauer's Nachricht vom 18.12.2014 19:44 (localtime):
>  Hello,
>
> surprisingly my deployment process fails with:
> pkg: file:///media/OAK_PKG_CD/packages/FreeBSD:10:i386/meta.txz: No such
> file or directory
>
> I never had any problems with my scripts with pkg-1.3.8. It looks that
> FreeBSD:10:32 was renamed to FreeBSD:10:i386, right?

After adjusting my scripts  to handle the new ABI, I now see the another
pkg(8) surprise:
'pkg delete -f pkg'
[1/1] Deinstalling pkg-1.4.0...
[1/1] Deleting files for pkg-1.4.0: 100%
pkg: unlinkat(usr/local/): Read-only file system
pkg: unlinkat(usr/): Read-only file system
pkg: unlinkat(usr/local/): Read-only file system
pkg: unlinkat(usr/): Read-only file system
… (repeted)


It's true that "/" is read-only, but "/usr/local" is rw of course.
pkg(8) mustn't touch anything on "/" for most packages, which is true
for "pkg" itself.
Can somebody explain the cause of these error messages with pkg-1.4.0?

Thanks,

-Harry


More information about the freebsd-stable mailing list