[SOLVED] Installing the previous version of a package
Published: March 19, 2025 - 11:56
WAPT version 2.6
Good morning,
Sorry if a similar topic has already been opened, I couldn't find it.
I'm currently developing a software package whose installer doesn't remove the old version. So I added a piece of code to do that. But for testing purposes, I'd like to be able to reinstall the old version. I think I've done this before, but I didn't take notes and I've since forgotten how.
I found a section in the documentation stating: to retrieve the package ID in the version I'm interested in.
But then when I execute the command I get the following error:
Thank you in advance for your reply.
Sincerely.
Vincent
Good morning,
Sorry if a similar topic has already been opened, I couldn't find it.
I'm currently developing a software package whose installer doesn't remove the old version. So I added a piece of code to do that. But for testing purposes, I'd like to be able to reinstall the old version. I think I've done this before, but I didn't take notes and I've since forgotten how.
I found a section in the documentation stating:
So I made aEach command that takes a package name as a parameter can also take the package's unique package_uuid as a parameter (wapt-get install, wapt-get forget, etc.). Using a GUID allows you to specify a unique package without ambiguity about its architecture or version. The package_uuid is listed in the output of wapt-get list and wapt-get search. For example:
Code: Select all
wapt-get search monpaquetBut then when I execute the command
Code: Select all
wapt-get install c65ecfc2-ed87-428a-abc7-1646497ee71eWhere am I going wrong?Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
install using WAPT packages c65ecfc2-ed87-428a-abc7-1646497ee71e
Results:
Critical:
=== Unavailable packages ===
c65ecfc2-ed87-428a-abc7-1646497ee71e [x64_fr_PROD,DEV,PREPROD]
Thank you in advance for your reply.
Sincerely.
Vincent