[Bug 213935] freebsd-update upgrade from 9.3 to 11.0 failed.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 31 04:42:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213935

            Bug ID: 213935
           Summary: freebsd-update upgrade from 9.3 to 11.0 failed.
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: hsakamt at tsnr.com

When I try to upgrade 9.3-RELEASE-p49 to 11.0-RELEASE, 
It failed with:
# freebsd-update upgrade -r 11.0-RELEASE
  :
The update metadata is correctly signed, but
failed an integrity check.
Cowardly refusing to proceed any further.
# freebsd-update fetch
  :
No updates needed to update system to 9.3-RELEASE-p49.


Because some files in 11.0 include ',' character in a path.
This patch fix the problem(still in progress but looks ok).

--- /usr/sbin/freebsd-update.orig       2016-10-31 13:10:47.000000000 +0900
+++ /usr/sbin/freebsd-update    2016-10-31 13:10:50.000000000 +0900
@@ -1223,7 +1223,7 @@
        # Some aliases to save space later: ${P} is a character which can
        # appear in a path; ${M} is the four numeric metadata fields; and
        # ${H} is a sha256 hash.
-       P="[-+./:=%@_[~[:alnum:]]"
+       P="[-+.,/:=%@_[~[:alnum:]]"
        M="[0-9]+\|[0-9]+\|[0-9]+\|[0-9]+"
        H="[0-9a-f]{64}"

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


More information about the freebsd-bugs mailing list