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 的內容,這可能會導致問題,因為它將使用與連結版本不同的版本的頭檔(這就是存在依賴關係的原因)。
因此你的理解似乎是正確的。