Created
September 14, 2022 09:20
-
-
Save garywill/6a359a9c49f1f66cdfe86d65fb8b6857 to your computer and use it in GitHub Desktop.
zypper history file analyze (/var/log/zypp/history)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://en.opensuse.org/openSUSE:Libzypp_history | |
第1列 时间 | |
第2列 | |
留 command install remove | |
去 patch radd rremove (trim) | |
command: | |
第3列 | |
root@install 只在第一行,安装系统时 | |
root@机器名 其他是这个 | |
第4列: 完整命令。 | |
含有ruby或yast | |
'/usr/lib/YaST2/bin/y2start' 'installation' 安装系统时 | |
OneClickInstallWorker | |
sw_single | |
含有zypper ($1) | |
(以下为$2(若$2为--开头,则这个及以下都往后推)) | |
in / install | |
up / update | |
dup / dist-upgrade | |
rm / remove | |
(判断$3是否--开头。若非,则为包名) | |
install: | |
第3列: 包名 | |
第6列: | |
<pid>:ruby:rubyX.x yast(可能是安装系统时手动选中,也可能是一键安装)指定安装 | |
root@install 安装系统时手动选中的 | |
root@机器名 可能是用zypper指定的,也可能是yast中点“若有更新则安装”的 | |
空字符串 依赖自动 | |
第7列: 仓库短名称 | |
remove: | |
第6列: | |
root@机器名 yast里删掉的(包括手动和自动),或手动zypper删掉的,或自动执行zypper -n purge-kernel时删掉的 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment