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.

.deb packaging issues

See original GitHub issue

Produced .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:closed
  • Created 7 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Apr 17, 2016

@antelle You can pass most of the fpm flags using build.linux field fpm: ['--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 is electron-builder task to pass correct flags).

1reaction
develarcommented, Apr 17, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

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