Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2016 01:33:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211354] freebsd-update cannot update 11.0-BETA2
Message-ID:  <bug-211354-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211354

            Bug ID: 211354
           Summary: freebsd-update cannot update 11.0-BETA2
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ish@amail.plala.or.jp

freebsd-update prior r302539 cannot update 11.0-* due to sanity check.

You must update freebsd-update to r302539 as follows.

% freebsd-version -ku
10.3-RELEASE-p4
10.3-RELEASE-p5
% su
# cd /usr/sbin
# cp -p freebsd-update freebsd-update.org
# patch < freebsd-update.sh.diff

-------------
% cat freebsd-update.sh.diff
--- stable/11/usr.sbin/freebsd-update/freebsd-update.sh 2016/07/08 00:04:57=
=20=20=20=20
302408
+++ stable/11/usr.sbin/freebsd-update/freebsd-update.sh 2016/07/11 04:50:32=
=20=20=20=20
302539
@@ -1250,7 +1250,7 @@

        # Check that the first four fields make sense.
        if gunzip -c < files/$1.gz |
-           grep -qvE "^[a-z]+\|[0-9a-z]+\|${P}+\|[fdL-]\|"; then
+           grep -qvE "^[a-z]+\|[0-9a-z-]+\|${P}+\|[fdL-]\|"; then
                fetch_metadata_bogus ""
                return 1
        fi

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211354-8>