Update failed from 1300509

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Update failed from 1300509

Post by grahamperrin »

A failure whilst using Update Station.

Should I open an issue in GitHub?

Or simply restart the OS then retry?

Code: Select all

grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % tail /var/log/messages
Oct 19 06:17:47 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libssh2 reinstalled: 1.9.0_3,3 -> 1.9.0_3,3 
Oct 19 06:17:49 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libsoup reinstalled: 2.74.0 -> 2.74.0 
Oct 19 06:17:50 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libnotify reinstalled: 0.7.9_1 -> 0.7.9_1 
Oct 19 06:17:51 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libnghttp2 upgraded: 1.44.0 -> 1.45.1 
Oct 19 06:17:51 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libdvdnav reinstalled: 6.1.1 -> 6.1.1 
Oct 19 06:17:54 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libdca reinstalled: 0.0.7 -> 0.0.7 
Oct 19 06:17:54 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: liba52 reinstalled: 0.7.4_3 -> 0.7.4_3 
Oct 19 06:17:54 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: libGLU reinstalled: 9.0.2_1 -> 9.0.2_1 
Oct 19 06:18:49 mowa219-gjp4-ghostbsd-13-vm pkg[8317]: kf5-kxmlgui upgraded: 5.86.0 -> 5.87.0 
Oct 19 06:19:56 mowa219-gjp4-ghostbsd-13-vm kernel: pid 11660 (pkg), jid 0, uid 0: exited on signal 6 (core dumped)
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % 
At the tail of update.txt, does the line for 262 of 817 help in this case?

Code: Select all

… [261/817] Upgrading kf5-kxmlgui from 5.86.0 to 5.87.0...
[261/817] Extracting kf5-kxmlgui-5.87.0: .......... done
[262/817] Upgrading kf5-knotifications from 5.86.0 to 5.87.0...
Additional information

Code: Select all

grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % freebsd-version -kru
13.0-STABLE
13.0-STABLE
13.0-STABLE
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % bectl list -c creation
BE                      Active Mountpoint Space Created
default                 -      -          19.3G 2021-05-01 04:46
1300509                 -      -          98.8M 2021-06-13 11:36
1300509-dual            NR     /          29.1G 2021-09-12 12:33
backup-2021-10-19-01-12 -      -          148M  2021-10-19 01:12
backup-2021-10-19-05-42 -      -          1.46G 2021-10-19 05:42
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % uname -aKU
FreeBSD mowa219-gjp4-ghostbsd-13-vm 13.0-STABLE FreeBSD 13.0-STABLE GENERIC  amd64 1300509 1300509
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % df -h
Filesystem                 Size    Used   Avail Capacity  Mounted on
april/ROOT/1300509-dual    949G     12G    937G     1%    /
devfs                      1.0K    1.0K      0B   100%    /dev
procfs                     4.0K    4.0K      0B   100%    /proc
linprocfs                  4.0K    4.0K      0B   100%    /compat/linux/proc
tmpfs                      8.2G    4.0K    8.2G     0%    /compat/linux/dev/shm
linsysfs                   4.0K    4.0K      0B   100%    /compat/linux/sys
fdescfs                    1.0K    1.0K      0B   100%    /dev/fd
april/tmp                  937G    1.4M    937G     0%    /tmp
april/var/mail             937G    184K    937G     0%    /var/mail
april/var/audit            937G     96K    937G     0%    /var/audit
april/var/crash            937G    141M    937G     0%    /var/crash
april/usr/ports            937G     96K    937G     0%    /usr/ports
april/usr/src              937G     96K    937G     0%    /usr/src
april/var/tmp              937G     96K    937G     0%    /var/tmp
april/usr/home             938G    1.5G    937G     0%    /usr/home
devfs                      1.0K    1.0K      0B   100%    /compat/linux/dev
fdescfs                    1.0K    1.0K      0B   100%    /compat/linux/dev/fd
tmpfs                      8.2G    4.0K    8.2G     0%    /compat/linux/dev/shm
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % zpool status
  pool: april
 state: ONLINE
  scan: scrub repaired 0B in 00:23:56 with 0 errors on Tue Oct 19 02:38:56 2021
config:

        NAME        STATE     READ WRITE CKSUM
        april       ONLINE       0     0     0
          ada0p2    ONLINE       0     0     0

errors: No known data errors
grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % 
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Updates available but none listed

Post by grahamperrin »

After closing Update Station (a.k.a. Update Manager?) there remained an amber alert in the menu bar for availability of updates.

When clicked, Update Manager opened and states Updates available!, however nothing is listed:

https://i.imgur.com/mJYh8oB.png

This discrepancy is half-expected, given the failure, so I'm strongly inclined to restart however I'll await technical advice on whether to gather additional information before doing so.

No rush; this virtual machine is primarily for test purposes.

Thanks
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Update failed from 1300509

Post by ericbsd »

Could you run pkg upgrade -f? To see if pkg will output any other useful information.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Re: Update failed from 1300509

Post by grahamperrin »

Thanks. Reboot first? Or (resume the virtual machine then) run now?
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Multiple repositories enabled?

Post by grahamperrin »

grahamperrin wrote: Sat Nov 27, 2021 5:17 am Reboot first? Or (resume the virtual machine then) run now?
As things turned out, I had no choice. A storage issue caused me lose the saved state, so I could neither reboot nor resume.

Instead: a boot from cold following an unwanted stop.

Code: Select all

grahamperrin@mowa219-gjp4-ghostbsd-13-vm:~ % su -
Password:
root@mowa219-gjp4-ghostbsd-13-vm:~ # date ; uname -aKU
Tue Feb  1 01:01:55 GMT 2022
FreeBSD mowa219-gjp4-ghostbsd-13-vm 13.0-STABLE FreeBSD 13.0-STABLE GENERIC  amd64 1300509 1300509
root@mowa219-gjp4-ghostbsd-13-vm:~ # zpool status 
  pool: april
 state: ONLINE
  scan: scrub repaired 0B in 00:23:56 with 0 errors on Tue Oct 19 02:38:56 2021
config:

        NAME        STATE     READ WRITE CKSUM
        april       ONLINE       0     0     0
          ada0p2    ONLINE       0     0     0

errors: No known data errors
root@mowa219-gjp4-ghostbsd-13-vm:~ # zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
april  1008G  40.2G   968G        -         -     0%     3%  1.00x    ONLINE  -
root@mowa219-gjp4-ghostbsd-13-vm:~ # pkg upgrade -f
Updating GhostBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01    
Fetching packagesite.pkg: 100%    6 MiB   2.2MB/s    00:03    
Processing entries:   0%
Newer FreeBSD version for package gstreamer1-plugins-openmpt:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1300524
- running kernel: 1300509
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
GhostBSD repository update completed. 31322 packages processed.
Updating freebsd repository catalogue...
Fetching packagesite.pkg: 100%    6 MiB   3.4MB/s    00:02    
Processing entries: 100%
freebsd repository update completed. 31352 packages processed.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.17.5 -> 1.17.5_1 [freebsd]

Number of packages to be upgraded: 1

8 MiB to be downloaded.

Proceed with this action? [y/N]: n
root@mowa219-gjp4-ghostbsd-13-vm:~ # pkg -vv | grep -e url -e enabled
    url             : "http://pkg.us.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
    enabled         : yes,
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest",
    enabled         : yes,
root@mowa219-gjp4-ghostbsd-13-vm:~ # 
Pause for thought. Two repositories enabledGhostBSD and freebsd – please, is that normal?

Or, is freebsd enabled the result of some long ago forgotten experiment by me? (Sorry; I rarely boot the machine, can't remember.)
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Update failed from 1300509

Post by ericbsd »

Not it is not normal.

GhostBSD does not install FreeBSD.conf.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Repositories

Post by grahamperrin »

Thanks! Sorry.

Also, I see the three locale-specific GhostBSD repos. These ring a bell, but right now I have not the time to check documentation etc. (work day beginning).
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Update failed from 1300509

Post by ericbsd »

The main config is at /etc/pkg/GhostBSD.conf is the default in use.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Update succeeded

Post by grahamperrin »

Update to 1300524 succeeded. I guess, the earlier failure was a glitch, not an issue.
Post Reply