You are not logged in.
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
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
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
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
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
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
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
[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
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
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