[SOLVED] Linux agent installation error

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
mart03
Messages: 47
Registration: December 26, 2017 - 11:03

February 11, 2020 - 4:42 PM

Specify the installed WAPT version (1.8.0)
* Specify the server's OS (Linux) and version (Debian Buster)
* Specify the OS of the machine used for administration/package creation (Debian Buster)

Good morning,

When I try to install the Linux agent, I get this error:

Code: Select all

Preparing to unpack .../tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb ...
User wapt already existing, skipping user creation
EXECUTING : /usr/sbin/usermod -g 33 wapt
usermod: no changes

Unpacking tis-waptagent (1.8.0.6641-debian-10-3dbb3de8) ...
dpkg: error processing archive /var/cache/apt/archives/tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb (--unpack):
 trying to overwrite '/opt/wapt/bin/activate', which is also in package tis-waptserver 1.8.0.6641-debian-10-3dbb3de8
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you please tell me how to resolve this error?

THANKS.
Last edited by mart03 on Feb 11, 2020 - 5:27 PM, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

February 11, 2020 - 5:19 PM

Hello mart03,
mart03 wrote: Feb 11, 2020 - 4:42 PM When I try to install the Linux agent, I get this error:

Code: Select all

Preparing to unpack .../tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb ...
User wapt already existing, skipping user creation
EXECUTING : /usr/sbin/usermod -g 33 wapt
usermod: no changes

Unpacking tis-waptagent (1.8.0.6641-debian-10-3dbb3de8) ...
dpkg: error processing archive /var/cache/apt/archives/tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb (--unpack):
 trying to overwrite '/opt/wapt/bin/activate', which is also in package tis-waptserver 1.8.0.6641-debian-10-3dbb3de8
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/tis-waptagent_1.8.0.6641-debian-10-3dbb3de8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you please tell me how to resolve this error?
It seems you're trying to install the agent on the WAPT server itself, right? Currently, the two packages aren't compatible; you have to install either the agent or the server. We'll look into fixing this in a future version, probably 1.8.2.

You can try installing it on another Linux machine; you shouldn't encounter the problem.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
mart03
Messages: 47
Registration: December 26, 2017 - 11:03

February 11, 2020 - 5:26 PM

Hello,

Yes, indeed... I thought the agent had to be installed on the server to be recognized by other repositories... my mistake then, it was a misunderstanding.

Thank you very much
Locked