Masachika ISHIZUKA
2018-08-21 14:07:45 UTC
I want to update from 11.2-RELEASE-p1 to 11.2-RELEASE-p2 by freebsd-update.
onion# uname -a
FreeBSD onion.ish.org 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #0: Sun Aug 5 12:04:13 UTC 2018 ***@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
onion# freebsd-version -ku
11.2-RELEASE-p1
11.2-RELEASE-p1
onion# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 11.2-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be updated as part of updating to 11.2-RELEASE-p2:
/bin/freebsd-version
/boot/kernel/kernel
/boot/kernel/vmm.ko
/usr/bin/gprof
/usr/include/netinet6/in6.h
/usr/include/netinet6/ip6_var.h
/usr/include/x86/specialreg.h
/usr/sbin/wpa_supplicant
/usr/share/man/man4/inet.4.gz
/usr/share/man/man4/inet6.4.gz
/usr/share/man/man4/tcp.4.gz
/usr/share/man/mandoc.db
/usr/src/contrib/wpa/src/rsn_supp/wpa.c
/usr/src/share/man/man4/inet.4
/usr/src/share/man/man4/inet6.4
/usr/src/share/man/man4/tcp.4
/usr/src/sys/amd64/amd64/pmap.c
/usr/src/sys/amd64/vmm/intel/vmx.c
/usr/src/sys/amd64/vmm/intel/vmx_genassym.c
/usr/src/sys/amd64/vmm/intel/vmx_support.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/netinet/ip_reass.c
/usr/src/sys/netinet6/frag6.c
/usr/src/sys/netinet6/in6.h
/usr/src/sys/netinet6/in6_proto.c
/usr/src/sys/netinet6/ip6_var.h
/usr/src/sys/x86/include/specialreg.h
onion# freebsd-update install
Installing updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-version -ku
11.2-RELEASE-p2
11.2-RELEASE-p2
onion# freebsd-update rollback
Uninstalling updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-version -ku
11.2-RELEASE-p1
11.2-RELEASE-p1
How can I update to 11.2-RELEASE-p2 by freebsd-update ?
P.S. The new /var/db/freebsd-update had the same error. i.e.
onion# mv -i /var/db/freebsd-update /var/db/freebsd-update.old
onion# mkdir /var/db/freebsd-update
onion# chmod 700 /var/db/freebsd-update
onion# ls -ld /var/db/freebsd-update*
drwx------ 2 root wheel 512 Aug 21 22:58 /var/db/freebsd-update
drwx------ 74 root wheel 2048 Aug 21 22:55 /var/db/freebsd-update.old
onion# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 11.2-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 24 patches.....10....20.. done.
Applying patches... done.
The following files will be updated as part of updating to 11.2-RELEASE-p2:
/bin/freebsd-version
...(snip)...
/usr/src/sys/x86/include/specialreg.h
onion# freebsd-update install
Installing updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-update rollback
Uninstalling updates...ef_read_entry failed
ef_read_entry failed
done.
onion# uname -a
FreeBSD onion.ish.org 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #0: Sun Aug 5 12:04:13 UTC 2018 ***@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
onion# freebsd-version -ku
11.2-RELEASE-p1
11.2-RELEASE-p1
onion# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 11.2-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be updated as part of updating to 11.2-RELEASE-p2:
/bin/freebsd-version
/boot/kernel/kernel
/boot/kernel/vmm.ko
/usr/bin/gprof
/usr/include/netinet6/in6.h
/usr/include/netinet6/ip6_var.h
/usr/include/x86/specialreg.h
/usr/sbin/wpa_supplicant
/usr/share/man/man4/inet.4.gz
/usr/share/man/man4/inet6.4.gz
/usr/share/man/man4/tcp.4.gz
/usr/share/man/mandoc.db
/usr/src/contrib/wpa/src/rsn_supp/wpa.c
/usr/src/share/man/man4/inet.4
/usr/src/share/man/man4/inet6.4
/usr/src/share/man/man4/tcp.4
/usr/src/sys/amd64/amd64/pmap.c
/usr/src/sys/amd64/vmm/intel/vmx.c
/usr/src/sys/amd64/vmm/intel/vmx_genassym.c
/usr/src/sys/amd64/vmm/intel/vmx_support.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/netinet/ip_reass.c
/usr/src/sys/netinet6/frag6.c
/usr/src/sys/netinet6/in6.h
/usr/src/sys/netinet6/in6_proto.c
/usr/src/sys/netinet6/ip6_var.h
/usr/src/sys/x86/include/specialreg.h
onion# freebsd-update install
Installing updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-version -ku
11.2-RELEASE-p2
11.2-RELEASE-p2
onion# freebsd-update rollback
Uninstalling updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-version -ku
11.2-RELEASE-p1
11.2-RELEASE-p1
How can I update to 11.2-RELEASE-p2 by freebsd-update ?
P.S. The new /var/db/freebsd-update had the same error. i.e.
onion# mv -i /var/db/freebsd-update /var/db/freebsd-update.old
onion# mkdir /var/db/freebsd-update
onion# chmod 700 /var/db/freebsd-update
onion# ls -ld /var/db/freebsd-update*
drwx------ 2 root wheel 512 Aug 21 22:58 /var/db/freebsd-update
drwx------ 74 root wheel 2048 Aug 21 22:55 /var/db/freebsd-update.old
onion# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update4.freebsd.org... done.
Fetching metadata signature for 11.2-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 24 patches.....10....20.. done.
Applying patches... done.
The following files will be updated as part of updating to 11.2-RELEASE-p2:
/bin/freebsd-version
...(snip)...
/usr/src/sys/x86/include/specialreg.h
onion# freebsd-update install
Installing updates...ef_read_entry failed
ef_read_entry failed
done.
onion# freebsd-update rollback
Uninstalling updates...ef_read_entry failed
ef_read_entry failed
done.
--
Masachika ISHIZUKA
Masachika ISHIZUKA