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

Re: Replacing svgalib1 with svgalib-dummy1



> How do I replace an installed svgalib1 with svgalib-dummy1?
> 
> Running "dpkg -i svgalib-dummy1_1.2.10.deb" says this:
[complains]
> And "dpkg --purge svgalib1" complains about a few packages (like gs) that
> depend on svgalib1...
> 
> Would:
>   dpkg --force-depends --purge svgalib1
>   dpkg --install svgalib-dummy1_1.2.10.deb
> be the right thing to do?

I just tried it (I needed a "dpkg -r svgalib1-dev" in between, BTW),
and it worked OK. (and, gs 3.33 still runs afterwards).


> (How safe is --force-depends, anyway? Can I safely use it if I check the
> Depends: lines of the packages manually and see that I have the programs I
> need?)

Well, I usually trust dpkg when it says I have packages installed
that depend on the package I'm about to remove.

For example, in this cace, dpkg was right (you do need svgalib1 to run
gs, even under X11), and I think svgalib-dummy1 is missing the
  Replaces: svgalib1
line (this appears making and upgrade from gs to gs-aladding easier).


-- 
joost witteveen, joostje@debian.org
#!/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*',/((..)*)$/)


Reply to: