You are not logged in.
So I've finally gotten around to making gnome-packagekit available in community. To install it, use
# pacman -S gnome-packagekit gnome-settings-daemon-updates
In case you didn't know, PackageKit is a cross-distro system for installing packages, and it now works on Arch too. Here are a few demos of what it can do:
PolicyKit authentication:
Note that the prompt is a little misleading - they are NOT signed packages. This will be fixed when alpm supports package signing.
Searching by file:
This only works for installed packages. You will notice that packagekit has its own pacman.conf, located in /etc/PackageKit/alpm.d, which inherits settings from /etc/pacman.conf but can be configured individually.
You can configure more settings using dconf-editor. I recommend setting org.gnome.packagekit.enable-autoremove to TRUE (this behaves like pacman -Rs).
Last edited by PirateJonno (2011-05-14 02:46:54)
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
It works great! Thanks a lot for this contribution.
Offline
I really wanted this. Thank you.
Offline
Great!
To update and add/remove are they separate apps or can be managed from one?
Markku
Offline
Nice. Fast searching. To view and install stuff it's gpk-application, to view and install updates it separate, gpk-update-viewer. There should be a menu item in the former to open the latter I think.
Also if I just run gpk-application, I can't install anything: "Authorization failed." But it never asked for a password. If I run as root, it warns: "Package installer is running as a privileged user. Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons." Installing updates on the other hand works but also without asking for a password. I don't know how that works, but it's not right, is it?
Offline
Also if I just run gpk-application, I can't install anything: "Authorization failed." But it never asked for a password. If I run as root, it warns: "Package installer is running as a privileged user. Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons." Installing updates on the other hand works but also without asking for a password. I don't know how that works, but it's not right, is it?
Make sure you have PolicyKit installed and are starting ConsoleKit with your login session. Updates won't ask for a password by default, but this can be changed by editing /usr/share/polkit-1/actions/org.freedesktop.packagekit.policy. Also, never run a graphical program as root (like it says).
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Where is the command gpk-update-icon?
Arch Linux: The power in your hands!
Offline
Is there a non-gnome version of this PackageKit? I use KDE and don't have gtk stuff. It would be silly (to me) to download a bunch of gnome deps for a single program...
Offline
Maybe try kpackagekit from the AUR?
Offline
Where is the command gpk-update-icon?
Gone. GNOME 3 doesn't use icons for notifications. Make sure you install gnome-settings-daemon-updates instead
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Installed but still am not notified about the update packages. I have to run the command manually. What do you suggest for the program to notify me?
Arch Linux: The power in your hands!
Offline
Installed but still am not notified about the update packages. I have to run the command manually. What do you suggest for the program to notify me?
You might want to change org.gnome.settings-daemon.plugins.updates.force-get-updates-login to TRUE and org.gnome.settings-daemon.plugins.updates.frequency-updates-notification to something like 86400 (24 * 60 * 60 seconds)
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
I made the changes so that pleases me, but what does the "org.gnome.settings-daemon.plugins.updates.frequency-refresh-cache"?
Sorry then. Reframing: what is this package cache? Because the option has a time to be determined (default=86400).
Last edited by dapolinario (2011-05-15 09:46:27)
Arch Linux: The power in your hands!
Offline
I made the changes so that pleases me, but what does the "frequency-refresh-cache"?
Sorry, I don't know what you mean. The question doesn't make sense
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
I have noticed that the progress bar when downloading a package doesn't update in steps but just jumps from 0% to 100% once it is downloaded. Is this a known problem or do I have something misconfigured?
Offline
I have noticed that the progress bar when downloading a package doesn't update in steps but just jumps from 0% to 100% once it is downloaded. Is this a known problem or do I have something misconfigured?
working ok for me
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
If not running Gnome, you must also install the gnome-polkit package or it will fail to ask for authentication.
(At least, that was my experience with only XFCE installed.)
xfce | compiz | gmrun | urxvt | chromium | geany | aqualung | vlc | geeqie
Offline
Sorry then. Reframing: what is this package cache? Because the option has a time to be determined (default=86400).
Sorry again, I didn't notice this change. If you're still wondering, the package cache (in PackageKit parlance) refers to what pacman calls the sync databases. It's what gets updated when you run pacman -Sy. The value 86400 is the length of one day in seconds.
I have noticed that the progress bar when downloading a package doesn't update in steps but just jumps from 0% to 100% once it is downloaded. Is this a known problem or do I have something misconfigured?
I've had reports that this works on x86_64 but not i686. Unfortunately I have no idea what could be causing the difference in behaviour. Any debugging information you or others could gather would be great (I don't have access to an i686 machine).
If not running Gnome, you must also install the gnome-polkit package or it will fail to ask for authentication.
(At least, that was my experience with only XFCE installed.)
Yeah, I guess I ought to make this an optional dependency. However it is not a hard dependency because it is still possible to use gnome-packagekit on KDE (as far as I know anyway).
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Hello,
I installed this today
$ sudo pacman -S gnome-settings-daemon-updates gnome-packagekit
The applications list is empty and I receive an error when running update-viewer.
$ gpk-update-viewer
(gpk-update-viewer:2572): PackageKit-WARNING **: failed to get properties: Launch helper exited with unknown return code 127
Exiting as backend details could not be retrieved: Launch helper exited with unknown return code 127
Apparently, I have missed some configuration step. Any idea what I need to do?
BTW, I have had this (v 3.0.3) running on a different computer with no issues.
Thanks,
Brian)
Last edited by bsquared (2011-12-23 20:08:48)
(c}
Offline
for what it's worth, there's a KDE gui to packagekit as well, available through AUR:
https://aur.archlinux.org/packages.php?ID=48728
Thanks for your efforts, PirateJonno
Arch i686 on Phenom X4 | GTX760
Offline
Works great after a system upgrade. Thanks for the contribution.
Hello,
I installed this today
$ sudo pacman -S gnome-settings-daemon-updates gnome-packagekit
The applications list is empty and I receive an error when running update-viewer.
$ gpk-update-viewer (gpk-update-viewer:2572): PackageKit-WARNING **: failed to get properties: Launch helper exited with unknown return code 127 Exiting as backend details could not be retrieved: Launch helper exited with unknown return code 127
Apparently, I have missed some configuration step. Any idea what I need to do?
BTW, I have had this (v 3.0.3) running on a different computer with no issues.
Thanks,
Brian)
(c}
Offline
I have noticed that the progress bar when downloading a package doesn't update in steps but just jumps from 0% to 100% once it is downloaded. Is this a known problem or do I have something misconfigured?
I think I might have stumbled upon a way to fix this. Try changing the line 'make -s' in the PKGBUILD to
make -s CFLAGS='-D_FILE_OFFSET_BITS=64'
and rebuild.
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Just passing by to thank you for integrating this!
Offline
Sorry to reopen this topic, but something has changed since the last message was posted, and I thought that it is better to reopen this than opening a new topic. The key org.gnome.settings-daemon.plugins.updates.force-get-updates-login no longer exists, someone is getting notifications even without this key?
Offline
This look great, but I can't figure out what command to run after installing. Does anyone know?
Offline