mattytravisza / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

README.Debian build dependency recipe error #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

/usr/local/src/shellinabox# less INSTALL.Debian 
/usr/local/src/shellinabox#   # Install build dependencies
/usr/local/src/shellinabox#   i="$(dpkg-checkbuilddeps 2>&1 | sed -e 
's/.*dependencies: //;t;d')"
/usr/local/src/shellinabox#   [ -n "$i" ] && sudo apt-get install $i
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package (>
E: Unable to locate package 8.0.0)
E: Couldn't find any package by regex '8.0.0)'
/usr/local/src/shellinabox# echo $i
debhelper (>= 8.0.0) autotools-dev libpam0g-dev

I was able to work around it thus:

/usr/local/src/shellinabox# apt-get install debhelper autotools-dev libpam0g-dev

I was able to verify a version >= 8.0.0 thus:

/usr/local/src/shellinabox# dpkg -l|grep debhelper
ii  debhelper                            9.20120115ubuntu3                   
helper programs for debian/rules

/usr/local/src/shellinabox# grep . /etc/issue
Ubuntu 12.04.1 LTS \n \l

/usr/local/src/shellinabox# arch
x86_64

Original issue reported on code.google.com by apgodsh...@gmail.com on 23 Apr 2013 at 5:18

GoogleCodeExporter commented 9 years ago
Oops- that subject line should have been INSTALL.Debian not README.Debian

Original comment by apgodsh...@gmail.com on 23 Apr 2013 at 5:21

GoogleCodeExporter commented 9 years ago
Also, dpkg-buildpackage fails with...

dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream 
tarball found at ../shellinabox_2.14.orig.tar.{bz2,gz,lzma,xz}

I was able to work around it by running debian/rules binary instead:

/usr/local/src/shellinabox# debian/rules binary
...
dpkg-deb: building package `shellinabox' in `../shellinabox_2.14-1_amd64.deb'.
/usr/local/src/shellinabox# dpkg -i ../shellinabox_2.14-1_amd64.deb 
Selecting previously unselected package shellinabox.
(Reading database ... 112031 files and directories currently installed.)
Unpacking shellinabox (from .../shellinabox_2.14-1_amd64.deb) ...
Setting up shellinabox (2.14-1) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
/usr/local/src/shellinabox# 

Original comment by apgodsh...@gmail.com on 23 Apr 2013 at 5:29