PDA

View Full Version : [SOLVED] Gparted won't work !



WinuxUser
May 12th, 2012, 06:04 AM
Machine: Dell inspiron 1440
OS: ubuntu 12.04 64 bit

Problem: i installed gparted. It shows up in bash too. when i try to open it typing
sudo gparted
i get the following:


winuxuser@MagicBox:~$ 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
winuxuser@MagicBox:~$


any ideas gurus?

wilee-nilee
May 12th, 2012, 06:10 AM
Check to see if this is installed.

libgtkmm-2.4-1c2a

Also gparted is a graphic so use gksudo.

WinuxUser
May 12th, 2012, 06:19 AM
Check to see if this is installed.

libgtkmm-2.4-1c2a

This is already installed.


Also gparted is a graphic so use gksudo.

gksudo gparted
would yield me the screen that asks me for password to perform administrative task...and after that, i keep waiting and waiting but gparted doesnt show up...

Thanks for your quick reply.:)

WinuxUser
May 12th, 2012, 06:20 AM
also, the file gpartedbin from the path /usr/sbin is also not available... :(

wilee-nilee
May 12th, 2012, 06:29 AM
also, the file gpartedbin from the path /usr/sbin is also not available... :(

I would purge it and reinstall if me to see what happens, I see bugs, older ones though in a google search with the error. One solution was also reloading that first post I made.


sudo apt-get purge gparted && sudo apt-get install gparted

carl4926
May 12th, 2012, 06:40 AM
working fine here
eeepc running 12.04 x86

WinuxUser
May 12th, 2012, 06:56 AM
sudo apt-get purge gparted && sudo apt-get install gparted

i did that....and the output is something like

winuxuser@MagicBox:~$ sudo apt-get purge gparted && sudo apt-get install gparted[sudo] password for winuxuser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
gparted*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,982 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 212583 files and directories currently installed.)
Removing gparted ...
Purging configuration files for gparted ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for menu ...



and the blinker has been blinking for like more than 20 minutes now.... i don't think it should be that way...is it?

carl4926
May 12th, 2012, 07:00 AM
Startup synaptic and fix broken packages?!

WinuxUser
May 12th, 2012, 07:07 AM
@wilee..
finally, the process finished...but still, no luck at all...

winuxuser@MagicBox:~$ sudo apt-get purge gparted && sudo apt-get install gparted[sudo] password for winuxuser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
gparted*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,982 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 212583 files and directories currently installed.)
Removing gparted ...
Purging configuration files for gparted ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for menu ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
reiser4progs ntfsprogs
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/544 kB of archives.
After this operation, 1,982 kB of additional disk space will be used.
Selecting previously unselected package gparted.
(Reading database ... 212494 files and directories currently installed.)
Unpacking gparted (from .../gparted_0.11.0-2_amd64.deb) ...
Processing triggers for menu ...
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 ...
Processing triggers for hicolor-icon-theme ...
Setting up gparted (0.11.0-2) ...
Processing triggers for menu ...
winuxuser@MagicBox:~$ gparted
Root privileges are required for running gparted.
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory
winuxuser@MagicBox:~$ gksudo gparted
winuxuser@MagicBox:~$


nothing happened...

wilee-nilee
May 12th, 2012, 07:08 AM
i did that....and the output is something like

winuxuser@MagicBox:~$ sudo apt-get purge gparted && sudo apt-get install gparted[sudo] password for winuxuser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
gparted*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,982 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 212583 files and directories currently installed.)
Removing gparted ...
Purging configuration files for gparted ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for menu ...


and the blinker has been blinking for like more than 20 minutes now.... i don't think it should be that way...is it?

No, it should not hang I just ran the command with no problems. Go ahead and shut the terminal and run these two commands to clear and possibly finish the run.


sudo dpkg --configure -a


sudo apt-get -f install

After this I would look in synaptic for any broken packages, look in the custom filters.

If all looks good check gparted in synaptic to see if it is marked.

You may need to install synaptic as well.


sudo apt-get install gparted

WinuxUser
May 12th, 2012, 07:08 AM
Startup synaptic and fix broken packages?!

mate, i did that too... and it gives the same result again...
i ran synaptic package manager, it prompted me for password... i entered...now, nothing seems to pop up...

I guess everything related to administrative task is being forbidden to the only user of this machine.. :(

carl4926
May 12th, 2012, 07:10 AM
Did you reboot recently?

WinuxUser
May 12th, 2012, 07:16 AM
yepp.... my machine has been acting strangely since installing 12.04. i have to make a hard shutdown everytime i wish to reboot or shutdown...but im sure i did.. :)

carl4926
May 12th, 2012, 07:20 AM
yepp.... my machine has been acting strangely since installing 12.04. i have to make a hard shutdown everytime i wish to reboot or shutdown...but im sure i did.. :)

Sounds a bit flaky - was it a clean install or upgrade?

WinuxUser
May 12th, 2012, 07:26 AM
it was a clean install over 11.04. But the installation didnt went fine because i had to report a bug related to software center and ubiquity. I frequently have a message saying "Ubuntu has experienced an internal error" or something like that..

A message popped up few minutes ago saying me to report a bug about synaptic too..... its all messed up here :(

carl4926
May 12th, 2012, 07:33 AM
Might be worth trying again

Make sure the cd passes the check

WinuxUser
May 12th, 2012, 07:35 AM
u mean i should make a fresh install after checking the USB?

WinuxUser
May 12th, 2012, 07:36 AM
this would be my third time in a row if i do so... with different iso files downloaded at different times...do u think i should do another fresh installation of the OS?

WinuxUser
May 12th, 2012, 08:22 AM
Might be worth trying again

Make sure the cd passes the check

the cd check gave an error with filesystem.squashfs .... is there any way to fix it?

wilee-nilee
May 12th, 2012, 08:26 AM
the cd check gave an error with filesystem.squashfs .... is there any way to fix it?

No download another and check it as well.

WinuxUser
May 12th, 2012, 08:40 AM
i downloaded it from torrent as well, didnt work out...downloaded directly from official website too..didnt work out...i wonder where i would go looking for a good iso coz it takes almost 5 hrs to complete the download... i dont want to waste my bandwidth downloading a bad iso... mind suggesting me a a place where good iso for 64 bit is?

wilee-nilee
May 12th, 2012, 09:02 AM
i downloaded it from torrent as well, didnt work out...downloaded directly from official website too..didnt work out...i wonder where i would go looking for a good iso coz it takes almost 5 hrs to complete the download... i dont want to waste my bandwidth downloading a bad iso... mind suggesting me a a place where good iso for 64 bit is?

Really the ubuntu.com website links are what you want, torrent or http.

So here is a link for the mini cd this is a netload.
https://help.ubuntu.com/community/Installation/MinimalCD

WinuxUser
May 12th, 2012, 01:02 PM
Recently, alot of google searches have made me to conclude that current 12.04 is not fully functional to everyone as expected...so maybe its worth a wait till some bugs gets fixed and then download? or ?

WinuxUser
May 22nd, 2012, 02:08 AM
Just finished installing 12.04 from newly downloaded .iso.
Guess there was some error with the 12.04 i installed previously. Everything works fine here now...Thank you all for your help and time.

Happy Linuxing. :D