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

Re: mixing stable and testing



Vikki Roemer wrote:
On Mon, Sep 01, 2003 at 04:27:36PM -0800, Greg Madden wrote:

You would need to setup a /etc/apt/preferences file, add testing to yor sources.list, and use pinning. Even so libc6 (upgrade) will be a depend on anythig from Testing. For what you want, it may be safer/easier to use 'apt-source' and build the few packages you want. If you are lucky there won't be any depends or only a couple that you will have to also build. You may need to run 'apt-get build-dep' in order to build your package, you would get an error message to this effect.

Um, ok, another stupid newbie question: how do I build a package from
source?  I downloaded metalog's source, but the package won't build if I use
dpkg -b metalog-dir -- it comes up with errors in the DEBIAN/control file.
Am I going about it the right way?  I've compiled programs before, I've just
never compiled a *package*.

http://packages.debian.org/testing/admin/metalog.html

Download source:

http://ftp.debian.org/debian/pool/main/m/metalog/metalog_0.7beta-3.dsc
http://ftp.debian.org/debian/pool/main/m/metalog/metalog_0.7beta.orig.tar.gz
http://ftp.debian.org/debian/pool/main/m/metalog/metalog_0.7beta-3.diff.gz

In same directory:

dpkg-source -x metalog_0.7beta-3.dsc
cd metalog_0.7beta
dpkg-buildpackage -us -uc -rfakeroot
cd ..
dpkg -i metalog_0.7beta-3_i386.deb



Reply to: