# yum-complete-transactionLoaded plugins: fastestmirror, refresh-packagekitDetermining fastest mirrors... Checking for new repos for mirrorsThere are 9 outstanding transactions to complete. Finishing the most recent oneThe remaining transaction had 369 elements left to run--> Running transaction check---> Package lam-libs.i386 2:7.1.2-10.fc7 set to be erased--> Finished Dependency Resolution======================================================================================================== Package Arch Version Repository Size========================================================================================================Removing: lam-libs i386 2:7.1.2-10.fc7 installed 1.1 MTransaction Summary========================================================================================================Remove 1 Package(s)Reinstall 0 Package(s)Downgrade 0 Package(s)Is this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning TransactionError in PREUN scriptlet in rpm package lam-libs2:lam-libs-7.1.2-10.fc7.i386 was supposed to be removed but is not!Removed: lam-libs.i386 2:7.1.2-10.fc7 Not removing old transaction files
Що каже оновлення або встановлення цього пакету?
# yum list lam-libsLoaded plugins: fastestmirror, protect-packages, refresh-packagekitLoading mirror speeds from cached hostfile...Installed Packageslam-libs.i386 2:7.1.2-10.fc7 installedlam-libs.i386 2:7.1.4-7.fc10 @updates
# yum remove lam-libsLoaded plugins: fastestmirror, protect-packages, refresh-packagekitSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.--> Running transaction check---> Package lam-libs.i386 2:7.1.2-10.fc7 set to be erased---> Package lam-libs.i386 2:7.1.4-7.fc10 set to be erased--> Finished Dependency ResolutionDependencies Resolved=============================================================================================== Package Arch Version Repository Size===============================================================================================Removing: lam-libs i386 2:7.1.2-10.fc7 installed 1.1 M lam-libs i386 2:7.1.4-7.fc10 installed 1.2 MTransaction Summary===============================================================================================Remove 2 Package(s)Reinstall 0 Package(s)Downgrade 0 Package(s)Is this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction Erasing : lam-libs.i386 1/2 Error in PREUN scriptlet in rpm package lam-libs2:lam-libs-7.1.2-10.fc7.i386 was supposed to be removed but is not!Removed: lam-libs.i386 2:7.1.2-10.fc7 lam-libs.i386 2:7.1.4-7.fc10 Complete!
# yum list lam-libsLoaded plugins: fastestmirror, protect-packages, refresh-packagekitLoading mirror speeds from cached hostfile ...Installed Packageslam-libs.i386 2:7.1.2-10.fc7 installedAvailable Packageslam-libs.i386 2:7.1.4-7.fc10 updates
yum remove lam-libs-7.1.2-10
До речі, а якщо так:
rpm -e lam-libs --noscripts
наче просто видалило з бази yum-а.
Цитата: noddeat від 2009-11-18 15:20:16наче просто видалило з бази yum-а.Звичайно, це малоймовірно, але те, що ви залишили файли без відома юма — може вилізти боком.