D.H. Bahr | 1 Dec 16:45 2009
Picon

issues with packagekit

Hello everyone!

I am having some issues with packagekit. I downloaded the 0.5.4 version and compiled it (btw it told me i needed cppunit and there was no mention of it on the dependencies in the web site, but that is not the problem). I only set the prefix in the ./configure to /usr and nothing else. As i am working on Nova (Gentoo based) it told me that the available backend was portage (which is fine for now, yet i have rpm installed also... ¿should it not be able to use some other backend?) make && make install worked smoothly, yet, when i try to run packagekitd

darion-laptop darion # packagekitd --daemonize --verbose
TI:15:40:43.271    FI:../../src/egg-debug.c    FN:egg_debug_init,314
 - Verbose debugging 1 (on console 1)PK_VERBOSE

later on i try pkcon and this is what i get
darion-laptop darion # pkcon
Failed to contact PackageKit: Launch helper exited with unknown return code 1

is there something wrong? do i need to do something i am not doing? Is there documentation anywhere about it?

I would like to add that we (the Nova crew) are planning our next version (for late 2010) to use rpm and packagekit for the package management system. These issues I describe above are related to the study we are currently developing in that order.

Greetings,

D.H. Bahr
<div>
Hello everyone!<br><br>
I am having some issues with packagekit. I downloaded the 0.5.4 version
and compiled it (btw it told me i needed cppunit and there was no
mention of it on the dependencies in the web site, but that is not the
problem). I only set the prefix in the ./configure to /usr and nothing
else. As i am working on Nova (Gentoo based) it told me that the
available backend was portage (which is fine for now, yet i have rpm
installed also... &iquest;should it not be able to use some other backend?)
make &amp;&amp; make install worked smoothly, yet, when i try to run
packagekitd<br><br>darion-laptop darion # packagekitd --daemonize
--verbose<br>
TI:15:40:43.271&nbsp;&nbsp;&nbsp; FI:../../src/egg-debug.c&nbsp;&nbsp;&nbsp; FN:egg_debug_init,314<br>
&nbsp;- Verbose debugging 1 (on console 1)PK_VERBOSE<br><br>
later on i try pkcon and this is what i get<br>darion-laptop darion # pkcon <br>
Failed to contact PackageKit: Launch helper exited with unknown return
code 1<br><br>
is there something wrong? do i need to do something i am not doing? Is
there documentation anywhere about it?<br><br>
I would like to add that we (the Nova crew) are planning our next
version (for late 2010) to use rpm and packagekit for the package
management system. These issues I describe above are related to the
study we are currently developing in that order.<br><br>
Greetings,<br><br>
D.H. Bahr<br>
</div>
Matthias Klumpp | 1 Dec 22:05 2009

Re: issues with packagekit

On Tue, 01 Dec 2009 15:45:43 +0000, "D.H. Bahr" <dbahr@...>
wrote:
> Hello everyone!
> 
> I am having some issues with packagekit. I downloaded the 0.5.4 version 
> and compiled it (btw it told me i needed cppunit and there was no 
> mention of it on the dependencies in the web site, but that is not the 
> problem). I only set the prefix in the ./configure to /usr and nothing 
> else.
You should pass --enable-portage to the configure script to include the
backend.

> darion-laptop darion # packagekitd --daemonize --verbose
> TI:15:40:43.271    FI:../../src/egg-debug.c    FN:egg_debug_init,314
>   - Verbose debugging 1 (on console 1)PK_VERBOSE
Execute packagekitd --verbose --backend=portage to view the full list of
actions the daemon does.

> later on i try pkcon and this is what i get
> darion-laptop darion # pkcon
> Failed to contact PackageKit: Launch helper exited with unknown return 
> code 1
Maybe because the backend was not compiled in?
I'm not a PackageKit developer, but I use PackageKit as backend for a
cross-distro software manager.
You can look at the PackageKit source code if you get strange errors. I
always found the reason for weird behaviors of PackageKit.

> I would like to add that we (the Nova crew) are planning our next 
> version (for late 2010) to use rpm and packagekit for the package 
> management system. These issues I describe above are related to the 
> study we are currently developing in that order.
Great! Please note that PackageKit 0.5.4 is neither API nor ABI stable at
time.
Regards
  Matthias Klumpp

D.H. Bahr | 1 Dec 17:19 2009
Picon

Re: issues with packagekit

did what u recommended ... removed it and recompiled it passig --enable-portage to configure, later i ran

darion-laptop build # packagekitd --verbose --backend=portage

and it says i am missing the org.freedesktop.PackageKit.conf file in /etc/dbus-1/system.d .. where can i get this file? Is it supposed to be installed altogether with PackageKit??

Greetings,

D.H. Bahr


El 12/01/09 21:05, Matthias Klumpp escribió:
On Tue, 01 Dec 2009 15:45:43 +0000, "D.H. Bahr" <dbahr-znaZGchgss6Fb/1eCGiHEemH8TO7WPXX@public.gmane.org> wrote:
Hello everyone! I am having some issues with packagekit. I downloaded the 0.5.4 version and compiled it (btw it told me i needed cppunit and there was no mention of it on the dependencies in the web site, but that is not the problem). I only set the prefix in the ./configure to /usr and nothing else.
You should pass --enable-portage to the configure script to include the backend.
darion-laptop darion # packagekitd --daemonize --verbose TI:15:40:43.271 FI:../../src/egg-debug.c FN:egg_debug_init,314 - Verbose debugging 1 (on console 1)PK_VERBOSE
Execute packagekitd --verbose --backend=portage to view the full list of actions the daemon does.
later on i try pkcon and this is what i get darion-laptop darion # pkcon Failed to contact PackageKit: Launch helper exited with unknown return code 1
Maybe because the backend was not compiled in? I'm not a PackageKit developer, but I use PackageKit as backend for a cross-distro software manager. You can look at the PackageKit source code if you get strange errors. I always found the reason for weird behaviors of PackageKit.
I would like to add that we (the Nova crew) are planning our next version (for late 2010) to use rpm and packagekit for the package management system. These issues I describe above are related to the study we are currently developing in that order.
Great! Please note that PackageKit 0.5.4 is neither API nor ABI stable at time. Regards Matthias Klumpp _______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
<div>
did what u recommended ...
removed it and recompiled it passig --enable-portage to configure,
later i ran<br><br>
darion-laptop build # packagekitd --verbose --backend=portage<br><br>
and it says i am missing the org.freedesktop.PackageKit.conf file in
/etc/dbus-1/system.d .. where can i get this file? Is it supposed to be
installed altogether with PackageKit??<br><br>
Greetings,<br><br>
D.H. Bahr<br><br><br>
El 12/01/09 21:05, Matthias Klumpp escribi&oacute;:
<blockquote cite="mid:458bf62a8172b3f439a9306543c01847@..." type="cite">
  On Tue, 01 Dec 2009 15:45:43 +0000, "D.H. Bahr" <a class="moz-txt-link-rfc2396E" href="mailto:dbahr@...">&lt;dbahr@...&gt;</a>
wrote:

  <blockquote type="cite">
    Hello everyone!

I am having some issues with packagekit. I downloaded the 0.5.4 version 
and compiled it (btw it told me i needed cppunit and there was no 
mention of it on the dependencies in the web site, but that is not the 
problem). I only set the prefix in the ./configure to /usr and nothing 
else.

  </blockquote>
  You should pass --enable-portage to the configure script to include the
backend.

  
  <blockquote type="cite">
    darion-laptop darion # packagekitd --daemonize --verbose
TI:15:40:43.271    FI:../../src/egg-debug.c    FN:egg_debug_init,314
  - Verbose debugging 1 (on console 1)PK_VERBOSE

  </blockquote>
  Execute packagekitd --verbose --backend=portage to view the full list of
actions the daemon does.

  
  <blockquote type="cite">
    later on i try pkcon and this is what i get
darion-laptop darion # pkcon
Failed to contact PackageKit: Launch helper exited with unknown return 
code 1

  </blockquote>
  Maybe because the backend was not compiled in?
I'm not a PackageKit developer, but I use PackageKit as backend for a
cross-distro software manager.
You can look at the PackageKit source code if you get strange errors. I
always found the reason for weird behaviors of PackageKit.

  
  <blockquote type="cite">
    I would like to add that we (the Nova crew) are planning our next 
version (for late 2010) to use rpm and packagekit for the package 
management system. These issues I describe above are related to the 
study we are currently developing in that order.

  </blockquote>
  Great! Please note that PackageKit 0.5.4 is neither API nor ABI stable at
time.
Regards
  Matthias Klumpp

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

</blockquote>
</div>
Matthias Klumpp | 1 Dec 22:28 2009

Re: issues with packagekit

On Tue, 01 Dec 2009 16:19:43 +0000, "D.H. Bahr" <dbahr@...>
wrote:
> did what u recommended ... removed it and recompiled it passig 
> --enable-portage to configure, later i ran
> 
> darion-laptop build # packagekitd --verbose --backend=portage
> 
> and it says i am missing the org.freedesktop.PackageKit.conf file in 
> /etc/dbus-1/system.d .. where can i get this file? Is it supposed to be 
> installed altogether with PackageKit??
The setup script should install the DBus system config. Did you run make
install with root privileges?

Regards
 Matthias

D.H. Bahr | 1 Dec 17:31 2009
Picon

Re: issues with packagekit

yeap .. configure and make as regular user; make install as root... otherwise i wouldn't be able to install it on /usr I guess .. let me browse the tar to see if i find the file there

Greetings,

D.H. Bahr.

El 12/01/09 21:28, Matthias Klumpp escribió:
On Tue, 01 Dec 2009 16:19:43 +0000, "D.H. Bahr" <dbahr-znaZGchgss6Fb/1eCGiHEemH8TO7WPXX@public.gmane.org> wrote:
did what u recommended ... removed it and recompiled it passig --enable-portage to configure, later i ran darion-laptop build # packagekitd --verbose --backend=portage and it says i am missing the org.freedesktop.PackageKit.conf file in /etc/dbus-1/system.d .. where can i get this file? Is it supposed to be installed altogether with PackageKit??
The setup script should install the DBus system config. Did you run make install with root privileges? Regards Matthias _______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
<div>
yeap .. configure and make as
regular user; make install as root... otherwise i wouldn't be able to
install it on /usr I guess .. let me browse the tar to see if i find
the file there<br><br>
Greetings,<br><br>
D.H. Bahr.<br><br>
El 12/01/09 21:28, Matthias Klumpp escribi&oacute;:
<blockquote cite="mid:188823955ff76a70d1df00634c8bed21@..." type="cite">
  On Tue, 01 Dec 2009 16:19:43 +0000, "D.H. Bahr" <a class="moz-txt-link-rfc2396E" href="mailto:dbahr@...">&lt;dbahr@...&gt;</a>
wrote:

  <blockquote type="cite">
    did what u recommended ... removed it and recompiled it passig 
--enable-portage to configure, later i ran

darion-laptop build # packagekitd --verbose --backend=portage

and it says i am missing the org.freedesktop.PackageKit.conf file in 
/etc/dbus-1/system.d .. where can i get this file? Is it supposed to be 
installed altogether with PackageKit??

  </blockquote>
  The setup script should install the DBus system config. Did you run make
install with root privileges?

Regards
 Matthias

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

</blockquote>
</div>
D.H. Bahr | 1 Dec 17:32 2009
Picon

Re: issues with packagekit

the PackageKit.conf.in file is there .. i have no clue why it didn't install ... should I pass some parameter to configure or something?

El 12/01/09 16:31, D.H. Bahr escribió:
yeap .. configure and make as regular user; make install as root... otherwise i wouldn't be able to install it on /usr I guess .. let me browse the tar to see if i find the file there

Greetings,

D.H. Bahr.

El 12/01/09 21:28, Matthias Klumpp escribió:
On Tue, 01 Dec 2009 16:19:43 +0000, "D.H. Bahr" <dbahr-znaZGchgss6Fb/1eCGiHEemH8TO7WPXX@public.gmane.org> wrote:
did what u recommended ... removed it and recompiled it passig --enable-portage to configure, later i ran darion-laptop build # packagekitd --verbose --backend=portage and it says i am missing the org.freedesktop.PackageKit.conf file in /etc/dbus-1/system.d .. where can i get this file? Is it supposed to be installed altogether with PackageKit??
The setup script should install the DBus system config. Did you run make install with root privileges? Regards Matthias _______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
_______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
<div>
the PackageKit.conf.in file is
there .. i have no clue why it didn't install ... should I pass some
parameter to configure or something?<br><br>
El 12/01/09 16:31, D.H. Bahr escribi&oacute;:
<blockquote cite="mid:4B1544CB.906@..." type="cite">
  yeap .. configure and make as
regular user; make install as root... otherwise i wouldn't be able to
install it on /usr I guess .. let me browse the tar to see if i find
the file there<br><br>
Greetings,<br><br>
D.H. Bahr.<br><br>
El 12/01/09 21:28, Matthias Klumpp escribi&oacute;:
  <blockquote cite="mid:188823955ff76a70d1df00634c8bed21@..." type="cite">
    On Tue, 01 Dec 2009 16:19:43 +0000, "D.H. Bahr" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:dbahr@...">&lt;dbahr@...&gt;</a>
wrote:

    <blockquote type="cite">
      did what u recommended ... removed it and recompiled it passig 
--enable-portage to configure, later i ran

darion-laptop build # packagekitd --verbose --backend=portage

and it says i am missing the org.freedesktop.PackageKit.conf file in 
/etc/dbus-1/system.d .. where can i get this file? Is it supposed to be 
installed altogether with PackageKit??

    </blockquote>
    The setup script should install the DBus system config. Did you run make
install with root privileges?

Regards
 Matthias

_______________________________________________
PackageKit mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

  </blockquote>

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

</blockquote>
</div>
Matthias Klumpp | 1 Dec 22:49 2009

Re: issues with packagekit

On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <dbahr@...>
wrote:
> yeap .. configure and make as regular user; make install as root... 
> otherwise i wouldn't be able to install it on /usr I guess .. let me 
> browse the tar to see if i find the file there

Of course you can drop the file into the dir - but it's much better to find
out why it was not installed.
You configured PackageKit with
./configure --enable-emerge prefix=/usr
right?
Do you have locate installed? Is there a file named
org.freedesktop.PackageKit.conf installed on your system?
(locate org.freedesktop.PackageKit.conf in Terminal)
I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on
Debian "locate" is installed by default.
Maybe the file was installed into /usr/local by accident?
Cheers
  Matthias

Adrien Bustany | 1 Dec 22:52 2009

Re: issues with packagekit

El 01/12/09 18:49, Matthias Klumpp escribió:
> On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <dbahr@...>
> wrote:
>   
>> yeap .. configure and make as regular user; make install as root... 
>> otherwise i wouldn't be able to install it on /usr I guess .. let me 
>> browse the tar to see if i find the file there
>>     
> Of course you can drop the file into the dir - but it's much better to find
> out why it was not installed.
> You configured PackageKit with
> ./configure --enable-emerge prefix=/usr
> right?
> Do you have locate installed? Is there a file named
> org.freedesktop.PackageKit.conf installed on your system?
> (locate org.freedesktop.PackageKit.conf in Terminal)
> I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on
> Debian "locate" is installed by default.
> Maybe the file was installed into /usr/local by accident?
>   
I think it's the most probable, please look in ./configure --help, there
should be a --dbus-service-dir switch or something similar
> Cheers
>   Matthias
>
> _______________________________________________
> PackageKit mailing list
> PackageKit@...
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   

D.H. Bahr | 1 Dec 18:07 2009
Picon

Re: issues with packagekit

I installed locate and search for the file ... apparently me telling configure to use /usr as prefix mixed up somwhere and it put the file under /usr/etc/dbus-1/system.d instead of /etc/dbus-1/system.d

Now the daemon starts and i can use pkcon ...

i made a

pkcon refresh:
darion-laptop build # pkcon refresh   
Refreshing cache              [=========================]        
Waiting for authentication    [=========================]        
Starting                      [=========================]        
Generating package lists      [=========================]        

and after I searched for a package but it won't find it ..

take a look here:
darion-laptop build # eix gtkmm        
[U] dev-cpp/gtkmm
     Available versions: 
    (1.2)    1.2.9-r2
    (2)    2.2.12
    (2.4)    2.16.0 ~2.18.2
    {debug doc examples test}
     Installed versions:  2.12.7(2.4)(21:23:55 10/04/09)(-debug -doc -examples -test)
     Homepage:            http://www.gtkmm.org
     Description:         C++ interface for GTK+2

darion-laptop build # pkcon search name gtkmm
Searching by name             [=========================]        
Starting                      [=========================]        

am i using it wrong?

El 12/01/09 21:52, Adrien Bustany escribió:
El 01/12/09 18:49, Matthias Klumpp escribió:
On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <dbahr-znaZGchgss6Fb/1eCGiHEemH8TO7WPXX@public.gmane.org> wrote:
yeap .. configure and make as regular user; make install as root... otherwise i wouldn't be able to install it on /usr I guess .. let me browse the tar to see if i find the file there
Of course you can drop the file into the dir - but it's much better to find out why it was not installed. You configured PackageKit with ./configure --enable-emerge prefix=/usr right? Do you have locate installed? Is there a file named org.freedesktop.PackageKit.conf installed on your system? (locate org.freedesktop.PackageKit.conf in Terminal) I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on Debian "locate" is installed by default. Maybe the file was installed into /usr/local by accident?
I think it's the most probable, please look in ./configure --help, there should be a --dbus-service-dir switch or something similar
Cheers Matthias _______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
_______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
<div>
I installed locate and search for
the file ... apparently me telling configure to use /usr as prefix
mixed up somwhere and it put the file under /usr/etc/dbus-1/system.d
instead of /etc/dbus-1/system.d<br><br>
Now the daemon starts and i can use pkcon ... <br><br>
i made a <br><br>
pkcon refresh:<br>darion-laptop build # pkcon refresh&nbsp;&nbsp;&nbsp; <br>
Refreshing cache&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Waiting for authentication&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Starting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Generating package lists&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>
and after I searched for a package but it won't find it ..<br><br>
take a look here:<br>darion-laptop build # eix gtkmm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
[U] dev-cpp/gtkmm<br>
&nbsp;&nbsp;&nbsp;&nbsp; Available versions:&nbsp; <br>
&nbsp;&nbsp;&nbsp; (1.2)&nbsp;&nbsp;&nbsp; 1.2.9-r2<br>
&nbsp;&nbsp;&nbsp; (2)&nbsp;&nbsp;&nbsp; 2.2.12<br>
&nbsp;&nbsp;&nbsp; (2.4)&nbsp;&nbsp;&nbsp; 2.16.0 ~2.18.2<br>
&nbsp;&nbsp;&nbsp; {debug doc examples test}<br>
&nbsp;&nbsp;&nbsp;&nbsp; Installed versions:&nbsp; 2.12.7(2.4)(21:23:55 10/04/09)(-debug -doc
-examples -test)<br>
&nbsp;&nbsp;&nbsp;&nbsp; Homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.gtkmm.org">http://www.gtkmm.org</a><br>
&nbsp;&nbsp;&nbsp;&nbsp; Description:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C++ interface for GTK+2<br><br>
darion-laptop build # pkcon search name gtkmm<br>
Searching by name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Starting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>
am i using it wrong?<br><br>
El 12/01/09 21:52, Adrien Bustany escribi&oacute;:
<blockquote cite="mid:4B159008.7050304@..." type="cite">
  El 01/12/09 18:49, Matthias Klumpp escribi&oacute;:

  <blockquote type="cite">
    On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <a class="moz-txt-link-rfc2396E" href="mailto:dbahr@...">&lt;dbahr@...&gt;</a>
wrote:

    
    <blockquote type="cite">
      yeap .. configure and make as regular user; make install as root... 
otherwise i wouldn't be able to install it on /usr I guess .. let me 
browse the tar to see if i find the file there

      
    </blockquote>
    Of course you can drop the file into the dir - but it's much better to find
out why it was not installed.
You configured PackageKit with
./configure --enable-emerge prefix=/usr
right?
Do you have locate installed? Is there a file named
org.freedesktop.PackageKit.conf installed on your system?
(locate org.freedesktop.PackageKit.conf in Terminal)
I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on
Debian "locate" is installed by default.
Maybe the file was installed into /usr/local by accident?

    
  </blockquote>
  I think it's the most probable, please look in ./configure --help, there
should be a --dbus-service-dir switch or something similar

  <blockquote type="cite">
    Cheers
  Matthias

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

    
  </blockquote>

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

</blockquote>
</div>
Adrien Bustany | 1 Dec 23:07 2009

Re: issues with packagekit

El 01/12/09 14:07, D.H. Bahr escribió:
I installed locate and search for the file ... apparently me telling configure to use /usr as prefix mixed up somwhere and it put the file under /usr/etc/dbus-1/system.d instead of /etc/dbus-1/system.d

Now the daemon starts and i can use pkcon ...

i made a

pkcon refresh:
darion-laptop build # pkcon refresh   
Refreshing cache              [=========================]        
Waiting for authentication    [=========================]        
Starting                      [=========================]        
Generating package lists      [=========================]        

and after I searched for a package but it won't find it ..

take a look here:
darion-laptop build # eix gtkmm        
[U] dev-cpp/gtkmm
     Available versions: 
    (1.2)    1.2.9-r2
    (2)    2.2.12
    (2.4)    2.16.0 ~2.18.2
    {debug doc examples test}
     Installed versions:  2.12.7(2.4)(21:23:55 10/04/09)(-debug -doc -examples -test)
     Homepage:            http://www.gtkmm.org
     Description:         C++ interface for GTK+2

darion-laptop build # pkcon search name gtkmm
Searching by name             [=========================]        
Starting                      [=========================]        

am i using it wrong?
That would be a problem in the backend ?

El 12/01/09 21:52, Adrien Bustany escribió:
El 01/12/09 18:49, Matthias Klumpp escribió:
On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <dbahr-znaZGchgss6Fb/1eCGiHEemH8TO7WPXX@public.gmane.org> wrote:
yeap .. configure and make as regular user; make install as root... otherwise i wouldn't be able to install it on /usr I guess .. let me browse the tar to see if i find the file there
Of course you can drop the file into the dir - but it's much better to find out why it was not installed. You configured PackageKit with ./configure --enable-emerge prefix=/usr right? Do you have locate installed? Is there a file named org.freedesktop.PackageKit.conf installed on your system? (locate org.freedesktop.PackageKit.conf in Terminal) I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on Debian "locate" is installed by default. Maybe the file was installed into /usr/local by accident?
I think it's the most probable, please look in ./configure --help, there should be a --dbus-service-dir switch or something similar
Cheers Matthias _______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
_______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit
_______________________________________________ PackageKit mailing list PackageKit-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/packagekit

<div>
El 01/12/09 14:07, D.H. Bahr escribi&oacute;:
<blockquote cite="mid:4B154D43.5040205@..." type="cite">
  I installed locate and search
for
the file ... apparently me telling configure to use /usr as prefix
mixed up somwhere and it put the file under /usr/etc/dbus-1/system.d
instead of /etc/dbus-1/system.d<br><br>
Now the daemon starts and i can use pkcon ... <br><br>
i made a <br><br>
pkcon refresh:<br>darion-laptop build # pkcon refresh&nbsp;&nbsp;&nbsp; <br>
Refreshing cache&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Waiting for authentication&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Starting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Generating package lists&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>
and after I searched for a package but it won't find it ..<br><br>
take a look here:<br>darion-laptop build # eix gtkmm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
[U] dev-cpp/gtkmm<br>
&nbsp;&nbsp;&nbsp;&nbsp; Available versions:&nbsp; <br>
&nbsp;&nbsp;&nbsp; (1.2)&nbsp;&nbsp;&nbsp; 1.2.9-r2<br>
&nbsp;&nbsp;&nbsp; (2)&nbsp;&nbsp;&nbsp; 2.2.12<br>
&nbsp;&nbsp;&nbsp; (2.4)&nbsp;&nbsp;&nbsp; 2.16.0 ~2.18.2<br>
&nbsp;&nbsp;&nbsp; {debug doc examples test}<br>
&nbsp;&nbsp;&nbsp;&nbsp; Installed versions:&nbsp; 2.12.7(2.4)(21:23:55 10/04/09)(-debug -doc
-examples -test)<br>
&nbsp;&nbsp;&nbsp;&nbsp; Homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.gtkmm.org">http://www.gtkmm.org</a><br>
&nbsp;&nbsp;&nbsp;&nbsp; Description:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C++ interface for GTK+2<br><br>
darion-laptop build # pkcon search name gtkmm<br>
Searching by name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Starting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [=========================]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>
am i using it wrong?<br>
</blockquote>
That would be a problem in the backend ?<br><blockquote cite="mid:4B154D43.5040205@..." type="cite">
<br>
El 12/01/09 21:52, Adrien Bustany escribi&oacute;:
  <blockquote cite="mid:4B159008.7050304@..." type="cite">
    El 01/12/09 18:49, Matthias Klumpp escribi&oacute;:

    <blockquote type="cite">
      On Tue, 01 Dec 2009 16:31:07 +0000, "D.H. Bahr" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:dbahr@...">&lt;dbahr@...&gt;</a>
wrote:

    
      <blockquote type="cite">
        yeap .. configure and make as regular user; make install as root... 
otherwise i wouldn't be able to install it on /usr I guess .. let me 
browse the tar to see if i find the file there

      
      </blockquote>
      Of course you can drop the file into the dir - but it's much better to find
out why it was not installed.
You configured PackageKit with
./configure --enable-emerge prefix=/usr
right?
Do you have locate installed? Is there a file named
org.freedesktop.PackageKit.conf installed on your system?
(locate org.freedesktop.PackageKit.conf in Terminal)
I don't know much about Nova Linux (it's the Cuba-Linux, right?), but on
Debian "locate" is installed by default.
Maybe the file was installed into /usr/local by accident?

    
    </blockquote>
    I think it's the most probable, please look in ./configure --help, there
should be a --dbus-service-dir switch or something similar

    <blockquote type="cite">
      Cheers
  Matthias

_______________________________________________
PackageKit mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

    
    </blockquote>
    _______________________________________________
PackageKit mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

  </blockquote>

_______________________________________________
PackageKit mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PackageKit@...">PackageKit@...</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/packagekit">http://lists.freedesktop.org/mailman/listinfo/packagekit</a>

</blockquote>
<br>
</div>

Gmane