You are not logged in.
In arch-announce I saw that there is a change to some symlinks in the package ttf-dejavu which needs a manual --force when updating that package for ttf-dejavu 2.35-1 -> 2.37-1. i.e. at https://www.archlinux.org/news/ttf-deja … d-upgrade/
However when I tried that I get the following:
# checkupdates
dbus-glib 0.106-1 -> 0.108-1
libproxy 0.4.12-2 -> 0.4.13-1
libthai 0.1.24-1 -> 0.1.25-1
ttf-dejavu 2.35-1 -> 2.37-1
# pacman -S --force ttf-dejavu
warning: ttf-dejavu-2.35-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) ttf-dejavu-2.35-1
Total Installed Size: 9.18 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
So I am perplexed - the check on updates says that ttf-dejavu should be updated to version 2.37-1 and yet trying to run the update as suggested says that it is already up to date and doesn't seem to see the new version.
Does anyone know a way around this to get ttf-dejavu to update correctly as suggested in arch-announce?
Edit: It turns out that doing:
# pacman -Syu --ignore ttf-dejavu
First and then once that is done then force updating ttf-dejavu solved the problem I posted above.
Last edited by mcloaked (2016-10-31 13:16:52)
Mike C
Offline
Remember that checkupdates uses it's own package databases, so you will need to update your ~real~ package databases before you will be able to install the update. You can either:
1)
# pacman -Syu --ignore ttf-dejavu
# pacman -S --force ttf-dejavu
or 2)
# pacman -Syy
# pacman -S --force ttf-dejavu
# pacman -Su
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I have backuped and deleted the conflicting files. I don't know if this is a safer way of doing it. I have done this with other updates lately too.
Is this not necessary, or should I have this as a good practice if I get this error in the future with other files?
Offline
As the files are provided and reinstalled by another package, deleting them prior to installing/upgrading is just fine from my point of view. Works for me at least.
Offline
backing up then deleting conflicting files is a good practice.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
As the files are provided and reinstalled by another package
Could you elaborate on this? Which other package provides these files?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I have done this with other updates lately too.
What other updates? This should not normally happen. The ttf-dejavu package was in the front page news because this was an atypical situation. If you are getting conflicting files for other packages, something is wrong and you should figure out what it is.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
thanks !! you saved my life
Offline
Smoerrebroed wrote:As the files are provided and reinstalled by another package
Could you elaborate on this? Which other package provides these files?
The files in question are located in /etc/fonts/conf.d:
: find /etc/fonts/conf.d -type l -name \*dejavu\* -exec pacman -Qo '{}' \;
error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
error: No package owns /etc/fonts/conf.d/57-dejavu-sans-mono.conf
error: No package owns /etc/fonts/conf.d/57-dejavu-sans.conf
error: No package owns /etc/fonts/conf.d/57-dejavu-serif.conf
They were created by an install script in v2.35, but are owned by v2.37, hence the conflict. The safest approach, imho, is to just remove those. So, I don't understand why force upgrade is required.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
WorMzy wrote:Smoerrebroed wrote:As the files are provided and reinstalled by another package
Could you elaborate on this? Which other package provides these files?
The files in question are located in /etc/fonts/conf.d:
: find /etc/fonts/conf.d -type l -name \*dejavu\* -exec pacman -Qo '{}' \; error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf error: No package owns /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf error: No package owns /etc/fonts/conf.d/57-dejavu-sans-mono.conf error: No package owns /etc/fonts/conf.d/57-dejavu-sans.conf error: No package owns /etc/fonts/conf.d/57-dejavu-serif.conf
They were created by an install script in v2.35, but are owned by v2.37, hence the conflict. The safest approach, imho, is to just remove those. So, I don't understand why force upgrade is required.
I used the method with --force recommended in the announce article and my output for that command is:
$ find /etc/fonts/conf.d -type l -name \*dejavu\* -exec pacman -Qo '{}' \;
/etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf is owned by ttf-dejavu 2.37-1
/etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf is owned by ttf-dejavu 2.37-1
/etc/fonts/conf.d/57-dejavu-sans-mono.conf is owned by ttf-dejavu 2.37-1
/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf is owned by ttf-dejavu 2.37-1
/etc/fonts/conf.d/57-dejavu-sans.conf is owned by ttf-dejavu 2.37-1
/etc/fonts/conf.d/57-dejavu-serif.conf is owned by ttf-dejavu 2.37-1
So it looks like the announced recommendation did indeed give a good outcome/
Mike C
Offline