|
Home > Archive > Debian Developers > June 2004 > incorrect dependency on Woody postgresql package?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
incorrect dependency on Woody postgresql package?
|
|
| Edvard Majakari 2004-06-15, 5:55 pm |
|
Hi,
Package PostgreSQL from woody (7.2.1-2woody5) lists python2.1 in the
dependencies field. However, PostgreSQL seems to run just fine with
python2.2 installed and python2.1 removed. Is this a bug in dependency
field or what? I'd save 20 MB storage (system contains total of 256 MB) if
I could remove python2.1.
I removed python2.1 with dpkg --purge --force-depends, and I just wonder
if there is more elegant way 
--
# Edvard Majakari Software Engineer
# PGP PUBLIC KEY available Soli Deo Gloria!
$_ = '456476617264204d616a616b6172692c2061204
3687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Martin Pitt 2004-06-15, 5:55 pm |
| Hi!
On 2004-06-15 17:09 +0300, Edvard Majakari wrote:
> Package PostgreSQL from woody (7.2.1-2woody5) lists python2.1 in the
> dependencies field. However, PostgreSQL seems to run just fine with
> python2.2 installed and python2.1 removed. Is this a bug in dependency
> field or what? I'd save 20 MB storage (system contains total of 256 MB) if
> I could remove python2.1.
>
> I removed python2.1 with dpkg --purge --force-depends, and I just wonder
> if there is more elegant way 
PostgreSQL contains the plpython language, i. e. it allows to write
stored procedures in python. As long as you don't use them, postgresql
will be running fine without Python at all. It will just break in an
ugly way if plpython is used without an installed Python (that's why
it is not just recommended).
I don't know whether plpython (which was compiled against Python 2.1)
will work with Python 2.2. If you are successful, I would be
interested in this; I won't change the woody version, but this could
lead to more relaxed dependencies in the current testing/unstable
versions.
Martin
--
Martin Pitt Debian GNU/Linux Developer
martin@piware.de mpitt@debian.org
http://www.piware.de http://www.debian.org
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Stephen Frost 2004-06-15, 5:55 pm |
| * Martin Pitt (martin@piware.de) wrote:
> I don't know whether plpython (which was compiled against Python 2.1)
> will work with Python 2.2. If you are successful, I would be
> interested in this; I won't change the woody version, but this could
> lead to more relaxed dependencies in the current testing/unstable
> versions.
I seriously doubt the two would be fully ABI compatible. I'm pretty
sure that's why there's a 2.1 and a 2.2 version of it explicitly in
Debian- things break otherwise. Now, an interesting consideration would
be if it would be possible to split out the language into it's own
package with it's own Depends and then just have it be Suggested or
Recommened by the main PostgreSQL package.
This is probably possible, the question would be if it's worth it. In
this example it sounds like it would be but I don't know if this is very
common or not. Personally, I've never used plpython but I've got python
installed for various other reasons anyway so it'd be unlikely to affect
me.
Thoughts?
Stephen
| |
| Martin Pitt 2004-06-16, 5:55 pm |
| Hi!
On 2004-06-15 14:54 -0400, Stephen Frost wrote:
> Now, an interesting consideration would be if it would be possible
> to split out the language into it's own package with it's own
> Depends and then just have it be Suggested or Recommened by the main
> PostgreSQL package.
Sounds like an interesting task for you, now that you are a brand new
comaintainer :-) I would welcome a separate package
postgresql-plpython; not for woody any more, but for sarge it would
make sense IMHO.
> This is probably possible, the question would be if it's worth it. In
> this example it sounds like it would be but I don't know if this is very
> common or not. Personally, I've never used plpython
Me neither and there already was a similar bug long ago.
> but I've got Python installed for various other reasons anyway so
> it'd be unlikely to affect me.
It certainly would be nice on smaller systems.
Martin
--
Martin Pitt Debian GNU/Linux Developer
martin@piware.de mpitt@debian.org
http://www.piware.de http://www.debian.org
|
|
|
|
|