[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hello - probs



> Lindsay Allen <allen@cleo.murdoch.edu.au> writes:
> 
> > Is hello_1-13.deb still current?  I am trying to learn the gentle art of
> > package making, but this is what happens with dpkg-source.
> > 
> > elm# dpkg-source -x /cdrom/stable/source/misc/hello_1.3-13.dsc
> 
> You need to be in the same directory where you are doing the
> unpacking

No, you don't.

rulcmc:~/rommel/tmp$ dpkg-source -x ~/debian/unstable/source/base/bash_2.01*.dsc
dpkg-source: extracting bash in bash-2.01
rulcmc:~/rommel/tmp$ 


Probably you need to upgrade your dpkg (or downgrade patch).
Best bet use versions of patch and dpkg (and dpkg-dev) that all come
from "stable", or all come from "unstable", but mixing them may/will
cause problems.

> (You could (and probably eventually should) replace the "su" step with
> the -rsudo (or something similar) option to dpkg-buildpackage, but I
> didn't want to make things any more complicated than this to start).

Or, install "fakeroot", and run "dpkg-buildpackge -rfakeroot". Then
you never need root acces any more to build debianpackages. But
I'm digressing, fakeroot is only available on "unstabable", and needs
many other libc6 packages from unstable. So it's of no use to anyone
running a pure "stable" system, at the moment.

> 
> > In fact hello contains " debian/" rather than "DEBIAN/".  
> 
> debian/ is correct.  The DEBIAN directory is just a temporary
> directory created during the package build steps which are put in
> motion with dpkg-buildpackage.

Actually, that is called "debian/tmp/DEBIAN".

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: