[PC-BSD Testing] Testing new update system from 9.2 -> 10.0

Kris Moore kris at pcbsd.org
Fri Feb 28 08:59:03 PST 2014


On 02/27/2014 14:53, Randy Schultz wrote:
> On Thu, 20 Feb 2014, Kris Moore wrote:
>
> -}
> -}I've just finished up some work on a major re-write of our updating
> -}system when "upgrading" between major releases, I.E. 9.2 -> 10.0, 10.0
> -}-> 10.1.
> -}
> -}https://github.com/pcbsd/pcbsd/commit/b95e8a83c73511568ae4291a54e0f93f6c67ef30
> -}https://github.com/pcbsd/pcbsd/commit/9a8b3d1945fa67db8e99b0e4e82280b5626aa895
> -}
> -}It seems to work well here, but it needs some additional testing from
> -}any users still running 9.2 who want to update to 10. To test this,
> -}first grab the latest from git:
> -}
> -}# git clone https://github.com/pcbsd/pcbsd.git pcbsd
> -}# cd pcbsd/src-sh/pc-updatemanager
> -}# make install
> -}
> -}Then run:
> -}
> -}# pc-updatemanager install fbsd-10.0-RELEASE
>
> In the FWIW dept, just tried this one again and still got the bark:
>
> pc-updatemanager install fbsd-10.0-RELEASE
> [: 24.9: bad number
>
>
> Also, this time I got:
> ? cat ~/pcbsd-update-summary
> PC-BSD 10.0-RELEASE-p5 Upgrade Summary - (Thu Feb 27 06:30:27 EST 2014)
> -----------------------------------------------------
> FreeBSD: The base-system failed to install:
> ETCMERGE: >>> Finding classes of files
> ETCMERGE: >>> Working from
> ETCMERGE: >>>     Active:    /etc
> ETCMERGE: >>>     Reference: /var/db/etc
> ETCMERGE: >>>     New:       /root/etc-update/etc-new
> ETCMERGE: >>>> Class 1:       46 files,        2 empty dirs,        3 others
> ETCMERGE: >>>> Class 2:       13 files,        1 empty dirs,        1 others
> ETCMERGE: >>>> Class 3:        0 files,        0 empty dirs,        0 others
> ETCMERGE: >>>> Class 4:        0 files,        0 empty dirs,        0 others
> ETCMERGE: >>>> Class 5:       14 files,        0 empty dirs,        1 others
> ETCMERGE: >>>> Class 6:        0 files,        0 empty dirs,        0 others
> ETCMERGE: >>>> Class 7:      329 files,       21 empty dirs,        3 others
> ETCMERGE: >>>
> ETCMERGE: >>> Handling class 7 files - present everywhere
> ETCMERGE: >>>> Files are handled as an ascii 3-way merge.
> ETCMERGE: >>>> Non-files get copied from the ACTIVE etc dir.
> ETCMERGE: >>>>
> ETCMERGE: >>>> Class 7:        5 conflict(s)
> ETCMERGE: >>>
> ETCMERGE: >>> Handling class 1 - only present in active directory
> ETCMERGE: >>>> Both files and non-files get copied.
> ETCMERGE: >>>
> ETCMERGE: >>>
> ETCMERGE: >>> Handling class 2 - only present in new directory
> ETCMERGE: >>>> Both files and non-files get copied.
> ETCMERGE: >>>
> ETCMERGE: >>>
> ETCMERGE: >>>> Handling class 3 - present in new and active directory only
> ETCMERGE: >>>> Files with differences get a copy of NEW file in both
> ETCMERGE: >>>> etc-merged and merged-changed, with a .diff from the NEW to
> ETCMERGE: >>>> the ACTIVE file in merged-changed.
> ETCMERGE: >>>> Non-files are fetched from the ACTIVE directory.
> ETCMERGE: >>>
> ETCMERGE: >>>
> ETCMERGE: >>> Handling class 4 - present in reference only
> ETCMERGE: >>>> A copy of each file is stored in merged-removed.
> ETCMERGE: >>>> Non-files get dropped.
> ETCMERGE: >>>
> ETCMERGE: >>>
> ETCMERGE: >>> Handling class 5 - present in reference and active only
> ETCMERGE: >>>> A copy of each ACTIVE file is stored in merged-removed.
> ETCMERGE: >>>> If there is a difference between the ACTIVE and the
> ETCMERGE: >>>> REFERENCE file, a diff from REFERENCE to ACTIVE gets
> ETCMERGE: >>>> stored in merged-removed/
> ETCMERGE: >>>> Non-files get dropped.
> ETCMERGE: >>>
> egrep: etc-merged/./pwd.db: No such file or directory
> pwd_mkdb: warning, unknown root shell
> mailwrapper: cannot exec /usr/local/sbin/sendmail: No such file or directory
>     PKG: All packages updated successfully!
> USERPKG: The following user-packages failed to install:
> mail/postfix
> misc/compat6x
>    META: All meta-packages updated successfully!
>     PBI: All PBIs updated successfully!
>    GRUB: The GRUB boot-loader menus re-built successfully!
>
> Old system information: 
> /root/pcbsd-pkg-before-update
> /root/pcbsd-pbi-before-update
> /root/pcbsd-meta-before-update
>
> This summary location: /root/pcbsd-update-summary
>
>
>
>
> Despite the above, I have another prod server on TrueOS 10.0!  Tnx so much
> everybody for all the hard work!
>
> --
>  Randy    (schulra at earlham.edu)      765.983.1283         <*>
>
> Hatred does not cease by hatred, but only by love; this is the eternal rule.
>      - Siddhartha Gautama
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Fantastic! Glad this method seems to be working so well. I'll check into
cleaning up those warnings from etcmerge though.


-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list