From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

opkg --force-downgrade?

Has anyone been able to get the opkg --force-downgrade option to work?  I've tried all sorts of variations without success.  The only way I can revert a package to a previous version is by uninstalling it, restricting access to the only the specific version I want (either by removing the package from the repo or directing the sbRIO to another repo that doesn't have the updated version), and reinstalling the package.  I'm hoping somebody has a better way.

0 Kudos
Message 1 of 12
(14,907 Views)

I got it down-gradable by directly using the .ipk file name with --force-downgradable.

Not sure how "--force-downgradable" command works with all the packages/Repo at one time

 

force-downgrade.png

Message 2 of 12
(14,877 Views)

[Deleted duplicate]

0 Kudos
Message 3 of 12
(14,848 Views)

Thanks Bhaskar.  To make sure I understand you correctly, these are the steps:

  1. Manually download the previous package to the target.
  2. Install the local copy of the package using the --force-downgrade option.

I was hoping to find a way to retrieve the prior package from the repository and downgrade it all in one step, much like an upgrade works.  This adds more complexity when trying to automate the process.

0 Kudos
Message 4 of 12
(14,848 Views)

Usually, the feeds put up by NI only have one version of a particular software package, so there's usually nothing to downgrade to. Could you share your use-case where you're interested in automating downgrading software packages?

0 Kudos
Message 5 of 12
(14,841 Views)

We are setting up our own opkg repository to deploy our software--as packages--to our devices around the world.  Our operations team has to be able to roll back to a previous version in case the updated version doesn't work as expected on that particular device.

0 Kudos
Message 6 of 12
(14,832 Views)