PDA

View Full Version : You might want to downgrade dhclient.



dd_wizard
19th July 2010, 12:47 AM
Every once in a while I run "yum list extras" to watch for orphaned packages. Usually, they're F13 packages that haven't been rebuilt for F14 yet. Today, I found an odd one though.


[gene@Mobile-PC ~]$ yum list extras
...
Extra Packages
...
dhclient.x86_64 12:4.1.1_P1-2.fc14 @rawhide

[gene@Mobile-PC ~]$ yum list dhclient dhcp
...
Installed Packages
dhclient.x86_64 12:4.1.1_P1-2.fc14 @rawhide
Available Packages
dhcp.x86_64 12:4.1.1-26.P1.fc14 rawhide


It looks like a different versioning scheme was used in June, and yum thinks the old version is newer than the new version. :confused:



Page:
1 through 50 of 219 >>>
NVR Built by Finished State
dhcp-4.1.1-26.P1.fc14 jpopelka 2010-07-12 10:37:41 complete
dhcp-4.1.1-25.P1.fc14 jpopelka 2010-07-01 09:45:34 complete
dhcp-4.1.1-18.P1.fc12 jpopelka 2010-06-29 10:33:24 complete
dhcp-4.1.1-23.P1.fc13 jpopelka 2010-06-29 10:31:48 complete
dhcp-4.1.1-24.P1.fc14 jpopelka 2010-06-29 10:31:18 complete
dhcp-4.1.0p1-6.fc11 jpopelka 2010-06-18 12:15:38 complete
dhcp-4.1.1-17.P1.fc12 jpopelka 2010-06-03 10:42:19 complete
dhcp-4.1.1-22.P1.fc13 jpopelka 2010-06-03 10:34:06 complete
dhcp-4.1.1-23.P1.fc14 jpopelka 2010-06-03 10:22:15 complete
dhcp-4.1.1_P1-1.fc12 jpopelka 2010-06-02 15:11:42 complete
dhcp-4.1.1_P1-1.fc13 jpopelka 2010-06-02 15:11:22 complete
dhcp-4.1.1_P1-2.fc14 jpopelka 2010-06-02 14:58:57 complete

The only way I could get the new version was to downgrade, "sudo yum --nogpgcheck downgrade dhclient". Now I have the real newest version. ;) So if you updated, upgraded, or installed in June, you might want to check which version of dhclient or dhcp you have installed. As of today, it should be:


[gene@Mobile-PC ~]$ yum list installed dhclient
...
Installed Packages
dhclient.x86_64 12:4.1.1-26.P1.fc14 @rawhide


dd_wizard

---------- Post added at 04:47 PM CDT ---------- Previous post was at 04:38 PM CDT ----------

Oh, if you're running a dhcp server, you'll want to downgrade the whole dhcp package.

dd_wizard

kurtdriver
19th July 2010, 02:14 AM
[kurt@Heimdal ~]$ rpm -q dhclient
dhclient-4.1.1-26.P1.fc14.x86_64


What's it supposed to do? I connected to the router and have an ip address.

stevea
19th July 2010, 02:44 AM
Nevermind.

kurtdriver
19th July 2010, 03:15 AM
Yum reports that only upgrade is available.
The question above may not have been clear. What disaster will occur because yum reports the incorrect version?

moljac024
19th July 2010, 12:49 PM
Yum reports that only upgrade is available.
The question above may not have been clear. What disaster will occur because yum reports the incorrect version?

Absolutely none.

dd_wizard
19th July 2010, 05:28 PM
No disaster would occurr, but I was stuck with an old version of dhclient that wouldn't get updated until the version number was bumped. Bumping the release number wasn't enough for yum to think there was a newer version than the one I had updated to back in June.

dd_wizard

RahulSundaram
19th July 2010, 07:44 PM
Hi

You should report this problem as a bug report

dd_wizard
19th July 2010, 08:27 PM
Will do, but I'm thinking it's not just a rawhide problem. The list includes F12 and F13 releases, too.

dd_wizard

---------- Post added at 12:27 PM CDT ---------- Previous post was at 11:53 AM CDT ----------

Bug 616176 (https://bugzilla.redhat.com/show_bug.cgi?id=616176) filed. ;)

dd_wizard