Rollback to previous package version after upgrade with Ubuntu 8.04LTS and apt


/ Published in: Other
Save to your folder(s)

I recently did an upgrade using apt-get update / upgrade and one of the packages didn't fair so well so I needed to roll it back.


Copy this code and paste it in your HTML
  1. This will show all the versions of the package in the cache
  2. apt-cache show [package name] | fgrep Version:
  3.  
  4. This will install an older version of the package
  5. apt-get install [package name]=[version]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.