Closed github12101 closed 5 years ago
Just tested, --force install of the package breaks installing further packages until previous problem is solved (or nexus removed), so it's even worse. Can this deb be repackaged properly without broken dependency?
Yes you can repackage it no problem.
after modifying the control tar you would repackage like this
ar rcs newpackage.deb debian-binary control.tar.gz data.tar.gz
However I have made a change that will manually set the depends when creating the deb build. I am not sure if this is is a long term solution as we would have to make sure if any depends change that we change the list in the package.json . But I hope we can use this to be a stop gap between when they fix the issue with electron builder.
I am going to close this for now but lets keep the conversation going.
I am opening this so #56 can be closed.
In Debian 10 Buster, nexus_wallet-Linux-1.2.0.deb depends on uninstallable package nexus_wallet-Linux-1.2.0.deb:
In Linux FAQ, we can read solution for this:
However, I believe better solution is to force install the package, not to repackage .deb. How to repackage .deb anyway? I don't know, never had a need for that to be honest. Is that what we expect of Nexus Official wallet users?
Nexus-wallet can be force installed with command:
dpkg -i --force depends nexus_wallet-Linux-1.2.0.deb
It will say:
And will go ahead and install regardless, nice and clean.
Other Debian workaround, use of "# sysctl kernel.unprivileged_userns_clone=1" also works perfectly.