Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 16:44:18 +0100
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   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?]
Message-ID:  <549447D2.7080804@omnilan.de>
In-Reply-To: <5493208E.7040201@omnilan.de>
References:  <5493208E.7040201@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?549447D2.7080804>