Bug 5324 - Changing DHCP client breaks RPM DB
Summary: Changing DHCP client breaks RPM DB
Status: RESOLVED DUPLICATE of bug 4918
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 2
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 07:27 CEST by Andrew
Modified: 2012-04-10 08:28 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Andrew 2012-04-10 07:27:24 CEST
Wireless card Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) fails to connect to any network out of the box until the DHCP client is changed. Changing the DHCP client of Wi-Fi device (Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) - which doesn't seem to work with dhclient) within the IP Settings of Network Settings within Network Center generates an error stating "Invalid rpm file name [dhcpcd]" followed by "error registering local packages" which breaks RPM DB with "A fatal error occurred: Couldn't open RPM DB () at /usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/open_db.pm line 74.


Version-Release number of selected component (if applicable):

Mageia 2 Cauldron Beta 2

How reproducible:

Always upon fresh installation and updating system (assuming DCHP clients other than dhclient aren't already installed)

Steps to Reproduce:
1. Launch Network Center
2. Select an access point under Wireless
3. Click Configure
4. Click Advanced
5. Under IP Settings, change the DHCP client (to dhcpcd for example)
6. Apply changes (error should occur)
7. If not, attempt to change the DHCP client back to dhclient, system will attempt to reinstall the package and fail followed by generating the above mentioned errors.
Comment 1 Andrew 2012-04-10 07:59:25 CEST
Ignore the first sentence, found out the real problem with Atheros wireless card and reporting as seperate bug. Can't modify, should read as...

Changing the DHCP client of a Wi-Fi device within the IP Settings of Network Settings within Network Center generates an error stating "Invalid rpm file name
[dhcpcd]" followed by "error registering local packages" which breaks RPM DB
with "A fatal error occurred: Couldn't open RPM DB () at
/usr/lib/perl5/vendor_perl/5.14.2/Rpmdrake/open_db.pm line 74.


Version-Release number of selected component (if applicable):

Mageia 2 Cauldron Beta 2

How reproducible:

Always upon fresh installation and updating system (assuming DCHP clients other
than dhclient aren't already installed)

Steps to Reproduce:
1. Launch Network Center
2. Select an access point under Wireless
3. Click Configure
4. Click Advanced
5. Under IP Settings, change the DHCP client (to dhcpcd for example)
6. Apply changes (error should occur)
7. If not, attempt to change the DHCP client back to dhclient, system will
attempt to reinstall the package and fail followed by generating the above
mentioned errors.

Apologies for the inconvenience. Will be more careful next time
Comment 2 Remco Rijnders 2012-04-10 08:28:25 CEST
Hi Andrew,

Thanks for your report. This seems to be a duplicate of an earlier reported problem and is probably not caused by anything to do with DHCP. Please see https://bugs.mageia.org/show_bug.cgi?id=4918#c88 for instructions on how to correct the corrupted RPM database. If you still have issues after these steps, please feel free to reopen this report.

*** This bug has been marked as a duplicate of bug 4918 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.