Ask Your Question
0

Problem with PackageKit-command-not-found fedora30

asked 2018-10-25 16:54:44 -0600

teodoro777 gravatar image

updated 2018-10-25 16:55:29 -0600

Why this problem in fedora rawhide?image description In the example I gave the command "screenfetch", of which I do not have the package installed. So dnf should find the screenfetch package and ask me to install it ... or at least this happens in fedora 28

edit retag flag offensive close merge delete

Comments

Looks like various problems here:

1.) dnf is not searching for packages if a command isn't found, that functionality is provided by PackageKit-command-not-found (PackageKit /= dnf)

2.) Why don't you simply run dnf search screenfetch or dnf install screenfetch right away?

3.) https://fedoraproject.org/wiki/Releas...

florian gravatar imageflorian ( 2018-10-25 22:02:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-25 22:05:14 -0600

florian gravatar image

If you want that your terminal suggests packages in case a command isn't found, you need to install a utility called PackageKit-command-not-found (sudo dnf install PackageKit-command-not-found).

If you know what you want, simply run dnf install thisisthepackageIwant

edit flag offensive delete link more

Comments

The screen-shot shows that fedora-cisco-openh264 is not available. If it has skip_if_unavailable=True specified, then this should be no problem. But perhaps PackageKit works differently.

Fedora30 is very early in its development at the moment and it is supposed to be broken now and then.

villykruse gravatar imagevillykruse ( 2018-10-26 02:56:01 -0600 )edit

Oh yes, maybe PackagKit is searching for an install candidate but can't skip the broken fedora-cisco-openh264 repo. In that case, just be patient - it will be fixed at some point. But again, there is no such thing as Fedora 30, it's rawhide, and rawhide not expected to work flawlessly, (or even expected not to work well at all times).

florian gravatar imageflorian ( 2018-10-26 10:00:37 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-25 16:54:44 -0600

Seen: 92 times

Last updated: Oct 25 '18