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

Open
opened 2023-12-02 14:45:50 +00:00 by eris23 · 2 comments
eris23 commented 2023-12-02 14:45:50 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • 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

### Preflight Checklist - [X] I use the latest version of YouTube Music (Application). - [X] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) 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_
JellyBrick commented 2023-12-02 15:26:02 +00:00 (Migrated from github.com)

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

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
soumiknandi commented 2024-02-10 18:47:57 +00:00 (Migrated from github.com)

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 /

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 /
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#1476
No description provided.