failed to find module 'libgail-gnome' after upgrade.
hello, it was after I upgrade my ubuntu 12.04.
And now when I start gvim in the terminal .It will return the following message:
gvim:9055): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible
(gvim:9055): GLib-GObject-
I have try to do like that:
sudo apt-get install libgail-gnome-dev
sudo apt-get install libgail-gnome-*
both of above do not help.
and after search on the Internet :
I try to like that:
sudo apt-get remove audacity audacity-data libportsmf0 libgail-common
sudo apt-get autoremove
sudo apt-get install audacity
it doesnot help too.
so now I am here for help;
even it seem the error has no effect on use.But I hope to get out of it . If you have ever had this error, please help me an answer.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Can you give the output of:
lsb_release -a; uname -a; apt-cache policy gvim
Thanks
Revision history for this message
|
#2 |
yes, the output is below:
daipeng@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
daipeng@ubuntu:~$ uname -a
Linux ubuntu 3.2.0-26-
daipeng@ubuntu:~$ apt-cache policy gvim
gvim:
Installed: (none)
Candidate: (none)
Version table:
daipeng@ubuntu:~$ apt-cache policy vim-gnome
vim-gnome:
Installed: 2:7.3.429-
Candidate: 2:7.3.429-
Version table:
*** 2:7.3.429-
500 http://
100 /var/lib/
2:
500 http://
Revision history for this message
|
#3 |
oh ,can anyone give an anwser ?
Revision history for this message
|
#4 |
try
sudo apt-get update
sudo apt-get install --reinstall vim-gnome vim-gui-common vim-common vim-runtime
Does that have any effect?
Revision history for this message
|
#5 |
thanks for your time,
but it doesn't make difference.
as I think the reason may be the loss of library 'libgail-gnome', but after install libgail-gnome-* , it doesn't help.
once , I had expericed like that , because of the grade , so old lib was replaced with some others that has a different name.
the problem can be solved by make a link to the new lib and give a old name.
so if you don't have this problem.can you give the below output .so I can make a comparing.
ls /usr/lib/
the output on my computer is below:
libgailutil-3.a
libgailutil-3.so
libgailutil-3.so.0
libgailutil-
libgailutil.a
libgailutil.so
libgailutil.so.18
libgailutil.
Revision history for this message
|
#6 |
Searching for libgail-gnome shows that this is a library that was available up to natty as part of the libgail-
Please issue the following commands to check if you are running the right executable:
which gvim
gvim --version
Revision history for this message
|
#7 |
sorry, I am not sure to do what .I install gvim with apt-get few months ago. I don't think the intall was wrong. the program starts only two weeks ago. I don't think the install has wrong. And the following was the output on my computer.
which gvim
/usr/bin/gvim
daipeng@ubuntu:~$ gvim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:10:09)
Included patches: 1-429
Modified by <email address hidden>
Compiled by buildd@
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +float +folding -footer +fork() +gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall
+linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname
+mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm
-mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme
+netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile
+python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/
Linking: gcc -L. -Wl,-Bsymbolic-
Revision history for this message
|
#8 |
The output of "gvim --version" looks reasonable.
The original error message includes the string "Gnome-WARNING **:", this may indicate that the problem is not with gvim itself, but within some general gnome packages (or broken dependecies between them).
Please issue the following commands
apt-cache policy
apt-cache policy libgail-3-0 libgail18 libgail-common
sudo apt-get update
sudo apt-get upgrade
and then copy/paste the complete ouput into a new message of thios question thread.
Revision history for this message
|
#9 |
thanks for the time , the following is the output . And what next should I do?
It seems after the operation ,things doesn't come out well.
daipeng@ubuntu:~$ sudo apt-cache policy
[sudo] password for daipeng:
Package files:
100 /var/lib/
release a=now
500 http://
500 http://
500 http://
500 http://
100 http://
release v=12.04,
origin mirrors.163.com
100 http://
release v=12.04,
origin mirrors.163.com
100 http://
release v=12.04,
origin mirrors.163.com
100 http://
release v=12.04,
origin mirrors.163.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
500 http://
500 http://
500 http://
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
500 http://
release v=12.04,
origin mirrors.163.com
Pinned packages:
daipeng@ubuntu:~$ sudo apt-cache policy libgail-3.0 libgail18 libgail-common
libgail-3-0-dbg:
Installed: 3.4.2-0ubuntu0.4
Candidate: 3.4.2-0ubuntu0.4
Version table:
*** 3.4.2-0ubuntu0.4 0
500 http://
100 /var/lib/
3.
500 http://
3.4.1-0ubuntu1 0
500 http://
libgail-3-0:
Installed: 3.4.2-0ubuntu0.4
Candidate: 3.4.2-0ubuntu0.4
Version table:
*** 3.4.2-0ubuntu0.4 0
500 http://
100 /var/lib/
3.
500 http://
3.4.1-0ubuntu1 0
500 http://
libgail18:
Installed: 2.24.10-0ubuntu6
Candidate: 2.24.10-0ubuntu6
Version table:
*** 2.24.10-0ubuntu6 0
500 http://
100 /var/lib/
libgail-common:
Installed: 2.24.10-0ubuntu6
Candidate: 2.24.10-0ubuntu6
Version table:
*** 2.24.10-0ubuntu6 0
500 http://
100 /var/lib/
daipeng@ubuntu:~$ sudo apt-get update
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:59 http://
Hit http://
Hit http://
Get:60 http://
Get:61 http://
Hit http://
Hit http://
Get:62 http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 13.9 MB in 3min 5s (74.6 kB/s)
Reading package lists... Done
daipeng@ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
fonts-liberation gnome-media gnome-settings-
landscape-
libjpeg-turbo8 libjpeg-turbo8-dev libqt4-dbus libqt4-declarative
libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support
libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-sqlite libqt4-svg
libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4
libsyncdaemon
qdbus qt4-qmake telepathy-gabble ubuntuone-client
33 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.9 MB of archives.
After this operation, 31.7 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Fetched 20.9 MB in 2min 28s (140 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 273139 files and directories currently installed.)
Preparing to replace gnome-media 3.4.0-0ubuntu2 (using .../gnome-
Unpacking replacement gnome-media ...
Preparing to replace libjpeg-turbo8-dev 1.1.90+
Unpacking replacement libjpeg-turbo8-dev ...
Preparing to replace libjpeg-turbo8 1.1.90+
Unpacking replacement libjpeg-turbo8 ...
Preparing to replace libqt4-sql-sqlite 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-sql-sqlite ...
Preparing to replace libqt4-qt3support 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-qt3support ...
Preparing to replace libqt4-help 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-help ...
Preparing to replace libqt4-svg 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-svg ...
Preparing to replace libqt4-scripttools 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-scripttools ...
Preparing to replace libqt4-opengl 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-opengl ...
Preparing to replace libqt4-designer 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-designer ...
Preparing to replace libqtgui4 4:4.8.1-0ubuntu4.1 (using .../libqtgui4_
Unpacking replacement libqtgui4 ...
Preparing to replace libqt4-declarative 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-declarative ...
Preparing to replace libqt4-sql 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-sql ...
Preparing to replace libqt4-xmlpatterns 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-xmlpatterns ...
Preparing to replace libqt4-network 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-network ...
Preparing to replace libqt4-script 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-test 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-test ...
Preparing to replace qdbus 4:4.8.1-0ubuntu4.1 (using .../qdbus_
Unpacking replacement qdbus ...
Preparing to replace libqt4-dbus 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-dbus ...
Preparing to replace libqt4-xml 4:4.8.1-0ubuntu4.1 (using .../libqt4-
Unpacking replacement libqt4-xml ...
Preparing to replace libqtcore4 4:4.8.1-0ubuntu4.1 (using .../libqtcore4_
Unpacking replacement libqtcore4 ...
Preparing to replace fonts-liberation 1.07.0-2 (using .../fonts-
Unpacking replacement fonts-liberation ...
Preparing to replace landscape-common 12.04.3-0ubuntu1 (using .../landscape-
Unpacking replacement landscape-common ...
Preparing to replace landscape-client 12.04.3-0ubuntu1 (using .../landscape-
* Stopping landscape-client daemon [ OK ]
Unpacking replacement landscape-client ...
Preparing to replace landscape-
Unpacking replacement landscape-
Preparing to replace landscape-client-ui 12.04.3-0ubuntu1 (using .../landscape-
Unpacking replacement landscape-client-ui ...
Preparing to replace python-
Unpacking replacement python-
Preparing to replace libsyncdaemon-1.0-1 3.0.1-0ubuntu1.0.1 (using .../libsyncdaem
Unpacking replacement libsyncdaemon-1.0-1 ...
Preparing to replace ubuntuone-client 3.0.1-0ubuntu1.0.1 (using .../ubuntuone-
Unpacking replacement ubuntuone-client ...
Preparing to replace python-
Unpacking replacement python-
Preparing to replace qt4-qmake 4:4.8.1-0ubuntu4.1 (using .../qt4-
Unpacking replacement qt4-qmake ...
^[Preparing to replace telepathy-gabble 0.16.0-0ubuntu1 (using .../telepathy-
Unpacking replacement telepathy-gabble ...
Preparing to replace gnome-settings-
Unpacking replacement gnome-settings-
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Processing triggers for fontconfig ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libglib2.0-0 ...
Setting up gnome-media (3.4.0-0ubuntu2.1) ...
Setting up libjpeg-turbo8 (1.1.90+
Setting up libjpeg-turbo8-dev (1.1.90+
Setting up libqtcore4 (4:4.8.
Setting up libqt4-sql (4:4.8.
Setting up libqt4-sql-sqlite (4:4.8.
Setting up libqt4-xml (4:4.8.
Setting up libqt4-dbus (4:4.8.
Setting up libqt4-script (4:4.8.
Setting up libqt4-network (4:4.8.
Setting up libqt4-xmlpatterns (4:4.8.
Setting up libqt4-test (4:4.8.
Setting up qdbus (4:4.8.
Setting up fonts-liberation (1.07.0-2ubuntu0.1) ...
Setting up landscape-common (12.05-
Setting up landscape-client (12.05-
* Starting the landscape-client daemon [ OK ]
Setting up landscape-
Setting up landscape-client-ui (12.05-
Setting up python-
Setting up python-
Installing new version of config file /etc/xdg/
Setting up ubuntuone-client (3.0.2-0ubuntu1) ...
Setting up libsyncdaemon-1.0-1 (3.0.2-0ubuntu1) ...
Setting up qt4-qmake (4:4.8.
Setting up telepathy-gabble (0.16.0-0ubuntu2) ...
Setting up gnome-settings-
Setting up libqtgui4 (4:4.8.
Setting up libqt4-declarative (4:4.8.
Setting up libqt4-designer (4:4.8.
Setting up libqt4-qt3support (4:4.8.
Setting up libqt4-help (4:4.8.
Setting up libqt4-svg (4:4.8.
Setting up libqt4-scripttools (4:4.8.
Setting up libqt4-opengl (4:4.8.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
daipeng@ubuntu:~$ gvim
(gvim:4855): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible
(gvim:4855): GLib-GObject-
daipeng@ubuntu:~$
(gvim:4855): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_
(gvim:4855): Gdk-CRITICAL **: IA__gdk_
(gvim:4855): Gdk-CRITICAL **: IA__gdk_
Revision history for this message
|
#10 |
Googling for your original error message leads to the following page:
http://
with the instruction
gconftool-2 --type bool --set /desktop/
I have never tried that and do not know if
1. that command can successfully be executed on your system
2. has the effect of getting rid of the error messsages
3. does not have and undesired effects.
One remark:
Apparently you have enabled precise-proposed, with the consequence of installing versions that are not tested as thoroughly as those in precise, precise-updates and precise-security.
Revision history for this message
|
#11 |
It seem the error don't appear now. But this does' seem to be the right way to solve the problem. Anyway ,the error had gave no really effect on my personal use. So I would to leave it .
And really thanks for your time and patience
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.