Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

eix-remote update disable useless output

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

eix-remote update disable useless output

  • Quote

Post by logrusx » Sun Feb 08, 2026 9:20 am

eix-remote update prints a ton of useless output, is there a way to disable that?

Thanks in advance!

Best Regards,
Georgi
Top
Banana
Administrator
Administrator
User avatar
Posts: 2397
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Sun Feb 08, 2026 10:14 am

Can you give an example of what you think is useless?
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Sun Feb 08, 2026 10:25 am

Code: Select all

The following options are available:

-k      Keep permissions: Without this option, eix-drop-permissions is used to
        drop permissions immediately to that of EIX_USER
-K      As -k, but cannot be reset with -i
-X      Exclude remote overlays which are also local. See -L/-l
-x      Exclude local overlays which are available remotely. See -L/-l
-L      For -x/-X the "storage" path is found heuristically.
        With -L the path actually used is printed (and eix-remote exits).
        Set LOCAL_LAYMAN or use option -l to override the heuristics.
-l PATH Use PATH as LOCAL_LAYMAN
-a ADDR Use ADDR as remote database address instead of:
        http://gpo.zugaina.org/eix_cache/eix-cache.tbz2
        http://dev.gentooexperimental.org/eix_cache/eix-caches.tbz2
-i      Ignore all previous options (e.g. ignore EIX_REMOTE_OPTS).
-v      Verbose (default)
-H      Suppress status line update
-q      Quiet
Verbose is the default. You might try -q for a quieter experience. Or maybe "eix-remote -Hq update".
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 08, 2026 10:39 am

Banana wrote:Can you give an example of what you think is useless?
eix-remote update
--2026-02-08 11:13:08-- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2
Resolving gpo.zugaina.org... 176.31.182.181
Connecting to gpo.zugaina.org|176.31.182.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7313503 (7.0M) [text/plain]
Saving to: ‘eix-cache.tbz2’

eix-cache.tbz2 100%[=================================================================>] 6.97M 1.58MB/s in 5.9s

2026-02-08 11:13:14 (1.19 MB/s) - ‘eix-cache.tbz2’ saved [7313503/7313503]

* Unpacking data
layman/2xsaiko -> 2xsaiko
...
layman/zyrenth -> zyrenth
* 1 file in /var/cache/eix/remote.tar.bz2 contains no overlay
* Output to remote database /var/cache/eix/remote.eix
* Calling eix-update
Reading Portage settings...
Adding virtual overlays from /var/cache/eix/portage.eix...
Building database (/var/cache/eix/remote.eix)...
[0] "gentoo" /var/db/repos/gentoo/ (cache: eix)
Reading Packages...Finished
...
[447] "zyrenth" layman/zyrenth (cache: eix* /tmp/eix-remote.UZrXhW8q/1/zyrenth.eix [0])
Reading Packages...Finished
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/remote.eix...
Database contains 112918 packages in 261 categories
Nearly a thousand five hundred lines without any value whatsoever flooding the terminal.
rab0171610 wrote: Verbose is the default. You might try -q for a quieter experience. Or maybe "eix-remote -Hq update".
And how do I do that when eix-sync is calling the remote update?

p.s. somebody had advised me to use this in /etc/eix-sync.conf but it didn't make a difference:

Code: Select all

!!export EIX_REMOTE_OPTS=${EIX_REMOTE_OPTS:--q}
Best Regards,
Georgi
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Sun Feb 08, 2026 11:02 am

Code: Select all

Options can be specified in the eix (or environment) variable EIX_REMOTE_OPTS.
This data is evalued, so be aware of security risks.
Moreover, "--" in this variable will exclude further command line options.
The following options are available:
Options can be specified in the eix (or environment) variable EIX_REMOTE_OPTS.
This data is evalued, so be aware of security risks.
Moreover, "--" in this variable will exclude further command line options.
The following options are available:

-k      Keep permissions: Without this option, eix-drop-permissions is used to
        drop permissions immediately to that of EIX_USER
-K      As -k, but cannot be reset with -i
-X      Exclude remote overlays which are also local. See -L/-l
-x      Exclude local overlays which are available remotely. See -L/-l
-L      For -x/-X the "storage" path is found heuristically.
        With -L the path actually used is printed (and eix-remote exits).
        Set LOCAL_LAYMAN or use option -l to override the heuristics.
-l PATH Use PATH as LOCAL_LAYMAN
-a ADDR Use ADDR as remote database address instead of:
        ${addr1}
        ${addr2}
-i      Ignore all previous options (e.g. ignore EIX_REMOTE_OPTS).
-v      Verbose (default)
-H      Suppress status line update
-q      Quiet'
I updated this to include the preceding part that relates to the environment variable EIX_REMOTE_OPTS that you refer to.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 08, 2026 12:53 pm

rab0171610 wrote: I updated this to include the preceding part that relates to the environment variable EIX_REMOTE_OPTS that you refer to.
I already mentioned this doesn't work. However I found out -q doesn't work at all on the command line as well.

Code: Select all

eix-remote update -q
still produces all this garbage.

Best Regards,
Georgi
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4706
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun Feb 08, 2026 12:57 pm

logrusx wrote:

Code: Select all

eix-remote update -q
still produces all this garbage.

Best Regards,
Georgi
I'm not eix user myself, but just maybe

Code: Select all

eix-remote -q update
works...
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 08, 2026 1:04 pm

Zucca wrote:I'm not eix user myself, but just maybe

Code: Select all

eix-remote -q update
works...
Nice observation. It looks like it's the case which I consider a bug. However how do I make EIX_REMOTE_OPTS in /etc/eix-sync.conf work?

Best Regards,
Georgi
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4706
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sun Feb 08, 2026 1:30 pm

logrusx wrote:

Code: Select all

!!export EIX_REMOTE_OPTS=${EIX_REMOTE_OPTS:--q}
Best Regards,
Georgi
I'd try to remove the !!'s.
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Sun Feb 08, 2026 3:33 pm

Zucca wrote:
logrusx wrote:

Code: Select all

!!export EIX_REMOTE_OPTS=${EIX_REMOTE_OPTS:--q}
Best Regards,
Georgi
I'd try to remove the !!'s.
Obviously this is not bash... At least not a syntax I recognize. It doesn't work.

EDIT: actually this is something eix recognizes. This line was given to me by someone who either developed eix or was very familiar with it. But it still doesn't do what I expected it to do and I got confused it actually did it back then and didn't ask more questions.

EDIT2: I might have actually solved it but I need to wait until the remote cache on zugaina.org updates to see the actual result and I'll report back.

Best Regards,
Georgi
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4706
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

sh

  • Quote

Post by Zucca » Sun Feb 08, 2026 6:09 pm

In shell terms

Code: Select all

export EIX_REMOTE_OPTS=${EIX_REMOTE_OPTS:--q}
is a shorthand version of

Code: Select all

if [ -z "$EIX_REMOTE_OPTS" ]
then
    export EIX_REMOTE_OPTS='-q'
else
    export EIX_REMOTE_OPTS
fi
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

Re: sh

  • Quote

Post by logrusx » Sun Feb 08, 2026 6:45 pm

Zucca wrote:In shell terms
I'm not big in shells but this is not exactly shell terms. I'm not sure if this is handled by a shell at all. Maybe only the syntax is similar.

! executes commands

!! executes commands unconditionally.

@ defines hooks

et.c. - eix specific stuff. I found it in man eix. However I don't even know if this is the correct way to do it and the man page is 3k lines. I hoped somebody knew that off the top of their mind.

Since I was unable to make it work that way I realized I could add -q in the hook, but now the remote cache file on the server hasn't changed and I can't test my solution. I don't know how often zugaina updates its cache but I'll try tomorrow and see if eix-sync floods my terminal with the unwanted output when invoking eix-remote.

Best Regards,
Georgi
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3537
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Mon Feb 09, 2026 6:25 am

Unfortunately this:

Code: Select all

@eix-remote -q fetch1
Didn't work. Still a ton of useless output. I think I'm going to file a bug.

For now I'll manually fetch and update remote cache.

Best Regards,
Georgi
Top
Post Reply

13 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic