sudo equo repoinfo

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

sudo equo repoinfo

Postby totedati » Sun Feb 22, 2009 16:41

Code: Select all
equo --help | grep -A 6 repoinfo
        repoinfo        show repositories information
                make.conf [repos]               show make.conf for the chosen repositories
                package.mask [repos]            show package.mask for the chosen repositories
                package.unmask [repos]          show package.unmask for the chosen repositories
                package.keywords [repos]        show package.keywords for the chosen repositories
                package.use [repos]             show package.use for the chosen repositories
                profile.link [repos]            show make.profile link for the chosen repositories


well ... let's try:
Code: Select all
sudo equo repoinfo
Password:
>> You should run equo --help
totedati@totedati ~ $ sudo equo repoinfo make.conf
>> You didn't run equo --help, did you?
totedati@totedati ~ $ sudo equo make.conf
>> Did you even read equo --help??
totedati@totedati ~ $ sudo equo make.conf repoinfo
>> I give up. Run that equo --help !!!!!!!
totedati@totedati ~ $ sudo equo repoinfo
>> OH MY GOD. RUN equo --heeeeeeeeeeeeeelp
totedati@totedati ~ $ sudo equo repoinfo all
>> Illiteracy is a huge problem in this world
totedati@totedati ~ $ sudo equo repoinfo list
>> Ok i give up, you are hopeless


so ... i give up ... what is correct syntax for equo repoinfo command!?
:shock:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Re: sudo equo repoinfo

Postby DHalens » Sun Feb 22, 2009 17:52

No need to use sudo or su if your user is in entropy group.
What you have to do is to add the repo id at the end of the command. Examples:
Code: Select all
dhalens@localhost ~ $ equo repoinfo profile.link sabayonlinux.org
>>  [sabayonlinux.org] mostrando: profile.link.
../usr/portage/profiles/default/linux/amd64/2008.0/desktop
dhalens@localhost ~ $ equo repoinfo package.mask jenna
>>  [jenna] package.mask: no disponible.
dhalens@localhost ~ $ equo repoinfo package.use naendo
>>  [naendo] mostrando: package.use.
[...]
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: sudo equo repoinfo

Postby totedati » Mon Feb 23, 2009 0:34

thanks ... now i understand better what:

Code: Select all
equo --help | grep -A 6 repoinfo
        repoinfo        show repositories information
                make.conf [repos]               show make.conf for the chosen repositories
                package.mask [repos]            show package.mask for the chosen repositories
                package.unmask [repos]          show package.unmask for the chosen repositories
                package.keywords [repos]        show package.keywords for the chosen repositories
                package.use [repos]             show package.use for the chosen repositories
                profile.link [repos]            show make.profile link for the chosen repositories


means ...

;-D

LE:
and error messages was so ... funny! :bom:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Re: sudo equo repoinfo

Postby totedati » Mon Feb 23, 2009 1:26

DHalens wrote:No need to use sudo or su if your user is in entropy group.


hummm ... maybe entropy group is useful for status retrieval ... and sistem info like search in equo database ... but i don't think can make any real work, install/update using only that group permissions:

Code: Select all
totedati@totedati ~ $ id
uid=1000(totedati) gid=0(root) groups=0(root),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),
250(portage),409(clamav),410(messagebus),411(haldaemon),441(plugdev),442(scanner),1000(entropy),1007(kvm),1009(vboxusers)


then a quick test:

Code: Select all
totedati@totedati ~ $ equo update
>>  @@ Repositories synchronization ...
>>      [svn.sabayonlinux.org:1026] Successfully connected to host
>>      [svn.sabayonlinux.org:1026] Successfully disconnected from host
>>   #  (1/1) Sabayon Linux Official Repository
>>   # Database URL: http://svn.sabayonlinux.org/entropy/standard/sabayonlinux.org/database/amd64/4
>>   # Database local path: /var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/4
>>   # Database EAPI: 3
>>      [svn.sabayonlinux.org:1026] Successfully connected to host
>>      [svn.sabayonlinux.org:1026] Successfully disconnected from host
>>      Packages injection complete
>>      Packages removal complete
>>      ca.cert: available, w00t!.
>>      server.cert: available, w00t!.
>>      packages.db.mask: available, w00t!.
>>      packages.db.system_mask: available, w00t!.
>>      Downloading conflicting tagged packages file packages.db.conflicting_tag>>      packages.db.conflicting_tagged: available, w00t!.
>>      packages.db.lic_whitelist: available, w00t!.
>>      packages.db.mask: available, w00t!.
>>      make.conf: available, w00t!.
>>      package.unmask: available, w00t!.
>>      package.keywords: available, w00t!.
>>      package.use: available, w00t!.
>>      profile.link: available, w00t!.
>>      notice.rss: not available, it's ok.
>>      Repository revision: 910
>>  @@ Skipping configuration files update, you are not root.
>> Cleaning ugc/ugc_docs => dumps...
Traceback (most recent call last):
  File "/usr/lib64/entropy/client/equo.py", line 431, in <module>
    rc = text_repositories.repositories(options)
  File "../client/text_repositories.py", line 57, in repositories
    rc = do_sync(reponames = repo_names, forceUpdate = equoRequestForceUpdate)
  File "../client/text_repositories.py", line 183, in do_sync
    rc = repoConn.sync()
  File "../libraries/entropy.py", line 8146, in sync
    rc = self.run_sync()
  File "../libraries/entropy.py", line 7488, in run_sync
    install_queue = False
  File "../libraries/entropy.py", line 1143, in generate_cache
    self.purge_cache(client_purge = client_purge)
  File "../libraries/entropy.py", line 1131, in purge_cache
    self.clear_dump_cache(etpCache[key], skip = skip)
  File "../libraries/entropy.py", line 1212, in clear_dump_cache
    os.rmdir(path)
OSError: [Errno 13] Permission denied: '/var/lib/entropy/caches/ugc/ugc_votes'


lol! so, still i need sudo for any real work ...
:cyclops:

Code: Select all
sudo equo update
Password:
>>  @@ Repositories synchronization ...
>>      [svn.sabayonlinux.org:1026] Successfully connected to host
>>      [svn.sabayonlinux.org:1026] Successfully disconnected from host
>>   #  (1/1) Sabayon Linux Official Repository
>>   # Database URL: http://svn.sabayonlinux.org/entropy/standard/sabayonlinux.org/database/amd64/4
>>   # Database local path: /var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/4
>>   # Database EAPI: 3
>>      Attention: database is already up to date.
>>  !!! Equo/Entropy: a new release is available. Mind to install it before any other package.
>>  @@  Notice board: sabayonlinux.org
>>  @@ Notice board not available


lol! time to try again entropy v0.51.0 ... maybe this time is better that last time i tested this version, v0.51.0 ... maybe :lol:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Re: sudo equo repoinfo

Postby DHalens » Mon Feb 23, 2009 1:59

totedati wrote:
DHalens wrote:No need to use sudo or su if your user is in entropy group.


hummm ... maybe entropy group is useful for status retrieval ... and sistem info like search in equo database ... but i don't think can make any real work, install/update using only that group permissions

Well, yes. What i wanted to say is it works for everything related to show info and update it's database (equo update). Of course installing/removing can't be done just by anyone being in the group.

Look carefully to the error, it occurs after the repo itself is updated; it's an issue related to an ugc (user generated content) function.
Please upgrade equo and entropy to latest version and retry, may be an unsolved bug.
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest