query and downgrade selected packages based on version or repository
If you have worked on rpm based distro then you know how difficult it is to downgrade packages. And unluckily I upgraded some packages to fc12 and was still on FC11. Completely my mistake while doing some R&D. Anyway to downgrade I had to device some mechanism and here it is:
rpm -qa –qf ”%-30{NAME}%-20{RELEASE}\n” |grep fc12 |awk '{print $1}’|tr ’\n’ ’ ’ >downgrade
yum downgrade `cat downgrade`
Related Articles:
- 2009/12/24 EncFS – Simple article to use Encrypted filesystem in Linux
- 2009/12/19 Chrome – Chromium on Linux (repo)
- 2009/11/25 internal error from PackageKit — packagekit Error Type: <type ’exceptions.TypeError'>
- 2009/10/17 RPMFusion release for YUM.
- 2009/10/01 Boot Linux Over HTTP With boot.kernel.org (BKO)
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.