question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binary files should not be in /usr/share/

See original GitHub issue

What version of electron-installer-debian are you using? 0.3.1 What version of node and npm are you using? v6.1.0 3.8.6 What operating system are you using? debian jessie

What did you do? Please include the configuration you are using for electron-installer-debian. Built a debian package from an electron package. No special configuration.

electron-installer-debian --src etcher-release/Etcher-linux-x64/ --dest etcher-release/debian/ --arch amd64

What did you expect to happen?

In the package that was created, /usr/share/ should only contain architecture interdependent files.

What actually happened?

/usr/share/ contains architecture dependent binary files.


Installing the electron package to /usr/lib/<package> instead of /usr/share/<package> would be more appropriate.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dlechcommented, Oct 3, 2016

Nothing dangerous. The only potential problem I see is that if another package (not created with electron-installed-debian) has files at /usr/lib/<package>, then packages that are created with electron-installer-debian will fail to install because of conflicting files.

0reactions
unindentedcommented, Oct 3, 2016

Yup, sounds pretty clear. Any dangerous side effects you can think of? If not, feel free to create a PR and I’ll merge it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is it best practice to ignore binary files? - Stack Overflow
Binary files are usually not written directly by a human being, they tend to be generated from some kind of a source.
Read more >
How can I resolve the error "cannot execute binary file"?
binary file consists of machine instructions the processor can understand. Your operating system does not mean the same executable will run.
Read more >
Is the bin/ directory for storing binary files?
No, a bin directory is not for storing only binary files. It's for keeping executable files, primarily. Historically, before scripts written ...
Read more >
Why you should not push binary files to git? And what to do if ...
The best idea I recommend you is to store binary files in separate version control system such as Dropbox, Google driver and use...
Read more >
How can I handle large binary files (efficiently) with Git LFS?
As a result, these files will not be stored in your local repository, but in a dedicated LFS cache (locally) and store (remotely)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found