Eos-update-notifier update requires manual intervention

Continuing the discussion from Eos-update-notifier not working:

upadting to latest welcome app will bring in endeavouros-theming package and will fail on some installations caused by some files already existing in filesystem.

simple remove this files… we have them before copied to system, no we ship them inside a package:

 sudo rm /usr/share/endeavouros/EndeavourOS-icon.png
 sudo rm /usr/share/endeavouros/EndeavourOS-logo.png
 sudo rm /usr/share/endeavouros/splash.png

then do updating will work.

11 Likes

I had this exact issue and i left message to @manuel that i had to do exactly this for a user over the phone to get updating to work and update to the new welcome 2.0-1

1 Like

May we can add this fix to welcome?..
Needs to check if the files are owned by endeavouros-theming package already…

1 Like

Also i want to add that it shows me that there is the /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png allready exist. I deleted with the above command and all is fine

1 Like

That’s the reason why we create a package for them now… So we can update them without issues in the future, and user can remove them if it is wanted…

3 Likes

Maybe a pacman hook could automate this…

1 Like

indeed, pacman hooks are a great help. I just fixed os-release using one, it’s worth the shot.

If the problem is to use --overwrite option with pacman you can also try adding a function to PKGBUILD like here https://www.archlinux.org/pacman/PKGBUILD.5.html#_install_upgrade_remove_scripting

1 Like

Oh yes, PKGBUILD functions are a great way to do this, pacman hooks are a bit overkill. I’ll check this.

Just need to list all the required files to be removed before upgrading/installing.

1 Like

Published new version 3-2 of endeavouros-theming.
It should now automatically delete those problematic files before upgrading or installing this package.

Old files to be deleted:

       /usr/share/endeavouros/EndeavourOS-icon.png
       /usr/share/endeavouros/EndeavourOS-logo.png
       /usr/share/endeavouros/splash.png
       /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png
5 Likes

Hello all,
I got the same error when updating too…
I just did a RM on all 3 files and tried the update again… Everything worked fine… The update finished this time… :slight_smile:

this file —> /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png
can be also here :wink: in some cases: /usr/share/endeavouros/endeavouros-wallpaper.png

@joekamprad
So that file should be removed as well before upgrading?

It is not needed anymore we do use this path for the first time now the file is under backgrounds.
But it will not interfere with the theming package

2 Likes

Thanks. But I already published endeavouros-theming 3-3 and it deletes that and some other unneeded pictures from /usr/share/endeavouros.

This means those pictures will be deleted even if in future we should have the same names re-used… so the theming package needs to be checked if creating new pictures there. Especially file endeavouros-theming.install (under PKGBUILDS/endeavouros-theming).

I ran into this when updating with pacman. I just removed the files and then pacman ran without any issues.

This error had to do with the transition we were making towards the net-installer, unfortunately we had to postpone it due to an upcoming Arch update.