system commands not working: internal error 12.04

Asked by Pooja Saxena

Hi all,
I upgraded from 10.04 to 12.04. Since then I am facing isues in system commands, the Error Message says :
==========================
*Sorry, Ubuntu 12.04 has experienced an internal error.
if you notice further problems, try restarting the computer.*
==========================

For example, I tried installing printer and faced the same error: the detail error messageis here :
=================================
ExecutablePath
   /use/share/system-config-printer/system-config-printer.py
Package
  system-config-printer-gnome 1.3.8_20120201-0ubuntu8.1
ProblemTupe
  Crash
Title
  system-config-printer.py crashed with ImportError in /user/lib/python2..7/dist-packages.cupshelpers /penprinting.py:librtmp.so.0: cannot open shared object file: No such file or directory
Traceback
-------
-----
----
======================================

Kindly suggest.

Thanks
Pooja

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rtmpdump Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Is it only the printer dialogue giving you issues?

Thanks

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#2

Hi,
Not only printer dialog. Many system task, for example:
When I tried clinking "Network - All settings -* Additional Driver*" The
same error message flashes.
I have seen this happening couple of times, not able to recall what exactly
the task were.

when I clikced "Ubuntu One", there the message was that something like
"cos of some system error, the application needs to be closed".

Thanks,
Pooja

On Thu, Sep 20, 2012 at 6:25 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #209109 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Is it only the printer dialogue giving you issues?
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Is the system fully updated. you can check with:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Reboot to test

Revision history for this message
Thomas Krüger (thkrueger) said :
#4

Maybe librtmp is just missing, Try this command to install it:

sudo apt-get install librtmp0

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#5

Hi,
I tried installing it. But it says that it is already installed.

Thanks,
Pooja

On Fri, Sep 21, 2012 at 7:05 AM, Thomas Krüger <
<email address hidden>> wrote:

> Your question #209109 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> Thomas Krüger proposed the following answer:
> Maybe librtmp is just missing, Try this command to install it:
>
> sudo apt-get install librtmp0
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/209109/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> You received this question notification because you asked the question.
>

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#6

Hi,
I did google and tried this command:

~$ *sudo system-config-printer*
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line
71, in <module>
    import cupshelpers
  File "/usr/lib/python2.7/dist-packages/cupshelpers/__init__.py", line 60,
in <module>
    import openprinting
  File "/usr/lib/python2.7/dist-packages/cupshelpers/openprinting.py", line
22, in <module>
    import pycurl, urllib, platform, threading, tempfile, traceback
ImportError: librtmp.so.0: cannot open shared object file: No such file or
directory

I tried reinstalling/installing this system-congif based liberaty from
snaytic manager, no help.

thnkas
Pooja

On Fri, Sep 21, 2012 at 9:16 AM, Pooja Saxena <
<email address hidden>> wrote:

> Your question #209109 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> Status: Answered => Open
>
> You are still having a problem:
> Hi,
> I tried installing it. But it says that it is already installed.
>
> Thanks,
> Pooja
>
>
>
> On Fri, Sep 21, 2012 at 7:05 AM, Thomas Krüger <
> <email address hidden>> wrote:
>
> > Your question #209109 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/209109
> >
> > Thomas Krüger proposed the following answer:
> > Maybe librtmp is just missing, Try this command to install it:
> >
> > sudo apt-get install librtmp0
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/ubuntu/+question/209109/+confirm?answer_id=3
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/209109
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

As ThKrueger said, it looks looks a problem with librtmp

try the command
sudo apt-get install --reinstall librtmp0

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#8

Hi Manfred,
Thanks for the reply. It is already installed.
================
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of librtmp0 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

=================

Pooja

On Fri, Sep 21, 2012 at 3:01 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #209109 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> As ThKrueger said, it looks looks a problem with librtmp
>
> try the command
> sudo apt-get install --reinstall librtmp0
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/209109/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

The error message "Reinstallation of librtmp0 is not possible, it cannot be downloaded." is strange.

Please issue the following commands in a terminal and copy/paste all output:

lsb_release -a
uname -a
dpkg -l libtrmp0
apt-cache policy librtmp0
ls -la /usr/lib/*-linux-gnu/librtmp*
file /usr/lib/*-linux-gnu/librtmp*

Maybe this reveals something wrong with librtmp0.

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#10

Hi Manfred,
Please find the output:

1.) lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

2.) uname -a
Linux poojasaxena-laptop 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24
17:14:09 UTC 2012 i686 i686 i386 GNU/Linux

3.) dpkg -l libtrmp0
No packages found matching libtrmp0.

4.) apt-cache policy librtmp0
librtmp0:
  Installed: 2.4~20110711.gitc28f1bab-1ubuntu0~ppa4~lucid
  Candidate: 2.4~20110711.gitc28f1bab-1ubuntu0~ppa4~lucid
  Version table:
 *** 2.4~20110711.gitc28f1bab-1ubuntu0~ppa4~lucid 0
        100 /var/lib/dpkg/status
     2.4~20110711.gitc28f1bab-1 0
        500 http://in.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

5.) ls -la /usr/lib/*-linux-gnu/librtmp*
-rw-r--r-- 1 root root 100224 Jan 11 2012
/usr/lib/i486-linux-gnu/librtmp.so.0

6.) file /usr/lib/*-linux-gnu/librtmp*
/usr/lib/i486-linux-gnu/librtmp.so.0: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0x56b3ed8b76f14376551c88ecfa7d39c6eee7bd00, stripped

Thanks,

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

see https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/982436

issue this command:

sudo ln -s /usr/lib/i486-linux-gnu/librtmp.so.0 /usr/lib/librtmp.so.0

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#12

Hi Manfred,
Thanks a lot, finally it worked.
I am just wondering if its temporary solution?

Thanks again,
Pooja

On Fri, Sep 21, 2012 at 3:01 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #209109 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> As ThKrueger said, it looks looks a problem with librtmp
>
> try the command
> sudo apt-get install --reinstall librtmp0
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/209109/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/209109
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#13

...I am just wondering if its temporary solution?...

I cannot promise that this solution will work forever, but it should keep working in near future, also across updates and upgrades.
Since the problem is most probably caused by a bug ( bug# 982436 ), any change caused by correction of that bug might have consequence on your system. It is not possible to predict how that bug is going to be tackled and what effects the solution will have, but I am confident that the solution of that bug will take into account your problem.

If you think that this problem has been sufficiently solved please set this question's status to 'solved'.

Revision history for this message
Pooja Saxena (nrjrasaxena) said :
#14

Thanks Manfred Hampl, that solved my question.