# Update problem

**URL:** <https://forum.endeavouros.com/t/update-problem/22589>\
**Category:** Pacman & AUR helpers\
**Created:** [January 13, 2022, 7:14am UTC](https://forum.endeavouros.com/t/update-problem/22589 "2022-01-13T07:14:06Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![CAVIEZEL](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/caviezel/32/43603_2.png) [@CAVIEZEL](https://forum.endeavouros.com/u/CAVIEZEL)\
**Post date:** [January 13, 2022, 7:14am UTC](https://forum.endeavouros.com/t/update-problem/22589/1 "2022-01-13T07:14:06Z")

</div>

hi, i’ve been using EOS for the last 4 months and never had a problem, now i can’t update because of hwids.

![image](https://forum.endeavouros.com/uploads/default/original/3X/d/5/d5d9149f29316b9794bd17522e6cd9a695b5f6cb.png)  
as you can see, i can’t do the default answer.

so, i tried to not replace it, however  
 ![image](https://forum.endeavouros.com/uploads/default/original/3X/3/e/3efe57659f3d9fc62b5af3ed7b9e35af64fb842f.jpeg)  
this happened, how do i update my system? help please

---

<div class="post-metadata">

**Author:** ![Stagger\_Lee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stagger_lee/32/93385_2.png) [@Stagger\_Lee](https://forum.endeavouros.com/u/Stagger_Lee)\
**Post date:** [January 13, 2022, 7:31am UTC](https://forum.endeavouros.com/t/update-problem/22589/2 "2022-01-13T07:31:32Z")

</div>

`lact-git` now has hwdata listed as a dependency instead of `hwids`, so try updating `lact-git` first:

`yay -S lact-git`

---

<div class="post-metadata">

**Author:** ![CAVIEZEL](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/caviezel/32/43603_2.png) [@CAVIEZEL](https://forum.endeavouros.com/u/CAVIEZEL)\
**Post date:** [January 13, 2022, 12:02pm UTC](https://forum.endeavouros.com/t/update-problem/22589/3 "2022-01-13T12:02:35Z")

</div>

this happen  
 ![image](https://forum.endeavouros.com/uploads/default/original/3X/2/7/275f4a439f238952bb5f49ee3c4df059c6f3bfcc.png)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 13, 2022, 12:08pm UTC](https://forum.endeavouros.com/t/update-problem/22589/4 "2022-01-13T12:08:49Z")

</div>

Please follow the instructions in the forum post below:

> [@\[FAQ\] Package installation says FILENAME exists in filesystem; “Failed to commit transaction (conflicting files)”](https://forum.endeavouros.com/t/faq-package-installation-says-filename-exists-in-filesystem-failed-to-commit-transaction-conflicting-files/6753):
>
> I can’t install or update a package because I get (something like) this: error: could not prepare transaction error: failed to commit transaction (conflicting files) libname: /insert/file/name/here exists in filesystem Errors occurred, no packages were upgraded. Why is this happening? The package manager, pacman , has detected an unexpected file already exists on disk. By design it will not overwrite files that already exist. This is a design feature, not a flaw - package managers are desi…

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [January 13, 2022, 12:15pm UTC](https://forum.endeavouros.com/t/update-problem/22589/5 "2022-01-13T12:15:33Z")

</div>

Please use the \</\> option when posting. It’s really hard to read a screen shot and it’s even tougher for someone to help you or for someone else who may have the same use to search for it once this is answered.

It’s owned by hwids. . . I just looked at both repos and aur and I don’t see that package at either location. …

Can you provide `pacman -Qi hwids`

---

<div class="post-metadata">

**Author:** ![kjw](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kjw/32/9327_2.png) [@kjw](https://forum.endeavouros.com/u/kjw)\
**Post date:** [January 13, 2022, 12:47pm UTC](https://forum.endeavouros.com/t/update-problem/22589/6 "2022-01-13T12:47:31Z")

</div>

Welcome to the forum @CAVIEZEL 🥳 🎉 🎈 :enos_flag:

Since `lact-git` is in the aur, I would uninstal `lact-git` do the update then reinstall `lact-git`.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 13, 2022, 12:49pm UTC](https://forum.endeavouros.com/t/update-problem/22589/7 "2022-01-13T12:49:56Z")

</div>

> [@kjw](#):
>
> Since `lact-git` is in the aur, I would uninstal `lact-git` do the update then reinstall `lact-git`.

☝

This is probably what you need to do. Your AUR package is built against the old package.

> [@anon63071375](#):
>
> It’s owned by hwids. . . I just looked at both repos and aur and I don’t see that package at either location. …

That is because it was replaced by `hwdata`, it no longer exists.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [January 13, 2022, 1:10pm UTC](https://forum.endeavouros.com/t/update-problem/22589/8 "2022-01-13T13:10:05Z")

</div>

@Stagger_Lee mentioned that a few posts ago already. I don’t know if it was replaced and removed, or just replaced in whatever package it was a dependency in. I just wanted to make sure removing it wouldn’t break some other random thing they installed along the way also.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 13, 2022, 1:17pm UTC](https://forum.endeavouros.com/t/update-problem/22589/9 "2022-01-13T13:17:50Z")

</div>

> [@anon63071375](#):
>
> I don’t know if it was replaced and removed, or just replaced in whatever package it was a dependency in.

Replacing a dependency won’t cause that message. That only happens when package A is a replacement for package B.

When that happens, repo packages will get their dependencies changed at the same time and get rebuilt if needed. AUR packages end up in catch-22 though. You can’t update them because you don’t yet have the new package. You can’t switch to the new package because the dependency from the AUR package stops you.

The only ways I know of to fix that problem are to temporarily remove the AUR package or tell pacman to ignore the dependencies.

If you look at `pacman -Qi` in this situation you need to do so with the knowledge that you are looking at the old dependencies, not the new ones. In other words, even if there was 1,000 dependencies on `hwids`, it isn’t definitely a problem because you are looking at the state of the packages on your system, not in the repos.

---

<div class="post-metadata">

**Author:** ![anon63071375](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f0a364/32.png) [@anon63071375](https://forum.endeavouros.com/u/anon63071375)\
**Post date:** [January 13, 2022, 3:19pm UTC](https://forum.endeavouros.com/t/update-problem/22589/10 "2022-01-13T15:19:59Z")

</div>

While I don’t disagree with anything you said, I didn’t want to advise them to remove the package to install the next to find out some obscure AUR package they do need requires it and hasn’t updated their dependencies. . . That’s all.

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [January 14, 2022, 1:03am UTC](https://forum.endeavouros.com/t/update-problem/22589/11 "2022-01-14T01:03:41Z")

</div>

> [@dalto](#):
>
> The only ways I know of to fix that problem are to temporarily remove the AUR package or tell pacman to ignore the dependencies.

I think there still is the _default_ way:

> When yay/paru/trizen asks if you want to edit PKGBUILD, answer yes and edit it to change the dependency package name.

🤣

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 14, 2022, 1:11am UTC](https://forum.endeavouros.com/t/update-problem/22589/12 "2022-01-14T01:11:14Z")

</div>

> [@petsam](#):
>
> I think there still is the _default_ way:

I wouldn’t recommend that method for a few reasons

- It won’t work in yay because yay evaluates dependencies before the phase where you edit the PKGBUILD
- You can’t do it as part of an update because the repo packages are updated first.
- That means you need to do that first and it will try to pull in the new package as a dependency. However, if the old package has any repo packages dependent on it, it will still fail.

---

<div class="post-metadata">

**Author:** ![petsam](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/petsam/32/41308_2.png) [@petsam](https://forum.endeavouros.com/u/petsam)\
**Post date:** [January 14, 2022, 1:35am UTC](https://forum.endeavouros.com/t/update-problem/22589/13 "2022-01-14T01:35:07Z")

</div>

> [@dalto](#):
>
> you need to do that first and it will try to pull in the new package as a dependency. However, if the old package has any repo packages dependent on it, it will still fail.

I suppose it’s a try and see situation.  
Or just uninstall… 🤷‍♂️

Edit: I think it’s fixed in AUR already…

---

<div class="post-metadata">

**Author:** ![CAVIEZEL](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/caviezel/32/43603_2.png) [@CAVIEZEL](https://forum.endeavouros.com/u/CAVIEZEL)\
**Post date:** [January 14, 2022, 9:54am UTC](https://forum.endeavouros.com/t/update-problem/22589/14 "2022-01-14T09:54:56Z")

</div>

did uninstall `lact-git` \> update \> install `lact-git`  
i can did the update but, i don’t know if it’s a permanent fix, but for now case solved

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 14, 2022, 12:45pm UTC](https://forum.endeavouros.com/t/update-problem/22589/15 "2022-01-14T12:45:06Z")

</div>

> [@CAVIEZEL](#):
>
> i don’t know if it’s a permanent fix

The issue was caused by a one-time package replacement so it should be a permanent fix.

That being said, this will happen from time to time, especially if you use a lot AUR packages.
