Could not find all required packages, hwdata (Wanted by: corectl)

The last 1-2 weeks I cannot update my system due to this error

 -> Could not find all required packages:
        hwdata (Wanted by: corectrl)
$ pacman -Qi hwdata
error: package 'hwdata' was not found

$ pacman -Qi hwids
Name            : hwids
Version         : 20210613-1
Description     : hardware identification databases
Architecture    : any
URL             : https://github.com/gentoo/hwids
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : corectrl  libosinfo  lshw  pciutils  systemd  usbutils
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1989.51 KiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Mon 14 Jun 2021 11:10:58 AM EEST
Install Date    : Sat 22 Jan 2022 01:47:37 PM EET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Is there any solution to this?

pacman will ask you if you want to replace hwids with hwdata. Confirm that with “y” an things will be ok.

pamac I don’t know. Most likely it will automatically replace it.

This wasn’t the case for me. It never asked me to replace anything. What am I supposed to do?

edit:

I apologize. To be precise, pacman thinks there’s no updates at all.

sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

It’s Yet Another Yaourt which complains

$ yay -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 -> peekprof: local (0.6.1-1) is newer than AUR (v0.6.2rc1-1)
 -> python2-asn1crypto: local (1.4.0-3) is newer than AUR (1.4.0-1)
 -> python2-ipaddress: local (1.0.23-2) is newer than AUR (1.0.23-1)
 -> python2-ply: local (3.11-7) is newer than AUR (3.11-1)
 -> Missing AUR Packages:  doctl-bin  gnome-getting-started-docs  gnome-shell-extension-nightshellswitcher  grub-customizer  linux59  linux59-virtualbox-host-modules  python2-backports  python2-cachecontrol  python2-chardet  python2-colorama  python2-configparser  python2-contextlib2  python2-distlib  python2-distro  python2-html5lib  python2-importlib-metadata  python2-pathlib2  python2-pep517  python2-pip  python2-progress  python2-pyopenssl  python2-requests  python2-resolvelib  python2-retrying  python2-scandir  python2-toml  python2-urllib3  python2-webencodings  python2-zipp
 -> Flagged Out Of Date AUR Packages:  minecraft-launcher
:: 14 Packages to upgrade.
14  aur/brave-bin                 1:1.33.106-1   -> 1:1.34.81-1
13  aur/corectrl                  1.2.2-2        -> 1.2.2-4
12  aur/dropbox                   138.4.2392-1   -> 139.4.4896-1
11  aur/google-chrome             97.0.4692.71-1 -> 97.0.4692.99-1
10  aur/google-cloud-sdk          367.0.0-4      -> 369.0.0-1
 9  aur/goreleaser-bin            v1.2.5-1       -> v1.3.1-1
 8  aur/mongodb-compass           1.29.6-1       -> 1.30.1-1
 7  aur/nb                        6.7.9-5        -> 6.8.0-1
 6  aur/postman-bin               9.7.1-1        -> 9.9.3-1
 5  aur/protontricks              1.6.2-2        -> 1.7.0-1
 4  aur/python2-cffi              1.14.6-2       -> 1.15.0-1
 3  aur/python2-pycparser         2.20-3         -> 2.21-1
 2  aur/skypeforlinux-stable-bin  8.79.0.95-1    -> 8.80.0.143-1
 1  aur/virtualbox-ext-oracle     6.1.30-1       -> 6.1.32-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
 -> Could not find all required packages:
        hwdata (Wanted by: corectrl)

You are most probably on the stable branch and hwdata is not in the stable branch yet so it will ask you when you’ll get the next stable update. So wait or change branch:

https://wiki.manjaro.org/index.php/Switching_Branches

Screenshot_20220122_173433

Thanks for emphasizing on this, wasn’t aware that you could switch branches.

I switched to testing branch (no reboot though), and now it complains about expat too. Do you think I should even try to resolve this at the moment or just wait a few weeks? Im just worried that if I wait a few weeks more something may break if the update is too big and too updated.

Both lib32-expat and expat are available in manjaro repositories so don’t use the AUR ones:

yay -Rs lib32-expat expat
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
sudo pacman -S lib32-expat expat

Hm, every command produced errors due to dependency requirements.

yay -Rs lib32-expat expat
[sudo] password for exapsy:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing expat breaks dependency 'expat' required by apr-util
:: removing expat breaks dependency 'expat' required by audacity
:: removing expat breaks dependency 'expat' required by avahi
:: removing expat breaks dependency 'expat' required by dbus
:: removing expat breaks dependency 'expat' required by exempi
:: removing expat breaks dependency 'expat' required by exiv2
:: removing expat breaks dependency 'libexpat.so=1-64' required by exiv2
:: removing expat breaks dependency 'libexpat.so=1-64' required by fontconfig
:: removing expat breaks dependency 'expat' required by gdb
:: removing expat breaks dependency 'expat' required by git
:: removing lib32-expat breaks dependency 'lib32-expat' required by lib32-fontconfig
:: removing lib32-expat breaks dependency 'lib32-expat' required by lib32-mesa-vdpau
:: removing lib32-expat breaks dependency 'lib32-expat' required by lib32-wayland
:: removing expat breaks dependency 'expat' required by libarchive
:: removing expat breaks dependency 'expat' required by libofa
:: removing expat breaks dependency 'expat' required by libva-mesa-driver
:: removing expat breaks dependency 'libexpat.so=1-64' required by libva-mesa-driver
:: removing expat breaks dependency 'expat' required by libwmf
:: removing expat breaks dependency 'libexpat.so=1-64' required by mesa
:: removing expat breaks dependency 'expat' required by mesa-vdpau
:: removing expat breaks dependency 'libexpat.so=1-64' required by mesa-vdpau
:: removing expat breaks dependency 'expat' required by minecraft-launcher
:: removing expat breaks dependency 'expat' required by neon
:: removing expat breaks dependency 'expat' required by perl-xml-parser
:: removing expat breaks dependency 'expat' required by polkit
:: removing expat breaks dependency 'expat' required by python
:: removing expat breaks dependency 'expat' required by python2
:: removing expat breaks dependency 'expat' required by thin-provisioning-tools
:: removing expat breaks dependency 'expat' required by wayland
:: removing expat breaks dependency 'expat' required by wxgtk-common
 -> exit status 1
$ sudo pacman -S lib32-expat expat
warning: expat-2.4.2-1 is up to date -- reinstalling
resolving dependencies...
warning: cannot resolve "expat=2.4.3", a dependency of "lib32-expat"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-expat

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...

Packages (1) expat-2.4.2-1

Total Installed Size:  0.38 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 expat-2.4.2-1-x86_64 is up to date
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.manjaro.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.cc.uoc.gr : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.colocall.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.alwyzon.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.easyname.at : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.moson.eu : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.ipacct.com : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.datacenter.by : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from fastmirror.pp.ua : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.init7.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.alpix.eu : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from quantum-mirror.hu : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.osmir.ch : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.fossho.st : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.vectranet.pl : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.snt.utwente.nl : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.free.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.mirrors.uk2.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.koddos.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.futureweb.be : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.mirrors.lavatech.top : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from manjaro.kyberorg.fi : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.cyberhost.uk : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.dkm.cz : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.gwdg.de : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.yandex.ru : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.zetup.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from www.mirrorservice.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.lysator.liu.se : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.nluug.nl : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.netix.net : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from repo.skni.umcs.pl : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from repos.silknet.com : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.opensource.is : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from ftp.caliu.cat : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.bardia.tech : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.csclub.uwaterloo.ca : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from osmirror.org : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.truenetwork.ru : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from mirrors.gigenet.com : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from repo.ialab.dsu.edu : The requested URL returned error: 404
error: failed retrieving file 'expat-2.4.2-1-x86_64.pkg.tar.zst' from muug.ca : The requested URL returned error: 404
(1/1) checking keys in keyring                                                                                                  [##############################################################################] 100%
(1/1) checking package integrity                                                                                                [##############################################################################] 100%
(1/1) loading package files                                                                                                     [##############################################################################] 100%
(1/1) checking for file conflicts                                                                                               [##############################################################################] 100%
(1/1) checking available disk space                                                                                             [##############################################################################] 100%
:: Processing package changes...
(1/1) reinstalling expat                                                                                                        [##############################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.233 Switzerland    : https://mirror.init7.net/manjaro/
  0.380 Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  0.318 Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/
  0.891 Canada         : https://osmirror.org/manjaro/
  0.319 Finland        : https://manjaro.kyberorg.fi/
::INFO Writing mirror list
::Switzerland     : https://mirror.init7.net/manjaro/testing
::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/testing
::Finland         : https://manjaro.kyberorg.fi/testing
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/testing
::Canada          : https://osmirror.org/manjaro/testing
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
:: Synchronizing package databases...
 core                                                                                               166.9 KiB   716 KiB/s 00:00 [##############################################################################] 100%
 extra                                                                                             1897.4 KiB  5.72 MiB/s 00:00 [##############################################################################] 100%
 community                                                                                            6.9 MiB  13.7 MiB/s 00:01 [##############################################################################] 100%
 multilib                                                                                           174.3 KiB   745 KiB/s 00:00 [##############################################################################] 100%
:: Starting full system upgrade...
:: Replace hwids with core/hwdata? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hwids breaks dependency 'hwids' required by corectrl

I’m not sure how to resolve this situation. It seems that it can’t even replace hwids with core/hwdata.

Uninstall corectrl, update & install corectrl again.

yay -R corectrl
yay -Syu corectrl
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.