Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6160457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:18:24+00:00 2026-05-23T21:18:24+00:00

-Edit after closing- I try to install ruby 3 to a Server and that

  • 0

-Edit after closing-
I try to install ruby 3 to a Server and that kind of work, but when I check out my project and try bundle install I get the error message, that gem pg needs pgadmin, that is why I asked directly for the command. In this case it is related to programming…

— original question

I simply try to install pgadmin to an ubuntu machine, but it fails with the following Exception:

apt-get install pgadmin3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pgadmin3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
5 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up shared-mime-info (0.71-1ubuntu2) ...
Segmentation fault
dpkg: error processing shared-mime-info (--configure):
 subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of libgtk2.0-0:
 libgtk2.0-0 depends on shared-mime-info; however:
  Package shared-mime-info is not configured yet.
dpkg: error processing libgtk2.0-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
 libgtk2.0-bin depends on libgtk2.0-0 (>= 2.20.1-0ubuntu2); however:
  Package libgtk2.0-0 is not configured yet.
dpkg: error processing libgtk2.0-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libwxgtk2.8-0:
 libwxgtk2.8-0 depends on libgtk2.0-0 (>= 2.18.0); however:
  Package libgtk2.0-0 is not configured yet.
dpkg: error processing libwxgtk2.8-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                              No apport report written because the error message indicates its a followup error from a previous failure.
                        No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
                                                                    gadmin3:
 pgadmin3 depends on libwxgtk2.8-0 (>= 2.8.10.1); however:
  Package libwxgtk2.8-0 is not configured yet.
dpkg: error processing pgadmin3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 shared-mime-info
 libgtk2.0-0
 libgtk2.0-bin
 libwxgtk2.8-0
 pgadmin3
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tryed alot of different stuff, but nothing helped.
Tell me if you need mor information.

Is there a way to force dpkg to accept not configured?

Update

I tryed update-mime-database /usr/share/mime

and the ouptput can be found here
http://pastebin.com/9CjwLWgP

It looks like a bug without a solution, doesn’t it?

When I enter dpkg -l libc6 gdb libxml2

it occours

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  gdb            <none>         (no description available)
ii  libc6          2.11.1-0ubuntu Embedded GNU C Library: Shared libraries
ii  libxml2        2.7.6.dfsg-1ub GNOME XML library

Update 2

I installed libxml2.7.7 (see history:)

wget ftp://xmlsoft.org/libxml2/libxml2-2.7.7.tar.gz
tar -xvzf libxml2-2.7.7.tar.gz 
cd libxml2-2.7.7
./configure --prefix=/usr/local/libxml2
make
sudo make install

But I still get an error, see http://pastebin.com/E8bNdp2G

Update 3
Problem solved!

here my last history:

wget http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.7.dfsg-4ubuntu0.2_amd64.deb
dpkg -i libxml2_2.7.7.dfsg-4ubuntu0.2_amd64.deb 
apt-get upgrade
apt-get install pgadmin3

Now i can use postgresql for my rails application 😀

Thank you Ariel!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:18:24+00:00Added an answer on May 23, 2026 at 9:18 pm

    Please run: update-mime-database -V /usr/share/mime and show us the output.

    Looks like someone else has encountered this: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/775619

    And it seems to be an old bug too: http://pastebin.com/fcw2XQDY

    And it’s a perennial problem going back to 2006: https://lists.ubuntu.com/archives/desktop-bugs/2006-September/049391.html

    I would contact ubuntu using the first link I gave you. If they can’t help you, you may be able to force dpkg to consider shared-mime-info as configured even if it’s not.

    But first try the command I gave you, maybe it will give useful info. (That is the command that is crashing.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a Jquery function that I wrote which blacks out the screen after
How can I check if the user is closing the window after filling in
What is Lazy Loading? [Edit after reading a few answers] Why do people use
Is there a way to convert from System.Windows.Forms.HtmlElement to mshtml.IHTMLElemenet3? --edit after answer accepted
I've got a treeview control, and have caught its after-label-edit event. I want to
edit: many thanks for all the answers. Here are the results after applying the
Edit: From another question I provided an answer that has links to a lot
EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business
* edit * After reinstalling the module, everything worked fine. I have installed a
How do I debug code in the View in asp.net mvc2 application? Edit after

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.