Debian install breaks due to 'error creating hard link: Invalid cross-device link' #3701
-
When installing Jan on Debian, the process fails with an 'error creating hard link: Invalid cross-device link' message. This occurs specifically when the /opt/ directory is on a different partition from the root filesystem. Steps to reproduce:
Error message:
OS: Linux (Debian-based) Can you help resolve this installation issue for Debian systems with separate partitions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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…