Cannot update using ' sudo pacman -Syyu '

This might work

pamac update --aur --force-refresh

install syncthing from the official repo (in needed);

sudo pacman -S syncthing

and then build syncthingtray;

pamac build syncthingtray

Regards.

1 Like

Could not build, out put:

    ~  pamac build syncthingtray                                                               ✔  8s  
Preparing...
Checking syncthingtray dependencies...
cp: cannot access '/var/lib/pacman/sync/download-vackQq': Permission denied
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  syncthingtray  1.7.3-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

Cloning syncthingtray build files...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Generating syncthingtray information...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: JKL (jkl-pc)
Password: 
==== AUTHENTICATION COMPLETE ====
cp: cannot access '/var/lib/pacman/sync/download-vackQq': Permission denied

Building syncthingtray...
==> Making package: syncthingtray 1.7.3-1 (Fri 14 Mar 2025 07:58:02 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading syncthingtray-1.7.3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2112k    0 2112k    0     0  2539k      0 --:--:-- --:--:-- --:--:-- 2539k
==> Validating source files with sha256sums...
    syncthingtray-1.7.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting syncthingtray-1.7.3.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using system qtforkawesome
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- systemd support enabled
-- Configuring project syncthingconnector
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  syncthingconnector/CMakeLists.txt:150 (include)


-- Project has D-Bus interface declarations which will be processed.
-- Linking syncthingconnector against Qt module Qt5::Network.
-- Linking syncthingconnector against Qt module Qt5::Core.
-- Linking syncthingconnector against Qt module Qt5::DBus.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Project has translations which will be released.
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for global.h.in from CPP_UTILITIES installation.
-- Using template for version.h.in from CPP_UTILITIES installation.
-- Using template for Config.cmake.in from CPP_UTILITIES installation.
-- Using template for template.pc.in from CPP_UTILITIES installation.
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
-- Checking for one of the modules 'cppunit>=1.13.0'
-- Linking test target against syncthingconnector
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingconnector with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
-- Configuring project syncthingtesthelper
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  testhelper/CMakeLists.txt:45 (include)


-- Linking syncthingtesthelper against Qt module Qt5::Network.
-- Linking syncthingtesthelper against Qt module Qt5::Core.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for global.h.in from CPP_UTILITIES installation.
-- Using template for version.h.in from CPP_UTILITIES installation.
-- Using template for Config.cmake.in from CPP_UTILITIES installation.
-- Using template for template.pc.in from CPP_UTILITIES installation.
-- Linking test target against syncthingtesthelper
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingtesthelper with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
-- Performing Test STD_FILESYSTEM_TEST_0
-- Performing Test STD_FILESYSTEM_TEST_0 - Success
-- Linking syncthingctl against special library for std::filesystem support is not required.
-- Configuring project syncthingctl
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  cli/CMakeLists.txt:38 (include)


-- Using Qt QML as JavaScript provider.
-- Using template for jsdefs.h.in from QT_UTILITIES installation.
-- Using template for jsincludes.h.in from QT_UTILITIES installation.
-- Linking syncthingctl against Qt module Qt5::Qml.
-- Linking syncthingctl against Qt module Qt5::Core.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for desktop.in from CPP_UTILITIES installation.
-- Using template for appdata.xml.in from CPP_UTILITIES installation.
-- Using template for bash-completion.sh.in from CPP_UTILITIES installation.
-- Generating files for bash completion.
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingctl with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
CMake Error at syncthingmodel/CMakeLists.txt:61 (find_package):
  Could not find a configuration file for package "qtforkawesome" that is
  compatible with requested version "0.3.0".

  The following configuration files were considered but not accepted:

    /usr/share/qtforkawesome/cmake/qtforkawesomeConfig.cmake, version: 0.1.0



-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
    ~ 

The issue must be something to do with your system, as it builds fine on my mini-PC:

-- Installing: /var/tmp/pamac-build-scotty/syncthingtray/pkg/syncthingtray/usr/share/icons/hicolor/scalable/apps/syncthingtray.svg
-- Up-to-date: /var/tmp/pamac-build-scotty/syncthingtray/pkg/syncthingtray/usr/share/bash-completion/completions
-- Installing: /var/tmp/pamac-build-scotty/syncthingtray/pkg/syncthingtray/usr/share/bash-completion/completions/syncthingtray
-- Installing: /var/tmp/pamac-build-scotty/syncthingtray/pkg/syncthingtray/usr/share/applications/syncthingtray.desktop
-- Installing: /var/tmp/pamac-build-scotty/syncthingtray/pkg/syncthingtray/usr/share/metainfo/io.github.martchus.syncthingtray.metainfo.xml
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "syncthingtray"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: syncthingtray 1.7.3-1 (Sat 15 Mar 2025 11:37:50)
==> Cleaning up...

Checking keyring...                                                                                                              [1/1]
Checking integrity...                                                                                                            [1/1]
Loading packages files...                                                                                                        [1/1]
Checking file conflicts...                                                                                                       [1/1]
Checking available disk space...                                                                                                 [1/1]
Installing syncthingtray (1.7.3-1)...                                                                                            [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                   [1/3]
Updating icon theme caches...                                                                                                    [2/3]
Updating the desktop file MIME type cache...                                                                                     [3/3]
Transaction successfully finished.

Try removing that strange directory first:

sudo rm -fr /var/lib/pacman/sync/download-vackQq

After that, refresh your databases:

pamac update --force-refresh

Then try building syncthingtray again:

pamac build syncthingtray

Still not working.

    ~  pamac build syncthingtray                                                                      ✔ 
Preparing...
Cloning syncthingtray build files...
Generating syncthingtray information...
Checking syncthingtray dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  syncthingtray  1.7.3-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y

==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: JKL (jkl-pc)
Password: 
==== AUTHENTICATION COMPLETE ====

Building syncthingtray...
==> Making package: syncthingtray 1.7.3-1 (Fri 14 Mar 2025 11:01:28 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found syncthingtray-1.7.3.tar.gz
==> Validating source files with sha256sums...
    syncthingtray-1.7.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting syncthingtray-1.7.3.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using system qtforkawesome
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- systemd support enabled
-- Configuring project syncthingconnector
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  syncthingconnector/CMakeLists.txt:150 (include)


-- Project has D-Bus interface declarations which will be processed.
-- Linking syncthingconnector against Qt module Qt5::Network.
-- Linking syncthingconnector against Qt module Qt5::Core.
-- Linking syncthingconnector against Qt module Qt5::DBus.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Project has translations which will be released.
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for global.h.in from CPP_UTILITIES installation.
-- Using template for version.h.in from CPP_UTILITIES installation.
-- Using template for Config.cmake.in from CPP_UTILITIES installation.
-- Using template for template.pc.in from CPP_UTILITIES installation.
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
-- Checking for one of the modules 'cppunit>=1.13.0'
-- Linking test target against syncthingconnector
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingconnector with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
-- Configuring project syncthingtesthelper
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  testhelper/CMakeLists.txt:45 (include)


-- Linking syncthingtesthelper against Qt module Qt5::Network.
-- Linking syncthingtesthelper against Qt module Qt5::Core.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for global.h.in from CPP_UTILITIES installation.
-- Using template for version.h.in from CPP_UTILITIES installation.
-- Using template for Config.cmake.in from CPP_UTILITIES installation.
-- Using template for template.pc.in from CPP_UTILITIES installation.
-- Linking test target against syncthingtesthelper
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingtesthelper with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
-- Performing Test STD_FILESYSTEM_TEST_0
-- Performing Test STD_FILESYSTEM_TEST_0 - Success
-- Linking syncthingctl against special library for std::filesystem support is not required.
-- Configuring project syncthingctl
-- Using default CXX11-ABI (not forcing old CXX11-ABI of libstdc++).
-- For the check target to work, it is required to call enable_testing() on the source directory root.
CMake Warning at /usr/share/c++utilities/cmake/modules/BasicConfig.cmake:412 (message):
  Format rules for clang-format not found.
Call Stack (most recent call first):
  cli/CMakeLists.txt:38 (include)


-- Using Qt QML as JavaScript provider.
-- Using template for jsdefs.h.in from QT_UTILITIES installation.
-- Using template for jsincludes.h.in from QT_UTILITIES installation.
-- Linking syncthingctl against Qt module Qt5::Qml.
-- Linking syncthingctl against Qt module Qt5::Core.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Using template for qtconfig.h.in from QT_UTILITIES installation.
-- Using template for desktop.in from CPP_UTILITIES installation.
-- Using template for appdata.xml.in from CPP_UTILITIES installation.
-- Using template for bash-completion.sh.in from CPP_UTILITIES installation.
-- Generating files for bash completion.
-- Using template for doxygen.in from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingctl with Doxygen
-- Using template for config.h.in from CPP_UTILITIES installation.
CMake Error at syncthingmodel/CMakeLists.txt:61 (find_package):
  Could not find a configuration file for package "qtforkawesome" that is
  compatible with requested version "0.3.0".

  The following configuration files were considered but not accepted:

    /usr/share/qtforkawesome/cmake/qtforkawesomeConfig.cmake, version: 0.1.0



-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
    ~ 

Do you have the base-devel package installed? It is required (along with git) for building many AUR packages.

It is installed.

    ~  sudo pacman -Syu base-devel                                                                    ✔ 
[sudo] password for jkl-pc: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: base-devel-1-3 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) base-devel-1-3


:: Proceed with installation? [Y/n] n
    ~ 

The pinned comment on the AUR website says:

Important remarks:

Like with any other package a rebuild is required when the soname of a dependency like boost changes

It is required to build dependencies (that are not provided by Arch Linux itself) before building this package. So you need to build c++utilities, qtutilities, qtforkawesome and syncthingtray in that order.

AUR (en) - syncthingtray

Vielleicht lieber yay statt pamac benutzen?

Than you all for the support, All good now.

Would you please share with us how you solved it?

1 Like

My assumption is that the error they were encountering was because they had not re-built the other AUR packages that syncthingtray depends upon, as per @Nachlese’s post:

I didn’t pick up on that as syncthingtray built fine on my system, because it built & installed those dependencies in the same transaction. However, those AUR packages were already installed on the OP’s machine, and they were not rebuilt with the re-build of syncthingtray.

The OP might want to install the rebuild-detector package from the repos. After any update they can run the command checkrebuild -v which should (hopefully) advise which AUR packages need to be rebuilt against updated dependencies.

As the OP posted that everything is now good about an hour after @Nachlese’s post, I’m assuming that is what fixed it.

However, as the original issue for this topic was to do with updating their system, and another member also posted their own update issues, @fdietreich is going to have to work out which reply helped the most and mark it as a solution.

2 Likes