You are not logged in.

#1 2010-07-26 16:03:08

petemcr
Member
Registered: 2010-07-26
Posts: 5

makepkg problems [solved]

hello everyone

i'm pretty new to Arch but i've been using Linux for a while, i've not had a single problem with pacman complaining about my mirrorlist, but i've come to use makepkg and when I try to run it I get an error

==> Installing missing dependencies...
error: directive 'Server' with a value not recognized
error: config file /etc/pacman.d/mirrorlist, line 112: problem in options section
error: 'error:': could not find or read package

I've found, if I redit my mirrorlist and comment out all the servers, it will then tell me my missing dependencies... but won't download them as it doesn't have a server to get them from.

:: Retrieving packages from extra...
warning: failed to retrieve some files from extra
error: failed to commit transaction (no servers configured for repository)
Errors occurred, no packages were upgraded.

What am I doing wrong? any help would be great

Last edited by petemcr (2010-07-26 18:15:54)

Offline

#2 2010-07-26 16:07:57

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: makepkg problems [solved]

Can you post your mirrorlist so we can see what it looks like?

Offline

#3 2010-07-26 16:09:07

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

Re: makepkg problems [solved]

Can you post that line 122? It should look like this:

Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch

Last edited by karol (2010-07-26 16:10:10)

Offline

#4 2010-07-26 16:17:06

petemcr
Member
Registered: 2010-07-26
Posts: 5

Re: makepkg problems [solved]

here you go

Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/x86_64

Offline

#5 2010-07-26 16:25:26

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

Re: makepkg problems [solved]

Did you update your system? It should read 'os/$arch' at the end. Check for any pacnew / pacsave files you might still have.
There should be

Architecture = auto

in your /etc/pacman.conf.

Offline

#6 2010-07-26 16:34:03

petemcr
Member
Registered: 2010-07-26
Posts: 5

Re: makepkg problems [solved]

well I did the pacman -Syy and Syu, its come back saying it's all up to date. But now pacman is throwing out the same error, but it then goes on and does everything it's supposed to.

Offline

#7 2010-07-26 16:55:07

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

Re: makepkg problems [solved]

Pacman 3.4 introduced some changes, I hope you updated your configs.

Offline

#8 2010-07-26 16:59:38

petemcr
Member
Registered: 2010-07-26
Posts: 5

Re: makepkg problems [solved]

Pacman 3.4 introduced some changes, I hope you updated your configs.

Ah, see that I did not do. What kind of changes should I have made? Like I said, i'm a newbie, I just thought i'd give this distro a try and just load my question gun and go answer hunting.

Offline

#9 2010-07-26 17:04:52

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

Re: makepkg problems [solved]

If I understand correctly, you've just installed from an iso and updated the system, right?
We have a nice wiki, start there
http://wiki.archlinux.org/index.php/Pac … save_Files

Offline

#10 2010-07-26 17:59:32

petemcr
Member
Registered: 2010-07-26
Posts: 5

Re: makepkg problems [solved]

Brilliant, it's all sorted now and good to go.

Cheers for the help everyone

Offline

#11 2010-07-26 18:00:54

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

Re: makepkg problems [solved]

Glad you've got it working. Remember to mark the thread as [solved].

Offline

Board footer

Powered by FluxBB