You are not logged in.

#1 2007-01-16 11:12:08

eduac
Member
Registered: 2006-03-17
Posts: 123

pacman -Syu -> all corrupted

Hi all,

I cant upgrade the all packages on my desk:

# pacman -Syu





:: Synchronizing package databases...
current                  [###############################################] 100%      72K    33.4K/s  00:00:02
extra                    [###############################################] 100%     272K    47.6K/s  00:00:05

Targets: xdg-utils-1.0.1-1 archlinux-menus-1.2-1 avahi-0.6.16-2 cdrkit-1.1.2-1 eject-2.1.5-3 freetype2-2.2.1-4
         glib2-2.12.7-1 gnome-backgrounds-2.16.2-1 gnome-icon-theme-2.17.4.1-1 gnutls-1.6.1-1 grub-0.97-6
         gtk2-2.10.6-2 hplip-1.6.12-1 initscripts-0.8-4 jdk-6-2 jre-6-2 kdeaccessibility-3.5.5-2
         kdenetwork-3.5.5-3 kernel26-2.6.19.2-1 klibc-udev-104-1 lesstif-0.95.0-2 libdv-1.0.0-1
         libldap-2.3.31-1 libmpcdec-1.2.4-1 libmysqlclient-5.0.27-1 libnotify-0.4.3-1 liboil-0.3.10-2
         libwnck-2.16.2-1 device-mapper-1.02.13-1 lilo-22.7.3-3 mkinitcpio-0.5.12-1 mplayer-1.0rc1-4
         mysql-clients-5.0.27-1 mysql-5.0.27-2 nautilus-cd-burner-2.16.2-2 ncurses-5.6-1 nfs-utils-1.0.10-3
         openldap-2.3.31-1 pil-1.1.6-1 qt-3.3.7-1 udev-104-1 xine-lib-1.1.3-1 xkeyboard-config-0.9-1
         xorg-server-1.1.1-6 xorg-xfs-1.0.4-1

Total Package Size:   176.0 MB

Proceed with upgrade? [Y/n]
:: Retrieving packages from current...
cdrkit-1.1.2-1           [###############################################] 100%     994K    81.9K/s  00:00:12
initscripts-0.8-4        [###############################################] 100%      19K    11.9K/s  00:00:01
lilo-22.7.3-3            [###############################################] 100%     110K    52.2K/s  00:00:02
mkinitcpio-0.5.12-1      [###############################################] 100%      12K     8.4K/s  00:00:01

checking package integrity...
error: archive gnome-backgrounds-2.16.2-1.pkg.tar.gz is corrupted
error: archive jdk-6-2.pkg.tar.gz is corrupted
error: archive jre-6-2.pkg.tar.gz is corrupted
error: archive kdenetwork-3.5.5-3.pkg.tar.gz is corrupted
error: archive kernel26-2.6.19.2-1.pkg.tar.gz is corrupted
error: archive mysql-5.0.27-2.pkg.tar.gz is corrupted
error: archive qt-3.3.7-1.pkg.tar.gz is corrupted
error: archive xorg-server-1.1.1-6.pkg.tar.gz is corrupted


Arch - newbie

Offline

#2 2007-01-16 11:20:07

bones
Member
From: Brisbane
Registered: 2006-03-24
Posts: 322
Website

Re: pacman -Syu -> all corrupted

You might have to clean out the cache and try to down load again if you haven't already, When I have a problem like that I run pacman -Scc which deletes all the packages in the cache and it usually fixes the problem.


"When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return."

Offline

#3 2007-01-16 14:42:34

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

pacman -Scc and the same problem sad


Arch - newbie

Offline

#4 2007-01-16 15:01:03

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman -Syu -> all corrupted

Have you tryed another mirror?


Have you tried to turn it off and on again?

Offline

#5 2007-01-16 15:30:55

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

how can i do that? because i never touch my pacman.conf


Arch - newbie

Offline

#6 2007-01-16 15:36:30

PenguinFlavored
Member
From: Chicago, IL, USA
Registered: 2006-06-06
Posts: 66
Website

Re: pacman -Syu -> all corrupted

You can run the sortmirrors script. This will find the quickest mirrors to your computer. Otherwise, if that doesn't work, you can edit the mirrors in /etc/pacman.d/

Offline

#7 2007-01-16 16:06:59

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman -Syu -> all corrupted

PenguinFlavored wrote:

You can run the sortmirrors script. This will find the quickest mirrors to your computer. Otherwise, if that doesn't work, you can edit the mirrors in /etc/pacman.d/

The sortmirrors script is not a good idea, it breaks the mirrors somtimes...

@eduac

go into /etc/pacman.d/

Thera are a few files called "current" "extra" usw

Oppen currend and extra with your editor, and enable/diasable mirrors with comment out ( the # at the beginning)


Have you tried to turn it off and on again?

Offline

#8 2007-01-16 16:11:20

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

fk wrote:
PenguinFlavored wrote:

You can run the sortmirrors script. This will find the quickest mirrors to your computer. Otherwise, if that doesn't work, you can edit the mirrors in /etc/pacman.d/

The sortmirrors script is not a good idea, it breaks the mirrors somtimes...

@eduac

go into /etc/pacman.d/

Thera are a few files called "current" "extra" usw

Oppen currend and extra with your editor, and enable/diasable mirrors with comment out ( the # at the beginning)

i will try, but why this kind of stuff happens on the arch?


Arch - newbie

Offline

#9 2007-01-16 17:17:35

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: pacman -Syu -> all corrupted

You might want to have a look here at drakosha's pacman sorting script. I prefer it over sortmirrors.

http://bbs.archlinux.org/viewtopic.php?t=19278&start=20&postdays=0&postorder=asc&highlight=mirrors

Offline

#10 2007-01-16 17:27:31

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

fk wrote:
PenguinFlavored wrote:

You can run the sortmirrors script. This will find the quickest mirrors to your computer. Otherwise, if that doesn't work, you can edit the mirrors in /etc/pacman.d/

The sortmirrors script is not a good idea, it breaks the mirrors somtimes...

@eduac

go into /etc/pacman.d/

Thera are a few files called "current" "extra" usw

Oppen currend and extra with your editor, and enable/diasable mirrors with comment out ( the # at the beginning)

doesnt work sad


Arch - newbie

Offline

#11 2007-01-16 17:36:21

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman -Syu -> all corrupted

eduac wrote:
fk wrote:
PenguinFlavored wrote:

You can run the sortmirrors script. This will find the quickest mirrors to your computer. Otherwise, if that doesn't work, you can edit the mirrors in /etc/pacman.d/

The sortmirrors script is not a good idea, it breaks the mirrors somtimes...

@eduac

go into /etc/pacman.d/

Thera are a few files called "current" "extra" usw

Oppen currend and extra with your editor, and enable/diasable mirrors with comment out ( the # at the beginning)

doesnt work sad

not work? change mirrors or pacman -Syu?


Have you tried to turn it off and on again?

Offline

#12 2007-01-16 17:39:14

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

fk wrote:

not work? change mirrors or pacman -Syu?

both


Arch - newbie

Offline

#13 2007-01-16 17:40:49

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman -Syu -> all corrupted

eduac wrote:
fk wrote:

not work? change mirrors or pacman -Syu?

both

What is the problem with change mirrors?


Have you tried to turn it off and on again?

Offline

#14 2007-01-18 11:36:27

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

still with the same problem here sad

checking package integrity...
error: archive hplip-1.6.12-1.pkg.tar.gz is corrupted
error: archive jdk-6-2.pkg.tar.gz is corrupted
error: archive jre-6-2.pkg.tar.gz is corrupted
error: archive kdenetwork-3.5.5-3.pkg.tar.gz is corrupted
error: archive kernel26-2.6.19.2-1.pkg.tar.gz is corrupted
error: archive libldap-2.3.31-1.pkg.tar.gz is corrupted
error: archive lilo-22.7.3-3.pkg.tar.gz is corrupted
error: archive mplayer-1.0rc1-4.pkg.tar.gz is corrupted
error: archive mysql-5.0.27-2.pkg.tar.gz is corrupted


Arch - newbie

Offline

#15 2007-01-18 12:09:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pacman -Syu -> all corrupted

emm maybe your db is corrupted ...

can you pacman -S <foo> ?


Mr Green

Offline

#16 2007-01-18 12:19:20

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

Mr Green wrote:

emm maybe your db is corrupted ...

can you pacman -S <foo> ?

pacman -S bind

Targets: dnsutils-9.3.3-1 bind-9.3.3-1

Total Package Size:   3.5 MB

Proceed with upgrade? [Y/n]

:: Retrieving packages from current...


 dnsutils-9.3.3-1         [###############################################] 100%    1792K    33.3K/s  00:00:53
 bind-9.3.3-1             [###############################################] 100%    1752K    42.7K/s  00:00:41

checking package integrity...
error: archive bind-9.3.3-1.pkg.tar.gz is corrupted

Arch - newbie

Offline

#17 2007-01-18 13:11:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: pacman -Syu -> all corrupted

right as root ... go into /var/cache/pacman/pkg rm bind & dnsutils... then try to load them again...

pacman -S bind


Mr Green

Offline

#18 2007-01-18 18:25:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: pacman -Syu -> all corrupted

eduac wrote:

dnsutils-9.3.3-1         [###############################################] 100%    1792K    33.3K/s  00:00:53
bind-9.3.3-1             [###############################################] 100%    1752K    42.7K/s  00:00:41

This suggests you are using the initial download method of pacman.
Many users (specially when you use ftp-mirrors) get better and more stable results by using wget to download the packages.

As root open /etc/pacman.conf in your favorite text editor
Look for this line in general options section :

#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

Remove the # to have pacman use wget.


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


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#19 2007-01-19 11:03:36

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

Lone_Wolf wrote:
eduac wrote:

dnsutils-9.3.3-1         [###############################################] 100%    1792K    33.3K/s  00:00:53
bind-9.3.3-1             [###############################################] 100%    1752K    42.7K/s  00:00:41

This suggests you are using the initial download method of pacman.
Many users (specially when you use ftp-mirrors) get better and more stable results by using wget to download the packages.

As root open /etc/pacman.conf in your favorite text editor
Look for this line in general options section :

#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

Remove the # to have pacman use wget.

still the same problem:

100%[===================================================================>] 10,435,271    29.42K/s    ETA 00:00

18:29:36 (42.73 KB/s) - `qt-3.3.7-1.pkg.tar.gz.part' saved [10435271]


checking package integrity...
error: archive gtk2-2.10.6-2.pkg.tar.gz is corrupted
error: archive hplip-1.6.12-1.pkg.tar.gz is corrupted
error: archive jdk-6-2.pkg.tar.gz is corrupted
error: archive jre-6-2.pkg.tar.gz is corrupted
error: archive kdeaccessibility-3.5.5-2.pkg.tar.gz is corrupted
error: archive kdenetwork-3.5.5-3.pkg.tar.gz is corrupted
error: archive kernel26-2.6.19.2-1.pkg.tar.gz is corrupted
error: archive mplayer-1.0rc1-4.pkg.tar.gz is corrupted
error: archive mysql-5.0.27-2.pkg.tar.gz is corrupted
error: archive qt-3.3.7-1.pkg.tar.gz is corrupted

Arch - newbie

Offline

#20 2007-01-19 19:21:01

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: pacman -Syu -> all corrupted

Perhaps.....pacman -Sy pacman.....

Then ..... pacman -Scc....

Then pacman -Syu.

Every time corrupt shows, ...pacman -Scc


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#21 2007-01-22 03:27:31

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: pacman -Syu -> all corrupted

If you have another harddrive in the computer, you could mount /var/cache/pacman/pkg to it and see if it works.  Or even mount it to a usb memory card and try a small package, just to see if it works.

No idea, just a thought...

Offline

#22 2007-01-22 20:07:45

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

lilsirecho wrote:

Perhaps.....pacman -Sy pacman.....

Then ..... pacman -Scc....

Then pacman -Syu.

Every time corrupt shows, ...pacman -Scc

Doesnt work again


Arch - newbie

Offline

#23 2007-01-26 03:33:20

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: pacman -Syu -> all corrupted

Did you ever get this working?

Another thing to try...

After trying to install a package, like bind from an earlier post.

pacman -S bind

Targets: dnsutils-9.3.3-1 bind-9.3.3-1

Total Package Size:   3.5 MB

Proceed with upgrade? [Y/n]

:: Retrieving packages from current...


 dnsutils-9.3.3-1         [###############################################] 100%    1792K    33.3K/s  00:00:53
 bind-9.3.3-1             [###############################################] 100%    1752K    42.7K/s  00:00:41
 
checking package integrity...
error: archive bind-9.3.3-1.pkg.tar.gz is corrupted

After it has failed, try adding it like this.

# pacman -A /var/cache/pacman/pkg/bind-9.3.3-1.pkg.tar.gz

My thought is that maybe your download is fine, and it is the "check package integrity..." that is not working right.  Might help to find the problem.

Offline

#24 2007-01-30 10:34:05

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: pacman -Syu -> all corrupted

stingray wrote:

After it has failed, try adding it like this.

# pacman -A /var/cache/pacman/pkg/bind-9.3.3-1.pkg.tar.gz

My thought is that maybe your download is fine, and it is the "check package integrity..." that is not working right.  Might help to find the problem.

checking package integrity...
error: archive gnome-backgrounds-2.16.2-1.pkg.tar.gz is corrupted
error: archive gnome-icon-theme-2.17.90-1.pkg.tar.gz is corrupted
error: archive hplip-1.6.12-1.pkg.tar.gz is corrupted
error: archive jdk-6-2.pkg.tar.gz is corrupted
error: archive jre-6-2.pkg.tar.gz is corrupted
error: archive qt-3.3.7-1.pkg.tar.gz is corrupted
error: archive kdelibs-3.5.6-3.pkg.tar.gz is corrupted
error: archive kdebase-3.5.6-1.pkg.tar.gz is corrupted
error: archive kde-i18n-pt_br-3.5.6-1.pkg.tar.gz is corrupted
error: archive kdepim-3.5.6-2.pkg.tar.gz is corrupted
error: archive kdemultimedia-3.5.6-1.pkg.tar.gz is corrupted
error: archive kdeartwork-3.5.6-1.pkg.tar.gz is corrupted
error: archive kdebindings-3.5.6-1.pkg.tar.gz is corrupted
error: archive kdegraphics-3.5.6-1.pkg.tar.gz is corrupted
error: archive kdenetwork-3.5.6-1.pkg.tar.gz is corrupted
error: archive kernel26-2.6.19.2-1.pkg.tar.gz is corrupted
error: archive xfce4-icon-theme-4.4.0-1.pkg.tar.gz is corrupted
error: archive thunar-0.8.0-1.pkg.tar.gz is corrupted
error: archive xfdesktop-4.4.0-1.pkg.tar.gz is corrupted
error: archive xfwm4-4.4.0-1.pkg.tar.gz is corrupted
error: archive xine-lib-1.1.3-1.pkg.tar.gz is corrupted
# pacman --upgrade /var/cache/pacman/pkg/gnome-backgrounds-2.16.2-1.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
upgrading gnome-backgrounds... done.

Arch - newbie

Offline

#25 2007-01-30 13:41:22

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: pacman -Syu -> all corrupted

OK, looks to me like your packages are fine, but the integrity checking isn't working right.

You might try reinstalling pacman.  I think you can use –Sf to force the update.
Of course you still will probably have to install it from the cache after it is downloaded

# pacman –Sf pacman
# pacman –Sf /var/cache/pacman/pkg/pacman-2.9.8-4.pkg.tar.gz

If that still doesn't get it working, then pacman is must be using something else to do the checksum. I assume MD5 is used, but I have no idea how pacman uses it. 

Anybody else have any ideas?

Last edited by stingray (2007-01-30 13:42:12)

Offline

Board footer

Powered by FluxBB