Bug 84674 - pkcon install appname hecks first for local filename
Summary: pkcon install appname hecks first for local filename
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-04 22:21 UTC by Dominique Leuenberger
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2014-10-04 22:21:32 UTC
As I'm often working with package building, a lot of my directories are called according the package names.

I just happened to run into the case where:

> pkcon install arista
reported
Command failed: Expected package name, actually got file. Try using 'pkcon install-local arista' instead.

This simply due to the fact that I happened to be in a directory where a child 'arista' existed.

Maybe that error message / check for file should only happen if the catalog did not return anything... otherwise, assume the user was smarter :)

This was with PK 1.0.0
Comment 1 Richard Hughes 2018-08-21 15:52:34 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.