Bug 249323
Summary: | /etc/apt/rpmpriorities contains "SysVinit" instead of "sysvinit" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leszek Matok <lam> |
Component: | apt | Assignee: | Axel Thimm <axel.thimm> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.5.15lorg3.2-12.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-06 17:56:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 252323, 252324 |
Description
Leszek Matok
2007-07-23 18:42:02 UTC
I have just confirmed: the same happens in rawhide. I had to force installation of FC6's SysVinit and try to dist-upgrade. Even the newer apt can't handle the flag correctly. My guess: it doesn't want to automatically replace SysVinit because it's marked as "essential" package in /etc/apt/rpmpriorities. Try replacing SysVinit -> sysvinit in there. You're right, it helps. This should be fixed package-wise and made an update for F7. I'm changing the bug summary. I don't have rawhide machine with me ATM, but I suggest looking at "sysklogd", if it isn't fixed already. Thanks for quick answer and excellent suggestion. Ok, thanks for confirming my suspicion. The problem with rpmpriorities is that it doesn't work at all for distro version upgrades and such, because the priority information is detached from the actual packages. When you start the update, you have the rpmpriorities of the OLD distribution when you really need the rpmpriorities of the NEW distro. What would kind of work (but is not possible atm) is generating rpmpriorities on the fly from information in comps.xml (eg list packages in "Core" as essential), but this has its own set of issues... In other words, not easily fixable. The entries there need to be corrected, sure, but that doesn't really help fixing the generic issue of rpmpriorities brokenness. So in order to have dist-upgrades work should we perhaps remove SysVinit/sysvinit from all rpmpriorities? Kind of, except once you start down that path you'll end up with an empty rpmpriorities file: if init of all things doesn't have that extra protection, why should anything have it? Rpmpriorities has always been a double-edged sword - it does add some extra protection for the system but it also messes up things when packages get renamed. I tend to think that the extra protection might weight a little bit more than the trouble it causes though. When I upgrade Fn to F(n+1), I update glibc, rpm and apt in one transaction and then the rest. In this case, if F7's apt is configured to contain "sysvinit" instead of "SysVinit" in rpmpriorities, it'll work just fine for me on my next FC6->F7 upgrade. Also, if rawhide apt is changed to include rsyslog instead of sysklogd, F7->F8 will work as well. My way of upgrading systems is used by many people and I guess it's even covered by some FAQ-s. I vote for a change :) apt-0.5.15lorg3.2-12.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. apt-0.5.15lorg3.2-12.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |