[Bug 496875] New: rpm -U --force doesn't remove all obsoleted files
http://bugzilla.novell.com/show_bug.cgi?id=496875 Summary: rpm -U --force doesn't remove all obsoleted files Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dok@dok-net.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1 Firefox/3.0.8 When building RPM packages from source, without bumping up the package version number each time, and using rpm -U --force ... rpm fails to remove files that were removed from the binary rpms as compared to the previously installed rpm. The package managment system should never leave uncontrolled files lying around in the file system. Reproducible: Always Steps to Reproduce: 1. Build a custom RPM from sources + spec file. 2. Install it using rpm -i. 3. Remove a file from the %files section of the RPM spec file, don't alter the package version number, though. 4. Build the binary RPMs. 5. Re-install the rpm using rpm -U --force. 6. Check for the file removed from the RPM package in the installed file system, it is still there, rpm -Vf /usr... reports that it is an uncontrolled file. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496875 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llwang@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496875 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low AssignedTo|kernel-maintainers@forge.pr |mmarek@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496875 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmarek@novell.com |mls@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=496875 User mls@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496875#c1 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX --- Comment #1 from Michael Schröder <mls@novell.com> 2009-05-19 07:37:04 MDT --- Yes, that's a known glitch in rpm's implementation. Installing the same version/arch is not considered an update, but a package reinstall. Anyway, this needs to be fixed upstream. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com