Page 1 of 1
Removal of imported package
Published: March 24, 2017 - 11:20
by stephane2b
Hello,
I discovered WAPT several months ago; it's very practical for managing a network of over 300 workstations on my own. However, I'm encountering a rather annoying problem: I can't delete a corrupted MS Office package; it remains constantly present in the console after deletion. I didn't install the server myself, and therefore I haven't studied how it works. Perhaps a missed step during its setup is preventing it from functioning correctly?
Re: Deletion of imported package
Published: March 24, 2017 - 2:19 PM
by agauvrit
Good morning,
On which platform is the server installed? Windows? Linux?
If you wish to remove a package from the repository, delete the *.wapt file from the server via SSH/SCP access or via the file explorer.
The packages are located on the Linux server in:
On a Windows server:
Then restart the package scan using the "scan-packages.py" script:
Code: Select all
python /var/www/wapt/wapt-scanpackages.py /var/www/wapt/
If you wish to remove a package from a machine using the WAPT console, use the "uninstall" function and then "forget"
WAPT documentation is available at the address
https://www.wapt.fr/fr/doc/
Sincerely,
Alexander
Re: Deletion of imported package
Published: March 24, 2017 - 5:47 PM
by stephane2b
Okay, the package removal is fine; it's a Debian system. Regarding the scan using the "scan-packages.py" script, it's not located in the specified folder.
Re: Deletion of imported package
Published: March 25, 2017 - 11:53 PM
by agauvrit
My apologies, the script is located in the following path: /opt/wapt/wapt-scanpackages.py
Which will therefore give us:
Code: Select all
python /opt/wapt/wapt-scanpackages.py /var/www/wapt/
Re: Deletion of imported package
Published: March 26, 2017 - 3:34 PM
by sfonteneau
Hello
, I think you've duplicated my example msoffice package:
https://wapt.lesfourmisduweb.org/detail ... 1_all.wapt.
Therefore, I assume the msoffice package is causing an error on your machines.
You have several options to fix the problem:
- Repair the package so it works; several tutorials are already available on the forum and can help you.
- Forget the package from the console: click on a machine with the error, then right-click on the faulty package, and then click "Forget." Be careful, the package must not be assigned to the machine!
- Create a "fixup wapt" package to tell your machines to forget the package:
https://www.wapt.fr/fr/doc/CreationPaqu ... -un-paquet.
For your information, I've just added a security measure at the beginning of the package to prevent blind duplication. Duplicating this package might be a solution to eliminate the error on your machines, but the msoffice package will still be visible.
Re: Deletion of imported package
Published: March 27, 2017 - 08:43
by stephane2b
OK, problem solved, thank you very much for your quick response and sorry for not replying sooner, I was away for the weekend.