You are not logged in.

#1 2005-10-10 09:14:23

abhaysahai
Member
Registered: 2005-07-12
Posts: 51

Lock a package version ??

Hi,
I have to use wine version 20040615-1 for certain applications ( a must for me) to run. I cannot use any later version of wine, those applications will not work. Installing wine 20040615-1 was easy -- thanks to arch forum, however, now I cannot do a system upgarade.
When I do pacman -Syu it tries to upgrade wine too.. Now I do not want wine to be upgraded and at present have to do "pacman -Syu --ignore wine".
Now there can be some more packages which I do not want to upgrade, it will be really difficult to add all in the ignore list.

Is there a better way ?  Can we lock a package version as we can do in synaptic ( debian/Ubuntu) ?

Thanks in advance.
Regards,
Abhay

Offline

#2 2005-10-10 09:41:41

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Lock a package version ??

man pacman.....


there is an option to holdpkg....

should do it

Offline

#3 2005-10-10 09:42:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Lock a package version ??

Add an IgnorePkg line to /etc/pacman.conf - see man pacman for details.

Offline

#4 2005-10-10 11:55:45

abhaysahai
Member
Registered: 2005-07-12
Posts: 51

Re: Lock a package version ??

Thanks tomk,

Ignorepkg is definately a better way of retaining packages.
Thanks again

Offline

Board footer

Powered by FluxBB