Bug 141552
Summary: | FC2 -> FC3 upgrade, massive package doubling, no easy way to remove | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Wiggins <hiro> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | nobody+pnasrat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-12-02 00:26:46 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
Adam Wiggins
2004-12-01 23:02:09 UTC
Unfortunately, there are cases where identical NEVR *do* make sense, multilib (i.e. elf32/elf64 arches) and --relocate being only two cases. But yes, many users use --install, when --update should have been used. Easiest way to get rid of doubling is to do rpm -qa --last > /tmp/list then edit list down to those N-V-R packages that you don't want, then do rpm -e `cat /tmp/list` It would not be impossible to script the mess and add --except-latest as a popt exec, the --last option is actually a script disguised as an option, see /usr/lib/rpm/rpmpopt* for details. There's also ways to remove duplicated entries during a --rebuilddb, but that doesn't clean up what's on the file system, only entries in the rpmdb, and so not recommended. Adding --allmatches is the answer to the other complaint, ironically an attempt to prevent accidents by newbies. There's no pleasing everyone. Also you can do: rpm --qf '%{name}-%{version}-%{release}.%{arch}' -qf esound Probaby x86_64 and i386 installed rpm -e esound.i386 should work as desired. |