|
Re: yum update behavior plugin: msg#00044linux.centos.devel
Karanbir Singh napsal(a): > can we just backport the function ? Yes, we can. I have thought CentoOS is not changing packages coming from upstream. So, we need to patch /usr/lib/python2.3/site-packages/yum/transactioninfo.py, see http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum/yum/transactioninfo.py?revision=1.33&view=markup. Look at remove method. I'm sending patched file. > > also, have you looked at the code that JJ Garcia sent in ? > Yes, I have. We should go different way. We will use exclude_hook finally, but not now. To sum it up. The code I'm sending, is really pre-alfa. Because I have tested it on machines where yum is updated, code work with iftop, which has been updated by Dag a few days before. You can change in yumfirst.py: yumname = 'iftop' Plugin works pretty fine: yum update yum install expect iftop Both command are run and only iftop is installed/updated. The plugin should be extended to work event in those cases: yum install expect yum update expect And here comes exclude_hook. So, give it a try and if it's ok, I'm gonna extend the functionality. David
enabled=1
CentOS-devel mailing list CentOS-devel-IFYaIzF+flcdnm+yROfE0A@xxxxxxxxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Missing yum-plugin-priorities in the Extras: 00044, Daniel de Kok |
|---|---|
| Next by Date: | Re: Installonlyn plugin for yum: 00044, David Hrbáč |
| Previous by Thread: | Re: yum update behavior plugini: 00044, Karanbir Singh |
| Next by Thread: | Re: yum update behavior plugin: 00044, David Hrbáč |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |