You are not logged in.

#1 2012-06-24 12:37:46

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

mirror error? pacman failing to fetch xorg/alsa etc.

just did my second install of arch and pacman fails to fetch xorg and alsa etc. saying error: failed to open file /var/lib/pacman/(filename) I have no idea whats going on here, frist install worked fine. the only thing i can think of is maybe the mirror isnt working, I used ftp@dal, canada. any help is very much welcome smile

Offline

#2 2012-06-24 13:54:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

I think there are two separate issues here - one a non-issue.

On a new install, when you first run `pacman -Syu` (you did that right), you should get messages saying that the database files don't exist yet.  This is fine, this is pacman's first run, it will create the databases.  If something may have gone wrong and you had to change your mirror list, `pacman -Syy` will get the databases back in sync.

The other issue is ftp.  Ftp mirrors cause many headaches.  The simple solution is don't use them.

Update your mirror list, run pacman -Syyu, then continue as usual.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-06-24 15:01:33

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

thanks, ill switch to a http mirror run pacman Syy and get back to u

Last edited by JLloyd13 (2012-06-24 15:01:45)

Offline

#4 2012-06-24 15:43:34

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

i switched it http@dal using nano but still get errors when running -Syy, -Syu, or -Syyu. I expected this thou so ran pacman -S sudo. it will resolve dependces ask me to continue but then fail to retrieve file. im stuck

Offline

#5 2012-06-24 15:57:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Post the actual errors.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2012-06-24 18:03:09

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

[root@A880GZ ~]# pacman -S sudo
resolving dependencies . . .
looking for inter-conflicts . . .

Targets (1) : sudo-1.8.1.p2-1

Total Download Size:        0.37  MB
Total Installed Size:          1.36  MB

Proceed with installation? [Y/n] y
: : Retrieving packages from core . . .
error:  falied retrieving file 'sudo-1.8.1.p2-1-x86_ 64.pkg.tar.xz' from mirror.its.dal.ca  :No address record
warning: failed to retrieve some files from core
error:  failed to commit transaction (No address record) 
Errors occurred, no packages were upgraded

Last edited by JLloyd13 (2012-06-24 23:33:16)

Offline

#7 2012-06-24 18:37:33

DarkCerberus
Banned
From: Holsworthy, Devon
Registered: 2011-12-31
Posts: 252

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Have you done pacman-key --init & pacman-key --populate archlinux  - this was enabled by the devs awhile ago and it's required for installing packages.


Our enemies are your enemies, Nick. Disorder, war. It's just a matter of time before a dirty bomb goes off in Moscow, or an EMP fries Chicago.  ---  Alexander Pierce, Captain America: Winter Soldier
Access Denied! De-cryption failed, override denied all files sealed! --- Triskelion, Shield OS
-----
How to ask questions the smart way

Offline

#8 2012-06-24 18:51:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Please use code tags: https://wiki.archlinux.org/index.php/Fo … s_and_Code

And you may want to look at the wiki and use a mirror tool like reflector...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2012-06-24 22:10:57

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

ill fix my post as soon as i figure out how to use that.

how am i supposed to use reflector if i cant install packages?

@darkcerberus i pulled the pacman-key wiki page and it said all i need to do to disable it is to uncomment this line siglevel never in /etc/pacman.conf but in /etc/pacman.conf im seeing no such option. also the frist time i install arch about a month ago on a netinstall i never had to edit this file for that reason. also this problem didnt happen the frist time

Offline

#10 2012-06-24 22:24:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

I suspect your mirrorlist is not properly formatted.  Can you post that please.

Put the file contents in

code tags like these.

Hit the quote button on my post to see how these work.

Here is an example excerpt taken verbatim from my mirrorlist.

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch

Last edited by Trilby (2012-06-24 22:27:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2012-06-24 23:32:51

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Trilby wrote:

I suspect your mirrorlist is not properly formatted.  Can you post that please.

Put the file contents in

code tags like these.

Hit the quote button on my post to see how these work.

Here is an example excerpt taken verbatim from my mirrorlist.

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch

ok i see how that works now. so what im i supposed to do to properly format my mirrorlist? you have to excuse my newbness im relitivly new to arch.

Offline

#12 2012-06-24 23:36:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

?  First post it so we can see if it is properly done.  Do the entries in it look similar to those two examples?  If not it may need to be edited.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#13 2012-06-25 02:37:32

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

How do i see my mirror list entrys? Do you meen the config file? Am i supposed to have two mirrors?

Offline

#14 2012-06-25 02:39:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

/etc/pacman.d/mirrorlist

It's the file you should have changed to get rid of the ftp sites.  Which file did you edit??


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#15 2012-06-25 02:40:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

JLloyd13 wrote:

How do i see my mirror list entrys? Do you meen the config file? Am i supposed to have two mirrors?

Maybe you should do a little reading before you go any further: https://wiki.archlinux.org/index.php/Mirrors


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#16 2012-06-25 23:27:12

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

I have fixed the problem! i did two things, and im not sure what was the one that did it. frist of all i picked 5 mirrors vs two, second of all i listed my closest mirror in pacman.conf. thanks for all the help, i can now contimue to install my system

Offline

#17 2012-06-25 23:29:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Glad it's working, but you shouldn't put the mirror directly in pacman.conf.  If you do, then your mirrorlist is irrelevant.

Pacman conf should just point to the mirrorlist.  You can put the closest one first in your mirrorlist - pacman attempts to connect to them in order and only goes on to the second if the first fails (and to the third if the first two fail, etc).

Also note that closest isn't always best.  But if it works, great, get rolling.  But once up and running you'll probably want to check out reflector which will make a mirrorlist of those mirrors that are best for you (most up to date, fastest, etc).

Last edited by Trilby (2012-06-25 23:31:08)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#18 2012-06-26 01:33:17

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

well, it sort of works. first of all i hit pacman -Syu, it asks me to update pacman first. i say yes. then it picks up the couple package before failing to pick up the rest. any idea? i ran -Syy. also when it fails to get the package at http@dal (listed in pacman.conf)when it fails after the first couple, it then tries all the mirrors listed in pacman.d/mirrorlist and fails on them too (after having got all the first couple on http@dal no prob) i have no idea, is there something i havn'nt synced up yet? also trilby pacman is using the mirrors listed in pacman.d/mirrors after it tries the one listed in pacman.conf. i left pacman.d/mirrorlist listed in pacman.conf, just with my closest mirror between (Server = http://its... etc.)

Last edited by JLloyd13 (2012-06-26 01:36:31)

Offline

#19 2012-06-26 01:37:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Trilby wrote:

Post the actual errors.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2012-06-26 20:29:27

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

now it wont fetch any files.

pacman -Syu
error: failed retrieving file 'file A' from mirror A : No address record
error: failed retrieving 'file A' from mirror B :
No address record

it will do this for all my mirrors before giving up and moving to file B, where it does the same thing. i have run this multiple times and the network on the other os (its dual booted) works fine. also the fact that it did load some of the files last night tells my the network is working here to

Offline

#21 2012-06-26 20:33:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

OK, this was a very small step in the right direction: you posted the error ... but was that the actual error?  Did it really say 'file A' from mirror A, or is that a shorthand you are using?

Either way I also asked for you to post your mirror list so we could see what you have done to it.  I'm quite confident now the error is in your mirror list and/or pacman.conf.  IF you post those files (the actual content of those files, not a description or interpretation of them) then and only then will anyone be able to help you.

Last edited by Trilby (2012-06-26 20:34:12)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#22 2012-06-26 20:50:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: mirror error? pacman failing to fetch xorg/alsa etc.

that's some real patience right there Trilby.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#23 2012-06-27 01:01:53

JLloyd13
Member
Registered: 2012-06-24
Posts: 107

Re: mirror error? pacman failing to fetch xorg/alsa etc.

Trilby wrote:

OK, this was a very small step in the right direction: you posted the error ... but was that the actual error?  Did it really say 'file A' from mirror A, or is that a shorthand you are using?

Either way I also asked for you to post your mirror list so we could see what you have done to it.  I'm quite confident now the error is in your mirror list and/or pacman.conf.  IF you post those files (the actual content of those files, not a description or interpretation of them) then and only then will anyone be able to help you.


how can i when i have no software installed? yes that is shorthand. and currently its failing on all files. i can hand type all these files in but it will take some time. if im missing something because im new, please say so.

Offline

#24 2012-06-27 01:10:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,576
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

How much software do you need?  This has been discussed in several threads, and undoubtedly on the wiki:

You could use links or which ever web browser comes with the base install.  You could use curl/wget.  You can use the pastebin script floating around.  Even in the absence of any network connectivity you can use 'cp' and a flash drive.  You clearly have a computer which you can use to post to the forums.

There is no magic here.  If you want solutions, we need information.

Inxsible wrote:

that's some real patience right there Trilby.

I think it just ran out.

Last edited by Trilby (2012-06-27 01:13:15)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#25 2012-06-27 01:18:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: mirror error? pacman failing to fetch xorg/alsa etc.

You got to post #24 though:

goldmedal.jpg


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB