Change pacman sync timeout

Guys, sorry if the answer is overly obvious, but I've spent a couple of days searching the forums, the wiki, google, and in the config files for how to change the sync timeout in pacman, but can't find what I'm looking for.  Perhaps I'm using the wrong search terms, or looking in the wrong places, but not sure.
Anyway, when trying to sync the system with the package mirrors using pacman, there is currently a delay of what seems like 4 to 5 minutes for each mirror that is not available.  I'm wanting to change that delay to something more like a minute or so if there's no problem in doing that.
Do any of you know where that timeout period can be changed?
Thank you.

don't know if changing the timeout is possible, but delays to skip  a non-responding mirror of more then 10 seconds are bad.
- how many mirrors do you have enabled and did you check them against http://www.archlinux.org/mirrors/status/
normally having 3 or 4 mirrors (1 primary, rest for backup) enabled is more then enough
- what Xfer command are you using ?

Similar Messages

  • [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

    Hello!
    I've tried to find information regarding my problem but I've not found any, so maybe you would care to help me (I hope).
    It's not a big deal for me really, but it is annoying. The problem is as follows:
    Say I'm about to upgrade my system and I do:
    sudo pacman -Syyu
    then pacman syncs with the repos even if they may be up-to-date and upgrades all packages. That's awesome and exactly as it should be. However, were I to execute
    sudo pacman -Syu
    immediately after the
    sudo pacman -Syyu
    command, it still downloads the repo-data even though it's up to date with a 100% certainty.
    As I said, I'm not bothered bery much with this, but it would be nice to fix.
    Also, It works on my other computer without problems.
    Thanks in advance for any help.
    /R
    Last edited by roobie (2012-06-09 12:10:52)

    My laptop behaved in a similar way, that is it sync'ed repos even if I wrote "pacman -Syu" right away after another system update. When I changed /etc/pacman.d/mirrorlist to choose another repos mirror first, the problem got solved. So my advice is, change the mirror in /etc/pacman.d/mirrorlist

  • [solved] pacman 4 breaks if there's no /var/lib/pacman/sync/foo.db

    Allan had problems with his webhost: http://identi.ca/notice/87871795 After I have added
    [allanbrokeit]
    Server = http://allanmcrae.com/$repo/$arch
    to my pacman.conf, I couldn't use update and install packages anymore:
    [karol@black ~]$ pacman -Syu
    warning: database file for 'allanbrokeit' does not exist
    :: Synchronizing package databases...
    testing is up to date
    community-testing is up to date
    core is up to date
    extra is up to date
    community is up to date
    error: failed retrieving file 'allanbrokeit.db' from allanmcrae.com : The requested URL returned error: 404
    error: failed to update allanbrokeit (download library error)
    :: Starting full system upgrade...
    error: failed to prepare transaction (could not find database)
    [karol@black ~]$ pacman -S hdparm
    warning: database file for 'allanbrokeit' does not exist
    error: failed to prepare transaction (could not find database)
    hdparm is in [core]. pacman 3.5.4-4 throws a bunch of errors
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    error: could not open file /var/lib/pacman/sync/allanbrokeit.db: Failed to open '/var/lib/pacman/sync/allanbrokeit.db'
    but works and allows me to update and install stuff.
    Is it a feature of pacman 4?
    Allan's repo seems to be already back online, so you have to test it with some nonexistent repo & db.
    Last edited by karol (2012-01-07 22:48:29)

    Dan responded to my e-mail:
    Dan McGee wrote:
    Yes, this was mostly an intended change.
    Note that you can do an -R operation (or anything not requiring sync databases) just fine. However, once we hit any machinery that requires sync databases to be present, we require all configured ones are accounted for. This is for a few reasons:
    1) dependency resolving if you have 1 out-of-date database and 4 up-to-date ones, things can get ugly or messed up.
    2) integrity- if you insist on a database being signed, we'd rather not proceed with nothing.
    3) replay attacks- what you don't fully see in the above situation is we also validate the signature on the database at load time; if that were to fail we'd also bail out. This is so pacman is capable of verifying the expiration time on a database signature; it makes sense to only allow database signatures to be valid for a week at a time so people know they have out-of-date repo metadata.
    Closing.

  • HT204053 i changed my email address (apple id) on my pc, but now my ipad is asking me for my password with the old email address...and not accepting the old or new password.how do i change it/sync it?

    I changed my email address (apple id) and password on my pc, but now my ipad mini icloud is asking me for my  icloud password with the old email address and not accepting the old one or the new one..how do i change it / sync it?

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, and your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How do I change from sync to iTunes to sync with iCloud if I don't have my computer available to plug into itubes

    How do I change from sync to iTunes to sync with iCloud if I don't have my computer available to plug into itubes

    Hello Rsd841979,
    Thanks for using Apple Support Communities.
    It's not very clear to me what you're trying to accomplish with iCloud, but if you want to start backing up to iCloud, then you can follow the directions in the article below.  If this is not what you are trying to do, then please let me know what you're wanting to use iCloud with.
    iCloud: Back up your iOS device to iCloud
    Take care,
    Alex H.

  • I keep all of my music on my iPod Classic. I inadvertently changed the sync setting on my iPhone 5 to sync the music with my phone. I am overcapacity and want to remove the music from my phone. How do I do that?

    I keep all of my music on my iPod Classic. In error, I changed the sync setting on my iPhone 5 to sync the music with my phone. I am overcapacity on my phone and don't want any music on my phone so I want to remove the music from my phone without disturbing my iTune music files on my PC and iPod. How do I do that?

    On your phone: Settings>General>Usage>Music...tap the Edit button...then the red minus sign. This will delete all music on your phone.

  • I want to change the sync on my laptop from my old iPhone 3GS to my new iPhone 4s,how do I do this?

    I want to change the sync on iTunes on my laptop from my old iPhone 3GS to my new iPhone 4s,how do I do this?

    maybe be more specific...
    you can sync multiple devices to the same itunes account on the same laptop.  Simply plug in the new iphone 4s and check off all the settings you want to sync (apps, music, playlists, books, videos, etc).
    If you want your iphone 4s to look exactly like your 3gs...
    1. do an icloud backup of your 3gs
    2. restore your iphone 4s to factory settings
    3. when setting up the phone, choose "restore from icloud backup"
    4. choose the most recent icloud backup (should display the date and time of the 3gs backup you just performed
    5. phone will load everything just as it is on the 3gs... onto the iphone 4s

  • Hi I'm trying to update my iPhone 4 to ios7 through iTunes , when I click update it tells me to change media sync options to make more storage available .... Anyone know how I do this please ... Thanks ,Helen

    Hi I'm trying to update my iPhone 4 to ios7 through iTunes , when I click update it tells me to change media sync options to make more storage available .... Anyone know how I do this please ... Thanks ,Helen

    You're out of space.   Do you sync music to your phone?   If so, try syncing it over in 128kb which will save a lot of room.   Option is right in front of you in iTunes when you plug phone in.

  • [solved] pacman sync delete

    I did a VERY stupid operation:
    rm -r /var/lib/pacman/sync/extra/firefox-3.0.5-1
    After that I can not install firefox with pacman anymore. What can I do for this?
    Thank you!
    Last edited by horsecool (2008-12-24 19:45:04)

    pacman -Syy && pacman -S firefox
    EDIT:  he beat me to the Submit button. 
    Last edited by Wintervenom (2008-12-22 03:59:55)

  • Error: could not open the file /var/lib/pacman/sync/.....

    Heya Arch Forums,
    So it's my first time installing and I've made it to the point were I'm ready to install X11.
    When I run "pacman -S xorg-server xorg-xinit xorg-server-utils" my console returns the following errors:
    error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format 
    error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/community-testing.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format
    These errors repeat again followed by:
    error: target not found: xorg-twm
    I'm in Canada, so I've only set my mirror list to use "Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch"
    Also, in my /etc/pacman.conf all SigLevel's are = Never.
    Thanks for any replies.

    skunktrader wrote:Did you run pacman -Syu before attempting to install new packages?
    Thanks for the quick reply
    Yes, however pacman -Syu as well as pacman -Syyu return the same errors.

  • I accidentally erased my Sync server info by changing my Sync Key, can I request to restore a server's back-up of my bookmarks?

    When I automatically upgraded to FF4.0, beta 8, my Sync stopped working. Having trouble connecting, I accidentally change my Sync Key which I understand erased all my server info. I can link now and see all my History, but I have lost my Bookmarks. Can they be restored from a server back-up?

    Hi WHY IS THIS HAPPENING!
    I have a couple of articles here that should be able to help you work with this issue. The first article I want to send your way explains some information about using your iPod touch with multiple computers and multiple libraries. That article can be found here:
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    Next, in order to get your iPod touch working, you will need to restore from the backup. This article should help you restore from the backup you have made:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/ht1766
    And if you have trouble restoring from the backup, you should see the steps in this article:
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Lastly, you can find information on how to move your iTunes library from your old computer to a new computer right here:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Change iPhone sync - iTunes for Mac to Windows

    Hi,
    I changed my computer, I had a Mac, and now i have a windows.
    How can I change the sync of my iPhone between the computers in the best way?
    Thank's!

    Yes, however, I was able to finally sync my phone, I don't know how it worked or what I did differently, I just restarted iTunes and it appeared, but my original problem (the phone speaker) still exists. When I turn on speakerphone, or when I use the headphone mic, I can hear the dial tone/conversations like normal, but I cannot use the phone otherwise.

  • Pacman --sync: could not open sync database: extra

    I'de like to install packages from the extra repository.
    So I tried:
    pacman --sync
    This told me:
    error: could not open sync database: extra
    have you used --refresh yet?
    So I did this.
    But still pacman --sync tells me the same.
    I have
    Include = /etc/packman.d/extra
    in /etc/pacman.conf.
    What else is missing?

    ozar wrote:
    twelvegates wrote:
    I have
    Include = /etc/packman.d/extra
    in /etc/pacman.conf.
    Don't know that this is the problem but you have a spelling error in your code line.
    Pacman doesn't have a "k" in it.
    Oh, yes. I have made the error when a copied it. But in the config file it is in fact without 'k'.
    Include = /etc/pacman.d/extra
    So this is not the problem.

  • How to change the HFM timeout settings in version 9.3.3

    Dear experts:
    We wonder how to change HFM user timeout setting in HFM 9.3.3 running Apache web server. I have found the discussion for HDM 1.1.2 in this forum, but we have this old HFM version. Please advise.
    Thank you in advance.

    Hi,
    Review the below mentioned knowledge article.
    Hyperion Financial Management Error "Session has timed out" (Doc ID 1372208.1)
    Hope this helps,
    Thank you,
    Charles Babu J

  • HT1657 need help changing media sync options

    how do i change media sync options

    The track number issue is covered here:
    http://supportforums.blackberry.com/rim/board/message?board.id=BlackBerryDesktopSoftware&thread.id=8...
    Sounds like the  bbthumbs.dat files that get created are causing problems.  You can delete them all and it will work.
    Doesn't look like a way to fix this permanetly however (they'll come back next time you sync)

Maybe you are looking for

  • Computer thinks it is connected to the internet when it's not

    I posted this in the "Using your PowerBook" category, but I realized it may have to do with internet and networking than anything else. So I thought I'd put it here too. When logging into my account on my PowerBook, I get the spinning colored wheel a

  • How to use BAPI_BILLINGDOC_CREATEMULTIPLE ?

    Hi, Does anyone have an example of how to use BAPI BAPI_BILLINGDOC_CREATEMULTIPLE? I am trying to create a billing document with reference to a delivery (I am hoping that this BAPI will take into account the copy control config so I won't have to do

  • How to clear "Maps" history in iOS 8.1

    1. Open "Maps" app 2. Tap within address entry area. 3. Tap "Favorites". 4. At bottom of screen, tap "Recents". 5. In upper left corner tap "Clear". 6. At bottom of screen tap "Clear All Recents". 7. In upper right corner tap "Done". 8. All maps shou

  • If it ain't broke, don't fix it!! I want classic site back

    I speak on behalf of most or for a large majority of paypal users with this complaint: The new paypal site is complete garbage and utterly disappointing. For starters, this is an insult to everyone using it because it is too "elementary" and it doesn

  • Hi my keyboard seems to be in the alt mode and i can't get it out!

    Hi after cleaning my keyboard , my keyboard seems to be in the alt mode and i can't get it out so when i type using the keyboard on the computer symbols like this ˝Î˝Ó˝ıÎÏÏÓ‰ˇÔÔ¨ÁÔ come up.