[pacman-dev] Errors while KDE 4.6 upgrading
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%
Sergej Pupykin wrote:
Hi,
Why pacman think that file is corrupted when I do -Syu and does not think so when I do -U ... ?
because the checksum is stored in the Sync database, which -U has no knowledge of. -U only knows the package file you give it.
$ 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%
On Thursday 27 January 2011 13:28:24 Sergej Pupykin wrote:
Why pacman think that file is corrupted when I do -Syu and does not think so when I do -U ... ? Because I rebuilt them and re-added them (there are no changes). Clean your cache to fix this.
-- Andrea
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
participants (4)
-
Allan McRae
-
Andrea Scarpino
-
Sergej Pupykin
-
Xavier