12.04 Beta 2 gparted won't run

Bug #964694 reported by jerrylamos
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

apt-get install gparted won't run:

The following NEW packages will be installed:
  gparted
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/543 kB of archives.
After this operation, 1,917 kB of additional disk space will be used.
Selecting previously unselected package gparted.
(Reading database ... 136610 files and directories currently installed.)
Unpacking gparted (from .../gparted_0.11.0-2_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up gparted (0.11.0-2) ...

jerry@Aspire1:~$ sudo gparted
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory

Looks to me like apt-get install gparted did not load the library libgtkmm-2.4.so.1

Tried synaptic re-install of gparted. Same problem.

Anything to do to get gparted running?

Thanks, Jerry

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gparted 0.11.0-2
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
Date: Sun Mar 25 14:19:34 2012
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gparted
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
jerrylamos (jerrylamos) wrote :
Revision history for this message
Phillip Susi (psusi) wrote :

Strange. Someone else reported this earlier in the development cycle. Can you try apt-get install --reinstall libgtkmm-2.4-1c2a?

Changed in gparted (Ubuntu):
status: New → Incomplete
Revision history for this message
Curtis Gedak (gedakc) wrote :

I just did some testing with the Beta1 precise-desktop-amd64.iso.

If I try to install gparted prior to performing a "sudo apt-get update", then I too receive an error. The error mentioned somting about the IP address for the libgtkmm-2.4-1c2a package cannot be found. I would have copied the message here, but Beta1 is not very stable on my computer and crashed while I tried to update this bug in Firefox.

I was able to work around the GParted library install problem with:

sudo apt-get update
sudo apt-get install gparted

@jerrylamos,

Would you be able to try running "sudo apt-get update" before running "sudo apt-get install gparted"?

Revision history for this message
Phillip Susi (psusi) wrote :

Is this on the livecd or after installing? On the livecd gparted is already preinstalled, so you don't need to install it. If this is post install, then I'm starting to think there is a bug in the installer. I have seen this happen once or twice now with other packages that are installed on the livecd, but removed during installation. After installing, the files are removed, bug dpkg thinks they are still installed. This may be what is happening here: libgtkmm-2.4-1c2a is installed in the livecd, but after installing to the hd, the library files themselves are removed, but dpkg still thinks the package is installed, so when you go to install gparted, it doesn't install the library because it thinks it is already installed, when in fact, it isn't.

Revision history for this message
jerrylamos (jerrylamos) wrote :

Curtis, thanks for the comment. I thought I had updated let's try again:

So I did:

sudo aptitude update
sudo aptitude safe-upgrade

then

sudo apt-get remove gparted
sudo apt-get install gparted

try again:

jerry@Aspire1:~$ sudo gparted
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory

So what is this libgtkmm-2.4.so.1 ? find couldn't find it. Any way to install it?

I happen to have 12.04 lubuntu beta 2 candidate on a notebook on the other table. That's different from ubuntu. Gparted installed and ran. The libraries it loaded did not include libgtkmm-2.4.so.1 but maybe that's a difference with lubunntu vs. ubuntu.

As I remember from other installs of gparted some libraries are installed. In this case none were:

jerry@Aspire1:~$ sudo apt-get install gparted
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  gparted
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/543 kB of archives.
After this operation, 1,917 kB of additional disk space will be used.
Selecting previously unselected package gparted.
(Reading database ... 136636 files and directories currently installed.)
Unpacking gparted (from .../gparted_0.11.0-2_i386.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up gparted (0.11.0-2) ...

Thanks, Jerry

Revision history for this message
Phillip Susi (psusi) wrote :

It is a library from the libgtkmm-2.4-1c2a package. You install it by (re) installing that package. Gparted uses it no matter what ubuntu flavor you have installed. It isn't installed when you install gparted if dpkg thinks it is already installed.

Revision history for this message
Curtis Gedak (gedakc) wrote :

'Just downloaded the precise-desktop-amd64.iso from March 25, 2012 and installed it into a VM.

Next I opened a terminal prompt and entered:

     sudo apt-get install gparted

This installed both libgtkmm-2.4-1c2a and gparted.

@jerrylamos,

Can you try "sudo aptitude reinstall libgtkmm-2.4-1c2a"?

Revision history for this message
jerrylamos (jerrylamos) wrote :

Curtis, thanks, your suggestion worked.
That wasn't the lib that gparted said was missing.
As far as I can remember any time I've installed gparted there were lib called out to be installed too. Not this time, so re-installing the lib fixed it. Any way for us users to know what lib to re-install?
Appreciate the help. My only recourse would have been to install ubuntu again.
Here's the log:

jerry@Aspire1:~$ sudo aptitude reinstall libgtkmm-2.4-1c2a
[sudo] password for jerry:
The following packages will be REINSTALLED:
  libgtkmm-2.4-1c2a
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,021 kB of archives. After unpacking 0 B will be used.
Get: 1 http://us.archive.ubuntu.com/ubuntu/ precise/main libgtkmm-2.4-1c2a i386 1:2.24.2-1ubuntu1 [1,021 kB]
Fetched 1,021 kB in 6s (158 kB/s)
(Reading database ... 136726 files and directories currently installed.)
Preparing to replace libgtkmm-2.4-1c2a 1:2.24.2-1ubuntu1 (using .../libgtkmm-2.4-1c2a_1%3a2.24.2-1ubuntu1_i386.deb) ...
Unpacking replacement libgtkmm-2.4-1c2a ...
Setting up libgtkmm-2.4-1c2a (1:2.24.2-1ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Thanks, Jerry

Revision history for this message
Phillip Susi (psusi) wrote :

If the package is installed ( or in this case, dpkg *thinks* it is installed ), you can find out what package owns a given file with dpkg -S /path/to/file.

Revision history for this message
Curtis Gedak (gedakc) wrote :

I think the problem is already solved.

With the original precise-desktop-amd64.iso beta1 I was able to duplicate the problem you experienced.

With the latest precise-desktop-amd64.iso from March 25, 2012, I could not duplicate the problem. It just worked properly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gparted (Ubuntu) because there has been no activity for 60 days.]

Changed in gparted (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.