Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #273 (closed defect: wontfix)

Opened 13 years ago

Last modified 11 years ago

install instructions will corrupt Debian systems

Reported by: alexis Owned by: anonymous
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

Hi,

Your *nix install instructions might "work" on Debian Linux, but I believe they would corrupt the system by depositing files in directories that are owned by the automated package management system. Sudoing those commands -- as you recommend -- is not necesssary and not advised, since it will override the usual permissions designed to protect the integrity of the sytem.

Here are steps to install Turbo gears on the Debian stable distribution (called sarge , as of 26 Dec '05) in a way that complies with the distribution's package management system and policies. This worked for me, to the extent that I was able to run the quickstart successfully.

1) Install the Debian package python2.4. If sudo is already installed, you can do this with the command

sudo aptitude install python2.4

2) create a file ~/.pydistutils.cfg with the following contents:

[install]
prefix=/usr/local

[easy_install]
site-dirs=/usr/local/lib/python2.4/site-packages

This will keep the newly installed packages into the /usr/local tree, which will not taint the package system. I got this advice from the easyinstall wiki:  http://peak.telecommunity.com/DevCenter/PackageNotes

3) download the file ez_setup.py

4) run

python2.4 ez_setup.py"

5) run

easy_install -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears

Change History

comment:1 Changed 13 years ago by anonymous

An amendement:

I should have written

sudo apt-get install python2.4-dev

This also installs the necessary header files, and uses the standard apt-get tool which everyone is sure to have.

comment:2 Changed 13 years ago by SuperJared <jared.kuolt@…>

Are you saying the Debian package management cannot figure this out? There should be a central database of installed packages or something that tracks this. Otherwise this whole thing doesn't sound very UNIX-like.

comment:3 Changed 13 years ago by godoy

  • Status changed from new to closed
  • Resolution set to wontfix

I agree with Jared. I'm closing this after almost four months waiting for a confirmation.

comment:4 Changed 12 years ago by zlgdgzl

Spam comment deleted

Note: See TracTickets for help on using tickets.