You are not logged in.

#1 2007-09-13 09:07:12

morellik
Member
From: Italy
Registered: 2007-04-05
Posts: 43

Install package by version

Dear all,

I had search in the forum for a topic like this without success. I'm sorry if this topic was already discussed.
Is it possible to install a package by its version? E.g. I have a package that creates problems after an upgrade, can I reinstall the previous working version with pacman?

Thanks

Offline

#2 2007-09-13 09:25:32

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Install package by version

Normally pacman stores the old packages in /var/cache/pacman/pkg/
If you find the old version you can install it by "pacman -U /path/to/package.pkg.tar.gz" as root.

Daniel

Offline

#3 2007-09-13 09:35:18

natalian
Member
Registered: 2007-09-06
Posts: 29

Re: Install package by version

also add the line

 IgnorePkg = PkgName

to the [options] section in /etc/pacman.conf if you don't want it to be upgraded

Offline

#4 2007-09-13 11:28:44

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Install package by version

archlinux repositories dont have many versions of a package but only the latest. with some exceptions (eg. gcc) but these very few


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2007-09-13 13:25:42

morellik
Member
From: Italy
Registered: 2007-04-05
Posts: 43

Re: Install package by version

Ok. Thanks to all smile

Offline

Board footer

Powered by FluxBB