Skip to content

34 comments

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?

23 points

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.

6 points

I had this too:

$ 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.

6 points

Yep, I did same thing, it just reinstalled it (which I expected), so I just did -Sy --force instead, then -Syu directly after that.

1 points

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.

6 points

Yeah, so my guess is they expect you to -Syu first, which will sync the mirrors, so that the -S --force can install the updated package.

1 points

Should be absolutely fine so long as you do the update right afterwards.

4 points

Its very risky, especially if you have things from AUR as all updates will be forced, even if there are wrong requirement

-7 points

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.

6 points

Just sayin', but this is probably a good reminder to subscribe to arch-announce!

9 points

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)...

1 points

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 :)

6 points

You should check if the files belong to another package before removing them

pacman -Qo /path/to/conflicting/file

Then, you can safely decide to just remove the files or uninstall the conflicting package.

19 points

I just did the same thing. Good to know about this operation in the future!

1 points

Noticed several thing. Just deleted the duplicative files, and update went through. Mildly irritating.

3 points

I just uninstalled and reinstalled ttf-dejavu (not knowing this was an alternative). Worked for me. Good to know the simpler solution.

3 points

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.

2 points

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

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.