You are not logged in.

#1 2012-02-18 13:43:48

ebshankar
Member
Registered: 2012-02-18
Posts: 91

[SOLVED]"The requested URL returned error: 407" while using pacman

pacman worked fine until now. When I try to upgrade with
pacman -Syu

it returns what is written below even though internet works fine without problems(I'm posting from the same system using firefox)
How can I get pacman working again?

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
error: failed to update community (download library error)
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

Last edited by ebshankar (2012-02-19 08:08:59)

Offline

#2 2012-02-18 13:59:01

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

What did you update? Are you using a proxy?

You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.

Offline

#3 2012-02-18 14:10:22

ebshankar
Member
Registered: 2012-02-18
Posts: 91

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

hokasch wrote:

What did you update? Are you using a proxy?

You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.

I tried to upgrade the system.
I don't use a proxy. My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.

Here is the output of "pacman -Syy --debug":

debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: adding new server URL to database 'core': ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.yongbok.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.yongbok.net/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: adding new server URL to database 'extra': ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.yongbok.net/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.yongbok.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.yongbok.net/archlinux/community/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update core (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update extra (download library error)
debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
debug: url: ftp://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: url: http://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update community (download library error)
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: curl returned error 22 from transfer
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
debug: failed to sync db: download library error
error: failed to update archlinuxfr (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'

Last edited by ebshankar (2012-02-18 14:18:30)

Offline

#4 2012-02-18 14:28:01

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.

How does this work? Try to download the db with the url from above output from the command line. Check your pacman log for what was in the update after which it stopped working. You can also try another download method for pacman, e.g. wget.

Offline

#5 2012-02-18 14:51:42

shyn
Member
Registered: 2009-09-23
Posts: 16

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

Also you can try to choose another mirror in /etc/pacman.d/mirrorlist.

Offline

#6 2012-02-18 15:43:01

ebshankar
Member
Registered: 2012-02-18
Posts: 91

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

hokasch wrote:

My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.

Are you using a proxy?
How does this work? Try to download the db with the url from above output from the command line. Check your pacman log for what was in the update after which it stopped working. You can also try another download method for pacman, e.g. wget.

shyn wrote:

Also you can try to choose another mirror in /etc/pacman.d/mirrorlist.

I finally found the error. Whenever my internet is down, I use a proxy for chromium browser.
I configured the proxy(that uses authentication) in the system and forgot about it.
pacman is working fine now after switching to no proxy. thank you smile

Offline

#7 2012-02-18 16:32:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]"The requested URL returned error: 407" while using pacman

Please remember to mark the thread as solved.

Offline

Board footer

Powered by FluxBB