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

Packages without dependencies are not installable #2

Open
aluedeke opened this issue Oct 14, 2012 · 2 comments
Open

Packages without dependencies are not installable #2

aluedeke opened this issue Oct 14, 2012 · 2 comments

Comments

@aluedeke
Copy link

i tried to install a package without a Depends property in its control file. I would expect, that the Package.gz also lacks this property. But i realized that the Package.gz file contains the following entry:

Depends: null

During package installation apt complains that i cannot retrieve Package with name 'null'.

@stefan-enev
Copy link

It looks like the plugin always adds Depends: null, even if no dependencies were listed, see https://github.com/sannies/nexus-apt-plugin/blob/master/src/main/java/com/github/sannies/nexusaptplugin/DebianContentLocator.java#L59
A null check should fix it.

@nikolavp
Copy link
Contributor

Pull request added for this in #3 along with support for other fields like 'Provides'

Best, Nikola

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants