[Techtalk] Debian and sources

Nicole Zimmerman colby at wsu.edu
Sat Aug 17 11:28:49 EST 2002

apt-get source <package>

Then edit the debian/changelog. You probably want to use 'dch' to do this,
since it will preserve formatting.

dch -i will increment
dch -v will allow you to change to a new version.

Do a little dance, make your changes to src if you have any, then do:

dpkg-buildpackage -b -uc

to build a binary unsigned package (what apt-get -b source does).


At 21:39 on Aug 15, Kathryn Andersen combined all the right letters to say:

> This is something I suspect there is an answer to that I've forgotten...
> Is there a way to compile a Debian package from source (using apt-get
> source) and change the package version somehow so that it won't get
> clobbered by the same-version package when one next does an
> "apt-get upgrade", but without having to put the package on hold?
> Because I *do* want to get the newer version of a package if the
> upstream version has changed.
> I have a vague feeling that there's some file that one can tweak in the
> downloaded source directory which will do this, but I don't know where,
> and I don't know what command one uses to then make the package
> (I've just done "apt-get --compile source" before, which does it all in
> one step.)

More information about the Techtalk mailing list