Ask Your Question
0

How to install the old package without downgrading?

asked 2013-12-18 01:53:03 -0600

Septi gravatar image

I need to install the old package version from the older Fedora release (specifically, ffmpeg-libs-0.10.3-1.fc17.x86_64), as it's a dependency of a package I need. I have the newer version installed (ffmpeg-libs-1.2.4-2.fc19.x86_64). Since the major version number is different both on the packages and on the libs they provide, I believe it should be possible to have both installed at the same time, and, if possible, I wouldn't like to just get rid of the newer version. How can I accomplish this?

So far I have downloaded the older package, but failed to install it:

[septi@line-1-110 Downloads]$ sudo yum localinstall ffmpeg-libs-0.10.3-1.fc17.x86_64.rpm 
Loaded plugins: langpacks, refresh-packagekit
Examining ffmpeg-libs-0.10.3-1.fc17.x86_64.rpm: ffmpeg-libs-0.10.3-1.fc17.x86_64
ffmpeg-libs-0.10.3-1.fc17.x86_64.rpm: does not update installed package.
Nothing to do
edit retag flag offensive close merge delete

Comments

@mrunge Thanks for the answer. In the end I achieved having them both by installing the older version from source, not the package.

Septi gravatar imageSepti ( 2013-12-18 04:07:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-18 03:19:47 -0600

mrunge gravatar image

To be able to install the package, you need to uninstall the later one.

Also you might need to exclude it in the repo config to prevent later upgrading. This can be done by adding exclude=ffmpeg-libs to the repository description found at /etc/yum.repos.d/

When uninstalling ffmpeg-libs, that will probably remove other (dependent) packages as well. There is no possibility to keep them both.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-18 01:53:03 -0600

Seen: 1,185 times

Last updated: Dec 18 '13