软件管理器(mintinstall)不启动

Ubuntu各种衍生版本
回复
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

软件管理器(mintinstall)不启动

#1

帖子 寺島聰子 » 2017-09-14 0:34

m@m ~ $ sudo apt-get purge mintinstall
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージは「削除」されます:
mint-meta-core* mintinstall*
アップグレード: 0 個、新規インストール: 0 個、削除: 2 個、保留: 0 個。
この操作後に 7,678 kB のディスク容量が解放されます。
続行しますか? [Y/n] y
(データベースを読み込んでいます ... 現在 242144 個のファイルとディレクトリがインストールされています。)
mint-meta-core (2015.07.09) を削除しています ...
mintinstall (7.6.2) を削除しています ...
dpkg: 警告: mintinstall の削除中、ディレクトリ '/usr/lib/linuxmint/mintInstall/AptClient' が空でないため削除できませんでした
shared-mime-info (1.2-0ubuntu3) のトリガを処理しています ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
hicolor-icon-theme (0.13-1) のトリガを処理しています ...
desktop-file-utils (0.22-1ubuntu1.1) のトリガを処理しています ...
mime-support (3.54ubuntu1.1) のトリガを処理しています ...
m@m ~ $ sudo apt-get install mintinstall
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
mintinstall
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
2,034 kB のアーカイブを取得する必要があります。
この操作後に追加で 7,650 kB のディスク容量が消費されます。
取得:1 http://packages.linuxmint.com/ rafaela/main mintinstall all 7.6.2 [2,034 kB]
2,034 kB を 2秒 で取得しました (810 kB/s)
以前に未選択のパッケージ mintinstall を選択しています。
(データベースを読み込んでいます ... 現在 241992 個のファイルとディレクトリがインストールされています。)
.../mintinstall_7.6.2_all.deb を展開する準備をしています ...
mintinstall (7.6.2) を展開しています...
desktop-file-utils (0.22-1ubuntu1.1) のトリガを処理しています ...
mime-support (3.54ubuntu1.1) のトリガを処理しています ...
hicolor-icon-theme (0.13-1) のトリガを処理しています ...
shared-mime-info (1.2-0ubuntu3) のトリガを処理しています ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
mintinstall (7.6.2) を設定しています ...
m@m ~ $ sudo gksu mintinstall
NOT SANDBOXED
NOT SANDBOXED
add_categories took 1.326 ms
build_matched_packages took 0.178 ms
add_packages took 6430.650 ms
add_reviews took 1265.855 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1895, in <module>
Application()
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 53, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 584, in __init__
sans26 = ImageFont.truetype ( self.FONT, 26 )
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 228, in truetype
return FreeTypeFont(font, size, index, encoding)
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 131, in __init__
self.font = core.getfont(font, size, index, encoding)
IOError: cannot open resource
m@m ~ $
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: 软件管理器(mintinstall)不启动

#2

帖子 onlylove » 2017-09-14 8:22

I do not know why you do this,
but you uninstalled 2, then install 1,you'd better install mint-meta-core then have a try again
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 软件管理器(mintinstall)不启动

#3

帖子 poloshiao » 2017-09-14 11:00

Refer to :
https://forums.linuxmint.com/viewtopic.php?t=181382
Software Manager Broke - mintinstall [SOLVED]

Some tweak steps might be necessary.
头像
wojiaowwj
帖子: 662
注册时间: 2011-03-18 0:22
系统: Chakra Linux
来自: 上海

Re: 软件管理器(mintinstall)不启动

#4

帖子 wojiaowwj » 2017-09-14 11:43

経緯を詳しく描ければ原因がわかるかもしれませんが。。。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#5

帖子 寺島聰子 » 2017-09-15 9:15

onlylove様、いつもありがとうございます 谢谢你
but you uninstalled 2, then install 1,you'd better install mint-meta-core then have a try again
多分ですが、技術的にというより英語が読解できない。お手数おかけし、ごめんなさい。
Perhaps, I can not read English more than technically. Sorry to trouble you, sorry.
1? 2? :What
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#6

帖子 寺島聰子 » 2017-09-15 9:24

poloshiao様
All, recently when I would run the Mint software package manager, it would prompt me for my password as usual, but then it would never launch. After googling around, the resolution I tried was to launch a terminal session and run "sudo apt-get purge mintinstall". This removed mintinstall or the software package manager, but now I cannot get it back. I tried "sudo apt-get install mintinstall",
ここまでは、この人と同じですが、このあとの部分が
私とは違うと思う。どのようにしてこれを参考に問題解決すればいいのか理解できませんでした。
到目前為止,這與這個人是一樣的,但這之後的部分
我覺得這跟我不一樣 我不明白如何解決這個問題。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#7

帖子 寺島聰子 » 2017-09-15 9:44

wojiaowwj 様 ありがとうございます谢谢
経緯を詳しく描ければ原因がわかるかもしれませんが。。。
 
リナックス歴2年。最初に選択したのが 「ElementaryOS」 その時「 Software Manager」のようなツールがあった。数カ月後からmint17.2。記憶では最初からそれに該当するものがなくて、「どうなってるのか?」と疑問だった。ゆえに'synaptic'だけを使ってきた。
他にもデフォルトで付いていた画像ソフトを削除したら、ファイルマネージャ上でサムネイル表示できなくなりました。
いままで一度も再インストールしたことがありません。
兩年的Linux歷史。 第一選擇是“ElementaryOS”,那麼有一個像“軟件管理器”這樣的工具。 幾個月後,mint17.2。 記憶中從一開始就沒有任何對應的東西,而且“發生了什麼事”呢是令人懷疑的。 所以我只用“synaptic”。刪除默認附加的圖像軟件時,縮略圖無法顯示在文件管理器上。
我從來沒有重新安裝它。
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: 软件管理器(mintinstall)不启动

#8

帖子 onlylove » 2017-09-15 20:05

寺島聰子 写了:onlylove様、いつもありがとうございます 谢谢你
but you uninstalled 2, then install 1,you'd better install mint-meta-core then have a try again
多分ですが、技術的にというより英語が読解できない。お手数おかけし、ごめんなさい。
Perhaps, I can not read English more than technically. Sorry to trouble you, sorry.
1? 2? :What
以下のパッケージは「削除」されます:
mint-meta-core* mintinstall*
アップグレード: 0 個、新規インストール: 0 個、削除: 2 個、保留: 0 個。
以下のパッケージが新たにインストールされます:
mintinstall
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#9

帖子 寺島聰子 » 2017-09-15 21:51

m@m ~ $ export LC_ALL=en_US.UTF-8
m@m ~ $ sudo apt-get install mint-meta-core
[sudo] password for m:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mint-meta-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
m@m ~ $ sudo apt-get install mintinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
mintinstall is already the newest version.
mintinstall set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
m@m ~ $ sudo gksu mintinstall
NOT SANDBOXED
NOT SANDBOXED
add_categories took 1.287 ms
build_matched_packages took 0.207 ms
add_packages took 6515.869 ms
add_reviews took 1293.216 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1895, in <module>
Application()
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 53, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 584, in __init__
sans26 = ImageFont.truetype ( self.FONT, 26 )
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 228, in truetype
return FreeTypeFont(font, size, index, encoding)
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 131, in __init__
self.font = core.getfont(font, size, index, encoding)
IOError: cannot open resource
m@m ~ $
:Cry
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: 软件管理器(mintinstall)不启动

#10

帖子 onlylove » 2017-09-15 23:25

Why sudo gksu mintinstall? I think sudo mintinstall is enough, by the way, the error looks like missing some fonts, I think you have removed some other packages that mint install needs,such as some fonts
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#11

帖子 寺島聰子 » 2017-09-18 20:36

大変に返事が遅くなりまして失礼しました。
我很抱歉答复迟到了。
the error looks like missing some fonts, I think you have removed some other packages that mint install needs,such as some fonts
感謝
https://www.linuxquestions.org/question ... 175524157/

How I solved the problem.
I remembered that I had accidentally removed various font type folders from the /usr/share/fonts. Mintinstall needs these to open. After reading what several forum members wrote I decided to try the following.

What I did was booted Linux Mint 17 from the flash key drive. I then opened /usr/share/fonts on both the flash key and installed Linux 17 file system. I copied any missing folders from the flash key /usr/share/fonts folder to a new folder on a computer hard drive. I rebooted into Linux Mint 17, opened and copied these missing folders with their contents as root to /usr/share/fonts in the installed Linux Mint 17 and rebooted again. Result all OK all working, note Mintinstall takes about a minute or more to appear, this maybe due to how many programmes are or libraries are installed.

--------------------------------------------------------------------------------------------
ubuntu mate 16.04側から当該フォルダへコピーを試みる
尝试从ubuntu mate 16.04侧复制到该文件夹
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 软件管理器(mintinstall)不启动

#12

帖子 寺島聰子 » 2017-09-19 11:50

成功!感謝、onlylove様
附件
Screenshot.png
回复