1.2. 已安装 GIMP 直接升级1.2.1. 新增软件来源。sudo add-apt-repository ppa:otto-kesselgulasch/gimp [Enter]1.2.2. 更新软件来源并升级 (若升级失败再接着看 1.2.3, 若成功请略过 1.2.3 ~ 1.2.6)。sudo apt-get update && sudo apt-get dist-upgrade [Enter] The following NEW packages will be installed: libbabl-0.1-0{a} libgegl-0.2-0{a} libopenraw1{a} The following packages will be REMOVED: libbabl-0.0-0{u} libgegl-0.0-0{u} The following packages will be upgraded: gimp gimp-data libgimp2.0 python-central 4 packages upgraded, 3 newly installed, 2 to remove and 0 not upgraded. Need to get 23.6 MB of archives. After unpacking 42.6 MB will be used. Do you want to continue? [Y/n/?] 1.2.3. 修复软件库 (可能无法修复成功)。sudo apt-get install -f [Enter] Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: gimp Suggested packages: gimp-data-extras The following packages will be upgraded: gimp 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/6,086 kB of archives. After this operation, 2,121 kB of additional disk space will be used. Do you want to continue [Y/n]? 1.2.4. 手动强制移除 gimp。$ cd /var/lib/dpkg/info/ [Enter][ www.linuxidc.com @linuxidc: /var/lib/dpkg/info/ ] $ sudo rm -rf gimp.postinst gimp.postrm gimp-gmic.list gimp-gmic.md5sums gimp-plugin-registry.list gimp-plugin-registry.md5sums [Enter][ www.linuxidc.com @linuxidc: ~ ] $ sudo aptitude purge gimp [Enter]1.2.5. 更新软件库。[ www.linuxidc.com @linuxidc: ~ ] $ sudo apt-get update; sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: python-central 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/41.4 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y1.2.6. 安装 GIMP。[ www.linuxidc.com @linuxidc: ~ ] $ sudo aptitude install gimp gimp-plugin-registry gimp-data-extras [Enter]