SERVER:/home/user # rpm -Uvh --test readline-5.1-24.4.7406.0.PTF.898762.i586.rpm
warning: readline-5.1-24.4.7406.0.PTF.898762.i586.rpm: V3 DSA signature: NOKEY, key ID b37b98a9
error: Failed dependencies:
readline = 5.0-9 is needed by (installed) readline-devel-5.0-9
SERVER:/home/user # rpm -qa | grep -i readl*
readline-5.0-9
perl-TermReadKey-2.30-2
readline-devel-5.0-9
SERVER:/home/user # tar -xvf ssbash10GA-i386.tar
bash-3.1-24.4.7406.0.PTF.898762.i586.rpm
readline-5.1-24.4.7406.0.PTF.898762.i586.rpm
SERVER:/home/user #
ssbash10GA-i386.tar 中似乎缺少 readline-devel:
https://download.suse.com/Download?buildid=nNXClbWqawg~
问题:我理解正确吗?
答案1
同时 PTF 被正常更新所取代。只需使用zypper
或yast
安装它即可。
答案2
# rpm -Uvh --test readline-5.1-24.4.7406.0.PTF.898762.i586.rpm
error: Failed dependencies:
readline = 5.0-9 is needed by (installed) readline-devel-5.0-9
意味着您安装了版本 5.0.9 的 readline-devel 软件包,并且您尝试安装的 PTF 只会升级主软件包,而不会升级主软件包-devel
。一旦您尝试构建使用 readline 的内容,这可能会导致问题,因为它将使用与链接版本不同的版本的头文件(这就是存在依赖关系的原因)。
因此你的理解似乎是正确的。