Questions tagged [lintian]

Lintian dissects Debian packages and tries to find bugs and policy violations. It contains automated checks for many aspects of Debian policy as well as some checks for common errors.

Lintian is a tool written by the Debian developers to determine if proposed Debian packages meet certain policy requirements.

The goals of Lintian are:

  1. To determine how many packages in the Debian repository currently meet policy requirements.

  2. To determine if all the requirements for a policy make practical sense.

  3. To show the developers where to concentrate their efforts in order to make Debian better.

  4. To help developers avoid repeating previously made mistakes.

9 questions
9
votes
1 answer

Override dir-or-file-in-opt

I maintain a commercial, binary package for debian, ubuntu, & etc. and have gotten complaints about "bad package quality" from the Ubuntu installer. The root cause of this appears to be that the package installs files in the /opt and /etc/opt…
Jon Trauntvein
  • 4,453
  • 6
  • 39
  • 69
4
votes
3 answers

Debian package : where is the right place to put temporary installation files?

I am trying to build a binary package for Debian (with dpkg-deb --build) and I need to copy some files into the target machine to complete the installation with a postinst script (and remove them just after). But I don't know where to put them. I…
doom
  • 3,276
  • 4
  • 30
  • 41
4
votes
2 answers

Over-riding Debian/Ubuntu's lintian profile

I have written a proprietary application that needs to install some .pyo files. When I create a .deb from the app, lintian complains that package-installs-python-bytecode. I tried adding an override, but apparently this tag is marked as…
Chinmay Kanchi
  • 62,729
  • 22
  • 87
  • 114
2
votes
0 answers

Why use /etc/systemd/system vs. /lib/systemd/system?

Company I work for develops Debian package files for our software. Somewhere along the line the responsibility passed from one person to another and things started being done in a different way. Previously we put our systemctl service files into…
Digital Larry
  • 21
  • 1
  • 3
2
votes
1 answer

How to fix "debian-rules-is-dh_make-template"?

Problem I had a following error(debian-rules-is-dh_make-template) from lintian. How should I fix to pass the error? The message showed me that I didn't modify debian/rules, but I already modified (I added override_dh_auto_clean:), so I guess that my…
naru
  • 96
  • 7
2
votes
1 answer

Why is dh_autoreconf_clean patching ltmain.sh?

.. and why does it break my packaging build? I am trying to build .deb packages for the latest git version of VLC. Namely, I'm taking the "/debian" directory from my distros (ubuntu 15.10) source package for VLC (2.2.1) and copying/applying this to…
El Sampsa
  • 1,673
  • 3
  • 17
  • 33
2
votes
0 answers

Fast way to deal with lintian warnings

I'm packaging some libraries for the Mingw64 on my computer. In order to make everything portable I decided to use dpkg as package manager. As the mingw libraries are installed in /usr/$arch-mingw-w64 I use this prefix for all windows-Stuff. Now,…
Keinstein
  • 347
  • 2
  • 11
1
vote
2 answers

debian lintian warns about non existing conffile

I get a warning and one error from lintian: W: openrobertalab: init.d-script-not-marked-as-conffile etc/init.d/openrobertalab E: openrobertalab: init.d-script-not-included-in-package etc/init.d/openrobertalab What I don't understand here is there…
ensonic
  • 3,304
  • 20
  • 31
1
vote
1 answer

Desktop file not working in Ubuntu Unity, unless it is executable which breaks packaging guidelines

In unity, icons will only be displayed when the .desktop file has executable permissions. But doing this causes lintian to complain with executable-desktop-file. What am I supposed to do in this instance?
Matthew Mitchell
  • 5,293
  • 14
  • 70
  • 122