By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,949 Members | 1,455 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,949 IT Pros & Developers. It's quick & easy.

Re: (in memory) database

P: n/a
On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <cl****@lairds.uswrote:
>In article <b6**********************************@26g2000hsk.g ooglegroups.com>,
Paul Boddie <pa**@boddie.org.ukwrote:
[snip]

Thanks for pursuing this, Paul. You have me curious now.

Let's take a definite example: I have a convenient
Ubuntu 8.04.1
The content of /etc/apt/sources.list is
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
I do
apt-get update
apt-get upgrade
apt-get install python2.5
then
# python2.5
Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
It doesn't seem likely to me that this is the Python 2.5 packaged in
Ubuntu 8.04. It's build timestamp is almost a year and a half before
8.04 was released. Here's the header on my installation:

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

This could be a bug in the upgrade from a previous version of Ubuntu
installed on the host or perhaps you have a different Python 2.5 installed
on the machine that's not from the Ubuntu package repository?

Jean-Paul
Aug 31 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <ma*************************************@python.or g>,
Jean-Paul Calderone <ex*****@divmod.comwrote:
>On Sun, 31 Aug 2008 18:05:08 +0000, Cameron Laird <cl****@lairds.uswrote:
>>In article <b6**********************************@26g2000hsk.g ooglegroups.com>,
Paul Boddie <pa**@boddie.org.ukwrote:
[snip]

Thanks for pursuing this, Paul. You have me curious now.

Let's take a definite example: I have a convenient
Ubuntu 8.04.1
The content of /etc/apt/sources.list is
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
I do
apt-get update
apt-get upgrade
apt-get install python2.5
then
# python2.5
Python 2.5 (r25:51908, Dec 11 2006, 21:09:56)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

It doesn't seem likely to me that this is the Python 2.5 packaged in
Ubuntu 8.04. It's build timestamp is almost a year and a half before
8.04 was released. Here's the header on my installation:

Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

This could be a bug in the upgrade from a previous version of Ubuntu
installed on the host or perhaps you have a different Python 2.5 installed
on the machine that's not from the Ubuntu package repository?

Jean-Paul
Thank you! While I'm certainly not down to the bottom of this mystery,
I have a few clues. First, the important point to make for original
questioner mark is that SQLite(3) is a perfectly reasonable implementation
to use in a Python2.5 context.

I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Aug 31 '08 #2

P: n/a
Cameron Laird schreef:
I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.
Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:
roel@shannon $ uname -a
Linux shannon 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008
x86_64 GNU/Linux

roel@shannon $ cat /etc/issue
Ubuntu 8.04.1 \n \l

roel@shannon $ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>import sqlite3


--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Aug 31 '08 #3

P: n/a
Roel Schroeven schreef:
Cameron Laird schreef:
>I now suspect that my 2.5 packaging has something to do with 64-bit builds;
all my 32-bit Ubuntu servers have Python 2.5.2, while the 64-bit ones are at
Python 2.5.

Strange: my 64-bit Ubuntu 8.04 has Python 2.5.2, with working sqlite:
(mine is a desktop, not a server; I don't know if that should make any
difference).

--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
Sep 1 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.