You are not logged in.

#1 2007-05-26 13:40:31

Spent
Member
From: Baltimore
Registered: 2004-05-16
Posts: 14

Trying to install alsa-utils but file is corrupted.

I've just installed Arch, coming form Gentoo, and I'm trying to install alsa-utils.  No matter what mirror I try, alsa-lib and alsa-utils files are always corrupted.  I'm using x86_64.

# pacman -S alsa-utils
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: alsa-lib-1.0.14rc3-2  alsa-utils-1.0.14rc2-2 

Total Package Size:   1.49 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from current...
alsa-lib                 489.2K  133.2K/s 00:00:04 [#####################] 100%
alsa-utils              1036.0K  130.5K/s 00:00:08 [#####################] 100%
checking package integrity...
:: Archive alsa-lib-1.0.14rc3-2.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] y
:: Archive alsa-utils-1.0.14rc2-2.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] y
error: failed to commit transaction (corrupted package)
archive alsa-lib-1.0.14rc3-2.pkg.tar.gz was corrupted (bad MD5 or SHA1 checksum)
archive alsa-utils-1.0.14rc2-2.pkg.tar.gz was corrupted (bad MD5 or SHA1 checksum)

errors occurred, no packages were upgraded.

Offline

#2 2007-05-26 13:50:15

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Trying to install alsa-utils but file is corrupted.

remove packages from cache
rm /var/cache/pacman/pkg/archive alsa-lib-1.0.14rc3-2.pkg.tar.gz
rm /var/cache/pacman/pkg/archive archive alsa-utils-1.0.14rc2-2.pkg.tar.gz
or you could clear out cache
pacman -Sc <removes old packages
pacman -Scc <removes all packages

Offline

#3 2007-05-26 14:43:28

Spent
Member
From: Baltimore
Registered: 2004-05-16
Posts: 14

Re: Trying to install alsa-utils but file is corrupted.

Still doesn't work.

# pacman -Sc
Do you want to remove old packages from cache? [Y/n] y
removing old packages from cache... done.
[root@localhost spent]# pacman -Scc
Do you want to remove all packages from cache? [Y/n] y
removing all packages from cache... done.
[root@localhost spent]# pacman -S alsa-utils
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: alsa-lib-1.0.14rc3-2  alsa-utils-1.0.14rc2-2 

Total Package Size:   1.49 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from current...
alsa-lib                 489.2K  151.5K/s 00:00:03 [#####################] 100%
alsa-utils              1036.0K  155.0K/s 00:00:07 [#####################] 100%
checking package integrity...
:: Archive alsa-lib-1.0.14rc3-2.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] y
:: Archive alsa-utils-1.0.14rc2-2.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] y
error: failed to commit transaction (corrupted package)
archive alsa-lib-1.0.14rc3-2.pkg.tar.gz was corrupted (bad MD5 or SHA1 checksum)
archive alsa-utils-1.0.14rc2-2.pkg.tar.gz was corrupted (bad MD5 or SHA1 checksum)

errors occurred, no packages were upgraded.

The cache is empty when I

ls /var/cache/pacman/pkg/

its empty

Offline

#4 2007-05-26 14:45:35

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Trying to install alsa-utils but file is corrupted.

Try another mirror. Maybe, the file on your mirror is corrupt.. I installed them today using the gigabit.nu mirror...

// STi


Ability is nothing without opportunity.

Offline

#5 2007-05-26 15:19:15

Spent
Member
From: Baltimore
Registered: 2004-05-16
Posts: 14

Re: Trying to install alsa-utils but file is corrupted.

STiAT wrote:

Try another mirror. Maybe, the file on your mirror is corrupt.. I installed them today using the gigabit.nu mirror...

// STi

Every US mirror including achlinux.org and every mirror I've been able to connect to I get a corrupted file.
I haven't had any problems with any other files, just the 2 alsa files.
I'm unable to connect to the gigabit.nu mirror.

:: Retrieving packages from current...
error: failed retrieving file 'alsa-lib-1.0.14rc3-2.pkg.tar.gz' from ftp.belnet.be : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'alsa-utils-1.0.14rc2-2.pkg.tar.gz' from ftp.belnet.be : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'alsa-lib-1.0.14rc3-2.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'alsa-utils-1.0.14rc2-2.pkg.tar.gz' from ftp.gigabit.nu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'alsa-lib-1.0.14rc3-2.pkg.tar.gz' from mirror.pacific.net.au : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'alsa-utils-1.0.14rc2-2.pkg.tar.gz' from mirror.pacific.net.au : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from current
error: failed to commit transaction (unexpected error)

I don't know what else to do.

Offline

#6 2007-05-26 15:31:31

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Trying to install alsa-utils but file is corrupted.

Seems as if you're trying to install 14rc2.
The current version of alsa-utils is 14rc4.

Did you sync actually?

alsa-lib 1.0.14rc4-1
alsa-oss 1.0.12-1
alsa-utils 1.0.14rc4-1

// STi


Ability is nothing without opportunity.

Offline

#7 2007-05-26 15:49:32

crc32
Member
Registered: 2007-05-13
Posts: 23

Re: Trying to install alsa-utils but file is corrupted.

Not sure if its related. But I found that the current repo in ftp.archlinux.org has not been updated since 23rd May.

I filed a bug report at http://bugs.archlinux.org/task/7277

Offline

#8 2007-05-26 16:00:23

Spent
Member
From: Baltimore
Registered: 2004-05-16
Posts: 14

Re: Trying to install alsa-utils but file is corrupted.

[root@localhost pacman.d]# pacman -Sy
:: Synchronizing package databases...
current is up to date
extra is up to date
local database is up to date
[root@localhost pacman.d]# pacman -S alsa-utils
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: alsa-lib-1.0.14rc3-2  alsa-utils-1.0.14rc2-2 

Total Package Size:   1.49 MB

Proceed with installation? [Y/n]

I'm still only seeing the old versions, but I looked on ftp://ftp.gigabit.nu/current/os/x86_64/ and it shows newer ones.

Is there a way to change what server I sync pacman from? 

By you showing me that the packages I was downloading were outdated, I downloaded them and installed them with pacman locally.  Hopefully it worked.

Offline

#9 2007-05-26 21:02:02

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Trying to install alsa-utils but file is corrupted.

Spent wrote:

Is there a way to change what server I sync pacman from?

Change the order of the servers in /etc/pacman.d/current (and extra, etc). The first server that responds is the one that's used.

Offline

#10 2007-05-26 22:12:08

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

Re: Trying to install alsa-utils but file is corrupted.

Should be fixed now. You might need to wait for your mirror to sync. I did a mistake when upgrading alsa-lib and alsa-utils for x86_64. Sorry about that.

Offline

Board footer

Powered by FluxBB