Does the news article page expect that you ran -Syu before? I just ran pacman -Sy --force ttf-dejavu then after that a regular system update, I guess I could have done it the other way around though.
I don't actually know which was the duplicate files. Doing what I did above, does that leave garbage files anywhere?
Yeah, I'm guessing it does expect that. I followed the instructions as written and it re-installed version 2.35. I had to do a full update, then force install ttf-dejavu again afterwards.
$ sudo pacman -S --force ttf-dejavu
warning: ttf-dejavu-2.35-1 is up to date -- reinstalling
resolving dependencies...
I answered no to reinstalling, and I ran sudo pacman -Syu --ignore ttf-dejavu. After this, running sudo pacman -S --force ttf-dejavu gives the desired result.
Unless your pacman config is completely bonkers, -Syu will do nothing once it detects files conflict. It just checks such stuff before any package is installed. You will still need to -Syu once file conflicts are resolved.
I don't mean -Syu --force, I mean just run a system update, get errors, force install ttf-dejavu. The difference is that I did -Sy --force ttf-dejavu, then I ran system update without force.
Upvoted. Another option is to scrape the Arch news feed and have an update script compare new and old- if different, display latest newsfeed on CLI. Just an idea (I do this and it works for me)...
Yeah, just experience that problem... Didn't know that "--force" would handle this though. I just deleted the files from the error code and updated again, is fine now though. Thanks for the information :)
Where was this 9 hours ago...just kidding, I ran into this earlier, a quick google and I found the force option and away I went. Always good to know these things.
I just had this issue. I was unsure what to do, I tried a force update and my whole system froze. I force rebooted and it is fine now, but that was weird. I'm running gnome 3.22.
34 comments
Does the news article page expect that you ran
-Syubefore? I just ranpacman -Sy --force ttf-dejavuthen after that a regular system update, I guess I could have done it the other way around though.I don't actually know which was the duplicate files. Doing what I did above, does that leave garbage files anywhere?
Yeah, I'm guessing it does expect that. I followed the instructions as written and it re-installed version 2.35. I had to do a full update, then force install ttf-dejavu again afterwards.
I had this too:
I answered no to reinstalling, and I ran
sudo pacman -Syu --ignore ttf-dejavu. After this, runningsudo pacman -S --force ttf-dejavugives the desired result.Yep, I did same thing, it just reinstalled it (which I expected), so I just did
-Sy --forceinstead, then-Syudirectly after that.Unless your pacman config is completely bonkers, -Syu will do nothing once it detects files conflict. It just checks such stuff before any package is installed. You will still need to -Syu once file conflicts are resolved.
Yeah, so my guess is they expect you to
-Syufirst, which will sync the mirrors, so that the-S --forcecan install the updated package.Should be absolutely fine so long as you do the update right afterwards.
Its very risky, especially if you have things from AUR as all updates will be forced, even if there are wrong requirement
I don't mean
-Syu --force, I mean just run a system update, get errors, force installttf-dejavu. The difference is that I did-Sy --force ttf-dejavu, then I ran system update without force.Does this apply to the infinality package as well?
Deleted before we saved it.
Does this mean that we should switch to something else? Or no big deal?
What about the bundle?
Just sayin', but this is probably a good reminder to subscribe to arch-announce!
Upvoted. Another option is to scrape the Arch news feed and have an update script compare new and old- if different, display latest newsfeed on CLI. Just an idea (I do this and it works for me)...
Yeah, just experience that problem... Didn't know that "--force" would handle this though. I just deleted the files from the error code and updated again, is fine now though. Thanks for the information :)
You should check if the files belong to another package before removing them
Then, you can safely decide to just remove the files or uninstall the conflicting package.
I just did the same thing. Good to know about this operation in the future!
Noticed several thing. Just deleted the duplicative files, and update went through. Mildly irritating.
I just uninstalled and reinstalled ttf-dejavu (not knowing this was an alternative). Worked for me. Good to know the simpler solution.
Where was this 9 hours ago...just kidding, I ran into this earlier, a quick google and I found the force option and away I went. Always good to know these things.
Thanks.
What i did was: pacman -Rdd and then pacman -S
Is this wrong?
Thanks for the heads-up.
good to hear. i had this issue yesterday while doing a -Syyu. i ended up just deleting the five ttf-files that proved a conflict and redid the upgrade
I just had this issue. I was unsure what to do, I tried a force update and my whole system froze. I force rebooted and it is fine now, but that was weird. I'm running gnome 3.22.
just uninstall it and instal it again and you'll get it work :p