LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-08-2009, 10:40 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 371

Rep: Reputation: 40
strange apt-get errors after installing openoffice in lenny


hi,

So I installed openoffice 3 with the debs from the openoffice site since the one from Debian is outdated. Since then, whenever I use apt-get or anything using it, I get an icon in my taskbar that's a red circle with a white line through it. Sometimes is will be gray, and sometimes it's the normal download icon. but it says "A problem occurred when checking for updates" when I mouse over it. I happens every time I log in, and whenever I install a new package. Synaptic prints a few errors:

Code:
from: can't read /var/mail/optparse
/usr/bin/lsb_release: line 29: RELEASE_CODENAME_LOOKUP: command not found
/usr/bin/lsb_release: line 30: 1.1: command not found
/usr/bin/lsb_release: line 31: 1.2: command not found
/usr/bin/lsb_release: line 32: 1.3: command not found
/usr/bin/lsb_release: line 33: 2.0: command not found
/usr/bin/lsb_release: line 34: 2.1: command not found
/usr/bin/lsb_release: line 35: 2.2: command not found
/usr/bin/lsb_release: line 36: 3.0: command not found
/usr/bin/lsb_release: line 37: 3.1: command not found
/usr/bin/lsb_release: line 38: 4.0: command not found
/usr/bin/lsb_release: line 39: 5.0: command not found
/usr/bin/lsb_release: line 40: syntax error near unexpected token `}'
/usr/bin/lsb_release: line 40: `    }'
Selecting previously deselected package klipper.
(Reading database ... 115219 files and directories currently installed.)
Unpacking klipper (from .../klipper_4%3a3.5.9.dfsg.1-6_amd64.deb) ...
Processing triggers for menu ...
Setting up klipper (4:3.5.9.dfsg.1-6) ...
Processing triggers for menu ...
The mouse also turns into a little cross that doesn't go away unless I click something.

Any idea what might have happened?
 
Old 05-09-2009, 01:14 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9, LineageOS 13
Posts: 1,434

Rep: Reputation: 181Reputation: 181
I have no idea what happened. But, I do feel it might be best to uninstall this version of OpenOffice.org, and instead to install OpenOffice.org from http://www.backports.org. Here are the instructions (with the package being openoffice.org, of course). This gives you version 3.0.1-11, which is pretty close to the latest release).
 
Old 05-12-2009, 09:28 PM   #3
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 371

Original Poster
Rep: Reputation: 40
Sorry, I haven't been at my computer in a while.

When I installed the alternate version of openoffice, there was no difference, the problem only builds. I installed python today, and I got a larger error message:

Code:
from: can't read /var/mail/optparse
/usr/bin/lsb_release: line 29: RELEASE_CODENAME_LOOKUP: command not found
/usr/bin/lsb_release: line 30: 1.1: command not found
/usr/bin/lsb_release: line 31: 1.2: command not found
/usr/bin/lsb_release: line 32: 1.3: command not found
/usr/bin/lsb_release: line 33: 2.0: command not found
/usr/bin/lsb_release: line 34: 2.1: command not found
/usr/bin/lsb_release: line 35: 2.2: command not found
/usr/bin/lsb_release: line 36: 3.0: command not found
/usr/bin/lsb_release: line 37: 3.1: command not found
/usr/bin/lsb_release: line 38: 4.0: command not found
/usr/bin/lsb_release: line 39: 5.0: command not found
/usr/bin/lsb_release: line 40: syntax error near unexpected token `}'
/usr/bin/lsb_release: line 40: `    }'
Selecting previously deselected package python2.4-minimal.
(Reading database ... 115530 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.6-1_amd64.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.6-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up python2.4-minimal (2.4.6-1) ...
Linking and byte-compiling packages for runtime python2.4...
from: can't read /var/mail/optparse
from: can't read /var/mail/ConfigParser
/usr/bin/pycentral: line 7: sys.path[0:0]: command not found
/usr/bin/pycentral: line 10: try:: command not found
/usr/bin/pycentral: line 11: SetType: command not found
/usr/bin/pycentral: line 12: except: command not found
/usr/bin/pycentral: line 14: SetType: command not found
/usr/bin/pycentral: line 17: syntax error near unexpected token `('
/usr/bin/pycentral: line 17: `program = os.path.basename(sys.argv[0])'
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.6-1); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.4-minimal
 python2.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python2.4-minimal (2.4.6-1) ...
Linking and byte-compiling packages for runtime python2.4...
import: unable to grab mouse `': Resource temporarily unavailable.
from: can't read /var/mail/optparse
from: can't read /var/mail/ConfigParser
/usr/bin/pycentral: line 7: sys.path[0:0]: command not found
/usr/bin/pycentral: line 10: try:: command not found
/usr/bin/pycentral: line 11: SetType: command not found
/usr/bin/pycentral: line 12: except: command not found
import: unable to grab mouse `': Resource temporarily unavailable.
/usr/bin/pycentral: line 14: SetType: command not found
/usr/bin/pycentral: line 17: syntax error near unexpected token `('
/usr/bin/pycentral: line 17: `program = os.path.basename(sys.argv[0])'
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.6-1); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python2.4-minimal
 python2.4
thank you for you help
 
Old 05-13-2009, 07:41 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Quote:
from: can't read /var/mail/optparse
/usr/bin/lsb_release: line 29: RELEASE_CODENAME_LOOKUP: command not found
/usr/bin/lsb_release: line 30: 1.1: command not found
/usr/bin/lsb_release: line 31: 1.2: command not found
is lsb installed ?
aptitude install lsb lsb-core



I'd probably try pulling python 2.4 in favor of python 2.5

aptitude purge python2.4 python2.4-minimal
aptitude install python2.5 python2.5-minimal
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenOffice 3 in Debian Lenny matiasar Debian 12 12-04-2009 08:39 AM
openoffice 'Javaldx failed!" Debian lenny squeeze kaz2100 Debian 0 02-23-2009 06:27 AM
Installing Parallel Virtual File System on Debian Lenny, an strange problem sarajevo Debian 0 03-08-2008 01:18 AM
Apt-get lenny? Bjorne Debian 7 05-17-2007 09:33 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration