Reverting upgraded port after 'pkg clean' was run

I have a FreeBSD14 machine
Code:
FreeBSD dog 14.3-STABLE FreeBSD 14.3-STABLE stable/14-n272990-e1c985ccc335 GENERIC amd64
with NVIDIA graphics card. Recently I ran 'pkg update && pkg upgrade' and had nvidia-related ports upgraded to the latest version
Code:
nvidia-driver-580.119.02       NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-kmod-580.119.02.1403000 kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-580.119.02     Display Control Panel for X NVidia driver
nvidia-xconfig-580.119.02      Tool to manipulate X configuration files for the NVidia driver
Then I carelessly ran 'pkg clean' and rebooted the machine. After reboot all windows in the XFCE session started blinking, as well as indicators on the main panel. As I cleaned previous packages, I'm not able to forcibly install them anymore. And as far as I know they aren't kept on pkg-building servers after rebuild and update.
I tried to install old-school portdowngrade to reinstall them using ports tree, but it looks like it doesn't work anymore, shows the following error:
Code:
% portdowngrade x11/nvidia-kmod
Choose a revision from this list and run /usr/local/sbin/portdowngrade x11/nvidia-kmod revision
svn: E160013: '/ports/!svn/rvr/569609/head/x11/nvidia-kmod' path not found
Is there any way for me to find somewhere previous nvidia-* packages or revert the ports tree to the particular commit and reinstall them that way? After the recent 'pkg upgrade' X session has become unbearable.
 
1 thing I notice about pkg clean command is if I modify a file on my machine pkg clean will output checksum mismatches to stdout when this command is run for better or for worse.

I unzipped a few .fnt.gz font files at /boot/fonts/ and noticed this update. Correct me if I am wrong here these are the default font settings for base system at the command line.

Another example is I was editing my kde plasma settings at sddm.conf.default

I’ll reproduce the stdout when I can manage my plasma de to scale screen resolution correctly to my machine
 
I see because the old packages worked and you cleaned them out.

You can build the old version of the port and install it.
Yes, this is exactly what I want. But I don't know how to revert port tree (or just a few needed ports) now - I use 'portsnap fetch update' to update it, and unlike it was in former SVN-based mechanism, I couldn't find the way to rollback it to a particular point.
 
I was mistaken its the pkg check command not pkg clean
Screenshot_20251226_165639.png
 
Back
Top