No installing works!

Discussion in 'Linux' started by DaleBirch, Jun 6, 2009.

  1. DaleBirch

    DaleBirch

    Joined:
    Dec 30, 2008
    Messages:
    14
    Likes Received:
    0
    I have tried to install numerous new programs, and all of these fail to install.
    It accepts the password so I can install something but does not allow me to go on to Add/Remove or install the packages.
    So I tried running Pirut & Pup into a terminal and this message appears:

    Pirut

    [user@localhost ~]$ pirut
    Unable to import modules. Maybe you're not running under X?

    What does this mean and what do I have to do?

    Pup

    [user@localhost ~]$ pup
    Traceback (most recent call last):
    File "/usr/sbin/pup", line 32, in <module>
    import gtk
    File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in <module>
    from gtk import _gtk
    ImportError: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: g_assertion_message_expr


    Thanks
     
    DaleBirch, Jun 6, 2009
    #1
  2. DaleBirch

    RockDoctor

    Joined:
    Aug 21, 2008
    Messages:
    963
    Likes Received:
    0
    Location:
    Minnesota, USA
    I haven't had trouble installing software with any version of Fedora on my AA1 (Have used F9, F10, F11-rc, and Rawhide), but I don't use either pirut or pup. From a terminal, try sudo yum check-update then sudo yum install <pkg-name> (replace <pkg-name> with the name of the package you want to install).
     
    RockDoctor, Jun 6, 2009
    #2
  3. DaleBirch

    timsalad

    Joined:
    Jan 7, 2009
    Messages:
    2
    Likes Received:
    0
    I have the same issue. Caused by installing Chromium using Macles* instructions below:

    Code:
    wget [url]http://kojipkgs.fedoraproject.org/packages/gcc/4.3.2/7/i386/libstdc++-4.3.2-7.i386.rpm[/url]
    wget [url]http://kojipkgs.fedoraproject.org/packages/nspr/4.7.3/2.fc9/i386/nspr-4.7.3-2.fc9.i386.rpm[/url]
    wget [url]http://kojipkgs.fedoraproject.org/packages/nss/3.12.2.0/3.fc9/i386/nss-3.12.2.0-3.fc9.i386.rpm[/url]
    wget [url]http://kojipkgs.fedoraproject.org/packages/pango/1.20.5/1.fc9/i386/pango-1.20.5-1.fc9.i386.rpm[/url]
    wget [url]http://kojipkgs.fedoraproject.org/packages/cairo/1.6.4/1.fc9/i386/cairo-1.6.4-1.fc9.i386.rpm[/url]
    wget [url]http://kojipkgs.fedoraproject.org/packages/pixman/0.10.0/1.fc9/i386/pixman-0.10.0-1.fc9.i386.rpm[/url]
    sudo rpm -U libstdc* nspr* nss* pango* cairo* pix*
    
    sudo ln -s /lib/libnss3.so /lib/libnss3.so.1d
    sudo ln -s /lib/libnssutil3.so /lib/libnssutil3.so.1d
    sudo ln -s /lib/libsmime3.so /lib/libsmime3.so.1d
    sudo ln -s /lib/libssl3.so /lib/libssl3.so.1d
    sudo ln -s /lib/libplds4.so /lib/libplds4.so.0d
    sudo ln -s /lib/libplc4.so /lib/libplc4.so.0d
    sudo ln -s /lib/libnspr4.so /lib/libnspr4.so.0d
    Download Chromium and extract it.

    Code:
    wget -N [url]http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/16851/chrome-linux.zip[/url]
    Code:
    sudo unzip -o chrome-linux.zip -d /opt
    sudo chown -R user /opt/chrome-linux
    Open an editor.

    Code:
    sudo mousepad /usr/share/applications/chromium.desktop
    Paste the following lines into the editor and save the file.

    [Desktop Entry]
    Name=Chromium
    Comment=Chromium
    Exec=/opt/chrome-linux/chrome
    Icon=/opt/chrome-linux/chrome.png
    Terminal=false
    Type=Application

    Download an icon and add it to the desktop.

    Code:
    wget [url]http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/theme/chromium/product_logo_256.png[/url]
    
    sudo mv product_logo_256.png /opt/chrome-linux/chrome.png
    dca add 10 "file='/usr/share/applications/chromium.desktop'"
    Does anybody know how to fix this? :cry:
     
    timsalad, Jun 7, 2009
    #3
  4. DaleBirch

    timsalad

    Joined:
    Jan 7, 2009
    Messages:
    2
    Likes Received:
    0
    Ok Macles has come through with a solution:

    Error is because there is a mismatch of libraries...in this case pango.

    To correct it:

    Code:
    wget [url]http://kojipkgs.fedoraproject.org/packages/pango/1.18.4/1.fc8/i386/pango-1.18.4-1.fc8.i386.rpm[/url]
    and then:

    Code:
    sudo rpm -U pango-1.18.4-1.fc8.i386.rpm --force
    in a terminal window
    This will disable chromium or whatever you tried to install. Macles says you could flip the libraries again if you needed to. See his blog for more details Comments in "Google Chrome (Chromium) for Linux" article.

    Regards
    Tim :D
     
    timsalad, Jun 9, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.