I've tried to downgrade a package (using first the -s option,just to be sure I wasn't going to break anything) with
Code:
apt-get install <package-name>=<package-version-number>
and I was surprised to see that it doesn't actually work the way I was expecting.
If I pick for instance gedit, I can see just two version numbers available with apt-cache show,which are 2.30.3-0ubuntu0.1 and 2.30.0git20100413-0ubuntu1 : with the command listed above,I can indeed simulate installing the oldest available version of the two,which is 2.30.0git20100413-0ubuntu but then any other version that I can see in the changelogs isn't available,trying to install 2.30.0-0ubuntu1 results in this error
Code:
E: Version '2.30.0-0ubuntu1' for 'gedit' was not found
As far as I can tell,this applies to every package I've tried so far:the available versions seem to be the current installed and the oldest one for a given release,all other intermediate versions that I can see with aptitude changelog are not available.
Looking at it,there's no way I can eventually roll back to just the previous version of a package,because it won't be available-is this the normal situation,and if so,which options do I have to downgrade a package if I wish so?
Bookmarks