File /var/cache/pacman/pkg/kio-extras-18.04.3-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum))


(Johannes) #1

Hi there,
since 2 days I cannot successfully run ‘pacman -Syu’ on all of my machines. It fails to install kio-extras, because the file is corrupted:

Total Installed Size:  2649,27 MiB
Net Upgrade Size:        11,47 MiB

:: Proceed with installation? [Y/n] 
(236/236) checking keys in keyring                                                                                                                [##########################################################################################] 100%
(236/236) checking package integrity                                                                                                              [##########################################################################################] 100%
:: File /var/cache/pacman/pkg/kio-extras-18.04.3-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

I have searched the forums and found one similar thread which suggest to run rankmirrors and adapt the mirrorlist. This doesn’t work for me. I have modified mirrorlist to contain various mirrors, none worked.

I have also looked at arch’s wiki page for pacman and followed the suggestion to delete all *.part files. It didn’t work either.

I have no clue what’s behind that. I doubt every mirror is serving a broken file or invalid hashes are provided.

Thankful for every hint,
vulptex

Hardware information
cpu:                                                            
                       Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz, 3150 MHz
                       Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz, 3150 MHz
                       Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz, 3119 MHz
                       Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz, 3139 MHz
keyboard:
                       Logitech Illuminated Keyboard
mouse:
                       Logitech Gaming Mouse G402
graphics card:
                       Intel VGA compatible controller
sound:
                       Intel Audio device
storage:
                       Intel SATA controller
                       Intel Mass storage controller
network:
  enp0s31f6            Intel Ethernet controller
  wlp109s0             Intel WLAN controller
network interface:
  lo                   Loopback network interface
  wlp109s0             Ethernet network interface
  enp0s31f6            Ethernet network interface
disk:
  /dev/sda             Generic SD/MMC/MS PRO
  /dev/nvme0n1         Disk
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
  /dev/nvme0n1p3       Partition
usb controller:
                       USB Controller
                       Intel USB Controller
bios:
                       BIOS
bridge:
                       Intel Host bridge
                       Intel PCI bridge
                       Intel PCI bridge
                       Intel PCI bridge
                       Intel PCI bridge
                       Intel ISA bridge
hub:
                       Linux 4.16.6-2-CHAKRA xhci-hcd xHCI Host Controller
                       Linux 4.16.6-2-CHAKRA xhci-hcd xHCI Host Controller
                       Linux 4.16.6-2-CHAKRA xhci-hcd xHCI Host Controller
                       Linux 4.16.6-2-CHAKRA xhci-hcd xHCI Host Controller
memory:
                       Main Memory
bluetooth:
                       Bluetooth Device
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       Intel Signal processing controller
                       Intel SMBus
                       Intel Memory controller
                       Intel System peripheral
                       Intel Communication controller
                       Serial controller
                       Logitech Gaming Mouse G402
                       Logitech Illuminated Keyboard
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (CheckSpace enabled by default for safety; color enabled by default 'cause it's fancy)
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel    = Required DatabaseOptional
#LocalFileSigLevel = Optional
SigLevel = Never
LocalFileSigLevel = Never
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Chakra GNU/Linux
# packagers with `pacman-key --populate chakralinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[lib32]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[desktop]
Include = /etc/pacman.d/mirrorlist

[gtk]
Include = /etc/pacman.d/mirrorlist

#[unstable]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Latest status of the testing repository [10 July 2018 - 29 July 2018]]
(tom) #2

this isn’t new and it seems there wasn’t a bug report so you should make one


(Johannes) #3

Thanks for your answer. You say it isn’t new, I couldn’t find anything about it, except the mentioned thread. I guess it has nothing to do with the package ‘kio-extras’, but rather pacman? So, where do I report bugs about pacman on code.chakralinux.org?

Thanks,
vulptex


(tom) #4

with “isn’t new” i mean this thread Latest status of the testing repository [10 July 2018 - Present] and the reason isn’t pacman

yes, bug reports http://code.chakralinux.org/


(Johannes) #5

Damn, didn’t see this. All right, well report. Thanks!


(Hans Tovetjärn) #6

This has been reported in our issue tracker, please continue here.