Page 1 of 1

[SOLVED] Linux agent installation error

Published: February 11, 2020 - 4:42 PM
by mart03
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.

Re: Linux agent installation error

Published: February 11, 2020 - 5:19 PM
by dcardon
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

Re: Linux agent installation error

Published: February 11, 2020 - 5:26 PM
by mart03
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