ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.33k stars 125 forks source link

deb package installation failed #86

Closed Webklex closed 8 months ago

Webklex commented 8 months ago

Expected Behavior

Update from 0.2.1-b to 0.2.3-a without an error

Actual Behavior

Update failed:

Preparing to unpack Insomnium.Core-0.2.3-a.deb ...
Unpacking insomnium (0.2.3-a) ...
dpkg: error processing archive Insomnium.Core-0.2.3-a.deb (--install):
 trying to overwrite '/opt/Insomnium/libGLESv2.so', which is also in package insomnia 0.2.1-b
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
 Insomnium.Core-0.2.3-a.deb

Reproduction Steps

  1. Install an older version like 0.2.1-b
  2. Download the latest release
  3. Update to 0.2.3-a using dpkg

Is there an existing issue for this?

Additional Information

Command used:

sudo dpkg -i Insomnium.Core-0.2.3-a.deb

Insomnium Version

0.2.3-a

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 22.04.3 LTS

Installation method

downloaded from the release section and installed via dpkg

Last Known Working Insomnium version

No response

archywillhe commented 8 months ago

hmm this could be due to a naming-update at 0.2.2; have you tried uninstalling and doing a clean install? The update should work from here on

stitcharg commented 8 months ago

I had the same issue, and I can confirm that removing the 0.2.1-b with dkgp -r insomnia, and retrying the install of the 0.2.3-a, works as expected.

Webklex commented 8 months ago

I can confirm that running:

sudo dpkg -r insomnia
sudo dpkg -i Insomnium.Core-0.2.3-a.deb

worked. Thanks for the help and an awesome project :)