Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The package is of bad quality" #2515

Closed
fbernier opened this issue Dec 28, 2012 · 3 comments
Closed

"The package is of bad quality" #2515

fbernier opened this issue Dec 28, 2012 · 3 comments

Comments

@fbernier
Copy link

Opening the .deb provided for elasticsearch 0.20.2 on ubuntu 12.10 gives me the following message:

The package is of bad quality

The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.

Lintian check results for /home/francois/Downloads/elasticsearch-0.20.2.deb:
BFD: usr/share/elasticsearch/lib/sigar/libsigar-ia64-linux.so: warning: sh_link not set for section `.IA_64.unwind'
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-amd64-linux.so
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-ia64-linux.so
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-x86-linux.so
E: elasticsearch: control-file-has-bad-permissions conffiles 0755 != 0644
@ghost ghost assigned spinscale May 23, 2013
@spinscale
Copy link
Contributor

Hey there,

I cannot reproduce this on Ubuntu. What exactly did you do?

It is ok that lintian produces these errors (it complains that we ship files that are not arch independent in a seemingly arch independent package). However we use these files only if elasticsearch is running on that architecture.

Anyway, do you get this exception when trying to install the debian package?

@balaf
Copy link

balaf commented Jun 7, 2013

I got the same error in ubuntu 13.04 and elasticsearch-0.90.1.
What I did was simply download the .deb file from elastisearch.org, open it with the Ubuntu Software Center and select install. Then I get this error.

The package is of bad quality
The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.

Lintian check results for /tmp/elasticsearch-0.90.1.deb:
BFD: usr/share/elasticsearch/lib/sigar/libsigar-ia64-linux.so: warning: sh_link not set for section `.IA_64.unwind'
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-amd64-linux.so
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-ia64-linux.so
E: elasticsearch: arch-independent-package-contains-binary-or-object usr/share/elasticsearch/lib/sigar/libsigar-x86-linux.so
E: elasticsearch: control-file-has-bad-permissions conffiles 0755 != 0644

@spinscale
Copy link
Contributor

Ah, I see, so you are not simply calling dpkg -i elasticsearch-0.90.1.deb but you are using a GUI.

Maybe there are parameters to make lintian ignore this kind of stuff. I need to check that (we try not to provide a per architecture package).

Thanks for clarifying!

spinscale added a commit to spinscale/elasticsearch that referenced this issue Jun 7, 2013
According to elastic#2515 the ubuntu software center does not allow to install
debian packages which are not lintian compatible

I worked on the package and made it lintian compatible by doing

* Ignoring errors about arch dependent binaries as we will not split
  this package. The arch dependent libraries are used correctly.
* Fixed permissions
* Added a copyright file pointing to the apache license in debian

Closes elastic#2515
Closes elastic#2320
spinscale added a commit that referenced this issue Jun 24, 2013
According to #2515 the ubuntu software center does not allow to install
debian packages which are not lintian compatible

I worked on the package and made it lintian compatible by doing

* Ignoring errors about arch dependent binaries as we will not split
  this package. The arch dependent libraries are used correctly.
* Added a copyright file pointing to the apache license in debian

Closes #2515
Closes #2320
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
According to elastic#2515 the ubuntu software center does not allow to install
debian packages which are not lintian compatible

I worked on the package and made it lintian compatible by doing

* Ignoring errors about arch dependent binaries as we will not split
  this package. The arch dependent libraries are used correctly.
* Added a copyright file pointing to the apache license in debian

Closes elastic#2515
Closes elastic#2320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants