Removal of imported package

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
stephane2b
Messages: 4
Registration: March 24, 2017 - 11:07

March 24, 2017 - 11:20

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?
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

March 24, 2017 - 2:19 PM

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:

Code: Select all

/var/www/wapt/
On a Windows server:

Code: Select all

C:\wapt\waptserver\repository\
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
stephane2b
Messages: 4
Registration: March 24, 2017 - 11:07

March 24, 2017 - 5:47 PM

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.
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

March 25, 2017 - 11:53 PM

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/
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 26, 2017 - 3:34 PM

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.
stephane2b
Messages: 4
Registration: March 24, 2017 - 11:07

March 27, 2017 - 08:43

OK, problem solved, thank you very much for your quick response and sorry for not replying sooner, I was away for the weekend.
Locked