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

boostrap_ansible does not work on recent ubuntu: E: ansible: depends-on-obsolete-package depends: python-support (>= 0.90) => use dh_python2 instead #108

Open
muelli opened this issue Apr 27, 2015 · 1 comment

Comments

@muelli
Copy link
Contributor

muelli commented Apr 27, 2015

when trying to build ansible:

dh_perl -pansible 
dh_shlibdeps -pansible    
dh_gencontrol -pansible  
dpkg-gencontrol: warning: package ansible: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package ansible: unused substitution variable ${python:Depends}
# only call dh_scour for packages in main
if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pansible ; fi
dh_md5sums -pansible 
dh_builddeb -pansible 
dpkg-deb: building package `ansible' in `../ansible_1.9.0-0.git201503252207~unstable_all.deb'.
 dpkg-genchanges -b >../ansible_1.9.0-0.git201503252207~unstable_amd64.changes
dpkg-genchanges: binary-only upload (no source code included)
 dpkg-source -I --after-build ansible-1.9.0
dpkg-buildpackage: binary-only upload (no source included)
Now running lintian...
E: ansible changes: bad-distribution-in-changes-file unstable
W: ansible: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL
W: ansible: copyright-without-copyright-notice
W: ansible: description-synopsis-starts-with-article
E: ansible: depends-on-obsolete-package depends: python-support (>= 0.90) => use dh_python2 instead
Finished running lintian.
#############################################
Ansible DEB artifacts:
deb-build/unstable/ansible_1.9.0-0.git201503252207~unstable_amd64.changes
#############################################

I expected it to work on my ubuntu 15.04 because of the comment in the file:

# bootstrap-ansible.sh: download and build Ansible on Debian/Ubuntu host
@drybjed
Copy link
Member

drybjed commented Apr 27, 2015

This script just uses make deb command in Ansible source Makefile to create the .debs, perhaps try installing Ansible from the Ansible official PPA instead. They should have current packages.

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

2 participants