failed to find module 'libgail-gnome' after upgrade.

Asked by hackrole

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-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'

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
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; uname -a; apt-cache policy gvim

Thanks

Revision history for this message
hackrole (daipeng123456) said :
#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-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux
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-2ubuntu2.1
  Candidate: 2:7.3.429-2ubuntu2.1
  Version table:
 *** 2:7.3.429-2ubuntu2.1 0
        500 http://mirrors.163.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2:7.3.429-2ubuntu2 0
        500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages

Revision history for this message
hackrole (daipeng123456) said :
#3

oh ,can anyone give an anwser ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
hackrole (daipeng123456) said :
#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/i386-linux-gnu | grep "libgail";

the output on my computer is below:
libgailutil-3.a
libgailutil-3.so
libgailutil-3.so.0
libgailutil-3.so.0.0.0
libgailutil.a
libgailutil.so
libgailutil.so.18
libgailutil.so.18.0.1

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Searching for libgail-gnome shows that this is a library that was available up to natty as part of the libgail-gnome-module package, a package that is no more available since oneiric.

Please issue the following commands to check if you are running the right executable:

which gvim
gvim --version

Revision history for this message
hackrole (daipeng123456) said :
#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/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1
Linking: gcc -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib -llua5.1 -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.5 -ldl -lpthread -lieee -lm -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
hackrole (daipeng123456) said :
#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/dpkg/status
     release a=now
 500 http://mirrors.163.com/ubuntu/ precise-backports/universe Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-backports/restricted Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-backports/multiverse Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-backports/main Translation-en
 100 http://mirrors.163.com/ubuntu/ precise-backports/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=restricted
     origin mirrors.163.com
 100 http://mirrors.163.com/ubuntu/ precise-backports/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=multiverse
     origin mirrors.163.com
 100 http://mirrors.163.com/ubuntu/ precise-backports/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=main
     origin mirrors.163.com
 100 http://mirrors.163.com/ubuntu/ precise-backports/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-backports,n=precise,l=Ubuntu,c=universe
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-proposed/universe Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-proposed/restricted Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-proposed/multiverse Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-proposed/main Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-proposed/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-proposed,n=precise,l=Ubuntu,c=restricted
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-proposed/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-proposed,n=precise,l=Ubuntu,c=multiverse
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-proposed/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-proposed,n=precise,l=Ubuntu,c=main
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-proposed/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-proposed,n=precise,l=Ubuntu,c=universe
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-updates/universe Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-updates/restricted Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-updates/multiverse Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-updates/main Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-updates/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=restricted
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-updates/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=multiverse
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-updates/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=main
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-updates/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-updates,n=precise,l=Ubuntu,c=universe
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-security/universe Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-security/restricted Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-security/multiverse Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-security/main Translation-en
 500 http://mirrors.163.com/ubuntu/ precise-security/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=restricted
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-security/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=multiverse
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-security/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise-security/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=universe
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise/universe Translation-en
 500 http://mirrors.163.com/ubuntu/ precise/restricted Translation-en
 500 http://mirrors.163.com/ubuntu/ precise/multiverse Translation-en
 500 http://mirrors.163.com/ubuntu/ precise/main Translation-en
 500 http://mirrors.163.com/ubuntu/ precise/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=multiverse
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=restricted
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=universe
     origin mirrors.163.com
 500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise,n=precise,l=Ubuntu,c=main
     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://mirrors.163.com/ubuntu/ precise-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     3.4.2-0ubuntu0.3 0
        500 http://mirrors.163.com/ubuntu/ precise-updates/main i386 Packages
     3.4.1-0ubuntu1 0
        500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages
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://mirrors.163.com/ubuntu/ precise-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     3.4.2-0ubuntu0.3 0
        500 http://mirrors.163.com/ubuntu/ precise-updates/main i386 Packages
     3.4.1-0ubuntu1 0
        500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages
libgail18:
  Installed: 2.24.10-0ubuntu6
  Candidate: 2.24.10-0ubuntu6
  Version table:
 *** 2.24.10-0ubuntu6 0
        500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
libgail-common:
  Installed: 2.24.10-0ubuntu6
  Candidate: 2.24.10-0ubuntu6
  Version table:
 *** 2.24.10-0ubuntu6 0
        500 http://mirrors.163.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
daipeng@ubuntu:~$ sudo apt-get update
Ign http://mirrors.163.com precise InRelease
Ign http://mirrors.163.com precise-security InRelease
Ign http://mirrors.163.com precise-updates InRelease
Ign http://mirrors.163.com precise-proposed InRelease
Ign http://mirrors.163.com precise-backports InRelease
Get:1 http://mirrors.163.com precise Release.gpg [198 B]
Get:2 http://mirrors.163.com precise-security Release.gpg [198 B]
Get:3 http://mirrors.163.com precise-updates Release.gpg [198 B]
Get:4 http://mirrors.163.com precise-proposed Release.gpg [198 B]
Get:5 http://mirrors.163.com precise-backports Release.gpg [198 B]
Get:6 http://mirrors.163.com precise Release [49.6 kB]
Get:7 http://mirrors.163.com precise-security Release [49.6 kB]
Get:8 http://mirrors.163.com precise-updates Release [49.6 kB]
Get:9 http://mirrors.163.com precise-proposed Release [49.6 kB]
Get:10 http://mirrors.163.com precise-backports Release [49.6 kB]
Get:11 http://mirrors.163.com precise/main Sources [934 kB]
Get:12 http://mirrors.163.com precise/universe Sources [5,019 kB]
Get:13 http://mirrors.163.com precise/restricted Sources [5,470 B]
Get:14 http://mirrors.163.com precise/multiverse Sources [155 kB]
Get:15 http://mirrors.163.com precise/main i386 Packages [1,274 kB]
Get:16 http://mirrors.163.com precise/universe i386 Packages [4,796 kB]
Get:17 http://mirrors.163.com precise/restricted i386 Packages [8,431 B]
Get:18 http://mirrors.163.com precise/multiverse i386 Packages [121 kB]
Hit http://mirrors.163.com precise/main TranslationIndex
Hit http://mirrors.163.com precise/multiverse TranslationIndex
Hit http://mirrors.163.com precise/restricted TranslationIndex
Hit http://mirrors.163.com precise/universe TranslationIndex
Get:19 http://mirrors.163.com precise-security/universe Sources [7,832 B]
Get:20 http://mirrors.163.com precise-security/main Sources [26.1 kB]
Get:21 http://mirrors.163.com precise-security/multiverse Sources [713 B]
Get:22 http://mirrors.163.com precise-security/restricted Sources [14 B]
Get:23 http://mirrors.163.com precise-security/universe i386 Packages [20.7 kB]
Get:24 http://mirrors.163.com precise-security/main i386 Packages [78.4 kB]
Get:25 http://mirrors.163.com precise-security/multiverse i386 Packages [1,394 B]
Get:26 http://mirrors.163.com precise-security/restricted i386 Packages [14 B]
Hit http://mirrors.163.com precise-security/main TranslationIndex
Hit http://mirrors.163.com precise-security/multiverse TranslationIndex
Hit http://mirrors.163.com precise-security/restricted TranslationIndex
Hit http://mirrors.163.com precise-security/universe TranslationIndex
Get:27 http://mirrors.163.com precise-updates/universe Sources [33.8 kB]
Get:28 http://mirrors.163.com precise-updates/main Sources [130 kB]
Get:29 http://mirrors.163.com precise-updates/multiverse Sources [1,058 B]
Get:30 http://mirrors.163.com precise-updates/restricted Sources [1,379 B]
Get:31 http://mirrors.163.com precise-updates/universe i386 Packages [91.1 kB]
Get:32 http://mirrors.163.com precise-updates/main i386 Packages [323 kB]
Get:33 http://mirrors.163.com precise-updates/multiverse i386 Packages [2,047 B]
Get:34 http://mirrors.163.com precise-updates/restricted i386 Packages [2,439 B]
Get:35 http://mirrors.163.com precise-updates/main TranslationIndex [3,564 B]
Get:36 http://mirrors.163.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:37 http://mirrors.163.com precise-updates/restricted TranslationIndex [2,461 B]
Get:38 http://mirrors.163.com precise-updates/universe TranslationIndex [2,850 B]
Get:39 http://mirrors.163.com precise-proposed/universe Sources [9,310 B]
Get:40 http://mirrors.163.com precise-proposed/main Sources [65.6 kB]
Get:41 http://mirrors.163.com precise-proposed/multiverse Sources [14 B]
Get:42 http://mirrors.163.com precise-proposed/restricted Sources [14 B]
Get:43 http://mirrors.163.com precise-proposed/universe i386 Packages [21.0 kB]
Get:44 http://mirrors.163.com precise-proposed/main i386 Packages [166 kB]
Get:45 http://mirrors.163.com precise-proposed/multiverse i386 Packages [14 B]
Get:46 http://mirrors.163.com precise-proposed/restricted i386 Packages [14 B]
Get:47 http://mirrors.163.com precise-proposed/main TranslationIndex [3,564 B]
Get:48 http://mirrors.163.com precise-proposed/multiverse TranslationIndex [2,605 B]
Get:49 http://mirrors.163.com precise-proposed/restricted TranslationIndex [2,461 B]
Get:50 http://mirrors.163.com precise-proposed/universe TranslationIndex [2,850 B]
Get:51 http://mirrors.163.com precise-backports/universe Sources [12.4 kB]
Get:52 http://mirrors.163.com precise-backports/main Sources [1,845 B]
Get:53 http://mirrors.163.com precise-backports/multiverse Sources [1,383 B]
Get:54 http://mirrors.163.com precise-backports/restricted Sources [14 B]
Get:55 http://mirrors.163.com precise-backports/universe i386 Packages [11.2 kB]
Get:56 http://mirrors.163.com precise-backports/main i386 Packages [1,271 B]
Get:57 http://mirrors.163.com precise-backports/multiverse i386 Packages [999 B]
Get:58 http://mirrors.163.com precise-backports/restricted i386 Packages [14 B]
Hit http://mirrors.163.com precise-backports/main TranslationIndex
Hit http://mirrors.163.com precise-backports/multiverse TranslationIndex
Hit http://mirrors.163.com precise-backports/restricted TranslationIndex
Hit http://mirrors.163.com precise-backports/universe TranslationIndex
Hit http://mirrors.163.com precise/main Translation-en
Hit http://mirrors.163.com precise/multiverse Translation-en
Hit http://mirrors.163.com precise/restricted Translation-en
Hit http://mirrors.163.com precise/universe Translation-en
Hit http://mirrors.163.com precise-security/main Translation-en
Hit http://mirrors.163.com precise-security/multiverse Translation-en
Hit http://mirrors.163.com precise-security/restricted Translation-en
Hit http://mirrors.163.com precise-security/universe Translation-en
Get:59 http://mirrors.163.com precise-updates/main Translation-en [151 kB]
Hit http://mirrors.163.com precise-updates/multiverse Translation-en
Hit http://mirrors.163.com precise-updates/restricted Translation-en
Get:60 http://mirrors.163.com precise-updates/universe Translation-en [54.6 kB]
Get:61 http://mirrors.163.com precise-proposed/main Translation-en [52.7 kB]
Hit http://mirrors.163.com precise-proposed/multiverse Translation-en
Hit http://mirrors.163.com precise-proposed/restricted Translation-en
Get:62 http://mirrors.163.com precise-proposed/universe Translation-en [12.5 kB]
Hit http://mirrors.163.com precise-backports/main Translation-en
Hit http://mirrors.163.com precise-backports/multiverse Translation-en
Hit http://mirrors.163.com precise-backports/restricted Translation-en
Hit http://mirrors.163.com precise-backports/universe Translation-en
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-daemon landscape-client
  landscape-client-ui landscape-client-ui-install landscape-common
  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-1.0-1 python-ubuntuone-client python-ubuntuone-storageprotocol
  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://mirrors.163.com/ubuntu/ precise-proposed/main gnome-media i386 3.4.0-0ubuntu2.1 [119 kB]
Get:2 http://mirrors.163.com/ubuntu/ precise-proposed/main libjpeg-turbo8-dev i386 1.1.90+svn733-0ubuntu4.1 [414 kB]
Get:3 http://mirrors.163.com/ubuntu/ precise-proposed/main libjpeg-turbo8 i386 1.1.90+svn733-0ubuntu4.1 [118 kB]
Get:4 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-sql-sqlite i386 4:4.8.1-0ubuntu4.2 [23.0 kB]
Get:5 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-qt3support i386 4:4.8.1-0ubuntu4.2 [1,046 kB]
Get:6 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-help i386 4:4.8.1-0ubuntu4.2 [210 kB]
Get:7 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-svg i386 4:4.8.1-0ubuntu4.2 [140 kB]
Get:8 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-scripttools i386 4:4.8.1-0ubuntu4.2 [229 kB]
Get:9 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-opengl i386 4:4.8.1-0ubuntu4.2 [301 kB]
Get:10 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-designer i386 4:4.8.1-0ubuntu4.2 [3,654 kB]
Get:11 http://mirrors.163.com/ubuntu/ precise-proposed/main libqtgui4 i386 4:4.8.1-0ubuntu4.2 [4,123 kB]
Get:12 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-declarative i386 4:4.8.1-0ubuntu4.2 [1,087 kB]
Get:13 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-sql i386 4:4.8.1-0ubuntu4.2 [100.0 kB]
Get:14 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-xmlpatterns i386 4:4.8.1-0ubuntu4.2 [1,057 kB]
Get:15 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-network i386 4:4.8.1-0ubuntu4.2 [557 kB]
Get:16 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-script i386 4:4.8.1-0ubuntu4.2 [799 kB]
Get:17 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-test i386 4:4.8.1-0ubuntu4.2 [61.7 kB]
Get:18 http://mirrors.163.com/ubuntu/ precise-proposed/main qdbus i386 4:4.8.1-0ubuntu4.2 [28.9 kB]
Get:19 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-dbus i386 4:4.8.1-0ubuntu4.2 [185 kB]
Get:20 http://mirrors.163.com/ubuntu/ precise-proposed/main libqt4-xml i386 4:4.8.1-0ubuntu4.2 [93.1 kB]
Get:21 http://mirrors.163.com/ubuntu/ precise-proposed/main libqtcore4 i386 4:4.8.1-0ubuntu4.2 [2,068 kB]
Get:22 http://mirrors.163.com/ubuntu/ precise-proposed/main fonts-liberation all 1.07.0-2ubuntu0.1 [1,314 kB]
Get:23 http://mirrors.163.com/ubuntu/ precise-proposed/main landscape-common i386 12.05-0ubuntu0.12.04 [241 kB]
Get:24 http://mirrors.163.com/ubuntu/ precise-proposed/main landscape-client i386 12.05-0ubuntu0.12.04 [17.8 kB]
Get:25 http://mirrors.163.com/ubuntu/ precise-proposed/main landscape-client-ui-install i386 12.05-0ubuntu0.12.04 [8,860 B]
Get:26 http://mirrors.163.com/ubuntu/ precise-proposed/main landscape-client-ui i386 12.05-0ubuntu0.12.04 [4,048 B]
Get:27 http://mirrors.163.com/ubuntu/ precise-proposed/main python-ubuntuone-storageprotocol all 3.0.2-0ubuntu1 [63.9 kB]
Get:28 http://mirrors.163.com/ubuntu/ precise-proposed/main libsyncdaemon-1.0-1 i386 3.0.2-0ubuntu1 [46.4 kB]
Get:29 http://mirrors.163.com/ubuntu/ precise-proposed/main ubuntuone-client all 3.0.2-0ubuntu1 [47.9 kB]
Get:30 http://mirrors.163.com/ubuntu/ precise-proposed/main python-ubuntuone-client all 3.0.2-0ubuntu1 [232 kB]
Get:31 http://mirrors.163.com/ubuntu/ precise-proposed/main qt4-qmake i386 4:4.8.1-0ubuntu4.2 [1,269 kB]
Get:32 http://mirrors.163.com/ubuntu/ precise-proposed/main telepathy-gabble i386 0.16.0-0ubuntu2 [723 kB]
Get:33 http://mirrors.163.com/ubuntu/ precise-proposed/main gnome-settings-daemon i386 3.4.2-0ubuntu0.4 [479 kB]
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-media_3.4.0-0ubuntu2.1_i386.deb) ...
Unpacking replacement gnome-media ...
Preparing to replace libjpeg-turbo8-dev 1.1.90+svn733-0ubuntu4 (using .../libjpeg-turbo8-dev_1.1.90+svn733-0ubuntu4.1_i386.deb) ...
Unpacking replacement libjpeg-turbo8-dev ...
Preparing to replace libjpeg-turbo8 1.1.90+svn733-0ubuntu4 (using .../libjpeg-turbo8_1.1.90+svn733-0ubuntu4.1_i386.deb) ...
Unpacking replacement libjpeg-turbo8 ...
Preparing to replace libqt4-sql-sqlite 4:4.8.1-0ubuntu4.1 (using .../libqt4-sql-sqlite_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-sql-sqlite ...
Preparing to replace libqt4-qt3support 4:4.8.1-0ubuntu4.1 (using .../libqt4-qt3support_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-qt3support ...
Preparing to replace libqt4-help 4:4.8.1-0ubuntu4.1 (using .../libqt4-help_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-help ...
Preparing to replace libqt4-svg 4:4.8.1-0ubuntu4.1 (using .../libqt4-svg_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-svg ...
Preparing to replace libqt4-scripttools 4:4.8.1-0ubuntu4.1 (using .../libqt4-scripttools_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-scripttools ...
Preparing to replace libqt4-opengl 4:4.8.1-0ubuntu4.1 (using .../libqt4-opengl_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-opengl ...
Preparing to replace libqt4-designer 4:4.8.1-0ubuntu4.1 (using .../libqt4-designer_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-designer ...
Preparing to replace libqtgui4 4:4.8.1-0ubuntu4.1 (using .../libqtgui4_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqtgui4 ...
Preparing to replace libqt4-declarative 4:4.8.1-0ubuntu4.1 (using .../libqt4-declarative_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-declarative ...
Preparing to replace libqt4-sql 4:4.8.1-0ubuntu4.1 (using .../libqt4-sql_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-sql ...
Preparing to replace libqt4-xmlpatterns 4:4.8.1-0ubuntu4.1 (using .../libqt4-xmlpatterns_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-xmlpatterns ...
Preparing to replace libqt4-network 4:4.8.1-0ubuntu4.1 (using .../libqt4-network_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-network ...
Preparing to replace libqt4-script 4:4.8.1-0ubuntu4.1 (using .../libqt4-script_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-test 4:4.8.1-0ubuntu4.1 (using .../libqt4-test_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-test ...
Preparing to replace qdbus 4:4.8.1-0ubuntu4.1 (using .../qdbus_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement qdbus ...
Preparing to replace libqt4-dbus 4:4.8.1-0ubuntu4.1 (using .../libqt4-dbus_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-dbus ...
Preparing to replace libqt4-xml 4:4.8.1-0ubuntu4.1 (using .../libqt4-xml_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-xml ...
Preparing to replace libqtcore4 4:4.8.1-0ubuntu4.1 (using .../libqtcore4_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqtcore4 ...
Preparing to replace fonts-liberation 1.07.0-2 (using .../fonts-liberation_1.07.0-2ubuntu0.1_all.deb) ...
Unpacking replacement fonts-liberation ...
Preparing to replace landscape-common 12.04.3-0ubuntu1 (using .../landscape-common_12.05-0ubuntu0.12.04_i386.deb) ...
Unpacking replacement landscape-common ...
Preparing to replace landscape-client 12.04.3-0ubuntu1 (using .../landscape-client_12.05-0ubuntu0.12.04_i386.deb) ...
 * Stopping landscape-client daemon [ OK ]
Unpacking replacement landscape-client ...
Preparing to replace landscape-client-ui-install 12.04.3-0ubuntu1 (using .../landscape-client-ui-install_12.05-0ubuntu0.12.04_i386.deb) ...
Unpacking replacement landscape-client-ui-install ...
Preparing to replace landscape-client-ui 12.04.3-0ubuntu1 (using .../landscape-client-ui_12.05-0ubuntu0.12.04_i386.deb) ...
Unpacking replacement landscape-client-ui ...
Preparing to replace python-ubuntuone-storageprotocol 3.0.0-0ubuntu1.1 (using .../python-ubuntuone-storageprotocol_3.0.2-0ubuntu1_all.deb) ...
Unpacking replacement python-ubuntuone-storageprotocol ...
Preparing to replace libsyncdaemon-1.0-1 3.0.1-0ubuntu1.0.1 (using .../libsyncdaemon-1.0-1_3.0.2-0ubuntu1_i386.deb) ...
Unpacking replacement libsyncdaemon-1.0-1 ...
Preparing to replace ubuntuone-client 3.0.1-0ubuntu1.0.1 (using .../ubuntuone-client_3.0.2-0ubuntu1_all.deb) ...
Unpacking replacement ubuntuone-client ...
Preparing to replace python-ubuntuone-client 3.0.1-0ubuntu1.0.1 (using .../python-ubuntuone-client_3.0.2-0ubuntu1_all.deb) ...
Unpacking replacement python-ubuntuone-client ...
Preparing to replace qt4-qmake 4:4.8.1-0ubuntu4.1 (using .../qt4-qmake_4%3a4.8.1-0ubuntu4.2_i386.deb) ...
Unpacking replacement qt4-qmake ...
^[Preparing to replace telepathy-gabble 0.16.0-0ubuntu1 (using .../telepathy-gabble_0.16.0-0ubuntu2_i386.deb) ...
Unpacking replacement telepathy-gabble ...
Preparing to replace gnome-settings-daemon 3.4.2-0ubuntu0.3 (using .../gnome-settings-daemon_3.4.2-0ubuntu0.4_i386.deb) ...
Unpacking replacement gnome-settings-daemon ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
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+svn733-0ubuntu4.1) ...
Setting up libjpeg-turbo8-dev (1.1.90+svn733-0ubuntu4.1) ...
Setting up libqtcore4 (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-sql (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-sql-sqlite (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-xml (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-dbus (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-script (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-network (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-xmlpatterns (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-test (4:4.8.1-0ubuntu4.2) ...
Setting up qdbus (4:4.8.1-0ubuntu4.2) ...
Setting up fonts-liberation (1.07.0-2ubuntu0.1) ...
Setting up landscape-common (12.05-0ubuntu0.12.04) ...
Setting up landscape-client (12.05-0ubuntu0.12.04) ...
 * Starting the landscape-client daemon [ OK ]
Setting up landscape-client-ui-install (12.05-0ubuntu0.12.04) ...
Setting up landscape-client-ui (12.05-0ubuntu0.12.04) ...
Setting up python-ubuntuone-storageprotocol (3.0.2-0ubuntu1) ...
Setting up python-ubuntuone-client (3.0.2-0ubuntu1) ...
Installing new version of config file /etc/xdg/ubuntuone/syncdaemon.conf ...
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.1-0ubuntu4.2) ...
Setting up telepathy-gabble (0.16.0-0ubuntu2) ...
Setting up gnome-settings-daemon (3.4.2-0ubuntu0.4) ...
Setting up libqtgui4 (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-declarative (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-designer (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-qt3support (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-help (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-svg (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-scripttools (4:4.8.1-0ubuntu4.2) ...
Setting up libqt4-opengl (4:4.8.1-0ubuntu4.2) ...
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-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'
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_set_colormap

(gvim:4855): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed

(gvim:4855): Gdk-CRITICAL **: IA__gdk_cairo_region: assertion `region != NULL' failed

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#10

Googling for your original error message leads to the following page:
http://pdb.finkproject.org/pdb/package.php/libgail-gnome
with the instruction
gconftool-2 --type bool --set /desktop/gnome/interface/accessibility false
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
hackrole (daipeng123456) said :
#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
hackrole (daipeng123456) said :
#12

Thanks Manfred Hampl, that solved my question.