You are not logged in.

#1 2012-01-09 01:15:34

lightgreenpanda
Member
Registered: 2011-11-17
Posts: 11

Change version of package. (Pacman, ImageMagick)

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

#2 2012-01-09 01:18:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Change version of package. (Pacman, ImageMagick)

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

Offline

#3 2012-01-09 01:20:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Change version of package. (Pacman, ImageMagick)

Also either way, you should check out this wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-01-09 01:24:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change version of package. (Pacman, ImageMagick)

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

#5 2012-01-09 01:46:15

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: Change version of package. (Pacman, ImageMagick)

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

#6 2012-01-09 02:17:43

lightgreenpanda
Member
Registered: 2011-11-17
Posts: 11

Re: Change version of package. (Pacman, ImageMagick)

Trilby wrote:

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).

Trilby wrote:

Also either way, you should check out this wiki.

karol wrote:

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.

SS4 wrote:

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.org

Offline

#7 2012-01-09 02:50:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Change version of package. (Pacman, ImageMagick)

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?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2012-01-09 07:37:57

lightgreenpanda
Member
Registered: 2011-11-17
Posts: 11

Re: Change version of package. (Pacman, ImageMagick)

Trilby wrote:
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

Board footer

Powered by FluxBB