You are not logged in.

#1 2009-09-13 04:20:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

[SOLVED] Invalid URL scheme

Any ideas folks? hmm

root@kangaroo ~ # pacman -Syu
:: Synchronizing package databases...
 stable32 is up to date
 stable-any is up to date
error: failed retrieving file 'core.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
error: failed to update core (Invalid URL scheme)
error: failed retrieving file 'extra.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
error: failed to update extra (Invalid URL scheme)
error: failed retrieving file 'community.db.tar.gz' from mirror.internode.on.net : Invalid URL scheme
error: failed to update community (Invalid URL scheme)
error: failed retrieving file 'archlinuxfr.db.tar.gz' from repo.archlinux.fr : Invalid URL scheme
error: failed to update archlinuxfr (Invalid URL scheme)
error: failed retrieving file 'xyne-any.db.tar.gz' from xyne.archlinux.ca : Invalid URL scheme
error: failed to update xyne-any (Invalid URL scheme)
:: Starting full system upgrade...
warning: courier-authlib: local (0.62.4-1) is newer than stable32 (0.62.2-2)
 local database is up to date

pacman.conf mirrors:

[stable32]
Server = file:///srv/stable/i686/
[stable-any]
Server = file:///srv/stable/any/

[core]
Server = http://repo.fukawi2.local/core/os/i686/
[extra]
Server = http://repo.fukawi2.local/extra/os/i686/
[community]
Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
Server = http://repo.archlinux.fr/i686
[xyne-any]
Server = http://xyne.archlinux.ca/repos/any/

Last edited by fukawi2 (2009-09-13 23:23:47)

Offline

#2 2009-09-13 04:37:11

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] Invalid URL scheme

I would change XferCommand in pacman.conf to try to localize the problem.
I doubt that it matters, but I would also comment out all the repos and then test each one individually just in case there is some weird sequential error.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-09-13 04:52:59

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Invalid URL scheme

okayyyy... wtf pancakes.

I commented all repositories, except for core, extra and community and ran `pacman -Syu` which worked fine. I uncommented the other respositories and ran `pacman Syu` again. Everything worked fine again. Good.

root@kangaroo ~ # pacman -Sy qingy qingy-theme-arch
:: Synchronizing package databases...
 stable32 is up to date
 stable-any is up to date
error: failed retrieving file 'core.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
error: failed to update core (Invalid URL scheme)
error: failed retrieving file 'extra.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
error: failed to update extra (Invalid URL scheme)
error: failed retrieving file 'community.db.tar.gz' from mirror.internode.on.net : Invalid URL scheme
error: failed to update community (Invalid URL scheme)
error: failed retrieving file 'archlinuxfr.db.tar.gz' from repo.archlinux.fr : Invalid URL scheme
error: failed to update archlinuxfr (Invalid URL scheme)
error: failed retrieving file 'xyne-any.db.tar.gz' from xyne.archlinux.ca : Invalid URL scheme
error: failed to update xyne-any (Invalid URL scheme)
resolving dependencies...
looking for inter-conflicts...

Targets (5): directfb-1.4.1-1 [2.04 MB]  scrnsaverproto-1.2.0-1 [0.00 MB]  libxss-1.2.0-1 [0.01 MB]  qingy-0.9.9-2 [0.28 MB]  qingy-theme-arch-2.0-1 [0.67 MB]  

Total Download Size:    3.01 MB
Total Installed Size:   8.85 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
error: failed retrieving file 'scrnsaverproto-1.2.0-1-any.pkg.tar.gz' from repo.fukawi2.local : Invalid URL scheme
error: failed retrieving file 'libxss-1.2.0-1-i686.pkg.tar.gz' from repo.fukawi2.local : Invalid URL scheme
warning: failed to retrieve some files from extra
error: failed to commit transaction (Invalid URL scheme)
Errors occurred, no packages were upgraded.

Now I'm confused.

Removing my other repos apart from core, extra, and community results in the same errors when I try and install qingy.

Last edited by fukawi2 (2009-09-13 04:54:12)

Offline

#4 2009-09-13 05:11:34

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] Invalid URL scheme

What happens if you move [stable-32] and [stable-any] to the end of the list?

What about if you use wget or some other download manager? It might even be worth writing a little script to record the urls to see what pacman is passing it, e.g.

#!/bin/bash
echo -e "url: $1\nout: $2\n\n" >>/path/to/some/file
exit 1

and then in pacman.conf

XferCommand = /path/to/previous/script %u %o

That's untested, but I think it should show you what the downloader is seeing.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2009-09-13 05:34:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Invalid URL scheme

you could also try using pacman's --debug option to get more info

Offline

#6 2009-09-13 23:23:24

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED] Invalid URL scheme

Problem found... My proxy apparently had some subtle problems after a few power failures over the weekend. Wiping the proxy cache and restarting squid seems to have fixed. Sorry for wasting everyone's time, but thanks for the input! smile

Offline

Board footer

Powered by FluxBB