Package Downgrades..why is this not a thing?
-
Why, for example, when someone releases an update to the nut package as happened a few days ago, and it seemingly breaks USB connectivity for a whole slew of us - why is there no easy way to tell pfsense to roll back to the previous package? This is insane to me.
-
@incith If using ZFS one can revert boot environments. Plus has a GUI, but I believe CE users can still use the command line.(bectl)
-
In order to make the new package seen as available to existing users the old pkg version is replaced on the pkg servers for that repo.
The only way to make the old one available again would be to roll back the update on the servers and then run a forced reinstall.
However if that update was brought in as part of a merge there may be other packages affected, other dependencies, making rolling back non-trivial at best.
-
One thing to check would be the local pkg cache (/var/cache/pkg) which might have old versions in it. You could force install an older version from there.
-
@stephenw10 It's gone.
I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.
-
Hmm, I thought there was an just update to nut to fix the test/shutdown issue. Is that was broke the USB stuff.
What pkg version are you looking for?
-
@stephenw10 2.8.2
-
You should be able to fetch that from the 2.7.1 repo. It depends on the older nut-devel package.
[2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/nut-devel-2023.10.07_1.pkg nut-devel-2023.10.07_1.pkg 1291 kB 1570 kBps 01s [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/pfSense-pkg-nut-2.8.2.pkg pfSense-pkg-nut-2.8.2.pkg 14 kB 31 MBps 00s
However nut-devel also has a list of dependencies that may be required. Though the repo only shows those two updated on Feb 7th.
-
@stephenw10 said in Package Downgrades..why is this not a thing?:
You should be able to fetch that from the 2.7.1 repo. It depends on the older nut-devel package.
[2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/nut-devel-2023.10.07_1.pkg nut-devel-2023.10.07_1.pkg 1291 kB 1570 kBps 01s [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/pfSense-pkg-nut-2.8.2.pkg pfSense-pkg-nut-2.8.2.pkg 14 kB 31 MBps 00s
However nut-devel also has a list of dependencies that may be required. Though the repo only shows those two updated on Feb 7th.
This worked, thanks! although I had to use curl instead. And for some reason the urls didn't immediately work for me either I had to go up a few folders and then go back in, weird.
I posted the same to the nut topic. https://forum.netgate.com/post/1152325
-
@incith said in Package Downgrades..why is this not a thing?:
I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.
The guy who maintains the NUT package was away for 1 week. I responded in the other thread.
-
@dennypage said in Package Downgrades..why is this not a thing?:
@incith said in Package Downgrades..why is this not a thing?:
I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.
The guy who maintains the NUT package was away for 1 week. I responded in the other thread.
Useful post
-
@incith I didn't hear any response from you, but in case you are not monitoring the main NUT thread, a fix was posted there today for your issue.
FWIW, the issue was specific to the legacy Tripplite protocol and was not an issue with USB. Details can be found in the NUT thread.