PDA

View Full Version : PackageKit Fedora 18



jamilsaif
30th April 2013, 06:16 AM
Hi

PackageKit is nor running from a termina, it responds with "Comand not found"

when trying to install it using yum, it returns the following

[root@localhost /]# yum install PackageKit
Loaded plugins: langpacks, presto, refresh-packagekit
Package PackageKit-0.8.7-1.fc18.x86_64 already installed and latest version
Nothing to do


any suggestions?


Thanking you

Jamils

Demz3
30th April 2013, 08:01 AM
Hi

PackageKit is nor running from a termina, it responds with "Comand not found"

when trying to install it using yum, it returns the following

[root@localhost /]# yum install PackageKit
Loaded plugins: langpacks, presto, refresh-packagekit
Package PackageKit-0.8.7-1.fc18.x86_64 already installed and latest version
Nothing to do


any suggestions?


Thanking you

Jamils :doh: while you figure that out im gonna go watch some play school

jamilsaif
30th April 2013, 08:06 AM
it really reflects your ethics. is int that Demz3?

Demz3
30th April 2013, 08:10 AM
it really reflects your ethics. is int that Demz3?
yup, just wondering why you'd install PackageKit when it was already installed in the first place , when i have enough beer later i might be able to answer that also :dance:

jamilsaif
30th April 2013, 08:20 AM
yup, just wondering why you'd install PackageKit when it was already installed in the first place , when i have enough beer later i might be able to answer that also :dance:

Better not ...

bob
30th April 2013, 11:25 AM
Enough of the personal stuff, please. And jamilsaif, if you want something that functions for updates, installs, lists details, etc., you might want to install yumex - the gui version of yum.

jamilsaif
30th April 2013, 11:47 AM
Thank you bob for the reply, anyhow, my interest in PackageKit command it is already installed -by default- and when I run the command it gives error: bash: PackageKit: command not found

although it is installed, I tried to re-install:

yum reinstall PackageKit -y

it reinstall successfully, but same issue appears again when running the command PackageKit

bash: PackageKit: command not found

Dutchy
30th April 2013, 12:21 PM
$ apropos PackageKit
gpk-application (1) - GNOME PackageKit Local File Provider
gpk-backend-status (1) - GNOME PackageKit Local File Provider
gpk-install-local-file (1) - GNOME PackageKit Local File Helper
gpk-install-mime-type (1) - GNOME PackageKit MimeType installer
gpk-install-package-name (1) - GNOME PackageKit Package Name Helper
gpk-install-provide-file (1) - GNOME PackageKit Local File Provider
gpk-prefs (1) - GNOME PackageKit Update Preferences
gpk-repo (1) - GNOME PackageKit Software Source Viewer
gpk-update-icon (1) - GNOME PackageKit Update Icon
gpk-update-viewer (1) - GNOME PackageKit Update Viewer
pkcon (1) - PackageKit console client
pkgenpack (1) - PackageKit Pack Generator
pkmon (1) - PackageKit console client
And you sure should give yumex a try.

jamilsaif
30th April 2013, 12:26 PM
pkcon (1) - PackageKit console client
pkgenpack (1) - PackageKit Pack Generator
pkmon (1) - PackageKit console client

Dutchy
30th April 2013, 12:30 PM
Ah, was finding it pretty strange that you wanted to launch it from a terminal, but now it makes sense.
:rtfl:

jamilsaif
30th April 2013, 12:33 PM
Ah, was finding it pretty strange that you wanted to launch it from a terminal, but now it makes sense.
:rtfl:

Even from the gui, Run Command, is not running, it used to work perfectly in the previous versions F17, 16

is it a bug in F18?

bob
30th April 2013, 03:48 PM
Try this: "gpk-application"

smr54
30th April 2013, 08:15 PM
One way to work with this is to run

rpm -ql PackageKit |grep bin

The -ql tells you everything that was installed when you installed PackageKit and doing the |grep bin shows what was installed in /bin, /sbin and so on. This will often give you a clue as to what command should be run to evoke the program.

I don't have PackageKit installed, so can't test that for myself, but the advice works for any package.

jamilsaif
30th April 2013, 08:28 PM
Try this: "gpk-application"

bob,

bash: gpk-application: command not found

this is the output

---------- Post added at 10:28 PM ---------- Previous post was at 10:26 PM ----------


One way to work with this is to run

rpm -ql PackageKit |grep bin

The -ql tells you everything that was installed when you installed PackageKit and doing the |grep bin shows what was installed in /bin, /sbin and so on. This will often give you a clue as to what command should be run to evoke the program.

I don't have PackageKit installed, so can't test that for myself, but the advice works for any package.

smr54, thanks, here is the output

[root@localhost jamils]# rpm -ql PackageKit |grep bin
/usr/bin/packagekit-bugreport.sh
/usr/bin/pkcon
/usr/bin/pkgenpack
/usr/bin/pkmon

nonamedotc
30th April 2013, 09:35 PM
Could you try "gpk-update-viewer"?



yum provides gpk-update-viewer
Loaded plugins: langpacks, presto, remove-with-leaves

gnome-packagekit-3.6.1-2.fc18.x86_64 : Session applications to manage packages
Repo : fedora
Matched from:
Filename : /usr/bin/gpk-update-viewer


I think this is what you are after ... (that is, assuming, I understood your problem right in the first place!)

jamilsaif
30th April 2013, 11:54 PM
[root@localhost jamils]# packagekit
bash: packagekit: command not found...
[root@localhost jamils]# rpm -ql packagekit
package packagekit is not installed
[root@localhost jamils]# yum list packagekit
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/18/x86_64/metalink | 8.9 kB 00:00
updates/18/x86_64/metalink | 6.1 kB 00:00
updates | 4.4 kB 00:00
updates/primary_db | 8.8 MB 01:23
Installed Packages
PackageKit.x86_64 0.8.6-1.fc18 @koji-override-0/$releasever
Available Packages
PackageKit.i686 0.8.7-1.fc18 updates
PackageKit.x86_64 0.8.7-1.fc18 updates
[root@localhost jamils]# yum install PackageKit
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package PackageKit.x86_64 0:0.8.6-1.fc18 will be updated
--> Processing Dependency: PackageKit(x86-64) = 0.8.6-1.fc18 for package: PackageKit-yum-plugin-0.8.6-1.fc18.x86_64
--> Processing Dependency: PackageKit(x86-64) = 0.8.6-1.fc18 for package: PackageKit-yum-0.8.6-1.fc18.x86_64
---> Package PackageKit.x86_64 0:0.8.7-1.fc18 will be an update
--> Processing Dependency: PackageKit-glib(x86-64) = 0.8.7-1.fc18 for package: PackageKit-0.8.7-1.fc18.x86_64
--> Running transaction check
---> Package PackageKit-glib.x86_64 0:0.8.6-1.fc18 will be updated
--> Processing Dependency: PackageKit-glib(x86-64) = 0.8.6-1.fc18 for package: PackageKit-command-not-found-0.8.6-1.fc18.x86_64
--> Processing Dependency: PackageKit-glib(x86-64) = 0.8.6-1.fc18 for package: PackageKit-gstreamer-plugin-0.8.6-1.fc18.x86_64
--> Processing Dependency: PackageKit-glib(x86-64) = 0.8.6-1.fc18 for package: PackageKit-gtk3-module-0.8.6-1.fc18.x86_64
--> Processing Dependency: PackageKit-glib(x86-64) = 0.8.6-1.fc18 for package: PackageKit-device-rebind-0.8.6-1.fc18.x86_64
---> Package PackageKit-glib.x86_64 0:0.8.7-1.fc18 will be an update
---> Package PackageKit-yum.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-yum.x86_64 0:0.8.7-1.fc18 will be an update
---> Package PackageKit-yum-plugin.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-yum-plugin.x86_64 0:0.8.7-1.fc18 will be an update
--> Running transaction check
---> Package PackageKit-command-not-found.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-command-not-found.x86_64 0:0.8.7-1.fc18 will be an update
---> Package PackageKit-device-rebind.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-device-rebind.x86_64 0:0.8.7-1.fc18 will be an update
---> Package PackageKit-gstreamer-plugin.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-gstreamer-plugin.x86_64 0:0.8.7-1.fc18 will be an update
---> Package PackageKit-gtk3-module.x86_64 0:0.8.6-1.fc18 will be updated
---> Package PackageKit-gtk3-module.x86_64 0:0.8.7-1.fc18 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Updating:
PackageKit x86_64 0.8.7-1.fc18 updates 637 k
Updating for dependencies:
PackageKit-command-not-found x86_64 0.8.7-1.fc18 updates 54 k
PackageKit-device-rebind x86_64 0.8.7-1.fc18 updates 46 k
PackageKit-glib x86_64 0.8.7-1.fc18 updates 156 k
PackageKit-gstreamer-plugin x86_64 0.8.7-1.fc18 updates 46 k
PackageKit-gtk3-module x86_64 0.8.7-1.fc18 updates 47 k
PackageKit-yum x86_64 0.8.7-1.fc18 updates 111 k
PackageKit-yum-plugin x86_64 0.8.7-1.fc18 updates 41 k

Transaction Summary
================================================== ==============================
Upgrade 1 Package (+7 Dependent packages)

Total size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : PackageKit-glib-0.8.7-1.fc18.x86_64 1/16
Updating : PackageKit-yum-0.8.7-1.fc18.x86_64 2/16
Updating : PackageKit-0.8.7-1.fc18.x86_64 3/16
Updating : PackageKit-yum-plugin-0.8.7-1.fc18.x86_64 4/16
Updating : PackageKit-device-rebind-0.8.7-1.fc18.x86_64 5/16
Updating : PackageKit-command-not-found-0.8.7-1.fc18.x86_64 6/16
Updating : PackageKit-gtk3-module-0.8.7-1.fc18.x86_64 7/16
Updating : PackageKit-gstreamer-plugin-0.8.7-1.fc18.x86_64 8/16
Cleanup : PackageKit-yum-plugin-0.8.6-1.fc18.x86_64 9/16
Cleanup : PackageKit-yum-0.8.6-1.fc18.x86_64 10/16
Cleanup : PackageKit-0.8.6-1.fc18.x86_64 11/16
Cleanup : PackageKit-gstreamer-plugin-0.8.6-1.fc18.x86_64 12/16
Cleanup : PackageKit-gtk3-module-0.8.6-1.fc18.x86_64 13/16
Cleanup : PackageKit-command-not-found-0.8.6-1.fc18.x86_64 14/16
Cleanup : PackageKit-device-rebind-0.8.6-1.fc18.x86_64 15/16
Cleanup : PackageKit-glib-0.8.6-1.fc18.x86_64 16/16
Verifying : PackageKit-device-rebind-0.8.7-1.fc18.x86_64 1/16
Verifying : PackageKit-0.8.7-1.fc18.x86_64 2/16
Verifying : PackageKit-command-not-found-0.8.7-1.fc18.x86_64 3/16
Verifying : PackageKit-glib-0.8.7-1.fc18.x86_64 4/16
Verifying : PackageKit-gtk3-module-0.8.7-1.fc18.x86_64 5/16
Verifying : PackageKit-yum-0.8.7-1.fc18.x86_64 6/16
Verifying : PackageKit-gstreamer-plugin-0.8.7-1.fc18.x86_64 7/16
Verifying : PackageKit-yum-plugin-0.8.7-1.fc18.x86_64 8/16
Verifying : PackageKit-command-not-found-0.8.6-1.fc18.x86_64 9/16
Verifying : PackageKit-0.8.6-1.fc18.x86_64 10/16
Verifying : PackageKit-gtk3-module-0.8.6-1.fc18.x86_64 11/16
Verifying : PackageKit-glib-0.8.6-1.fc18.x86_64 12/16
Verifying : PackageKit-device-rebind-0.8.6-1.fc18.x86_64 13/16
Verifying : PackageKit-yum-plugin-0.8.6-1.fc18.x86_64 14/16
Verifying : PackageKit-yum-0.8.6-1.fc18.x86_64 15/16
Verifying : PackageKit-gstreamer-plugin-0.8.6-1.fc18.x86_64 16/16

Updated:
PackageKit.x86_64 0:0.8.7-1.fc18

Dependency Updated:
PackageKit-command-not-found.x86_64 0:0.8.7-1.fc18
PackageKit-device-rebind.x86_64 0:0.8.7-1.fc18
PackageKit-glib.x86_64 0:0.8.7-1.fc18
PackageKit-gstreamer-plugin.x86_64 0:0.8.7-1.fc18
PackageKit-gtk3-module.x86_64 0:0.8.7-1.fc18
PackageKit-yum.x86_64 0:0.8.7-1.fc18
PackageKit-yum-plugin.x86_64 0:0.8.7-1.fc18

Complete!
[root@localhost jamils]# PackageKit
bash: PackageKit: command not found...
[root@localhost jamils]#

RahulSundaram
1st May 2013, 05:13 AM
Hi

There is NO command called PackageKit. pkcon is the command line utility in PackageKit but it is only used for testing the api really. If you want to use a command line tool, just use yum.

DBelton
1st May 2013, 07:45 AM
Seriously.. Why would someone want to use PackageKit from the command line anyway? PackageKit is just a front-end for yum, so it would just execute yum to do what you wanted. Skip the fluff and go straight to yum.

<sigh> and people wonder why PackageKit is in the first round of crap I remove when I install Fedora. :D

DBelton
1st May 2013, 07:45 AM
Seriously.. Why would someone want to use PackageKit from the command line anyway? PackageKit is just a front-end for yum, so it would just execute yum to do what you wanted. Skip the fluff and go straight to yum.

<sigh> and people wonder why PackageKit is in the first round of crap I remove when I install Fedora. :D