Apper

System Software

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

29
Score 69.6%
Description:

Apper is the KDE interface for PackageKit (aka KPackageKit)

Apper is able to manage packages, applications and updates in a cross-distribution way thanks to the PackageKit project. Providing Linux users a single application that they can learn and use in whatever distribution they are.

Hope you enjoy Apper, and please report bugs, make wishes so we can improve this application.

BUGS goes to bugs.kde.org

-----------------------------------------------------
IMPORTANT:
Apper itself can do nothing without PackageKit.
So have it installed before.
-----------------------------------------------------

INSTALLATION

Well now that you decide to install it. Be careful :D no warranty is given..

Requirements:
AFTER INSTALLING LOGOUT AND LOGIN SO KDED CAN LOAD THE Apper PLUGIN.
(also, make uninstall #from your old build dir)

PackageKit >= 0.8.5
KDELibs headers of Kde4
KDEWorskpace
KDE >= 4.3

Compiling:
- $ cd Apper # where you extracted it
- $ mkdir build && cd build
- $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ # you must install in /usr otherwise KDE won't find it
- $ make
- $ su
- # make install

Enjoy :)

madsheytan

10 years ago

Hi, does it works with slack? Or will it be?

Report

C

dantti

10 years ago

For this to work with slackware it simple needs a backend that knows slapt or installpkg, then it's possible to install .tgz files or if slapt suppport is added you would use repositories. ( i don't really know slapt cause when i used slack it was only installpkg)

but afaik there is no such implementation right now, so if you are a dev you can check the docs on how to create a backend at packagekit.org website yourself :D

Report

madsheytan

10 years ago

I wish i could, but i'm not a dev :| Maybe someone will write it.

Report

Mar91

10 years ago

I solved the crash with some updates :)

I have tried to compile the new version, and i get:
http://pastebin.com/d6e3ff761

Qt 4.4.3
Kde 4 Factory (4.1.X)
opensuse 11.0

Report

C

dantti

10 years ago

Hi, your problem is because you don't have the latest version of packagekit-qt installed. NOTE that this is not shipped anymore with the tar ball so it's best to go to http://maison.mymadcat.com/~madcat/qpackagekit/ and download the last version.

Soon it'll be available at packagekit.org website. in the meanwhile you can grab there.

Report

Mar91

10 years ago

Didn't solve. Same problem.I installed qpackagekit 0.31 from sources and i have still the same problem. Isn't this a qt problem ?

Report

C

dantti

10 years ago

hmm i have some ppl that compiled fine on opensuse, and the error for me is that i changed some bits in the lib so this is what is look like.
I'd say to you make sure you're installing in /usr try cleaning up your builds, and if none of it helps try #packagekit on free node we can try to help..

Report

deadbabylon

10 years ago

We'll likely want to make kpackagekit the default graphical package manager in the upcoming release of Fedora (10) (on the KDE side, of course). But one problem ATM is that kpackagekit is only available in english and it seems not to be prepared for translations (eg. no .po files are available). But there seems to be some i18n markups in the source.
So my question is: What's the best way to translate kpackagekit? Or do you want to release a minor update with proper .po files in the meantime?

Report

C

dantti

10 years ago

Hi, well this is a question i've been asking to the guys that are already packaging it to fedora (btw are you?), the thing is: i added this "markup" everywhere so it's ready to be translated, but i don't know how translations works :P
i never translated a program nor created a program to be translated, i can also translate it to portuguese br, but i don't know from where to start....
Any help is really appreciate, we also got a new contributor who might know how to do that, i'll ask him.
Cheers.

Report

deadbabylon

10 years ago

No, I'm not the packager. For the translations we need the .pot templates. Because you've added kpackagekit to Playground they are now available:
http://websvn.kde.org/trunk/l10n-kde4/templates/messages/playground-sysadmin/kpackagekit.pot?revision=871981&view=markup
But before starting the translations the misspellings should be fixed first.

I for myself also don't have much experience with translations. But I think rdieter and/or Kevin_Kofler in #fedora-kde on freenode could help you with that.

Report

Mar91

11 years ago

Crashing on Opensuse 11.0 :(

marco@linux-odym:~> kpackagekit
SHOW UI!
GO UI!
enumFromString ( Action ) : converted "" to "Action" , enum value -1
enumFromString ( Group ) : converted "" to "" , enum value -1
enumFromString ( Filter ) : converted "" to "Filter" , enum value -1
enumFromString ( Action ) : converted "" to "Action" , enum value -1
Error, cannot create transaction proxy
New transaction with tid ""
process 3570: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file dbus-message.c line 1070.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
<unknown program name>(3569)/: Communication problem with "KPackageKit" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

marco@linux-odym:~> KCrash: Application 'kpackagekit' crashing...
sock_file=/home/marco/.kde4/socket-linux-odym/kdeinit4__0

marco@linux-odym:~>


Compiled from sources ( last version on kde-apps ). Kde 4.1 unstable

Report

C

dantti

11 years ago

Oh, i just figured out what is your problem.

You don't have packagekit working. If it's really installed make sure you have a version 0.3 or greater.

Report

C

dantti

11 years ago

can you please provide wich version of qt and packagekit are you using?

Thanks.

Report

kilah

11 years ago

-- checking for module 'polkit-dbus'
-- package 'polkit-dbus' not found
------------------
i have instaled :
Setting up libpolkit2 (0.9-1)
Setting up libpolkit-dbus2 (0.9-1)


My distro is debian sid

Report

C

dantti

11 years ago

Dude, when compiling software always install the *-dev files, so libpolkit-dbus-dev is needed :)

Have fun.

Report

artemisfowl2007

11 years ago

I really like KPackageKit and I would like it to see grow even better.

I could probably contribute if time permits, but for the time being, I would like to know where I should file bug reports and ask a couple of questions.

So, doesn't KPackageKit have an official web site or an official project page?

Report

C

dantti

11 years ago

Well a kind of official website is www.packagekit.org, i have just got a kde svn account so i'll probably put it there as soon as possible, but you can use this space here to post bug reports or send me messages.
At the end of the week i'll release a new version with file install support so if you have some bugs i can try to fix till there.
Thanks.

Report

xadras

11 years ago

Hi dantti,

your programm looks really great, but unfortunately it doesnt run on my system (Debian sid with kde from experimentall).

The compiling and installation of packagekit 2.2 and kpackagekit was running without problems. But if I click on "Add and Remove Software" the application crashes. Maybe its a packagekit problem. If i run the command packagekitd as root i got the following output:

TI:05:45:21 TH:0x807a3e8 FI:pk-main.c FN:main,266
- cannot continue, backend invalid

Gts Xadras

Report

C

dantti

11 years ago

You're right the app will crash if the backend is invalid, try to use that line to compile packagekit and also make sure that the ..prefix/etc/PackageKit/PackageKit.conf has the line default backend=apt
i'll try to see how to warn the user that packagekit is not working or running.
Thanks.

Report

C

dantti

11 years ago

hmmm i'll try to see if packagekit having an invalid backend make the gui crash...
On my Debian with kde from experimental too i use this line to compile packagekit:
./autogen.sh --prefix=/home/daniel/PackageKit/pkbin/ --with-security-framework=polkit --with-default-backend=apt --enable-apt --enable-dummy --enable-local --enable-tests --enable-gtk-doc

after this going well i myself COPY (don't move) the files in that pkbin dir to it's location, i don't recommend you using /usr in the prefix of packagekit cause it have some fedora specifc stuff that will make your debian dirs a little different.

there is a command pkcon that allows you to try packagekit:
pkcon search name k3b
if this one runs ok then probably my app has a problem...

Report

xadras

11 years ago

Thanks for your quick reponse. I have set the DefaultBackend to apt and i have run the following commands:

make distclean
./autogen.sh --prefix=/home/xadras/PackageKit-0.2.2/pkbin/ --with-security-framework=polkit --with-default-backend=apt --enable-apt --enable-dummy --enable-local --enable-tests --enable-gtk-doc
make
su
make install

but there is no change:

packagekitd
TI:10:06:56 TH:0x807a3e8 FI:pk-main.c FN:main,266
- cannot continue, backend invalid


pkcon search name amarok

Command failed
Error:
failed to get a TID: Launch helper exited with unknown return code 1

Report

C

dantti

11 years ago

try editing this file: /home/xadras/PackageKit-0.2.2/pkbin/etc/PackageKit/PackageKit.conf

on pkbin dir do something like this:
cp -r etc* /etc/
cp -r include/* /usr/include/
cp -r lib/* /usr/lib/
cp -r share/* /usr/share/
cp -r var/* /var/

at the end restart dbus

Report

xadras

11 years ago

i have done your proposal. But unfortunately there is no change. I have tried also to install the ubuntu 0.2.2 package, but with no success, too.

Report

C

dantti

11 years ago

did you get the git version on the pk web site?
are you sure you have all the deps?
here is a list of what deps i remember i had to install in order to compile pk, also make sure after the autogen you see the list were apt backend is enabled and the default
if none work try #packagekit on freenode for an online help :)

./autogen.sh --prefix=/home/daniel/projetos/PackageKit/pkbin/ --with-security-framework=polkit --with-default-backend=apt --enable-apt --enable-dummy --enable-local --enable-tests --enable-gtk-doc

required
libapt-pkg-doc
libglib2.0-dev
libsqlite3-dev
libdbus-1-dev
libdbus-glib-1-dev
policykit
python-apt
libapt-pkg-dev
libpolkit-dbus-dev
libpolkit-dev
libpolkit-grant-dev
>> apt2
python-xapian
python-dbus

Good luck

Report

12345678910
1533
product-maker orhanvurucu Sep 11 2018 9 excellent
+
product-maker sixsixfive Nov 10 2013 3 bad
product-maker VilleVallo Nov 09 2013 3 bad
product-maker lieter Nov 09 2013 3 bad
product-maker mannfree Nov 09 2013 3 bad
product-maker qwertzui Nov 09 2013 3 bad
product-maker freelancer96 Nov 09 2013 3 bad
product-maker popcon Nov 09 2013 3 bad
product-maker frodoom Nov 09 2013 3 bad
product-maker nobrain Nov 09 2013 3 bad
product-maker dergnome Nov 09 2013 3 bad
product-maker Mira Nov 09 2013 3 bad
product-maker thwald Nov 09 2013 3 bad
product-maker hello98 Nov 05 2013 3 bad
product-maker mea5 Nov 05 2013 3 bad
product-maker OdinEidolon Mar 10 2013 9 excellent
product-maker gustawho Feb 20 2013 9 excellent
product-maker wwmm Feb 19 2013 9 excellent
product-maker duzak Jan 24 2013 9 excellent
product-maker fri Jan 09 2013 9 excellent
product-maker koko2k Nov 23 2012 9 excellent
product-maker kaznovac Oct 04 2012 3 bad
product-maker glewik May 24 2012 9 excellent
product-maker lazx888 May 24 2012 9 excellent
product-maker XenoPL May 24 2012 9 excellent
product-maker swiftscythe May 22 2012 9 excellent
product-maker shura May 22 2012 9 excellent
product-maker OderMalSo Feb 26 2012 9 excellent
product-maker pejakm Feb 24 2012 9 excellent
product-maker elric80 Feb 22 2012 9 excellent
product-maker electron222 Dec 18 2011 9 excellent
product-maker snakebite Oct 12 2011 9 excellent
product-maker cyberconan Aug 02 2011 9 excellent
product-maker rudi Jun 15 2011 9 excellent
product-maker blacx Apr 17 2011 9 excellent
product-maker Contrast Mar 30 2011 9 excellent
product-maker jmunin Mar 11 2011 9 excellent
product-maker BenderBendingRodriguez Feb 18 2011 9 excellent
product-maker nerdykid Jan 07 2011 9 excellent
product-maker kmare Dec 22 2010 9 excellent
product-maker ctown Dec 12 2010 9 excellent
product-maker rencord Nov 25 2010 9 excellent
product-maker jmc88 Oct 26 2010 9 excellent
product-maker thibaut28 Oct 25 2010 9 excellent
product-maker KFreakz Oct 14 2010 9 excellent
product-maker unhammer Oct 13 2010 9 excellent
product-maker ZeVlad Oct 06 2010 9 excellent
product-maker Pawlerson Oct 06 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
gustawho
Feb 20 2013
swiftscythe
May 22 2012
OderMalSo
Feb 22 2012
belzebu87
Oct 26 2011
HelderC
Apr 18 2011
jmunin
Mar 11 2011
BenderBendingRodriguez
Feb 18 2011
nerdykid
Dec 28 2010
ctown
Dec 12 2010
ZeVlad
Oct 06 2010
mambasoft
Sep 29 2010
paju
Sep 18 2010
rencord
Sep 16 2010
AndreAPL
May 09 2010
opaflamme
Mar 20 2010
wylliam
Dec 29 2009
giricz81
Dec 10 2009
yoann21
Aug 15 2009
snirp
Jul 02 2009
xoen
Jun 15 2009
friendly-demon
Jun 07 2009
Stornado
Jun 07 2009
s4ncho
Apr 22 2009
jalpaka
Apr 16 2009
usrkl
Mar 27 2009
okias
Mar 25 2009
eRSZ
Mar 01 2009
KFreakz
Feb 17 2009
Znurre
Feb 17 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.8.0
updated Jan 08 2013
added Jul 06 2008
downloads 24h
0
page views 24h 27
System Tags app software