HOWTO: Properly downgrade a package (was: Re: rawhide report: 20060624 changes)

Panu Matilainen pmatilai at laiskiainen.org
Mon Jun 26 07:16:04 UTC 2006


On Sun, 25 Jun 2006, seth vidal wrote:

> On Sun, 2006-06-25 at 22:49 +0000, Kevin Kofler wrote:
>> 1. yum install synaptic
>> 2. synaptic
>> 3. select the package from the list
>> 4. Package / Force version
>> 5. pick the version from the list
>> 6. OK
>> 7. Apply
>> 8. OK
>> That's it. :-) No --force --nodeps needed.
>>
>> With RPM itself, use --oldpackage rather than --force --nodeps.
>>
>
> what, exactly, do you think synaptic does when you do 'force version'?

It (well, libapt-pkg) does this when downgrades are needed:

probFilter |= RPMPROB_FILTER_OLDPACKAGE;
..
rc = rpmtsRun(TS, NULL, (rpmprobFilterFlags)probFilter);

 	- Panu -




More information about the fedora-devel-list mailing list