Bug 67937
Summary: | Errors during update from rpm | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | ellson |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | notting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-10-07 11:46:57 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: |
Description
ellson
2002-07-04 14:26:47 UTC
Exactly what version of cups did you have installed previously? What does /var/lib/alternatives/print look like? Not sure what version of cups I had before. Whatever the previous rawhide version was. However, I can reproduce the problem by using --replacepkgs [root@beermat rawhide]# rpm -qa cups cups-1.1.15-3 [root@beermat rawhide]# rpm -Uvh --replacepkgs cups-1.1.15-3.i386.rpm Preparing... ########################################### [100%] 1:cups ########################################### [100%] the primary link for print must be /usr/bin/cancel [root@beermat rawhide]# /var/lib/alternatives/print contains: auto /usr/bin/cancel print-lp /usr/bin/lp print-lpq /usr/bin/lpq print-lpr /usr/bin/lpr print-lprm /usr/bin/lprm print-lpstat /usr/bin/lpstat print-lpc /usr/sbin/lpc print-cancelman /usr/share/man/man1/cancel.1.gz /usr/bin/cancel.cups 30 /usr/bin/lp.cups /usr/bin/lpq.cups /usr/bin/lpr.cups /usr/bin/lprm.cups /usr/bin/lpstat.cups /usr/sbin/lpc.cups /usr/share/man/man1/cancel.cups.1.gz If /var/lib/alternatives/print gets corrupted for some reason, its a real nightmare to find. Currently, /var/lib/alternatives/print is not owned by any package. Why not make it owned by redhat-config-printer, and clear it out anytime redhat-config-printer is reinstalled? Sorry, I meant to say "...make it owned by redhat-switch-printer, and clear it out anytime redhat-switch-printer is reinstalled?" Then the system will fail everytime redhat-switch-printer is installed; this isn't really practical. OK, but as it stands now you cannot fix a broken /var/lib/alternatives/print by removing and reinstalling packages. Perhaps cups and LPRng rpms should both rebuild the file if they find it corrupt? It wouldn't cause the system to fail any worse than before any the system would then be reconfigurable with the gui tools. |