我不知道如何安裝Ubuntu Cleaner

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#16

帖子 寺島聰子 » 2018-01-27 19:47

2. Comment out this line by adding # in front of this line :
# deb https://download.opensuse.org/repositor ... ntu_14.04/
m@m ~ $ export PS1="$ "
$ sudo caja
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
warnings.warn(warn_msg, RuntimeWarning)
** Message: Initializing gksu extension...
Initializing caja-open-terminal extension
sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (caja:17501): CRITICAL **: caja_menu_provider_get_background_items: assertion 'CAJA_IS_MENU_PROVIDER (provider)' failed
    
管理者権限で
/etc/apt/sources.list.d
を開くと、たくさんのファイルが並んでいて、いずれのファイル中に編集すべきターゲットがあるのか わかりません。
With super user authority
/etc/apt/sources.list.d
If I open it, there are lots of files lined up, and I do not know which file has the target to edit.
附件
Screenshot.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 我不知道如何安裝Ubuntu Cleaner

#17

帖子 poloshiao » 2018-01-27 20:29

Screenshot.png
/etc/apt/sources.list.d
If I open it, there are lots of files lined up, and I do not know which file has the target to edit.
The basical way, try the following command one by one :
sudo cat /etc/apt/sources.list.d/xxxxxx.list | grep opensuse
xxxxxx.list is the file from Screenshot.png one by one.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#18

帖子 寺島聰子 » 2018-01-27 21:42

~ $ sudo cat /etc/apt/sources.list.d/palemoon.list | grep opensuse
[sudo] password for m:
deb https://download.opensuse.org/repositor ... ntu_14.04/ /

管理者権限でpalemoon.listを開き、コメントアウト 無事完了。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#19

帖子 寺島聰子 » 2018-01-29 17:43

sudo apt-get update
執行如上命令得到了下面的結果
我該如何?
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 我不知道如何安裝Ubuntu Cleaner

#20

帖子 poloshiao » 2018-01-29 18:12

W: Ignoring Provides line with DepCompareOp for package pypy-cffi
...
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
https://askubuntu.com/questions/946402/ ... or-package
apt-get update warning: Ignoring Provides line with DepCompareOp for package…
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#21

帖子 寺島聰子 » 2018-01-29 19:06

https://askubuntu.com/questions/946402/ ... or-package
このエラーが出る原因は
This problem happens because your version of apt is "too old" and doesn't support packages that use versioned "Provides:".
で、これは
The warning is harmless.
ということなので無視して
$ sudo apt-get install ubuntu-cleaner
[sudo] password for m:
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
ubuntu-cleaner
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 127 個。
62.8 kB のアーカイブを取得する必要があります。
この操作後に追加で 239 kB のディスク容量が消費されます。
取得:1 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu/ trusty/main ubuntu-cleaner all 1.0.1-1 [62.8 kB]
62.8 kB を 1秒 で取得しました (54.5 kB/s)
以前に未選択のパッケージ ubuntu-cleaner を選択しています。
(データベースを読み込んでいます ... 現在 264339 個のファイルとディレクトリがインストールされています。)
.../ubuntu-cleaner_1.0.1-1_all.deb を展開する準備をしています ...
ubuntu-cleaner (1.0.1-1) を展開しています...
desktop-file-utils (0.22-1ubuntu1.1) のトリガを処理しています ...
mime-support (3.54ubuntu1.1) のトリガを処理しています ...
hicolor-icon-theme (0.13-1) のトリガを処理しています ...
ubuntu-cleaner (1.0.1-1) を設定しています ...
附件
Screenshot-Ubuntu Cleaner.png
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#22

帖子 寺島聰子 » 2018-01-29 19:33

它运行正常
非常感谢
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#23

帖子 寺島聰子 » 2018-01-29 19:52

但是,只有缩略图缓存44 kb是相当
它没有清理。 我不介意吗?
附件
Screenshot-Ubuntu Cleaner-1.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 我不知道如何安裝Ubuntu Cleaner

#24

帖子 poloshiao » 2018-01-29 20:46

它没有清理。 我不介意吗?
It is up to you.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 我不知道如何安裝Ubuntu Cleaner

#25

帖子 寺島聰子 » 2018-01-29 21:08

m@m ~ $ pluma ~/.bashrc
----------------------------------------------------------------
export PATH=${HOME}/bin:${PATH}










if [ "$TERM" = "linux" ]; then export LANG=C; else export LANG=ja_JP.UTF-8; fi

---------------------
https://qiita.com/katsukii/items/da37d1fdf974bd0e4c2f
打開設置文件並更改值

通過更改文件第一行中PS1 =的位置來更改記號

第一行中に「PS1 =」が存在していません
第一行中“PS1 =”不存在
回复