You are not logged in.

#1 2011-07-02 13:27:32

copyguy
Member
Registered: 2009-10-28
Posts: 36

Syntax error, command unrecognized when running -Syu

When i run sudo pacman -Syu i get this strange output: http://pastebay.com/130776 As you can see it does download something but it gives me an error i don't understand so i wonder how do i fix this and is it safe to upgrade now even though it says error. Here is my mirrorlist and pacman config: http://pastebay.com/130777 http://pastebay.com/130778

Offline

#2 2011-07-02 13:37:31

copyguy
Member
Registered: 2009-10-28
Posts: 36

Re: Syntax error, command unrecognized when running -Syu

Well i get the error when installing some packages too like rhythmbox and dependecies but not streamtuner.

Offline

#3 2011-07-02 13:45:01

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 89

Re: Syntax error, command unrecognized when running -Syu

Uhm, what happens when you try pacman -Syy?
Or when youre using another mirror?

Last edited by weltio (2011-07-02 13:46:04)

Offline

#4 2011-07-02 15:27:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Syntax error, command unrecognized when running -Syu

http://www.archlinux.org/mirrors/status/

it does appear the 2 finnish mirrors are having problems, you should try other mirrors.

Last edited by Lone_Wolf (2011-07-02 15:27:59)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2011-07-03 18:46:17

copyguy
Member
Registered: 2009-10-28
Posts: 36

Re: Syntax error, command unrecognized when running -Syu

Lone_Wolf wrote:

http://www.archlinux.org/mirrors/status/

it does appear the 2 finnish mirrors are having problems, you should try other mirrors.

Thanks for the info and that site. I now have changed to these two servers  ftp://ftp.portlane.com/pub/os/linux/archlinux/ and ftp://ftp.lysator.liu.se/pub/archlinux/ They wasn't in the default mirrorslist so i added them like this:
## Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlin … o/os/$arch
#Server = http://ftp.ds.hj.se/pub/os/linux/archli … o/os/$arch
#Server = ftp://ftp.linuxmirror.org/arch/$repo/os/$arch
#Server = http://linuxmirror.org/arch/$repo/os/$arch
Server = ftp://ftp.lysator.liu.se/pub/archlinux/
Server = ftp://ftp.portlane.com/pub/os/linux/archlinux/
But now i have another problem cause pacman can't find the .db files
[jakob @ Batman ~] $ sudo pacman-Syu
:: Synchronizing package database ...
Error: Failed to download file 'core.db' from ftp.lysator.liu.se: File unavailable (eg, file not found, no access)
Error: Failed to download file 'core.db' from ftp.portlane.com: File unavailable (eg, file not found, no access)
error: failed to update the core (File unavailable (eg, file not found, no access))
Error: Failed to download file 'extra.db' from ftp.lysator.liu.se: File unavailable (eg, file not found, no access)
Error: Failed to download file 'extra.db' from ftp.portlane.com: File unavailable (eg, file not found, no access)
error: failed to update additional (File unavailable (eg, file not found, no access))
Error: Failed to download file 'community.db' from ftp.lysator.liu.se: File unavailable (eg, file not found, no access)
Error: Failed to download file 'community.db' from ftp.portlane.com: File unavailable (eg, file not found, no access)
error: failed to update the community (File unavailable (eg, file not found, no access))
Error: Failed to download file 'multilib.db' from ftp.lysator.liu.se: File unavailable (eg, file not found, no access)
Error: Failed to download file 'multilib.db' from ftp.portlane.com: File unavailable (eg, file not found, no access)
Error: Failed to update multilib (File unavailable (eg, file not found, no access))
  archlinuxfr is the latest version
:: Start of full system upgrade ...
  there is nothing to do
But if you go to the ftp the files are there so i cant figure out the problem i also run -Syy but same problem.

Offline

#6 2011-07-03 18:49:30

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

Re: Syntax error, command unrecognized when running -Syu

Have you tried any http mirrors?

Offline

#7 2011-07-03 18:57:05

copyguy
Member
Registered: 2009-10-28
Posts: 36

Re: Syntax error, command unrecognized when running -Syu

karol wrote:

Have you tried any http mirrors?

Yes same problem.  EDIT Tried another server now and that works.

Last edited by copyguy (2011-07-03 18:59:51)

Offline

Board footer

Powered by FluxBB