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

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

Open
3 tasks done
eris23 opened this issue Dec 2, 2023 · 2 comments
Open
3 tasks done
Labels
bug Something isn't working electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue) help wanted Extra attention is needed

Comments

@eris23
Copy link

eris23 commented Dec 2, 2023

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

@JellyBrick JellyBrick added bug Something isn't working help wanted Extra attention is needed labels Dec 2, 2023
@JellyBrick
Copy link
Collaborator

JellyBrick commented Dec 2, 2023

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

If anyone is interested in troubleshooting this issue, see here: electron-userland/electron-builder#5721

@JellyBrick JellyBrick added the electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue) label Dec 12, 2023
@soumiknandi
Copy link

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue) help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants