Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install deb on Ubuntu 20.04 #3221

Closed
dhs-rec opened this issue Mar 25, 2022 · 8 comments
Closed

Can't install deb on Ubuntu 20.04 #3221

dhs-rec opened this issue Mar 25, 2022 · 8 comments
Labels
bug Something isn't working Linux stale

Comments

@dhs-rec
Copy link

dhs-rec commented Mar 25, 2022

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 dhs-rec added the bug Something isn't working label Mar 25, 2022
@h3poteto h3poteto added the Linux label Mar 25, 2022
@h3poteto
Copy link
Owner

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

@dhs-rec
Copy link
Author

dhs-rec commented Mar 25, 2022

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.

@h3poteto
Copy link
Owner

This is electron-builder's issue.
electron-userland/electron-builder#5721

@stale
Copy link

stale bot commented Sep 21, 2022

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 stale bot added the stale label Sep 21, 2022
@dhs-rec
Copy link
Author

dhs-rec commented Sep 21, 2022

What's so nice about these bots?

@stale
Copy link

stale bot commented Sep 21, 2022

/remove-stale

@stale stale bot removed the stale label Sep 21, 2022
@github-actions
Copy link

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

@github-actions github-actions bot added the stale label Jan 16, 2023
@github-actions
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Linux stale
Projects
None yet
Development

No branches or pull requests

2 participants