Created
December 22, 2024 18:30
-
-
Save grahamperrin/9f607f69acf8705be55fd165489ca192 to your computer and use it in GitHub Desktop.
2024-12-22 FreeBSD pkgbase upgrade from 14.2-RELEASE to 15.0-CURRENT, part two
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Sun Dec 22 07:30:24 2024 | |
You have mail. | |
root@fourteen-pkgbase:~ # echo $SHELL | |
/bin/tcsh | |
root@fourteen-pkgbase:~ # date ; uptime | |
Sun Dec 22 07:30:30 GMT 2024 | |
7:30AM up 6 mins, 2 users, load averages: 0.21, 0.12, 0.05 | |
root@fourteen-pkgbase:~ # echo $EDITOR | |
vi | |
root@fourteen-pkgbase:~ # grep nano /etc/csh.cshrc | |
setenv EDITOR /usr/local/bin/nano | |
setenv VISUAL /usr/local/bin/nano | |
root@fourteen-pkgbase:~ # less /root/.profile | |
… | |
root@fourteen-pkgbase:~ # less /root/.cshrc | |
… | |
root@fourteen-pkgbase:~ # nano ~/.cshrc | |
… | |
root@fourteen-pkgbase:~ # grep nano /root/.cshrc | |
setenv EDITOR /usr/local/bin/nano | |
setenv VISUAL /usr/local/bin/nano | |
root@fourteen-pkgbase:~ # less /etc/profile | |
… | |
root@fourteen-pkgbase:~ # less /root/.profile | |
… | |
root@fourteen-pkgbase:~ # grep grahamperrin /etc/group | |
root@fourteen-pkgbase:~ # grep grahamperrin /etc/group.pkgsave | |
root@fourteen-pkgbase:~ # file /home/grahamperrin | |
/home/grahamperrin: directory | |
root@fourteen-pkgbase:~ # pkg bootstrap -f | |
The package management tool is not yet installed on your system. | |
Do you want to fetch and install it now? [y/N]: y | |
Bootstrapping pkg from pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest, please wait... | |
pkg: Attempted to fetch https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/Latest/pkg.pkg | |
pkg: Attempted to fetch https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/Latest/pkg.txz | |
pkg: Error: Not Found | |
A pre-built version of pkg could not be found for your system. | |
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. | |
root@fourteen-pkgbase:~ # pkg bootstrap -f -r FreeBSD-port | |
The package management tool is not yet installed on your system. | |
Do you want to fetch and install it now? [y/N]: y | |
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest, please wait... | |
Installing pkg-1.21.3... | |
package pkg is already installed, forced install | |
Extracting pkg-1.21.3: 0% | |
Extracting pkg-1.21.3: 0% | |
Extracting pkg-1.21.3: 1% | |
Extracting pkg-1.21.3: 2% | |
… | |
Extracting pkg-1.21.3: 98% | |
Extracting pkg-1.21.3: 100% | |
root@fourteen-pkgbase:~ # time pkg upgrade -Fqy -r FreeBSD-ports | |
pkg: Repository FreeBSD-ports has a wrong packagesite, need to re-create database | |
The provides database is up-to-date. | |
146.036u 44.464s 17:04.09 18.6% 3202+239k 719+44811io 2751pf+0w | |
root@fourteen-pkgbase:~ # bectl list -c creation | |
BE Active Mountpoint Space Created | |
original - - 458M 2024-07-10 02:29 | |
fourteen-pkgbase - - 8.81G 2024-07-10 02:46 | |
kde6 - - 8.17G 2024-07-21 15:45 | |
14.2r - /tmp/down 812K 2024-11-23 07:53 | |
14.2r-20241215-1011 - - 1.04G 2024-12-15 09:13 | |
15 - - 12.7G 2024-12-21 21:08 | |
fifteen NR / 31.9G 2024-12-22 05:27 | |
root@fourteen-pkgbase:~ # grep grahamperrin /tmp/down/etc/group | |
wheel:*:0:root,grahamperrin | |
operator:*:5:root,grahamperrin | |
video:*:44:grahamperrin | |
grahamperrin:*:1001: | |
root@fourteen-pkgbase:~ # grep grahamperrin /tmp/down/etc/group.pkgsave | |
root@fourteen-pkgbase:~ # cp /tmp/down/etc/group /etc/group | |
root@fourteen-pkgbase:~ # cp /tmp/down/etc/master.passwd /etc/master.passwd | |
root@fourteen-pkgbase:~ # pwd_mkdb -p /etc/master.passwd | |
root@fourteen-pkgbase:~ # grep grahamperrin /etc/group | |
wheel:*:0:root,grahamperrin | |
operator:*:5:root,grahamperrin | |
video:*:44:grahamperrin | |
grahamperrin:*:1001: | |
root@fourteen-pkgbase:~ # less /etc/master.passwd | |
… | |
root@fourteen-pkgbase:~ # bectl umount 14.2r | |
root@fourteen-pkgbase:~ # sh | |
# time find / -name \*.pkgsave -type f -delete | |
325.15 real 3.02 user 15.94 sys | |
# exit | |
root@fourteen-pkgbase:~ # time pkg upgrade -qUy -r FreeBSD-ports | |
===> Creating groups | |
Using existing group 'messagebus' | |
===> Creating users | |
Using existing user 'messagebus' | |
===> Creating groups | |
Using existing group 'polkitd' | |
===> Creating users | |
Using existing user 'polkitd' | |
===> Creating groups | |
Using existing group 'avahi' | |
===> Creating users | |
Using existing user 'avahi' | |
Building cache database of MIME types | |
===> Creating groups | |
Using existing group 'colord' | |
===> Creating users | |
Using existing user 'colord' | |
+ Removing /usr/local/share/sgml/catalog. It is empty. | |
+ Removing /usr/local/share/xml/catalog. It is empty. | |
+ Creating /usr/local/share/sgml/catalog | |
+ Registering CATALOG catalog.ports (SGML) | |
+ Creating /usr/local/share/xml/catalog | |
+ Registering nextCatalog catalog.ports (XML) | |
===> Creating groups | |
Using existing group 'cups' | |
===> Creating users | |
Using existing user 'cups' | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/xmlcharent/catalog' of type `CATALOG' | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/xmlcharent/catalog.xml' of type `nextCatalog' | |
pkg: POST-INSTALL script failed | |
===> Creating groups | |
Using existing group 'pulse' | |
Using existing group 'pulse-access' | |
Using existing group 'pulse-rt' | |
===> Creating users | |
Using existing user 'pulse' | |
xmlcatmgr: entry already exists for `/usr/local/share/sgml/iso8879/catalog' of type `CATALOG' | |
pkg: POST-INSTALL script failed | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/sdocbook/1.1/dtd/catalog' of type `CATALOG' | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/sdocbook/1.1/dtd/catalog.xml' of type `nextCatalog' | |
pkg: POST-INSTALL script failed | |
xmlcatmgr: entry already exists for `/usr/local/share/sgml/docbook/catalog' of type `CATALOG' | |
pkg: POST-INSTALL script failed | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/catalog.xml' of type `nextCatalog' | |
xmlcatmgr: entry already exists for `/usr/local/share/xml/docbook/catalog' of type `CATALOG' | |
pkg: POST-INSTALL script failed | |
xmlcatmgr: entry already exists for `/usr/local/share/xsl/docbook/catalog.xml' of type `nextCatalog' | |
pkg: POST-INSTALL script failed | |
*** Updated user `cyrus'. | |
===> Creating groups | |
Using existing group 'mysql' | |
===> Creating users | |
Using existing user 'mysql' | |
===> Creating homedir(s) | |
===> Creating groups | |
Using existing group 'avahi' | |
===> Creating users | |
Using existing user 'avahi' | |
===> Creating groups | |
Using existing group 'saned' | |
===> Creating users | |
Using existing user 'saned' | |
===> Creating groups | |
Using existing group 'webcamd' | |
===> Creating users | |
Using existing user 'webcamd' | |
===> Creating groups | |
Using existing group 'gdm' | |
Using existing group 'video' | |
===> Creating users | |
Using existing user 'gdm' | |
===> Creating homedir(s) | |
===> Creating groups | |
Using existing group '_tor' | |
===> Creating users | |
Using existing user '_tor' | |
===> Creating homedir(s) | |
===> Creating groups | |
Using existing group '_sndio' | |
===> Creating users | |
Using existing user '_sndio' | |
===> Creating groups | |
Using existing group 'git_daemon' | |
===> Creating users | |
Using existing user 'git_daemon' | |
===> Creating groups | |
Using existing group 'sddm' | |
===> Creating users | |
Using existing user 'sddm' | |
===> Creating homedir(s) | |
Generating GIO modules cache | |
Generating gdk-pixbuf modules cache | |
Generating GTK icon cache for /usr/local/share/icons/hicolor | |
Generating GTK icon cache for /usr/local/share/icons/breeze_cursors | |
Generating GTK icon cache for /usr/local/share/icons/oxygen | |
Generating GTK icon cache for /usr/local/share/icons/HighContrast | |
Generating GTK icon cache for /usr/local/share/icons/breeze-dark | |
Generating GTK icon cache for /usr/local/share/icons/breeze | |
Generating GTK icon cache for /usr/local/share/icons/gnome | |
Generating GTK icon cache for /usr/local/share/icons/Oxygen_Blue | |
Generating GTK icon cache for /usr/local/share/icons/whiteglass | |
Generating GTK icon cache for /usr/local/share/icons/Adwaita | |
Generating GTK icon cache for /usr/local/share/icons/Breeze_Snow | |
Generating GTK icon cache for /usr/local/share/icons/Oxygen_White | |
Generating GTK icon cache for /usr/local/share/icons/handhelds | |
Generating GTK icon cache for /usr/local/share/icons/KDE_Classic | |
Generating GTK icon cache for /usr/local/share/icons/Oxygen_Zion | |
Generating GTK icon cache for /usr/local/share/icons/Oxygen_Black | |
Generating GTK icon cache for /usr/local/share/icons/Oxygen_Yellow | |
Generating GTK icon cache for /usr/local/share/icons/redglass | |
Building cache database of MIME types | |
Building the Shared MIME-Info database cache | |
Running fc-cache to build fontconfig cache... | |
Compiling glib schemas | |
Warning: Schema “org.freedesktop.ibus” has path “/desktop/ibus/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.freedesktop.ibus.general” has path “/desktop/ibus/general/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.freedesktop.ibus.general.hotkey” has path “/desktop/ibus/general/hotkey/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.freedesktop.ibus.panel” has path “/desktop/ibus/panel/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.freedesktop.ibus.panel.emoji” has path “/desktop/ibus/panel/emoji/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.seahorse” has path “/apps/seahorse/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.seahorse.manager” has path “/apps/seahorse/listing/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.seahorse.recipients” has path “/apps/seahorse/recipients/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”. Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. | |
===== | |
Message from duktape-lib-2.7.0: | |
-- | |
===> NOTICE: | |
The duktape-lib port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from iso8879-1986_3: | |
-- | |
===> NOTICE: | |
The iso8879 port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from alsa-plugins-1.2.12_1: | |
-- | |
===> NOTICE: | |
The alsa-plugins port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from groff-1.23.0_4: | |
-- | |
===> NOTICE: | |
The groff port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from mysql80-server-8.0.39_1: | |
-- | |
As of MySQL 8.0.16, the MySQL server performs the upgrade tasks previously | |
handled by mysql_upgrade. Consequently, mysql_upgrade is unneeded and is | |
deprecated as of that version, and will be removed in a future MySQL version. | |
Because mysql_upgrade no longer performs upgrade tasks, | |
it exits with status 0 unconditionally. | |
===== | |
Message from pcre-8.45_4: | |
-- | |
===> NOTICE: | |
This port is deprecated; you may wish to reconsider installing it: | |
EOLed by upstream, use devel/pcre2 instead. | |
===== | |
Message from gamin-0.1.10_10: | |
-- | |
===> NOTICE: | |
The gamin port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from gsm-1.0.22_1: | |
-- | |
===> NOTICE: | |
The gsm port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from db5-5.3.28_9: | |
-- | |
===> NOTICE: | |
The db5 port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
-- | |
===> NOTICE: | |
This port is deprecated; you may wish to reconsider installing it: | |
EOLd, potential security issues, maybe use db18 instead. | |
It is scheduled to be removed on or after 2022-06-30. | |
===== | |
Message from webcamd-5.17.1.2_2: | |
-- | |
===> NOTICE: | |
The webcamd port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from swhplugins-0.4.17: | |
-- | |
===> NOTICE: | |
The swhplugins port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from dvdauthor-0.7.2.20211105_4: | |
-- | |
===> NOTICE: | |
The dvdauthor port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from dvd+rw-tools-7.1_4: | |
-- | |
===> NOTICE: | |
The dvd+rw-tools port currently does not have a maintainer. As a result, it is | |
more likely to have unresolved issues, not be up-to-date, or even be removed in | |
the future. To volunteer to maintain this port, please create an issue at: | |
https://bugs.freebsd.org/bugzilla | |
More information about port maintainership is available at: | |
https://docs.freebsd.org/en/articles/contributing/#ports-contributing | |
===== | |
Message from linux_base-c7-7.9.2009_3: | |
-- | |
===> NOTICE: | |
This port is deprecated; you may wish to reconsider installing it: | |
CentOS Linux 7 reached end of life (EOL) on June 30, 2024. | |
===== | |
Message from pkg-provides-0.7.4: | |
-- | |
To update the provides database run `pkg provides -u`. | |
You may need to manually remove /usr/local/etc/gitup.conf if it is no longer needed. | |
You may need to manually remove /usr/local/etc/poudriere.conf if it is no longer needed. | |
164.095u 93.876s 10:23.76 41.3% 1855+219k 28981+1182463io 32677pf+0w | |
root@fourteen-pkgbase:~ # tail -n 2 /var/log/messages | |
Dec 22 09:25:45 fourteen-pkgbase pkg[5538]: wcurl reinstalled: 2024.12.08 -> 2024.12.08 | |
Dec 22 09:25:45 fourteen-pkgbase pkg[5538]: xorg reinstalled: 7.7_3 -> 7.7_3 | |
root@fourteen-pkgbase:~ # grep 5538 /var/log/messages | wc -l | |
1220 | |
root@fourteen-pkgbase:~ # freebsd-version -kru | |
15.0-CURRENT | |
15.0-CURRENT | |
15.0-CURRENT | |
root@fourteen-pkgbase:~ # uname -aKU | |
FreeBSD fourteen-pkgbase 15.0-CURRENT FreeBSD 15.0-CURRENT main-n274407-7d1d9cc440f8 GENERIC-NODEBUG amd64 1500029 1500029 | |
root@fourteen-pkgbase:~ # du -hs /var/db/freebsd-update | |
356M /var/db/freebsd-update | |
root@fourteen-pkgbase:~ # rm -r /var/db/freebsd-update/* | |
root@fourteen-pkgbase:~ # du -hs /var/cache/pkg | |
3.9G /var/cache/pkg | |
root@fourteen-pkgbase:~ # rm -r /var/cache/pkg/* | |
root@fourteen-pkgbase:~ # pwd | |
/root | |
root@fourteen-pkgbase:~ # file typescript | |
typescript: Unicode text, UTF-8 text, with very long lines (1078), with CRLF, CR, LF line terminators, with escape sequences, with overstriking | |
root@fourteen-pkgbase:~ # head -n 5 typescript | |
Script started on Sun Dec 22 07:30:24 2024 | |
You have mail. | |
root@fourteen-pkgbase:~ # echo $SHELL | |
/bin/tcsh | |
root@fourteen-pkgbase:~ # date ; uptime | |
root@fourteen-pkgbase:~ # mv typescript 2024-12-22_0730-mac-typescript.txt | |
root@fourteen-pkgbase:~ # exit | |
exit | |
Script done on Sun Dec 22 09:35:42 2024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment