Amit Agarwal

Linux and Photography Blog
suggest
search

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`

Enter Your Mail Address

query and downgrade selected packages based on version or repository
Hot:sun query and downgrade selected packages based on version or repositorysun query and downgrade selected packages based on version or repositorysun query and downgrade selected packages based on version or repositorysun dark query and downgrade selected packages based on version or repositorysun dark query and downgrade selected packages based on version or repository

Originally posted 2009-10-15 21:34:39.

profile
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • blogmarks
  • Blogosphere News
  • co.mments
  • HelloTxt
  • Ping.fm
  • Reddit
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • BlinkList
  • Diigo
  • email
  • Identi.ca
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • PDF
  • SheToldMe
  • Slashdot
  • Socialogs
  • Tumblr

related post

Technorati Tags: , , ,

query and downgrade selected packages based on version or repository

Facebook comments:

1 Comment »

  1. [...] query and downgrade selected packages based on version or … [...]

RSS feed for comments on this post. TrackBack URL

Leave a comment



IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 7 + 5 ?
Please leave these two fields as-is:

© 2010 Amit Agarwal | Entries (RSS) and Comments (RSS) | Valid CSS 2.1 Valid XHTML 1.0 Transitional

Powered by Wordpress 3.0, design by Abel, handcrafted by Abel County Laboratories, based on Wsg Standards Wsg Standards

help

Switch to our mobile site

Page optimized by WP Minify WordPress Plugin