日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > Ubuntu >内容正文

Ubuntu

Ubuntu安装eog遇到的坑及解决方案

發(fā)布時(shí)間:2023/12/16 Ubuntu 52 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Ubuntu安装eog遇到的坑及解决方案 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

在安裝eog時(shí),首先出現(xiàn)的錯(cuò)誤:

1.The following packages have unmet dependencies.

在網(wǎng)上google良久,基本的方法:apt-get install -f 修復(fù)不起作用;

apt-get upgrade 不起作用;

apt-get update? 不起作用;

在這些過程中,會(huì)有同一個(gè)提示:Errors were encountered while processing: ?liburi-perl E: Sub-process /usr/bin/dpkg returned an error code (1),必須先解決這個(gè)錯(cuò)誤才可以。

2.解決該錯(cuò)誤:Errors were encountered while processing: ?liburi-perl E: Sub-process /usr/bin/dpkg returned an error code (1)

方法:apt-get install --reinstall liburi-perl? ?終于修復(fù)了該問題;

3.解決之后,在apt-get install eog,仍會(huì)出現(xiàn)問題:

Some packages could not be installed.

This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may help to resolve the situation: ?The following packages have unmet dependencies:

?eog : Depends: gir1.2-gtk-3.0 but it is not going to be installed ? ? ? ?

Depends: gir1.2-peas-1.0 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

解決辦法:

apt-get install aptitude aptitude install gir1.2-gtk-3.0

終于安裝上了依賴庫,再次安裝eog:

aptitude install eog

這次能夠安裝eog成功,但仍有問題:

在可視化界面中,打開Image Viewer沒有反應(yīng),打開圖像也沒有反應(yīng)。

在終端運(yùn)行:eog,提示:

eog:19220): GLib-GIO-ERROR **: Settings schema 'org.gnome.eog.plugins' is not installed

解決方法:

aptitude install libglib2.0-dev aptitude install eog

成功安裝eog,命令行運(yùn)行:eog,提示:

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(eog:47742): Gtk-WARNING **: cannot open display:

已經(jīng)沒有錯(cuò)誤信息,在可視化界面中能夠用ImageViewer打開圖像,問題解決。

總結(jié)

以上是生活随笔為你收集整理的Ubuntu安装eog遇到的坑及解决方案的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。