You are not logged in.

#1 2009-02-26 14:41:18

nahmin
Member
Registered: 2009-02-26
Posts: 8

Package Corrupted - please help me

Hi everyone.

this is my problem:

i tried to install updates from 10 mirrors.. i got all the time the same error..

[root@myhost ~]# pacman -Suf
resolving dependencies...
looking for inter-conflicts...

Target (7): grep-2.5.4-1 hdparm-9.10-1 kernel26-2.6.28.7-1
                 man-pages-3.18.1 pciutils-3.1.2-1 tzdata-2009b-1
                 xfsprogs-3.0.0-1

Total Download Size: 34.83 MB
Total Installed Size: 130.25MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core..
kernel26-2.6.28.7-1...               28.5M       5.1M/s 00:00:06 [#######################] 100%
man-pages-3.18.1-a-x86_64       4.3M       5.7M/s 00:00:01 [#######################] 100%
pciutils-3.1.2-1-x86_64            276.9K       1.1M/s 00:00:00 [#######################] 100%
tzdata-2009b-1-x86_64            568.0K      632k/s 00:00:00 [#######################] 100%
xfsprogs-3.0.0-1-x86_64        1218.3M       .1M/s 00:00:00 [#######################] 100%
checking package integrity...

:: File kernel26-2.6.28.7-1-x86_64.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]

and all the files same thing.. Corrupt..

i reapet myself i tried many mirrors... i guess the problem is somewhere else..
i installed archlinux 2 times..

pacman -Scc.. yes.. All clean..
pacman -Syu xorg gnome gnome-extra
.. same problem..

i don;t know what to do sad

if you have any ideea.. tell me i will try it

Offline

#2 2009-02-26 14:48:28

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: Package Corrupted - please help me

Are there any files left in /var/pacman/cache/pkg ?
If there is still a tmp file left delete it.
Else you can try to manually install this file:

wget ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/core/os/x86_64/kernel26-2.6.28.7-1-x86_64.pkg.tar.gz
pacman -U kernel26-2.6.28.7-1-x86_64.pkg.tar.gz

That one worked for me smile

edit:

If you change mirrors do a pacman -Syy to force pacman to re-download the pacman database.

Last edited by jordz (2009-02-26 14:49:24)

Offline

#3 2009-02-26 14:54:48

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

wow, this works for mee to!

verry wired, what do you think where it was the problem? i will try to install more packages from this server to see if all works.

thanx for your replay.

Offline

#4 2009-02-26 14:57:06

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: Package Corrupted - please help me

Must be some corrupted packages left behind in /var/pacman/cache/pkg or you needed to configure a mirror correctly and pacman -Syy.
And btw, pacman -Sf is not a good idea to use, only if you know for sure

You're welcome smile

Last edited by jordz (2009-02-26 14:57:22)

Offline

#5 2009-02-26 15:01:02

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

hmm i set in the mirrorlist :

Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr … os/x86_64/

i deleted what was in /var/pacman/cache/pkg

and now i try to install

pacman -S xorg gnome gnome-extra


in case that work, my problem has be resolved.. and i guess the mirrors that i have.. were .. bad neutral smile or something like that

Offline

#6 2009-02-26 15:03:51

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: Package Corrupted - please help me

You better add this on top of /etc/pacman.d/mirrorlist, because $repo is variable and will be replaced by core, extra or community.

Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/x86_64

Then do a pacman -Syy and you're ready to install everything.

Offline

#7 2009-02-26 15:06:53

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

Pacman -Syy
:: synchronizing package database...
core             32.2K 41.9K/s 00:00:01 [#######] 100%

error: failed retrieving file 'extra.db.tar.gz' from ftp.surfnet.nl : File unavailable (e.g., file not found, no acces)

same further.. hmm what happening

Offline

#8 2009-02-26 15:07:40

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

aaaaa i must put $ ?repo ? sad

my bad, now is ok!

Now i wait.. for downloading  534MB (speed is 100kb) smile so ..  i will watch a movie i guess smile

Last edited by nahmin (2009-02-26 15:13:56)

Offline

#9 2009-02-26 15:41:57

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Package Corrupted - please help me

glad you got things sorted, time to mark this thread as solved?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#10 2009-02-26 15:47:45

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

All files corrupted sad((((((

Errors occurred, no packagess were upgraded.

Offline

#11 2009-02-26 15:52:07

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Package Corrupted - please help me

It seems to me that you have somehow messed up the download command in /etc/pacman.conf, since apparently it's not doing what it's supposed to (also seeing that you got 5.7M/s download speed in the first post is a bit fishy).
So please check that XferCommand option is commented out in /etc/pacman.conf

Offline

#12 2009-02-26 16:02:13

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

/etc/pacman.conf

SyncFirst = pacman
XferCommand = /usr/bin/wget --passive-ftp -c -0 %o %u
#XferCommand = /usr/bin/curl %u > %o

the 5mb/s it`s ok because it was a server from my country, and the speed here is big... otherwise extern connection is maximum 500kb/s


no chance to make this package install......

any other ideeas?

Last edited by nahmin (2009-02-26 16:40:50)

Offline

#13 2009-02-26 17:05:24

nahmin
Member
Registered: 2009-02-26
Posts: 8

Re: Package Corrupted - please help me

Topik Closed>>> The Is No Real Solution

Last edited by nahmin (2009-02-26 22:20:10)

Offline

Board footer

Powered by FluxBB