Bug 1031311
Summary: | Raspberry Pi, pidora: Error on yum upgrade | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Axel Starck <axelstarck134> |
Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | admiller, confused_sea, ffesti, firas.alkafri, jzeleny, mov_ebpesp, packaging-team-maint, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-18 08:25:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Axel Starck
2013-11-16 18:40:46 UTC
I'm sorry, but this is not a bug. Yum just reports that your system is in inconsistent state and therefore nothing can be done with it automatically. Try to manually resolve the pre-existing problems detected in rpmdb, that should make yum work again. I have exactly the same problem after a yum update. openssh-server, lightdm, midadm 'has missing requires' and the kernel with 'obsolete'. No amount of rpm -ehv or yum erase seems to fix this. I think there is an error in the requires configuration for these rpm packages that brings the system in an inconsistent state. For posterity, in case someone stumbles on this from google: The most important side effect of this is SSH not working after the update which is probably what most people will be interested in fixing. To fix the rpm parts: # rpm -ehv --noscripts openssh-server lightdm midadm kernel-raspberrypi-kernel-YOUR.VERSION.HERE # yum install openssh-server To fix the ssh connectivity: # yum remove firewalld To enable permanent iptables settings: # ln -s /usr/lib/systemd/system/iptables.service /etc/systemd/network.target.wants/iptables.service # vi /etc/sysconfig/iptables-config Enable all the IPTABLES_SAVE things by saying "yes". # system-config-firewall-tui Follow the nice interface and choose Customize. At the long list of services choose "ssh" (should be like this by default). At last step Close and Ok. After it commits, just Cancel out. # systemctl restart iptables # reboot Confirm 'iptables -L' returns correct firewall settings. Background: there is a bug in firewalld that prevents it working with kernels that don't have NAT iptables support compiled in. Which is the case with the one I'm running (raspberrypi-kernel-3.12.0-4). The firewalld bug is fixed in a later version included in FC20. |