Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Fail to install conan community package when gitlab is defined in remotes
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary integration with conan: fail to install community package <!-- Summarize the bug encountered concisely. --> ### Steps to reproduce 1. Add gitlab private package repository (protected by a token) 2. Add bincrafters conan repository conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan 3. conan install qt/5.15.1@bincrafters/stable <!-- Describe how one can reproduce the issue - this is very important. Please use an ordered list. --> ### What is the current *bug* behavior? <!-- Describe what actually happens. --> "Permission denied" for my user ### What is the expected *correct* behavior? qt package is installed as it does not depend on a private gitlab repository <!-- Describe what you should see instead. --> ### Logs $ conan install qt/5.15.1@bincrafters/stable Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.cppstd=14 compiler.libcxx=libstdc++11 compiler.version=9 os=Linux os_build=Linux [options] *:shared=False [build_requires] [env] ERROR: Permission denied for user: 'AndreiMalashkin'. [Remote: gitlab] ### conan remote list $conan remote list conan-center: https://conan.bintray.com [Verify SSL: True] bincrafters: https://api.bintray.com/conan/bincrafters/public-conan [Verify SSL: True] conan-community: https://api.bintray.com/conan/conan-community/conan [Verify SSL: True] artifactory: https://reactivereality.jfrog.io/artifactory/api/conan/conan [Verify SSL: True] gitlab: https://gitlab.com/api/v4/packages/conan [Verify SSL: True] ### additional links I have raised the same issue in conan: https://github.com/conan-io/conan/issues/7709
issue