[pacman-dev] Errors while KDE 4.6 upgrading

Allan McRae allan at archlinux.org
Thu Jan 27 05:45:54 EST 2011


On 27/01/11 20:28, Sergej Pupykin wrote:
>
> Hi,
>
> Why pacman think that file is corrupted when I do -Syu and does not
> think so when I do -U ... ?
>
> $ pacman -Syu
> .....
> :: File kde-meta-kdeadmin-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> :: File kde-meta-kdeartwork-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> :: File kde-meta-kdebase-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> :: File kde-meta-kdeedu-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> :: File kde-meta-kdegames-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> :: File kde-meta-kdegraphics-4.6-1.2-any.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
> error: failed to commit transaction (invalid or corrupted package)
> kde-meta-kdeadmin-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
> kde-meta-kdeartwork-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
> kde-meta-kdebase-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
> kde-meta-kdeedu-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
> kde-meta-kdegames-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
> kde-meta-kdegraphics-4.6-1.2-any.pkg.tar.xz is invalid or corrupted
>
> $ pacman -U /var/cache/pacman/pkg/kde-meta-kdeadmin-4.6-1.2-any.pkg.tar.xz
> ......
> Proceed with installation? [Y/n]
> checking package integrity...
> (1/1) checking for file conflicts                                            [###########################################] 100%
> (1/1) upgrading kde-meta-kdeadmin                                            [###########################################] 100%
>

That means that the package does not match the md5sum provided in the 
sync database.   pacman -U does not know that a package comes from a 
repo and so can not check the md5sums.

However, the fact that the package installed with pacman -U tells me it 
is not "too" corrupt...  That makes me suspicious that someone uploaded 
a package with the same pkgver-pkgrel resulting in an inconsistent 
pacman database.

Allan


More information about the pacman-dev mailing list