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% >