Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Error while updating: removing hwids breaks dependency 'hwids' required by eudev (Read 1439 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Error while updating: removing hwids breaks dependency 'hwids' required by eudev

I've found only one related topic and it seems to be dependent on a situation and yet unanswered. The problem is:

1. After trying to update packages with sudo pacman -Syu, pacman asks to replace:
Code: [Select]
:: Replace hwids with system/hwdata? [Y/n]
:: Replace qemu with world/qemu-desktop? [Y/n]
:: Replace quazip with extra/quazip-qt5? [Y/n]
That's ok, and I agree.

2. But soon the update aborts and says:
Code: [Select]
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hwids breaks dependency 'hwids' required by eudev

Logs:

Spoiler (click to show/hide)

/etc/pacman.conf file:

Spoiler (click to show/hide)

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #1
You should be using "udev" not "eudev".

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #2
You should be using "udev" not "eudev".

I wasn't choosing, that's what Artix has been always providing.
So I don't fully understand what to do.

upd.: By the way, I'm using runit, maybe that matters.

 

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #3
Code: [Select]
pacman -Su udev
and answer yes when it asks to remove eudev.

This means you last updated a long long time ago, when eudev was still used?

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #4

This means you last updated a long long time ago, when eudev was still used?

Exactly. Approximately one year ago. And now while updating udev I get the following problems at the end of the installation:

Code: [Select]
error: girara: signature from "Johannes Löthberg <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/girara-0.3.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: vim-airline-themes: signature from "Levente Polyak (anthraxx) <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/vim-airline-themes-r1435.97cf3e6-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: zathura: signature from "Johannes Löthberg <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/zathura-0.4.9-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #5
Those are packages from Arch repos, so you probably need to first update just archlinux-keyring with
Code: [Select]
pacman -S archlinux-keyring
Then try the full update again. Things can get messy with infrequent updates.

I wonder if pacman could be made to update keyring packages first, before checking the other packages.

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #6
Did you refuse to upgrade for a year or install with an old image?  In either case this is what happens on rolling release.  You have to update the keys.  Not tragic.  Plenty of threads avaliable and the wiki too on how to update keys.  No one's fault but your own neglect.  You would have the same issues  if you tried to use an old iso on Debian or Ubuntu if you tried to update that after a year... though on them you could update in stages, 6 months at a time.   Stop neglecting your system administrator duties on your own pc!
Cat Herders of Linux

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #7
I wonder if pacman could be made to update keyring packages first, before checking the other packages.

Looks like not. When updating archlinux-keyring, it goes back to zero, i.e. the problem from the first post.

Did you refuse to upgrade for a year or install with an old image?

Just used another OS for other purposes, and left Artix waiting. Ok, I'll seek for ways to update keys, and report back later.

Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #8
pacman-key --init

What follows next according to the wiki?

pacman-key --recv-keys (keynumber)

pacman-key --lsign (keynumber)


Anything lookung familiar?

pacman-key --regresh-keys artix archlinux

Working yet?

Cat Herders of Linux


Re: Error while updating: removing hwids breaks dependency 'hwids' required by eudev

Reply #10

It is, but it was necessary to update archlinux-keyring first with sudo pacman -S archlinux-keyring. This is what I've found myself already but thanks anyways.
The problem is solved.