On 20 Dez., 15:04, Mathias Behrle <[email protected]> wrote: > * Betr.: " [tryton] Installation on Debian Lenny" (Sat, 19 Dec 2009 17:56:45 > -0800 (PST)): > > Hi, > > > there are already a couple of howtos on this topic, unfortunately most > > of them are a bit complicated, at least for less experienced users. > > Your setup is specific for a machine running Debian stable, but wanting the > most > recent release of Tryton (which makes sense;). > > > The following worked fine for me: > > > 1. create the file "/etc/apt/preferences" with the following content: > > > Package: * > > Pin: release o=Debian,a=stable > > Pin-Priority: 900 > > > Package: * > > Pin: release o=Debian,a=testing > > Pin-Priority: 400 > > > Package: * > > Pin: release o=Debian,a=unstable > > Pin-Priority: 500 > > It is unusual to pin unstable higher than testing: you will never get a > testing > package installed, if there is one in unstable.
That´s right. For the given purpose I wanted to be sure to install the newest version. In fact I didn´t even include the testing repository in my sources.list. > > Package: * > > Pin: release o=Debian > > Pin-Priority: -1 > > > 2. Include the repository testing or/and unstable in your file "/etc/ > > apt/sources.list", for example with the following additional lines > > > debhttp://ftp-stud.fht-esslingen.de/debian/unstable main contrib non- > > free > > deb-srchttp://ftp-stud.fht-esslingen.de/debian/unstable main contrib > > non-free > > > (The section for testing in /etc/apt/preferences is obsolete if you don > > ´t include the testing repository as well) > > > 3. Don´t forget "apt-get update" ;-) > > > 4. Install Tryton with "apt-get install tryton-server". If you want to > > install the client on the same machine, first check the version > > numbers - mixing server 1.4 with client 1.2 will give you trouble. > > To get the most recent release it is best to install generally with > apt-get -t unstable install <package-name> That´s exactly what I didn´t want. The intention was to use the stable versions as far as possible, and the recent versions where needed. Otherwise installing all from testing would be the easiest way. > > 5. At least the calendar module uses "python-vobject" and "python- > > psycopg2". They exist in stable, but in buggy versions, so you have to > > install them manually with "apt-get -t testing install python-vobject" > > and "apt-get -t testing install python-psycopg2" - dependencies are > > resolved by apt as usual. > > python-vobject is currently in unstable, but will hit testing soon. > > Cheers > > -- > > Mathias Behrle > MBSolutions > Gilgenmatten 10 A > D-79114 Freiburg > > Tel: +49(761)471023 > Fax: +49(761)4770816 > http://mbsolutions.selfip.biz > UStIdNr: DE 142009020 > PGP/GnuPG key availabable from any keyserver, ID: 0x89BCA161 > > signature.asc > < 1 KBAnzeigenHerunterladen -- [email protected] mailing list
