You are not logged in.
Is it possible to change or install particular version of package by using Pacman?
For example, I've got installed ImageMagick 6.7.4-0, but one app requires ImageMagick 6.7.3, and so I would like to change this version.
Last edited by lightgreenpanda (2012-01-09 01:16:16)
Offline
Did you previously have 6.7.3 installed on your system and upgraded, or have you never had it?
Either way, the answer is "Yes" you can. But the "How" will depend on whether you previously had it or not.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
There are things called dependencies, sometimes you have to downgrade several other packages because they depend on one another.
Also, if packages A needs package B in version 1.2 and up, while package C needs package B in version 1.1 tops - what do you do?
Offline
Imagemagick has been flagged out of date so perhaps holding out for an update may work? Also is it explicitly installed or does a certain package require said version for compiling?
Rauchen verboten
Offline
Did you previously have 6.7.3 installed on your system and upgraded, or have you never had it?
Either way, the answer is "Yes" you can. But the "How" will depend on whether you previously had it or not.
Sadly, I can't know this fact (and I don't know how to check this out either).
Also either way, you should check out this wiki.
There are things called dependencies, sometimes you have to downgrade several other packages because they depend on one another.
Also, if packages A needs package B in version 1.2 and up, while package C needs package B in version 1.1 tops - what do you do?
Thanks, now after reading this and wiki, I've realized that downgrading is not so good idea. Anyway, I can use my "problem-app" on VirtualBox so it's not such a big problem.
Imagemagick has been flagged out of date so perhaps holding out for an update may work? Also is it explicitly installed or does a certain package require said version for compiling?
Yes, it is installed already, there is shell output
identify -version
Version: ImageMagick 6.7.4-0 2011-12-13 Q16 http://www.imagemagick.orgOffline
Sadly, I can't know this fact (and I don't know how to check this out either).
While a VBox session may be best in this case, for future reference, you can check out your /var/cache/pacman/pkg folder to see if it's there. once in that folder an 'ls | grep imagemagick' would show what was available.
There's also probably some handy pacman option to check it's database as well - but just looking for the file works for me.
What is the program that needs the old version anyway?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
lightgreenpanda wrote:Sadly, I can't know this fact (and I don't know how to check this out either).
While a VBox session may be best in this case, for future reference, you can check out your /var/cache/pacman/pkg folder to see if it's there. once in that folder an 'ls | grep imagemagick' would show what was available.
There's also probably some handy pacman option to check it's database as well - but just looking for the file works for me.
What is the program that needs the old version anyway?
Thanks again for advice. That program actually is a web-application created on web-framework RubyOnRails which uses Ruby's library Rmagick, which in turn uses ImageMagick. Btw, it turns out that I could simply change requirement of version directly in the code.
Offline