whalebird-desktop icon indicating copy to clipboard operation
whalebird-desktop copied to clipboard

Can't install deb on Ubuntu 20.04

Open dhs-rec opened this issue 2 years ago • 6 comments

Description

When installing the downloaded Debian package I get the following error:

# apt-get install ./Whalebird-4.5.2-linux-x64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'whalebird' instead of './Whalebird-4.5.2-linux-x64.deb'
The following NEW packages will be installed:
   whalebird (4.5.2)
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/96.1 MB of archives.
After this operation, 503 MB of additional disk space will be used.
Get:1 ./Whalebird-4.5.2-linux-x64.deb whalebird amd64 4.5.2 [96.1 MB]
(Reading database ... 679455 files and directories currently installed.)
Preparing to unpack .../Whalebird-4.5.2-linux-x64.deb ...
Unpacking whalebird (4.5.2) ...
dpkg: error processing archive ./Whalebird-4.5.2-linux-x64.deb (--unpack):
 error creating hard link './usr/share/icons/hicolor/256x256/apps/whalebird.png': Invalid cross-device link
Errors were encountered while processing:
 ./Whalebird-4.5.2-linux-x64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I guess it's trying to create a hard link (ln) where it should create a symbolic link (ln -s)...

How To Reproduce

  1. Download Debian package
  2. Install using above command

Your Environment

  • OS: Ubuntu 20.04
  • Whalebird Version: 4.5.2

dhs-rec avatar Mar 25 '22 09:03 dhs-rec

I can install it in clean ubuntu:20.04. What files are there in /usr/share/icons/hicolor/256x256 ?

h3poteto avatar Mar 25 '22 11:03 h3poteto

That's not relevant. The keyword above is cross-device link. The package is trying to create a hard link across filesystem borders, which is not possible. On your system the link source and target may reside on the same filesystem, but on mine that's obviously not the case. Therefor: Simply use a symbolic link.

dhs-rec avatar Mar 25 '22 11:03 dhs-rec

This is electron-builder's issue. https://github.com/electron-userland/electron-builder/issues/5721

h3poteto avatar Mar 25 '22 13:03 h3poteto

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can remove the stale label with /remove-stale comment. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 14:09 stale[bot]

What's so nice about these bots?

dhs-rec avatar Sep 21 '22 14:09 dhs-rec

/remove-stale

stale[bot] avatar Sep 21 '22 14:09 stale[bot]

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jan 16 '23 14:01 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Jan 23 '23 15:01 github-actions[bot]