Installing specific version of X on Debian/Knoppix

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: Installing specific version of X on Debian/Knoppix
Am 07. Aug, 2003 schw=E4tzte Austin Godber so:

> That aside, you may be able to go through a somewhat painful process of r=

emoving
> 4.3 (synaptic or dselect will rip all the dependancies out ... ouch but=

you
> may have luck), the repository for which is specified in your
> /etc/apt/sources.list as something like:


Don't remove the installed package, downgrade to the version you want. This
might still result in packages being removed due to them depending on a
certain version or greater of X.

> deb http://people.debian.org/~branden/packages sid/i386/
> deb-src http://people.debian.org/~branden/packages sid/source/
> deb http://www.penguinppc.org/~daniels/sid/i386 ./
> deb-src http://www.penguinppc.org/~daniels/sid/source ./
>
> if you comment those out your options for X servers should be reduced to =

that
> provided by the other mirrors in the sources list. Namely the
> http://ftp.de.debian.org/testing/ entry.
>
> Your system by default will be set for testing, check /etc/apt/apt.conf .=

=2E. the
> line with Default-Release. This will say "testing".


If Knoppix adds that I would suggest moving from it to using preferences.

> Actually I don't know how apt handles the situation where multiple versio=

ns of
> the same package exist (as does in the default Knoppix sources.list ...).
> Presumably it will update to the latest version.


Unless otherwise configged, yes, that's what it'll do.

> So the scenario is this:
> o There are two versions of XFree86 pointed to in your apt database
> o removing the repository that contains one of them from sources.list
> o remove existing x-window-system
> o this will leave you with other, presumably older version in apt db
> o now install that version of x-window-system as specified in debian docs=

:
>
> Please note, this sucks ... you will remove lots of things you ultimately=

want
> (ie all packages that depend on X, but you may have dep problems anyway).=

I
> don't know if there is a way to "downgrade" to the older version. I know=

you
> can "pin" an application to a specific version ... aha ... here ... perha=

ps you
> should ignore everything I said and read this:


apt-get install <package_name>=3D<version>

Had examples in the other reply, look there ;-).

> http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-pin
>
> This is very interesting ... I have not played with it so YMMV.
>
> I will play with it soon though.
>
> Oh questions for anyone out there ... can I dist-downgrade? Say from tes=

ting to
> stable?


Yup. It required some effort, but I've done it several times. Pin the dist
you want at over 1000.

> PS - Sorry that this is so train of thought.


Makes it fun. Much better than when you're making sense ;-).

Actually, I think the train of thought stuff is good sometimes as it gives
insight into the process of finding a solution. Teach a person to fish...

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  The Internet is the front line of the battle
#  to protect our freedom. -- Nathaniel Borenstein