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

Re: apt-get trouble issues



Ron Johnson wrote:
On Thu, 2003-05-08 at 12:55, Michael P. Soulier wrote:

On 08/05/03 Paul Johnson did speaketh:


Looks like what eventually happens when you're running stable but are
pinning packages from testing or unstable.  If this is the case,
either move to testing or unstable or reinstall stable and *don't pin
with stable at all*.  Use backports instead, look at apt-get.org for
backports.

   Can you backport manually? ie. with rpms you can take the src rpm
and build it on an older release. How would that be done with a .deb
source file?


Add the deb & deb-src for unstable to sources.list, then # apt-get update


Don't add the deb lines, just the deb-src

Next,
  # export CC=gcc-3.2
  # export CFLAGS='-Wall -O2 -march=pentiumpro -mcpu=pentiumpro,'
  # export CXX=g++-3.2
#

If you are backporting to woody, it is probably a better idea to stick with g++-2.95

  # pnam=gqview
  # pver='=1.0.2-1'
#

//only line that should be done as root
#apt-get build-dep ${pnam}${pver}
If this fails then you have to backport the build dependencies or figure out if you can ignore them.

  # apt-get source ${pnam}${pver}
  # apt-get --compile source ${pnam}${pver}


$ fakeroot apt-get --compile source ${pnam}${pver}

You shouldn't be doing this as root.



Attachment: pgpqAvDlIqlRD.pgp
Description: PGP signature


Reply to: