Vault Error: dpkg-deb: error: paste subprocess was killed by signal

Error

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../vault-enterprise_1.11.4+ent-1_amd64.deb ...
Unpacking vault-enterprise (1.11.4+ent-1) ...
dpkg: error processing archive /var/cache/apt/archives/vault-enterprise_1.11.4+ent-1_amd64.deb (--unpack):
 trying to overwrite '/etc/vault.d/vault.env', which is also in package vault 1.11.4-1


dpkg: error processing archive /var/cache/apt/archives/consul-enterprise_1.13.2+ent-1_amd64.deb (--unpack):
 trying to overwrite '/etc/consul.d/consul.env', which is also in package consul 1.13.2-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/consul-enterprise_1.13.2+ent-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ip-172-31-31-241:/home/ubuntu#

Solution

sudo dpkg -i --force-overwrite /var/cache/apt/archives/vault-enterprise_1.11.4+ent-1_amd64.deb
sudo apt -f install 
sudo apt -f install vault-enterprise 

sudo dpkg -i --force-overwrite /var/cache/apt/archives/consul-enterprise_1.13.2+ent-1_amd64.deb
sudo apt -f install 
sudo apt -f install consul-enterprise
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x