Skip to content

Debian install breaks due to 'error creating hard link: Invalid cross-device link' #3701

Answered by imtuyethan
imtuyethan asked this question in Get Help
Discussion options

You must be logged in to vote

Jan is an Electron-based application. You've identified a known problem that affects not just Jan, but many Electron-based applications packaged as .deb files, particularly when installed on systems where /opt is on a separate partition. The packaging process creates hard links, which fail when crossing device boundaries (i.e., different partitions or drives).

My proposed workaround for this is: Use the Appimage (portable build) instead.

The long-term solution would involve working with the electron-builder community to address the issue at its source, which could take months, unfortunately.

Similar reported issues:

electron-userland/electron-builder#5721
LN-Zap/zap-desktop#2089
beekeeper…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by imtuyethan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux Linux issues
1 participant