flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: deb for 3.0.0 & 3.0.1 fail install when /opt on separate partition -- can't hard link

Open eris23 opened this issue 1 year ago • 2 comments

Preflight Checklist

  • [X] I use the latest version of YouTube Music (Application).
  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • [X] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.0.0 & 3.0.1

What operating system are you using?

Ubuntu

Operating System Version

23.10

What arch are you using?

x64

Last Known Working YouTube Music (Application) version

2.2.0

Reproduction steps

Put /opt on different partition/drive. Try to install 3.0.0 or 3.0.1

Expected Behavior

Installs.

Actual Behavior

dpkg shows:

dpkg: error processing archive youtube-music_3.0.1_amd64.deb (--install): error creating hard link './opt/YouTube Music/resources/app.asar.unpacked/assets/generated/icons/png/32x32.png': Invalid cross-device link

Enabled plugins

n.a.

Additional Information

No response

eris23 avatar Dec 02 '23 14:12 eris23

In theory, this issue should have occurred in 2.2.0 as well.

If anyone is interested in troubleshooting this issue, see here: https://github.com/electron-userland/electron-builder/issues/5721

JellyBrick avatar Dec 02 '23 15:12 JellyBrick

Faced the same error :

dpkg: error processing archive youtube-music_3.2.2_amd64.deb (--install): error creating hard link './usr/share/icons/hicolor/64x64/apps/youtube-music.png': Invalid cross-device link

Able to solve by installing via this way :

sudo dpkg-deb -x youtube-music_3.2.2_amd64.deb /

soumiknandi avatar Feb 10 '24 18:02 soumiknandi