Forums

Skip to content

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

rsync error: received SIGINT, SIGTERM [slvd]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

rsync error: received SIGINT, SIGTERM [slvd]

  • Quote

Post by cwc » Thu Mar 20, 2025 12:55 pm

I'm not sure how to proceed this is a new one.
I did notice the attempted sync to ipv6 . I am wondering if that could be the problem ?????

Code: Select all

emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                                                                                                                         [ ok ]
>>> Starting rsync with rsync://208.100.4.53/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(716) [Receiver=3.3.0]
>>> Retrying...


>>> Starting retry 1 of 1 with rsync://[2607:f128:1:3::2]/gentoo-portage
>>> Checking server timestamp ...
rsync: [Receiver] failed to connect to 2607:f128:1:3::2 (2607:f128:1:3::2): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(139) [Receiver=3.3.0]
>>> Retrying...
!!! Exhausted addresses for rsync11.us.gentoo.org
 * Copying old database to /var/cache/eix/previous.eix
 * Running eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /var/db/repos/gentoo (cache: metadata-md5-or-flat)
     Reading category 174|174 (100) Finished             
[1] "crossdev" /var/db/repos/portage-crossdev (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category 174|174 (100) Finished     
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19088 packages in 174 categories

Action: sync for repo: gentoo, returned code = 1



changed repos to
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ \
ftp://tux.rainside.sk/gentoo/"

and I still get an error

Code: Select all

emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                                                                                                                         [ ok ]
>>> Starting rsync with rsync://208.100.4.53/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(716) [Receiver=3.3.0]
>>> Retrying...


>>> Starting retry 1 of 1 with rsync://[2607:f128:1:3::2]/gentoo-portage
>>> Checking server timestamp ...
rsync: [Receiver] failed to connect to 2607:f128:1:3::2 (2607:f128:1:3::2): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(139) [Receiver=3.3.0]
>>> Retrying...
!!! Exhausted addresses for rsync11.us.gentoo.org
 * Copying old database to /var/cache/eix/previous.eix
 * Running eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /var/db/repos/gentoo (cache: metadata-md5-or-flat)
     Reading category 174|174 (100) Finished             
[1] "crossdev" /var/db/repos/portage-crossdev (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category 174|174 (100) Finished     
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19088 packages in 174 categories

Action: sync for repo: gentoo, returned code = 1


Last edited by cwc on Fri Mar 21, 2025 3:03 pm, edited 2 times in total.
Without diversity there can be no evolution:)
Top
skellr
Veteran
Veteran
User avatar
Posts: 1037
Joined: Sat Jun 18, 2005 1:34 am
Location: The Village, Portmeirion

  • Quote

Post by skellr » Fri Mar 21, 2025 1:45 am

I don't get a response from those addresses either. Maybe they are down.

Do you have a specific sync-uri set in /etc/portage/repos.conf/gentoo.conf for [gentoo]?

I think this is the default:

Code: Select all

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
I don't get any response from rsync://rsync11.us.gentoo.org/gentoo-portage but these two seem ok:
rsync://rsync.gentoo.org/gentoo-portage
rsync://rsync.namerica.gentoo.org/gentoo-portage
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Fri Mar 21, 2025 2:27 am

skellr

I do have a default /etc/portage/repos.conf/gentoo.conf
Good call. I have another system without the above file and I world update fine.
I moved it and was able to a world update without the file. (gento.conf)
I need to try an emerge --sync with
rsync://rsync.gentoo.org/gentoo-portage
rsync://rsync.namerica.gentoo.org/gentoo-portage

Thanks for the help.
Without diversity there can be no evolution:)
Top
skellr
Veteran
Veteran
User avatar
Posts: 1037
Joined: Sat Jun 18, 2005 1:34 am
Location: The Village, Portmeirion

  • Quote

Post by skellr » Fri Mar 21, 2025 5:25 am

cwc wrote:skellr

I do have a default /etc/portage/repos.conf/gentoo.conf
Good call. I have another system without the above file and I world update fine.
I moved it and was able to a world update without the file. (gento.conf)
I need to try an emerge --sync with
rsync://rsync.gentoo.org/gentoo-portage
rsync://rsync.namerica.gentoo.org/gentoo-portage

Thanks for the help.
That works.
I think there are a few built in default settings that will "just work" without specifying them. I don't think you need a repos.conf if you only need the ::gentoo repository. You probably will if you add other repos/overlays.

I'm not really sure why removing that file resolved the issue.

I would append one more option to your GENTOO_MIRRORS variable: http://distfiles.gentoo.org/
If you ask it to only use tux.rainside.sk for distfiles, then it will fail if tux.rainside.sk ever goes down. I think that is a good thing in a way, it won't do more that what you are telling it to do. Maybe it is not that important and having another fallback will avoid issues in the future?

I don't set GENTOO_MIRRORS anymore as the local/fast mirrors were ultimately flakey and unreliable. Maybe I should try again, and just include distfiles.gentoo.org at the end. ;)
Top
hbent
n00b
n00b
Posts: 14
Joined: Wed Nov 12, 2008 9:11 pm

  • Quote

Post by hbent » Fri Mar 21, 2025 2:49 pm

I ran into this too. I had rsync11 set as my mirror of choice, and that was coming from /etc/portage/repos.conf/gentoo.conf but even after renaming that file to /etc/portage/repos.conf/gentoo.conf.DISABLED emerge insisted on using rsync11. It turns out that I had to remove the file entirely. I'm not sure why emerge is getting data from files in that directory that do not exactly match the string "/etc/portage/repos.conf/gentoo.conf" but it's happening, so I suppose it's a bug in emerge.
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Fri Mar 21, 2025 2:55 pm

skeller,

thanks again!
I've got crossdev.conf in /etc/portage/repos.conf/
I must have placed the following back in 2022 when I did the install.
I can not recall how gentoo.conf was or is created.
If it is created manually. I'm not sure if the code is in the handbook.

Thanks for the tip on :http://distfiles.gentoo.org/ I added it to my i7+asus-rampage machine.
Interesting this is ftp osuosl (Oregon State University Open Source Labs). <- This is my favorite Gnetoo, Debian, Centos. .... repo

more old gentoo.conf that I moved

Code: Select all

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync11.us.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes

my crossdev

Code: Select all

pwd
/etc/portage/repos.conf
yoda /etc/portage/repos.conf # more crossdev.conf 
[crossdev]
location = /var/db/repos/portage-crossdev
priority = 10
masters = gentoo
auto-sync = no
yoda /etc/portage/repos.conf # 

Without diversity there can be no evolution:)
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Mar 21, 2025 2:56 pm

hbent wrote:I'm not sure why emerge is getting data from files in that directory that do not exactly match the string "/etc/portage/repos.conf/gentoo.conf" but it's happening, so I suppose it's a bug in emerge.
Typically, when you use a directory where a filename was originally picked, Portage will sort and concatenate all the files in the directory. Why do you think it is a bug that emerge found a file in that directory and used it? Per man 5 portage:

Code: Select all

       /etc/portage/
              Files   in  this  directory,  including  make.conf,  repos.conf,
              sets.conf, and any file with a name that begins with  "package."
              can also be directories.

              If  it is a directory, then all the files in that directory, ex‐
              cluding files that begin with ’.’  or  end  with  ’~’,  will  be
              sorted  in  lexical order by file name and summed together as if
              they were a single file.
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Fri Mar 21, 2025 3:08 pm

hbent wrote:I ran into this too. I had rsync11 set as my mirror of choice, and that was coming from /etc/portage/repos.conf/gentoo.conf but even after renaming that file to /etc/portage/repos.conf/gentoo.conf.DISABLED emerge insisted on using rsync11. It turns out that I had to remove the file entirely. I'm not sure why emerge is getting data from files in that directory that do not exactly match the string "/etc/portage/repos.conf/gentoo.conf" but it's happening, so I suppose it's a bug in emerge.
thanks hbent,

It took me all day to figure this out. With the big tip from "skellr"
As I mentioned I just moved the file.

This is were the rsync defaults to now with no gentoo.conf in /etc/portage/repos.conf/

Code: Select all

./sync+world.sh 
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                           [ ok ]
>>> Starting rsync with rsync://154.73.32.1/gentoo-portage...
>>> Checking server timestamp ...

                                     ####                     
                                    ######                    
                                    ######                    
                           #####    ######                    
                           #####    ######                    
                           #####    ######                    
                           #####    ######                    
                           #####    ######    ###########     
                           #####    ######    ###########   
                           #####    ######    ####            
                           #####    ######    ####            
                           #####    ######    ####            
                           #####    ######    ####            
                           ######     ####    ######          
                            ########            ######        
                             ##############      #######      
                                #############       ##      
                                   #############             
                                           ######            
                                             ##             

                            Ultimate Linux Solutions
                              http://www.uls.co.za/

                        Public mirror; Access is logged.

               kerberos.uls.co.za / 154.73.32.1 / 2c0f:f720::1



Without diversity there can be no evolution:)
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Fri Mar 21, 2025 3:38 pm

Hu wrote:
hbent wrote:I'm not sure why emerge is getting data from files in that directory that do not exactly match the string "/etc/portage/repos.conf/gentoo.conf" but it's happening, so I suppose it's a bug in emerge.
Typically, when you use a directory where a filename was originally picked, Portage will sort and concatenate all the files in the directory. Why do you think it is a bug that emerge found a file in that directory and used it? Per man 5 portage:

Code: Select all

       /etc/portage/
              Files   in  this  directory,  including  make.conf,  repos.conf,
              sets.conf, and any file with a name that begins with  "package."
              can also be directories.

              If  it is a directory, then all the files in that directory, ex‐
              cluding files that begin with ’.’  or  end  with  ’~’,  will  be
              sorted  in  lexical order by file name and summed together as if
              they were a single file.
Hu ,

How is /etc/portage/repos.conf/gentoo.conf generated originality? I did not create this file on my latest install. I'm looking for the directions in the handbook (plus I'm doing other work)
Without diversity there can be no evolution:)
Top
skellr
Veteran
Veteran
User avatar
Posts: 1037
Joined: Sat Jun 18, 2005 1:34 am
Location: The Village, Portmeirion

  • Quote

Post by skellr » Fri Mar 21, 2025 10:19 pm

cwc wrote: Thanks for the tip on :http://distfiles.gentoo.org/ I added it to my i7+asus-rampage machine.
Interesting this is ftp osuosl (Oregon State University Open Source Labs). <- This is my favorite Gnetoo, Debian, Centos. .... repo
I like osuosl as a mirror, and get them quite often. distfiles.gentoo.org does use redirection so what server you get can vary at any given time. Don't be alarmed if it's not osuosl. :)

It looks like they want to do some work on it: Project:Infrastructure/Redirector


It looks like the defaults come from /usr/share/portage:

Code: Select all

/usr/share/portage/config/repos.conf:sync-uri = rsync://rsync.gentoo.org/gentoo-portage

/usr/share/portage/config/make.globals:GENTOO_MIRRORS="http://distfiles.gentoo.org"
Top
cwc
Veteran
Veteran
User avatar
Posts: 1491
Joined: Mon Mar 20, 2006 10:36 pm
Location: Tri-Cities, WA USA
Contact:
Contact cwc
Website

  • Quote

Post by cwc » Sat Mar 22, 2025 1:46 pm

skellr wrote:
cwc wrote: I like osuosl as a mirror, and get them quite often. distfiles.gentoo.org does use redirection so what server you get can vary at any given time. Don't be alarmed if it's not osuosl. :)

It looks like they want to do some work on it: Project:Infrastructure/Redirector


It looks like the defaults come from /usr/share/portage:

Code: Select all

/usr/share/portage/config/repos.conf:sync-uri = rsync://rsync.gentoo.org/gentoo-portage

/usr/share/portage/config/make.globals:GENTOO_MIRRORS="http://distfiles.gentoo.org"
Thanks skellr. I looked at /usr/share/portage/config/
more * was a bit eye opening.

Thanks for all the help! One of my machines picked up a different rsync server today.
Without diversity there can be no evolution:)
Top
Post Reply

11 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