Don't downgrade when higher versions are installed

wattie

Verified User
Joined
May 31, 2008
Messages
1,206
Location
Bulgaria
On FreeBSD I sometimes update my software packages using ports and that overwrites what DirectAdmin installed using CustomBuild with newer versions. That way I end up with notices when doing ./build versions similar to those:

Autoconf 2.69 to 2.68 update is available.

Automake 1.15.1 to 1.15 update is available.

Libpng 1.6.31+apng to 1.6.30 update is available.

cURL 7.55.0 to 7.54.1 update is available.

I don't mind about seeing the messages themselves - it is GOOD to know that what I use is not what DA provides!

What bothers me is that I can no longer do ./build update_versions because that will downgrade my packages and unsync it with the latest ports versions again.

Could you think up of an alternative way to perform update_versions in a way that it should not downgrade unless you add an additional "force" option or something like that? Or, to keep backwards compatibility, add a new option like ./build update_versions_with_no_downgrades?
 
Last edited:
Back
Top