.deb packaging issues
See original GitHub issueProduced .deb-files have some issues:
1: permissions (I get 0 instead of root/root in permissions):
tar -tvf data.tar.xz
drwx------ 0 0 0 0 Apr 17 09:19 ./
drwxr-xr-x 0 0 0 0 Apr 17 09:19 ./opt/
I’m building on Mac, this may be an issue. Currently I’m using patched grunt-contrib-deb for this, and it can create debs with correct permissinos on each platform. You may create something like this…
2: control file
Package: keeweb
Version: 1.1.2-3413983
License: MIT
Vendor: Antelle@Antelle-MacBook.local <-------------- machine name?? seems there's no option to change it
Architecture: amd64
Maintainer: Antelle <antelle.net@gmail.com>
Installed-Size: 104670
Section: default
Priority: extra
Homepage: https://keeweb.info
<------------------- Description must be on two lines (see below)
Description: Free cross-platform password manager compatible with KeePass
Correct description:
Description: (short description, if provided, or empty line)
bla-bla-bla <------- note the space at the beginning!
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Debian Package Common Problems with Solutions
Package dependency problems may occur when installing in unstable/testing. There are ways to circumvent dependency.
Read more >Chapter 7. Checking the package for errors - Debian
You must test your package for whether it installs without problems. The debi(1) command helps you to test installing all the generated binary...
Read more >Issues about debian packaging #473 - GitHub
According to my friends, there are more rules that Debian official packages should follow. First we need to submit it to wnpp then...
Read more >Problem with .deb packages on Ubuntu 16.04
Then, to install the package, open GDebi and click File -> Open and navigate to the downloaded DEB file. It can take a...
Read more >Debian Packages of R Software
The list r-sig-debian is a good place to ask if you run into problems. You may want to install the automatically tuned Atlas...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@antelle You can pass most of the fpm flags using
build.linux
fieldfpm: ['--flag', 'value', '--flag2', 'value2']
I don’t test it, bit should work. Feel free to open new issue if permissions issue is still actual (as I checked, on install permissions are ok).fpm
is not documented — just to experiment (it iselectron-builder
task to pass correct flags).@antelle Description in progress, permissions — to investigate (as you see, deb-user/deb-group defaults to root already).
Ability to pass any flag to fpm will be added as well.