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

Re: apt-get trouble issues



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

Next,
  # export CC=gcc-3.2
  # export CFLAGS='-Wall -O2 -march=pentiumpro -mcpu=pentiumpro,'
  # export CXX=g++-3.2
  # 
  # pnam=gqview
  # pver='=1.0.2-1'
  # 
  # apt-get source ${pnam}${pver}
  # apt-get --compile source ${pnam}${pver}

You don't need to do the "apt-get source ${pnam}${pver}", but I
like to separate the download and compile phases.



-- 
+---------------------------------------------------------------+
| Ron Johnson, Jr.        mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA      http://members.cox.net/ron.l.johnson  |
|                                                               |
| The purpose of the military isn't to pay your college tuition |
| or give you a little extra income; it's to "kill people and   |
| break things".  Surprisingly, not everyone understands that.  |
+---------------------------------------------------------------+



Reply to: