Bug 848012 - pkcon download silently overwrites existing file
pkcon download silently overwrites existing file
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: PackageKit (Show other bugs)
x86_64 Linux
unspecified Severity medium
: rc
: ---
Assigned To: Richard Hughes
Desktop QE
Depends On:
  Show dependency treegraph
Reported: 2012-08-14 06:11 EDT by Vladimir Benes
Modified: 2013-05-07 07:10 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-07 07:10:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vladimir Benes 2012-08-14 06:11:11 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):

How reproducible:

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
Actual results:
original AAA file overwritten to rpm 

Expected results:
user should be asked if overwrite is OK

Additional info:
Comment 2 Richard Hughes 2013-05-07 07:10:47 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.