To run rigo package manager [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Re: To run rigo package manager

Postby micia » Tue Jul 24, 2012 16:42

Try to add your user to the messagebus group too, it looks like DBus is rejecting your messages.

Out of curiousity, did you edit your users' groups for whatever reason?
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: To run rigo package manager

Postby sabayonino » Tue Jul 24, 2012 16:45

laminko wrote:yes.
Code: Select all
>>@localhost ~ $ eselect python list
Available Python interpreters:
  [1]   python2.7 *


Is Ok

when you show output please report the entire prompt ;)

Example :
Code: Select all
$ rigo
....
....
....


in my sabayon rigo runs as root and user without problem.

run
Code: Select all
$ equo --version


What's happen if you (re)install equo/entropy from command line ?
Code: Select all
# equo update && equo install equo entropy --relaxed
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: To run rigo package manager

Postby laminko » Tue Jul 24, 2012 17:19

To micia: I added the user to group messagebus. And, I didn't edit the users' groups.

Then, I relogged in and run again.
Code: Select all
>>rigo
ERROR:dbus.proxies:Introspect error on :1.44:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.219" (uid=1000 pid=23997 comm="/usr/bin/python2 /usr/bin/rigo ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.44" (uid=0 pid=10560 comm="/usr/bin/python2 -O /usr/lib/rigo/RigoDaemon/app.p")
Traceback (most recent call last):
  File "/usr/bin/rigo", line 701, in _permissions_setup
    daemon_api = self._service.api()
  File "/usr/lib/rigo/rigo/controllers/daemon.py", line 1723, in api
    return self._execute_mainloop(_api)
  File "/usr/lib/rigo/rigo/controllers/daemon.py", line 1742, in _execute_mainloop
    return function(*args, **kwargs)
  File "/usr/lib/rigo/rigo/controllers/daemon.py", line 1722, in _api
    dbus_interface=self.DBUS_INTERFACE).api()
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.219" (uid=1000 pid=23997 comm="/usr/bin/python2 /usr/bin/rigo ") interface="org.sabayon.Rigo" member="api" error name="(unset)" requested_reply="0" destination=":1.44" (uid=0 pid=10560 comm="/usr/bin/python2 -O /usr/lib/rigo/RigoDaemon/app.p")


This is the version of entropy.
Code: Select all
>>equo --version
entropy: 1.0_rc126
equo: 1.0_rc126


After I run the following command, nothing happen. I successfully re-installed.
Code: Select all
>>equo update && equo install equo entropy --relaxed

>>  @@ Repositories synchronization ...
>>   # Sabayon Linux Official Repository
>>   # Repository URL: http://pkg.sabayon.org/standard/sabayon-weekly/database/amd64/5
>>   # Repository local path: /var/lib/entropy/client/database/amd64/sabayon-weekly/standard/amd64/5
>>   # Repository API: 3
>>      Attention: repository is already up to date.
>>  @@  Notice board: sabayon-weekly
>>     [0] [Tue, 12 Jun 2012 08:57:09 +0000] Title: LibreOffice freezes in Sabayon 9
>>     [1] [Fri, 13 Jul 2012 12:42:20 +0000] Title: Upcoming important updates for ATI/AMD GPU owners
>>  @@ Resources unlocked, let's go!
>>  @@ Calculating dependencies ...
>>  ## [R] [sabayon-weekly] sys-apps/entropy-1.0_rc126|0   [1.0_rc126|0]
>>  ## [R] [sabayon-weekly] app-admin/equo-1.0_rc126|0   [1.0_rc126|0]
>>  @@ Packages needing to be installed/updated/downgraded: 2
>>  @@ Packages needing to be removed: 0
>>  @@ Download size: 0b
>>  @@ Freed disk space: 0.0b
>>  @@ You need at least: 1.6MB of free space
>>  :: (1/1) >>> 2 packages
>>    ## Package checksum matches: sys-apps:entropy-1.0_rc126~0.tbz2
>>    ## Package checksum matches: app-admin:equo-1.0_rc126~0.tbz2
>>  ++ (1/2) >>> sys-apps/entropy-1.0_rc126
>>    ## Unpacking: sys-apps:entropy-1.0_rc126~0.tbz2
>>    ## SPM: setup phase
>>    ## Installing package: sys-apps/entropy-1.0_rc126
>>    ## [Entropy Package Manager foundation library]
>>    ## Updating database: sys-apps/entropy-1.0_rc126
>>    ## Cleaning previously installed application data.
>>    ## SPM: post-remove phase
>>> Regenerating /etc/ld.so.cache...
>>    ## SPM: post-install phase
 * Purging current Entropy cache
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 2.7 ...                                                                        [ ok ]

 * If you want to enable Entropy packages delta download support, please
 * install dev-util/bsdiff.

>>    ## Cleaning: sys-apps/entropy-1.0_rc126
>>  ++ (2/2) >>> app-admin/equo-1.0_rc126
>>    ## Unpacking: app-admin:equo-1.0_rc126~0.tbz2
>>    ## Installing package: app-admin/equo-1.0_rc126
>>    ## [Entropy Package Manager text-based client]
>>    ## Updating database: app-admin/equo-1.0_rc126
>>    ## Cleaning previously installed application data.
>>    ## SPM: post-remove phase
>>> Regenerating /etc/ld.so.cache...
>>    ## SPM: post-install phase
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 2.7 ...                                                                        [ ok ]

 * If you would like to allow users in the 'entropy' group
 * to update available package repositories, please consider
 * to install sys-apps/rigo-daemon

>>    ## Cleaning: app-admin/equo-1.0_rc126
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.



After that, I type "equo install sys-apps/rigo-daemon". It has been already installed. But I re-install it again.
Code: Select all
>>equo install sys-apps/rigo-daemon

>>  @@ Calculating dependencies ...
>>  ## [R] [sabayon-weekly] sys-apps/rigo-daemon-1.0_rc126|0   [1.0_rc126|0]
>>  @@ Packages needing to be installed/updated/downgraded: 1
>>  @@ Packages needing to be removed: 0
>>  @@ Download size: 0b
>>  @@ Freed disk space: 0.0b
>>  @@ You need at least: 114.2kB of free space
>>  :: (1/1) >>> 1 package
>>    ## Package checksum matches: sys-apps:rigo-daemon-1.0_rc126~0.tbz2
>>  ++ (1/1) >>> sys-apps/rigo-daemon-1.0_rc126
>>    ## Unpacking: sys-apps:rigo-daemon-1.0_rc126~0.tbz2
>>    ## SPM: pre-install phase
>>    ## Installing package: sys-apps/rigo-daemon-1.0_rc126
>>    ## [Entropy Client DBus Services, aka RigoDaemon]
>>    ## Updating database: sys-apps/rigo-daemon-1.0_rc126
>>    ## Cleaning previously installed application data.
>>    ## SPM: post-remove phase
>>> Regenerating /etc/ld.so.cache...
>>    ## SPM: post-install phase
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 2.7 ...                                                                        [ ok ]
>>    ## Cleaning: sys-apps/rigo-daemon-1.0_rc126
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.


When it has finished, I type "rigo". It is running SUCCESSFULLY.

Thanks to everbody. Thanks you all very much. It runs. :)

lmk
laminko
Young Hen
 
Posts: 22
Joined: Sat Nov 26, 2011 16:35

Previous

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest