Red Hat Bugzilla – Bug 848012
pkcon download silently overwrites existing file
Last modified: 2013-05-07 07:10:47 EDT
Description of problem:
when downloading into /tmp dir for example with the same package name already in there should be warning that I am overwriting something and not overwrite done automatically.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.execute rpm -q mc
2.create rpm like this in /tmp with AAA content (echo "AAAA" > mc-....)
3.execute pkmon download /tmp mc
original AAA file overwritten to rpm
user should be asked if overwrite is OK
We now do this:
Fatal error: file /tmp/dbus-devel-1.6.8-5.fc19.x86_64.rpm already exists
Thanks for reporting this bug.