Unstable update 2018-01-30 problems


#1

There is a pending update which shows as:

12.0.s20171230173033 -> 12.0.s20180126212956 [trueos-base]

The update fails with the error:

pkg-static: http://pkg.cdn.trueos.org/unstable/amd64/All/pkg-1.10.1.txz: Not Found

Which is strange because pkg is already at 1.10.4 and examining the cdn there is only pkg-1.10.4

Did I just catch the update in the middle of a cdn sync?


#2

Which update interface did You use, and what did You exactly do?


#3

clicked the message reboot to install updates, which opens update manager
checked the package updates and view details, the click download and prepare updates


#4

Maybe, You could try to open the SysAdm:Update Manager again,
and then click the check-for-updates button.

Does there come up anything regarding pkg and its (new) version number? What do You get?


#5

Just has the message below followed by packages to be updated:

Boot-strapping updater...OK
Updating trueos-base repository catalogue...
trueos-base repository is up to date.
    Updating trueos-major repository catalogue...
    trueos-major repository is up to date.
    All repositories are up to date.
    Updating trueos-base repository catalogue...
    trueos-base repository is up to date.
    Updating trueos-major repository catalogue...
    trueos-major repository is up to date.
    All repositories are up to date.
    Checking for upgrades (1639 candidates): .......... done
    Processing candidates (1639 candidates): ..... done
    The following 798 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	FreeBSD-libregex: 12.0.s20180126212956 [trueos-base]

Edit to add:
all packages are trueos-base, nothing from trueos-major


#6

2 remarks:

a.
On STABLE, the pkg-version is still
% pkg info pkg | grep '^pkg’
pkg-1.10.1

Maybe, You switched from UNSTABLE to STABLE, unintentionally.

b.
Where did You get the output You posted? Looks like command line, and not like Update Manager.


#7

Just cut/paste from updater UI view details text box which seems to be pc-updatemanager pkgcheck output (I just tried in a shell.


#8

In AppCafe, You can search for pkg. What shows up there?


#9

pkg-1.10.1

I tried searching a couple of other packages that were updated recently and these show older version

(pkg search on another machine which does seem to be doing it update correctly shows new versions)

It is like the trueos-master on the failed-to-update machine has is not up to date

Edit to add:

perhaps the system lockup this morning and subsequent hard reset corrupted the pkg database


#10

Might be.

I checked all the info You gave, and Your thoughts and hypotheses agree with mine.

a. I think, the package database can be rebuilt but never had to do it myself.

b. Next time Your machine locks up, wait some minutes till the caches are written to disk. Just to be sure. Some weeks ago, I knew how long to wait. But I forgot. Have to look it up again. Don’t remember exactly, where.

Your words give me hope, that You will figure it out by Yourself. Good Luck!


#11

Thanks for your help.

Unfortunately I seem to be the only one with this zfs lock up (I have a thread on discourse about it) and tried on IRC but nothing so far.

I will wait for the other machine to finish updating then try copying databases from it and if all that fails I will try update again from earlier boot environment. The update speed on the other machine is slow so it will probably be some time before I can try.


#12

Regarding the next lock-up:
Have a Secure Shell connection prepared, if You have not already.

But I’m sure You already knew this. Sorry for boring You. Bye.


#13

zfs lockup (the zilog one?) I’ve had one or two, but when I had them, I had either a dbus or dconf process that woundup spinning at 100% CPU. I renamed the dbus-launch and dconf executables so they don’t run and have not seen the problem again.
My trigger seemed to be starting/running firefox (latest version in packages), exiting and then running gnucash.


Process hang in state "zilog->zl_writer_lock" on Unstable
#14

I feel that corebird triggers it, especially if I try to show a video (which fails because of some gstreamer/ffmpeg bug). Hence trying to update as there was a newer ffmpeg and getting more problems :frowning:


#15

Understood. I think you simply tried to hit the servers before they were actually updated, or before the ones closest to you got updated.
I typically wait a day or two after seeing the message before actually doing the update.


#16

We just started pushing the next round of UNSTABLE updates to the CDN yesterday afternoon, so you might want to hold off on updates for 24-48 hours while the CDN syncs.


#17

I think what happened was that the update was partially done when the system locked. So when I rebooted I had a partially updated system the mater sqlite was much older than the base. I copied the trueos repo sqlite files from the second successfully system and let the updater run again. I will try this latest update and see what happens (I can always revert back to the December boot env and retry)

EDIT:
it failed, so retry on earlier 2018-01-10 env (this has older pkg1.10.1) so should be prior to any broken updates

success after reverting and doing update again - boot environments :+1:


#18

For the last 2 to 3 weeks my system has indicated that it needed an update. It is set to run the updates automatically but not to reboot until I say. I use this system for work so don’t want it to reboot on it’s own. I reboot (shutdown) once a day.

[user@BFOREST-VM] ~> beadm list
BE                              Active Mountpoint  Space Created
initial                         -      -            3.4G 2017-02-03 16:07
12.0-CURRENT-up-20171018_170852 -      -            5.5G 2017-10-18 21:07
12.0-CURRENT-up-20171214_150305 NR     /           18.3G 2017-12-14 14:55

Is there some log showing update history? The only files I know about related to the updates are:
[user@BFOREST-VM] ~> ls -lnh /var/log/pc-*
-rw-r–r-- 1 0 0 681B Feb 3 2017 /var/log/pc-firstbootwiz
-rw-r–r-- 1 0 0 12K Feb 1 14:08 /var/log/pc-updatemanager.log
-rw-r–r-- 1 0 0 12K Feb 1 14:03 /var/log/pc-updatemanager.log.prev

[user@BFOREST-VM] ~> cmp /var/log/pc-updatemanager.log /var/log/pc-updatemanager.log.prev
/var/log/pc-updatemanager.log /var/log/pc-updatemanager.log.prev differ: char 19, line 1

[user@BFOREST-VM] ~> head -n 1 /var/log/pc-updatemanager.log.prev
pc-updatemanager: Wed Jan 31 14:42:25 UTC 2018

Here is the contents:
[user@BFOREST-VM] ~> cat /var/log/pc-updatemanager.log
pc-updatemanager: Thu Feb 1 14:03:37 UTC 2018
Updating the package repo database…
Cleaning old pkg upgrade cache…
Verifying / fetching packages for ports-mgmt/pkg - pkg-1.10.1.txz
Verifying / fetching packages for misc/trueos-desktop - trueos-desktop-201712111405.txz
Determining package name for: archivers/zip
Verifying / fetching packages for archivers/zip - zip-3.0_1.txz
Determining package name for: converters/libiconv
Verifying / fetching packages for converters/libiconv - libiconv-1.14_11.txz
Determining package name for: converters/p5-JSON-XS
Verifying / fetching packages for converters/p5-JSON-XS - p5-JSON-XS-3.04.txz
Determining package name for: databases/adminer
Verifying / fetching packages for databases/adminer - adminer-4.3.1.txz
Determining package name for: databases/mysql56-server
Verifying / fetching packages for databases/mysql56-server - mysql56-server-5.6.38.txz
Determining package name for: databases/php56-pdo_pgsql
Verifying / fetching packages for databases/php56-pdo_pgsql - php56-pdo_pgsql-5.6.32.txz
Determining package name for: databases/php56-pgsql
Verifying / fetching packages for databases/php56-pgsql - php56-pgsql-5.6.32.txz
Determining package name for: databases/phpmyadmin
Verifying / fetching packages for databases/phpmyadmin - phpMyAdmin-4.7.5.txz
Determining package name for: databases/xapian-core
Verifying / fetching packages for databases/xapian-core - xapian-core-1.4.5,1.txz
Determining package name for: devel/automake
Verifying / fetching packages for devel/automake - automake-1.15.1.txz
Determining package name for: devel/bison
Verifying / fetching packages for devel/bison - bison-3.0.4,1.txz
Determining package name for: devel/boost-libs
Verifying / fetching packages for devel/boost-libs - boost-libs-1.65.1_1.txz
Determining package name for: devel/cmake
Verifying / fetching packages for devel/cmake - cmake-3.9.6.txz
Determining package name for: devel/gmake
Verifying / fetching packages for devel/gmake - gmake-4.2.1_1.txz
Determining package name for: devel/libdevq
Verifying / fetching packages for devel/libdevq - libdevq-0.0.4.txz
Determining package name for: devel/libical
Verifying / fetching packages for devel/libical - libical-2.0.0_2.txz
Determining package name for: devel/libtool
Verifying / fetching packages for devel/libtool - libtool-2.4.6.txz
Determining package name for: devel/llvm39
Verifying / fetching packages for devel/llvm39 - llvm39-3.9.1_7.txz
Determining package name for: devel/p5-File-BaseDir
Verifying / fetching packages for devel/p5-File-BaseDir - p5-File-BaseDir-0.07.txz
Determining package name for: devel/p5-File-Copy-Recursive
Verifying / fetching packages for devel/p5-File-Copy-Recursive - p5-File-Copy-Recursive-0.38_1.txz
Determining package name for: devel/p5-File-Spec-Native
Verifying / fetching packages for devel/p5-File-Spec-Native - p5-File-Spec-Native-1.004.txz
Determining package name for: devel/p5-Goo-Canvas
Verifying / fetching packages for devel/p5-Goo-Canvas - p5-Goo-Canvas-0.06_7.txz
Determining package name for: devel/p5-Net-DBus
Verifying / fetching packages for devel/p5-Net-DBus - p5-Net-DBus-1.1.0_1.txz
Determining package name for: devel/p5-Path-Class
Verifying / fetching packages for devel/p5-Path-Class - p5-Path-Class-0.37.txz
Determining package name for: devel/p5-Proc-ProcessTable
Verifying / fetching packages for devel/p5-Proc-ProcessTable - p5-Proc-ProcessTable-0.53.txz
Determining package name for: devel/p5-Proc-Simple
Verifying / fetching packages for devel/p5-Proc-Simple - p5-Proc-Simple-1.31_1.txz
Determining package name for: devel/p5-Test-WWW-Selenium
Verifying / fetching packages for devel/p5-Test-WWW-Selenium - p5-Test-WWW-Selenium-1.36_1.txz
Determining package name for: devel/py-qt4-dbussupport
Verifying / fetching packages for devel/py-qt4-dbussupport - py27-qt4-dbussupport-4.12_1.txz
Determining package name for: editors/libreoffice
Verifying / fetching packages for editors/libreoffice - libreoffice-5.3.7_2.txz
Determining package name for: emulators/playonbsd
Verifying / fetching packages for emulators/playonbsd - playonbsd-4.2.10_1.txz
Determining package name for: emulators/virtualbox-ose-additions
Verifying / fetching packages for emulators/virtualbox-ose-additions - virtualbox-ose-additions-5.2.0_1.txz
Determining package name for: games/bsdgames
Verifying / fetching packages for games/bsdgames - bsdgames-4.8.1,1.txz
Determining package name for: graphics/djvulibre
Verifying / fetching packages for graphics/djvulibre - djvulibre-3.5.27_1.txz
Determining package name for: graphics/libkexiv2-kde4
Verifying / fetching packages for graphics/libkexiv2-kde4 - libkexiv2-4.14.3_4.txz
Determining package name for: graphics/libkscreen
Verifying / fetching packages for graphics/libkscreen - libkscreen-1.0.5_3.txz
Determining package name for: graphics/okular
Verifying / fetching packages for graphics/okular - okular-4.14.3_8.txz
Determining package name for: graphics/phototonic
Verifying / fetching packages for graphics/phototonic - phototonic-1.7.20_1.txz
Determining package name for: graphics/prison
Verifying / fetching packages for graphics/prison - prison-1.1.1_1.txz
Determining package name for: java/java-zoneinfo
Verifying / fetching packages for java/java-zoneinfo - java-zoneinfo-2017.c.txz
Determining package name for: mail/thunderbird
Verifying / fetching packages for mail/thunderbird - thunderbird-52.5.0.txz
Determining package name for: misc/chmlib
Verifying / fetching packages for misc/chmlib - chmlib-0.40_1.txz
Determining package name for: misc/figlet-fonts
Verifying / fetching packages for misc/figlet-fonts - figlet-fonts-20121202.txz
Determining package name for: misc/help2man
Verifying / fetching packages for misc/help2man - help2man-1.47.5.txz
Determining package name for: misc/trueos-meta-hunspell
Verifying / fetching packages for misc/trueos-meta-hunspell - trueos-meta-hunspell-20160701,1.txz
Determining package name for: multimedia/openh264
Verifying / fetching packages for multimedia/openh264 - openh264-1.7.0,2.txz
Determining package name for: multimedia/vlc
Verifying / fetching packages for multimedia/vlc - vlc-2.2.6_2,4.txz
Determining package name for: net/p5-Net-Dropbox-API
Verifying / fetching packages for net/p5-Net-Dropbox-API - p5-Net-Dropbox-API-1.9_1.txz
Determining package name for: net/rdesktop
Verifying / fetching packages for net/rdesktop - rdesktop-1.8.3.txz
Determining package name for: ports-mgmt/dialog4ports
Verifying / fetching packages for ports-mgmt/dialog4ports - dialog4ports-0.1.6.txz
Determining package name for: print/cups-pdf
Verifying / fetching packages for print/cups-pdf - cups-pdf-2.6.1_4.txz
Determining package name for: print/hplip
Verifying / fetching packages for print/hplip - hplip-3.17.9.txz
Determining package name for: print/libspectre
Verifying / fetching packages for print/libspectre - libspectre-0.2.8.txz
Determining package name for: print/texinfo
Verifying / fetching packages for print/texinfo - texinfo-6.5,1.txz
Determining package name for: security/cyrus-sasl2
Verifying / fetching packages for security/cyrus-sasl2 - cyrus-sasl-2.1.26_12.txz
Determining package name for: security/gorilla
Verifying / fetching packages for security/gorilla - gorilla-1.5.3.6.txz
Determining package name for: security/gpgme
Verifying / fetching packages for security/gpgme - gpgme-1.9.0_1.txz
Determining package name for: sysutils/disktype
Verifying / fetching packages for sysutils/disktype - disktype-9.txz
Determining package name for: sysutils/fusefs-ntfs
Verifying / fetching packages for sysutils/fusefs-ntfs - fusefs-ntfs-2017.3.23.txz
Determining package name for: sysutils/kfilemetadata
Verifying / fetching packages for sysutils/kfilemetadata - kfilemetadata-4.14.3_13.txz
Determining package name for: sysutils/p5-File-Which
Verifying / fetching packages for sysutils/p5-File-Which - p5-File-Which-1.22.txz
Determining package name for: sysutils/pc-diskmanager
Verifying / fetching packages for sysutils/pc-diskmanager - pc-diskmanager-201710171153.txz
Determining package name for: sysutils/tkdvd
Verifying / fetching packages for sysutils/tkdvd - tkdvd-4.0.9_3.txz
Determining package name for: textproc/p5-Sort-Naturally
Verifying / fetching packages for textproc/p5-Sort-Naturally - p5-Sort-Naturally-1.03_1.txz
Determining package name for: textproc/p5-XML-Simple
Verifying / fetching packages for textproc/p5-XML-Simple - p5-XML-Simple-2.24.txz
Determining package name for: textproc/py-sphinx
Verifying / fetching packages for textproc/py-sphinx - py27-sphinx-1.4.8_2,1.txz
Determining package name for: www/chromium
Verifying / fetching packages for www/chromium - chromium-61.0.3163.100_3.txz
Determining package name for: www/firefox
Verifying / fetching packages for www/firefox - firefox-57.0.1,1.txz
Determining package name for: www/geckodriver
Verifying / fetching packages for www/geckodriver - geckodriver-0.19.0.txz
Determining package name for: www/libxul
Verifying / fetching packages for www/libxul - libxul-45.9.0_9.txz
Determining package name for: www/nginx
Verifying / fetching packages for www/nginx - nginx-1.12.2_1,2.txz
Determining package name for: www/opera
Verifying / fetching packages for www/opera - opera-12.16_6.txz
Determining package name for: www/p5-Selenium-Remote-Driver
Verifying / fetching packages for www/p5-Selenium-Remote-Driver - p5-Selenium-Remote-Driver-1.20.txz
Determining package name for: www/p5-WWW-Mechanize
Verifying / fetching packages for www/p5-WWW-Mechanize - p5-WWW-Mechanize-1.86.txz
Determining package name for: www/py-requests
Verifying / fetching packages for www/py-requests - py27-requests-2.18.1_1.txz
Determining package name for: www/py-selenium
Verifying / fetching packages for www/py-selenium - py27-selenium-3.7.0.txz
Determining package name for: www/selenium
Verifying / fetching packages for www/selenium - selenium-3.5.3.txz
Determining package name for: x11-drivers/xf86-video-mach64
Verifying / fetching packages for x11-drivers/xf86-video-mach64 - xf86-video-mach64-6.9.5_2.txz
Determining package name for: x11-drivers/xf86-video-openchrome
Verifying / fetching packages for x11-drivers/xf86-video-openchrome - xf86-video-openchrome-0.6.0_1.txz
Determining package name for: x11-fm/thunar
Verifying / fetching packages for x11-fm/thunar - Thunar-1.6.13.txz
Determining package name for: x11-fonts/noto-lite
Verifying / fetching packages for x11-fonts/noto-lite - noto-lite-1.0.5.txz
Determining package name for: x11-servers/xorg-vfbserver
Verifying / fetching packages for x11-servers/xorg-vfbserver - xorg-vfbserver-1.19.1_6,1.txz
Determining package name for: x11-themes/cursor-jimmac-theme
Verifying / fetching packages for x11-themes/cursor-jimmac-theme - cursor-jimmac-theme-0.1_3.txz
Determining package name for: x11-toolkits/p5-Gnome2
Verifying / fetching packages for x11-toolkits/p5-Gnome2 - p5-Gnome2-1.047.txz
Determining package name for: x11-toolkits/p5-Gnome2-Wnck
Verifying / fetching packages for x11-toolkits/p5-Gnome2-Wnck - p5-Gnome2-Wnck-0.16.txz
Determining package name for: x11-toolkits/p5-Gtk2-ImageView
Verifying / fetching packages for x11-toolkits/p5-Gtk2-ImageView - p5-Gtk2-ImageView-0.05_7.txz
Determining package name for: x11-toolkits/p5-Gtk2-Unique
Verifying / fetching packages for x11-toolkits/p5-Gtk2-Unique - p5-Gtk2-Unique-0.05.txz
Determining package name for: x11-toolkits/py-qt4-gui
Verifying / fetching packages for x11-toolkits/py-qt4-gui - py27-qt4-gui-4.12,1.txz
Determining package name for: x11-toolkits/termit
Verifying / fetching packages for x11-toolkits/termit - termit-3.0_1.txz
Determining package name for: x11/libxkbui
Verifying / fetching packages for x11/libxkbui - libxkbui-1.0.2_4.txz
Determining package name for: x11/p5-X11-Protocol
Verifying / fetching packages for x11/p5-X11-Protocol - p5-X11-Protocol-0.56_1.txz
Determining package name for: x11/qimageblitz
Verifying / fetching packages for x11/qimageblitz - qimageblitz-0.0.6_2.txz
Determining package name for: x11/qterminal
Verifying / fetching packages for x11/qterminal - qterminal-0.8.0.txz
Determining package name for: x11/xterm
Verifying / fetching packages for x11/xterm - xterm-330.txz
Verifying / fetching packages for FreeBSD Base
-----------------------------------------------
Your update is staged and ready to install.
To reboot and begin the update run # pc-updatemanager startupdate


#19

Hello all…

This is post 19 in thread. Please see post 18 for all my update attempt details.

I tried reverting to the 12.0-CURRENT-up-20171018_170852 boot environment. It only listed a patch update. When I applied it and rebooted, it also failed to update.

Not sure what to do here to move forward and stop these daily failing updates.

Please help!
Thanks!


#20

what is your issue with updating?

edit:

you do realize updates takes 2 reboots at this time