This weeks update fails - no password entry screen

Everything related to Installing and maintaining software.
Post Reply
nevets
Posts: 163
Joined: Tue Jun 23, 2020 3:54 am

This weeks update fails - no password entry screen

Post by nevets »

This week's update required an "upgrade -f" as "update -f" reported:
"Newer FreeBSD version for package zx:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1401502
- running kernel: 1400510
".
On a restart the login attempts to run but just hangs on a blank screen with a block cursor.
That is, no password dialogue appears....
I needed to rollback to the older BE to get the system up.
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: This weeks update fails - no password entry screen

Post by neville »

How did you update the system? By command line or using the update-station?
What version of GhostBSD did you update from?
nevets
Posts: 163
Joined: Tue Jun 23, 2020 3:54 am

Re: This weeks update fails - no password entry screen

Post by nevets »

"uname -a" reports:
"FreeBSD me-ghostbsd 14.0-STABLE FreeBSD 14.0-STABLE #2 n230726-2c916f8c7a2: Mon Jul 1 09:15:13 EDT 2024 root@builder2:/usr/obj/zroot/jenkins/workspace/stable-14/Create_GhosBSD_amd64_PKGBASE_And_Udate_Poudriere_Jail/amd64.amd64/sys/GENERIC amd64"
Both TE (pkg upgrade -f) and Update-Station reported the same proposed upgrade changes... I opted to use the TE as it details progress better.
Thanks for responding....
User avatar
ericbsd
Developer
Posts: 2123
Joined: Mon Nov 19, 2012 7:54 pm

Re: This weeks update fails - no password entry screen

Post by ericbsd »

It seems like your system was not updated correctly. If you use the command line to update your system, you risk having problems.

If you get os-generic-* from the command, your system did not upgrade to pkgbase.

Code: Select all

pkg search info | grep os-generic
You will have to do this.

Code: Select all

cp /usr/local/etc/pkg/repos/GhostBSD.conf.default /usr/local/etc/pkg/repos/GhostBSD.conf
bectl create pkg-base
bectl mount pkg-base /tmp/pkg-base
pkg-static -r /tmp/pkg-base delete -yf -g "os-generic*"
pkg-static -r /tmp/pkg-base install -y -r GhostBSD-base -g "GhostBSD-*"
cp /etc/passwd /tmp/pkg-base/etc/passwd
cp /etc/master.passwd /tmp/pkg-base/etc/master.passwd
cp /etc/group /tmp/pkg-base/etc/group
cp /etc/sysctl.conf /tmp/pkg-base/etc/sysctl.conf
mkdir /tmp/pkg-base/proc
chroot /tmp/pkg-base pwd_mkdb -p /etc/master.passwd
bectl activate pkg-base
bectl umount pkg-base
reboot
I had to move GhostBSD back to the package base.
Post Reply