Updating problem solved but curious - archlabs-icons: conflicting files

(44/44) loading package files                                   [-----------------------------------] 100%
(44/44) checking for file conflicts                             [-----------------------------------] 100%
error: failed to commit transaction (conflicting files)
archlabs-icons: /usr/share/icons/ArchLabs-Dark/icon-theme.cache exists in filesystem
archlabs-icons: /usr/share/icons/ArchLabs-Light/icon-theme.cache exists in filesystem
archlabs-icons: /usr/share/icons/ArchLabs/icon-theme.cache exists in filesystem
Errors occurred, no packages were upgraded.

Anyone else having this problem? I went and manually deleted the icon-theme-cache files then I was able to update but I’m curious what was happening that the update wasn’t working just because of some .cache files…

Did you previously install the icons manually?

If this happens again check the ownership of the offending files, for example:

pacman -Qo /usr/share/icons/ArchLabs-Dark/icon-theme.cache

I’ve just tried re-installing the archlabs-icons package (in a VM) and I didn’t see the error.

The only change for that package was a version bump:

But perhaps I’m missing something.

I’ve only had this issue with archlabs-testing turned on. There’s some development work going on in the background.

1 Like

Can you please include what repos you are using and what version of the icons you’re using before and after the update.

For people using the stable repos there shouldn’t be any update to the icons, the last one was May 3, 2021. If you have the testing repo enabled (which you shouldn’t unless you want to have some breakages) then there’s been some updates to shrink the size of our icons and I got the package size down (100Mb → 30Mb) by replacing duplicate icons with links.

It looks like this was the thing, like @nwg I was also using the testing repo as well, I removed it and now I get this warning about the icons:

 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlabs is up to date
:: Starting full system upgrade...
warning: archlabs-icons: local (1.4-1) is newer than archlabs (1.3.1-2)
 there is nothing to do

You can either downgrade to the stable one for now or just ignore the warning, stable will catch up before the end of the holidays.

1 Like

Hi,
I confirm an error during the update, and I have not activated the test repositories.
Below the sequence of icons I needed to update.
I removed archlas-iocns and was able to update again.

io@me /run/media/io % pacman -Qo /usr/share/icons/ArchLabs-Dark/icon-theme.cache 
[sudo] password di io: 
errore: Nessun pacchetto contiene /usr/share/icons/ArchLabs-Dark/icon-theme.cache
1 io@me /run/media/io % sudo pacman -S archlabs-icons
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) archlabs-icons-1.4-1

Dimensione totale dei pacchetti da scaricare:    36,19 MiB
Dimensione totale dei pacchetti da installare:  126,18 MiB
Dimensione netta dell'aggiornamento:            -53,04 MiB

:: Vuoi procedere con l'installazione? [S/n] s
:: Download dei pacchetti in corso...
 archlabs-icons-1...    36,2 MiB  1100 KiB/s 00:34 [----------------------] 100%
(1/1) verifica delle chiavi presenti nel porta...  [----------------------] 100%
(1/1) verifica dell'integrità dei pacchetti        [----------------------] 100%
(1/1) caricamento dei file dei pacchetti           [----------------------] 100%
(1/1) controllo dei conflitti in corso             [----------------------] 100%
errore: impossibile eseguire l'operazione richiesta (file in conflitto)
archlabs-icons: /usr/share/icons/ArchLabs-Dark/icon-theme.cache è già presente nel filesystem
archlabs-icons: /usr/share/icons/ArchLabs-Light/icon-theme.cache è già presente nel filesystem
archlabs-icons: /usr/share/icons/ArchLabs/icon-theme.cache è già presente nel filesystem
Si sono verificati degli errori, nessun pacchetto è stato aggiornato.
sudo pacman -S archlabs-icons  4,52s user 2,70s system 16% cpu 42,950 total
1 io@me /run/media/io % yaourt archlabs
1 archlabs/al-bunsenlabs-themes 1.0-1 (archlabs)
    BunsenLabs themes for ArchLabs
2 archlabs/archlabs-autotiling 1.6-1
    Automatically switch the horizontal/vertical window split orientation in 
    sway and i3
3 archlabs/archlabs-azote 1.9.3-1
    Wallpaper & color manager for Sway, i3 and other WMs
4 archlabs/archlabs-baph 1.5-1
    Basic AUR Package Helper
5 archlabs/archlabs-common 1.3.7-2 (archlabs) [installed]
    Common and help files for archlabs-pipemenus
6 archlabs/archlabs-dARK 1.0-2 (archlabs)
    ArchLabs GTK, Openbox and oblogout Themes
7 archlabs/archlabs-dk 1.5-1
    A tiling window manager in the vein of dwm, bspwm, and xmonad.
8 archlabs/archlabs-fcft 2.5.1-1
    Simple library for font loading and glyph rasterization using FontConfig, 
    FreeType and pixman.
9 archlabs/archlabs-fonts 1.4.1-1 [installed]
    Icon patched fonts for ArchLabs
10 archlabs/archlabs-foot 1.10.3-1
    Wayland terminal emulator - fast, lightweight and minimalistic
11 archlabs/archlabs-foot-themes 1.10.3-1
    Color schemes for the foot terminal emulator
12 archlabs/archlabs-gopsuinfo 0.1-1
    A gopsutil-based system usage info for panels
13 archlabs/archlabs-i3lock-color 2.12-1
    An improved screenlocker based upon XCB and PAM with color configuration 
    support
14 archlabs/archlabs-i3lock-fancy 1.0-1
    A script for i3lock-color to blur background, add lock icon, and text.
15 archlabs/archlabs-icons 1.4-1 (archlabs) [installed: 1.3.1-2]
    A Combination of Paper and Papirus Icons for use in ArchLabs
16 archlabs/archlabs-installer 2.1.61-1
    CLI based installer for ArchLabs Linux
17 archlabs/archlabs-keyring 2021.07.11-1 (archlabs) [installed]
    ArchLabs keyring
18 archlabs/archlabs-kickshaw 0.7.3-1 [installed]
    A menu editor for freedesktop standard menus
19 archlabs/archlabs-ksuperkey 0.4-3 (archlabs) [installed]
    Allows you to open an application launcher using the Super key
20 archlabs/archlabs-lemonbar 1.4-1
    A lightweight xcb based bar with ported xft support.
21 archlabs/archlabs-ly 0.5.3-2
    TUI display manager
22 archlabs/archlabs-mksh 59.c-2
    MirBSD Korn Shell
23 archlabs/archlabs-networkmanager-dmenu 58.2-2 (archlabs) [installed]
    Control NetworkManager via dmenu
24 archlabs/archlabs-nwg-bar 0.0.1-1
    GTK3-based button bar for sway and other wlroots-based compositors
25 archlabs/archlabs-nwg-dock 0.2.2-1
    GTK3-based dock for sway Wayland compositor
26 archlabs/archlabs-nwg-drawer 0.2.7-1
    Application drawer for sway and other wlroots-based compositors
27 archlabs/archlabs-nwg-menu 0.1.1-1
    MenuStart for sway and other wlroots-based compositors
28 archlabs/archlabs-nwg-panel 0.5.7-1
    GTK3-based panel for sway window manager
29 archlabs/archlabs-nwg-shell-config 0.1.3-1
    GTK3-based nwg-shell configuration utility
30 archlabs/archlabs-nwg-wrapper 0.1.2-1
    Display script output or text file content on the desktop in wlroots-based 
    compositors
31 archlabs/archlabs-obkey 1.0-2 [installed]
    ArchLabs Openbox Keybind Editor
32 archlabs/archlabs-oblogout 0.2.6-2
    ArchLabs logout script for more than just openbox
33 archlabs/archlabs-paranoid 1.2-2 [installed]
    GTK+3 configuration tool for compton
34 archlabs/archlabs-pipemenus 2.6.41-1 [installed]
    Pipemenus and zenity scripts used in ArchLabs
35 archlabs/archlabs-screenlock 2.10.3-1 [installed]
    An improved screenlocker based upon XCB and PAM with color configuration 
    support
36 archlabs/archlabs-scripts 1.3.4-1 (archlabs) [installed]
    Helper scripts for use in ArchLabs
37 archlabs/archlabs-skel-awesome 1.0.3-2
    Awesome configuration files for ArchLabs
38 archlabs/archlabs-skel-base 1.2.14-1 (archlabs)
    Base user configuration files for ArchLabs
39 archlabs/archlabs-skel-bspwm 1.0.7-2
    Bspwm configuration files for ArchLabs
40 archlabs/archlabs-skel-dk 1.0.6-1
    dk configuration files for ArchLabs
41 archlabs/archlabs-skel-fluxbox 1.0.4-2
    fluxbox configuration files for ArchLabs
42 archlabs/archlabs-skel-i3-gaps 1.0.7-2
    i3 configuration files for ArchLabs
43 archlabs/archlabs-skel-openbox 1.1.5-2
    Openbox configuration files for ArchLabs
44 archlabs/archlabs-skel-sway 1.0.25-1
    Sway configuration files for ArchLabs
45 archlabs/archlabs-skel-xfce4 1.8.10-1
    Xfce4 configuration files for ArchLabs
46 archlabs/archlabs-skippy-xd 1.0-2 [installed]
    A full-screen task-switcher for X11, similar to Apple's Expose.
47 archlabs/archlabs-sway-save-outputs 0.1-1
    Save current sway outputs configuration to a text file
48 archlabs/archlabs-themes 1.5.9-1 (archlabs) [installed]
    Custom themes for use in ArchLabs
49 archlabs/archlabs-tllist 1.0.5-1
    A typed linked list C header file only library
50 archlabs/archlabs-wallpapers 1.5.4-1 (archlabs) [installed: 1.5.3-1]
    ArchLabs wallpapers
51 archlabs/archlabs-wdisplays 1.1-1
    GUI display configurator for wlroots compositors
52 archlabs/archlabs-wlsunset 0.2.0-1
    Day/night gamma adjustments for Wayland compositors
==> Inserisci il numero dei pacchetti da installare (ex: 1 2 3 o 1-3)
==> -----------------------------------------------------------------
==> ^C
130 io@me /run/media/io % sudo pacman -Rsn archlabs-icons
controllo delle dipendenze in corso...

Pacchetti (1) archlabs-icons-1.3.1-2

Dimensione totale dei pacchetti rimossi:  179,22 MiB

:: Vuoi rimuovere questi pacchetti? [S/n] s
:: Elaborazione delle modifiche al pacchetto...
(1/1) rimozione in corso di archlabs-icons         [----------------------] 100%
:: Esecuzione degli hook di post-transazione...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating icon theme caches...
sudo pacman -Rsn archlabs-icons  5,27s user 6,82s system 82% cpu 14,695 total
io@me /run/media/io % sudo pacman -S archlabs-icons 
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) archlabs-icons-1.4-1

Dimensione totale dei pacchetti da installare:  126,18 MiB

:: Vuoi procedere con l'installazione? [S/n] s
(1/1) verifica delle chiavi presenti nel porta...  [----------------------] 100%
(1/1) verifica dell'integrità dei pacchetti        [----------------------] 100%
(1/1) caricamento dei file dei pacchetti           [----------------------] 100%
(1/1) controllo dei conflitti in corso             [----------------------] 100%
(1/1) controllo dello spazio disponibile sul d...  [----------------------] 100%
:: Elaborazione delle modifiche al pacchetto...
(1/1) installazione in corso di archlabs-icons     [----------------------] 100%
:: Esecuzione degli hook di post-transazione...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating icon theme caches...
sudo pacman -S archlabs-icons  22,04s user 30,39s system 30% cpu 2:51,95 total
io@me /run/media/io % 

1 Like

Welcome back!!!

1 Like