Ubuntu install problems

2010-03-20 Thread waugust
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed.
Whenever I apt-get install anything It ends with a series of python
(dependency?) errors.  Anybody got any idea?
> aptget libgcj-common
Reading package lists...
Done
Building dependency
tree
Reading state information...
Done
libgcj-common is already the newest
version.
0 upgraded, 0 newly installed, 0 to remove and 6 not
upgraded.
26 not fully installed or
removed.
After this operation, 0B of additional disk space will be
used.
Setting up libgcj-common
(1:4.4.1-1ubuntu2) ...
Compiling /usr/lib/python3.1/dist-packages/
aotcompile.py ...
  File "/usr/lib/python3.1/dist-packages/aotcompile.py", line
115
raise Error, "nothing to
do"
 
^
SyntaxError: invalid
syntax

Compiling /usr/lib/python3.1/dist-packages/classfile.py ...
  File "/usr/lib/python3.1/dist-packages/classfile.py", line 30
raise TypeError, type(arg)
   ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (2)
pycentral pkginstall: error byte-compiling files (2)
dpkg: error processing libgcj-common (--configure):
 subprocess installed post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of
libgcj10:
 libgcj10 depends on libgcj-common (>= 1:4.1.1-21);
however:
  Package libgcj-common is not configured
yet.
dpkg: error processing libgcj10 (--
configure):
 dependency problems - leaving
unconfigured
dpkg: dependency problems prevent configuration of libgcj-bc:

It snowballs down from there for:

No apport report written because MaxReports is reached already
  Errors
were encountered while processing:
 libgcj-common
 libgcj10
 libgcj-bc
 ant-gcj
 ant-optional-gcj
 python-transaction
 python-zconfig
 python-zdaemon
 python-zope.exceptions
 python-zope.testing
 python-zope.proxy
 python-zodb
 python-zope.component
 gaphor
 gcj-4.4-jre-lib
 python-speechd
 python-pyatspi
 gnome-orca
 python-configglue
 python-telepathy
 python-ubuntuone-storageprotocol
 python-ubuntuone-client
 telepathy-butterfly
 ubuntuone-client
 ubuntuone-client-gnome
 python-zope.hookable
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Ubuntu install problems

2010-03-20 Thread waugust
On Mar 20, 10:25 am, Steven D'Aprano  wrote:
> On Sat, 20 Mar 2010 10:00:47 -0700, waugust wrote:
> > I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed. Whenever
> > I apt-get install anything It ends with a series of python (dependency?)
> > errors.  Anybody got any idea?
>
> It looks like apt-get is supposed to be using 2.6 or 2.5, but somehow is
> running 3.1 instead.
>
> If you run "python -V", what does it say?
>
> --
> Steven

>python -V
Python 2.6.4

odd..yeah, I uninstalled all of the listed packages and started to
install again and got the same problem...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Ubuntu install problems

2010-03-20 Thread waugust
On Mar 20, 10:40 am, waugust  wrote:
> On Mar 20, 10:25 am, Steven D'Aprano 
> cybersource.com.au> wrote:
> > On Sat, 20 Mar 2010 10:00:47 -0700, waugust wrote:
> > > I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed. Whenever
> > > I apt-get install anything It ends with a series of python (dependency?)
> > > errors.  Anybody got any idea?
>
> > It looks like apt-get is supposed to be using 2.6 or 2.5, but somehow is
> > running 3.1 instead.
>
> > If you run "python -V", what does it say?
>
> > --
> > Steven
> >python -V
>
> Python 2.6.4
>
> odd..yeah, I uninstalled all of the listed packages and started to
> install again and got the same problem...

So I put this up to the Ubuntu (lunchpad, apt) community support
board: https://answers.launchpad.net/ubuntu/+source/apt/+question/105025

Possible bug with the python-central package (Ubuntu x86 9.10)?? dunno.
-- 
http://mail.python.org/mailman/listinfo/python-list