NVidia driver breaks package upgrade

Hi everyone,

I'm running 13.0-RELEASE. I wanted to upgrade the 3rd-party packages without upgrading the base system. I did

# pkg update -f
# pkg upgrade -f

After this was done and I rebooted, the system hangs with this error message:

loading required module 'kernel'
module 'kernel' exists but with wrong version

Following the clues in this thread: https://forums.freebsd.org/threads/another-13-1-release-failure-to-boot.85582/, it seemed that the problem was with my nvidia driver. At the boot prompt I did

OK unload
OK boot /boot/kernel

Now the system booted, so in /boot/loader.conf I commented out nvidia-load="YES". The system is now booting, but there's no graphical environment. Can anyone advise how to proceed?
 
1. Use kld_list in /etc/rc.conf unless the module is critical for *booting*.
2. 13.0 is EOL and you should not expect binary packages to work.
 
Current packages are compiled for the 13.1-RELEASE. You shouldn't have upgraded packages.

The simpler thing to do is to upgrade to 13.1-RELEASE (by the way, 13.0-RELEASE is end of life and is not supported anymore on this forum).

Maybe you can delete your nvidia driver and try to reinstall the precedent version which may lie somewhere in /var/cache by chance.
 
Thanks, I'll upgrade to 13.2-RELEASE and try again.

Just for being curious, aren't the 13.0 packages preserved somewhere in a repository? It seems to me there could be a use case for maintaining an old but consistent system, installing individual packages, before attempting a full upgrade to the latest release. Is that possible?
 
Thanks, I'll upgrade to 13.2-RELEASE and try again.

Just for being curious, aren't the 13.0 packages preserved somewhere in a repository? It seems to me there could be a use case for maintaining an old but consistent system, installing individual packages, before attempting a full upgrade to the latest release. Is that possible?

I don't think binary packages are kept around. But you can always use git to check out a ports tree of the appropriate age and build from there.
 
Back
Top