Cannot update system (that I have updated before) dependency/hosts errors

Searched for an hour, found three threads that sort of address my issue/s but did not find a solution, or a solution I felt could be transposed to my issue:

On a system I have updated previously, several times, I am now getting dependency errors and resolving hosts issues using the update buttons in the Welcome app - and in terminal.

Dependency issues: Update System (eos-update --aur) button -
States that (endeavouros, core, extra, multilib are all up to date) followed, by a random mirror timeout - then:
:: Starting full system upgrade…
:: Replace endeavouros-theming with endeavouros/endeavouros-branding? [Y/n] n
:: Replace p7zip with extra/7zip? [Y/n]
:: Replace sdl2 with extra/sdl2-compat? [Y/n]
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing dart (3.7.0-1) breaks dependency ‘dart<3.6.0’ required by flutter-engine-common-google-bin

Press ENTER to close this window:

Which is apparently fatal because it does not even update the two packages I said to update/replace…
I read in a post, to address the dart package I should remove the offending package (flutter-engine-common-google-bin) but attempting to remove that just shows more and more dependencies. My query here is if I were to go down the rabbit hole of removing everythings depencies, then none of those packages are going to be updated (reinstalled) because they no longer exist - right? Wouldn’t I then have to go one by one and install them manually..?

Second issue:
Choosing the Update System (yay) button shows a massive update of files, basically everything on the drive including the DE. However those error messages deal mostly with unresolved host problems.
When I attempt to go to the url/s in question they all return 404 - but provide a link for a (aur.archlinux.org/packages/xxxxxxx or aur.archlinux.org/pkgbuild/xxxxxxxx)
For example:
error fetching libpamac-aur: fatal: unable to access ‘https://aur.archlinux.org/libpamac-aur.git/’: Could not resolve host: aur.archlinux.org

If I go to the aur using that url it returns 404 - if I search the aur for the specific package it can be found under packages (~/packages/libpamac-aur).
Though I can clone the package from the (aur.archlinux.org/libpamac-aur.git) directly.
Shouldn’t yay or pacman be able to resolve getting the package from the aur… and if not, wtf am I supposed to do? Because those errors fatally break out of updating my system completely…

Sorry for the long post, just very frustrated. Thanks in advance for any assistance.

Remove flutter-engine-common-google-bin, update and then reinstall it.

It looks like an AUR package has a dependency on a specific version of a library.

This is a DNS resolution issue. A network issue.

Welcome to the community @SiliconVoid :hugs: :enos_flag:

It looks like there are a few things going on here. Firstly, perhaps we’ll look at the DNS issue because while that’s there, it’s going to be difficult to fix the other issues.

Can I get you to try these three things please:

ping -c 4 aur.archlinux.org
ping -c 4 95.216.144.15
nslookup aur.archlinux.org

(share the output)

Removing flutter-engine-common-google-bin errors stating four flutter dependencies..
I have a grasp of the removal.. my question is if I remove everything necessary, then all those packages are gone and update is not going to see them at all - requiring me to install each one - right??

..and I can get to the aur in a browser, ping, lookup, etc.. there is no issue reaching those url/hosts.. Its ‘update’ that has the issue getting to them. How would I address that?

You will have to reinstall them, yes.

yay isn’t doing anything special as it relates to DNS. Perhaps it is just intermittent?

As mentioned, I can reach everything in a browser and terminal..

$ ping aur.archlinux.org
PING aur.archlinux.org (95.216.144.15) 56(84) bytes of data.
64 bytes from aur.archlinux.org (95.216.144.15): icmp_seq=1 ttl=49 time=151 ms

$ ping 95.216.144.15
PING 95.216.144.15 (95.216.144.15) 56(84) bytes of data.
64 bytes from 95.216.144.15: icmp_seq=1 ttl=49 time=152 ms

I do not have ‘nslookup’ installed, but as seen, do not have any issues reaching the domains or resolving the host.

Possibly.. but its been like a week now.. That is why I came here.. As I can reach the hosts/domains in every other way I figured it might have been something on the aur side..

Seems like a waste of a button if I have to go to the terminal and manually update piece by piece - not to mention annoying.
Thanks though.

You might update your Arch mirrors, either using the buttons Welcome app, or running either:

reflector
reflector-simple

You could also clean up orphan packages, which may be contributing to your dependency issue, by running:

yay -Yc

That is what it says on the button (would just be great to utilize the included gui tools) but I do that each time before updating. The first mirrors button says (Update Mirros (Arch, reflector -simple)) but I will try through the terminal and check orphaned packages..

I think some of the dependency issues may be from not booting into Endeavour for like six months.. some of the packages may be too far a jump for everything to be in range of the updated package/s..

Yes I suspect as much too. These aren’t typical issues for a system that is updated at least every fortnight or so. It’s the nature of a rolling release distribution. On it goes, updating and changing continuously.

If you run this command, it will list what you’ve explicitly installed from the AUR:

yay -Qm

You can save that list to a text file for reference if you like. You are then free to remove / update / re-install those as necessary, to hopefully address the dependency issues.

When removing packages, you can optionally remove all dependencies with them too. Just be careful, some packages are highly integrated and you might end up removing half the system. The ffmpeg packages are one such example.

yay -Rcns somepackage

R remove
c cascade : remove packages and all packages that depend on them
n remove configuration files
s remove unnecessary dependencies

OK.. Well strangly I got the system to update!
…and I’m thinking because I removed the packages through pacman (as opposed to yay directly) there were enough traces of what I removed (5 flutter packages and the one dart package) that got tagged at the end of the update process to be installed!!
So I do not even have to go back and install anything. All show up (whereis/yay -Qi) installed and at the current versions. Not sure what dart had to do with the host resolve issues but once that was removed, last of the removed packages, I did not get any resolve errors either.
Rebooted and DE is up to the latest version and associated tools.
Looks good so far except for one minor thing which at the initial boot screen both my ‘current’ and ‘fallback’ boot options say the exact same thing instead of two different options. Maybe they are different, but the text is the same.

Thanks for all the assistance guys/gals! (..and I didn’t even have to manual much :smiling_face_with_sunglasses:)

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