Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during agent installation on Debian 10.3 #1

Open
svbackend opened this issue Jun 25, 2020 · 1 comment
Open

Error during agent installation on Debian 10.3 #1

svbackend opened this issue Jun 25, 2020 · 1 comment

Comments

@svbackend
Copy link

Hello, I tried to execute make server command but it fails during jenkins agent1 installation on Debian 10.3

The error I've got:

"The following packages have unmet dependencies:", " libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed"

After some research I fixed it using apt install gcc-8-base

So I added this command to playbook, now it looks like this:

---
-   name: Add OpenJDK repository
    apt_repository:
        repo: 'deb http://ftp.us.debian.org/debian sid main'
        state: present
        filename: openjdk
        update_cache: yes

-   name: Install OpenJDK Dependencies <<<< NEW TASK
    apt:
        name:
            - gcc-8-base
        state: present
        update_cache: yes

-   name: Install OpenJDK
    apt:
        name:
            - openjdk-8-jre
        state: present
        update_cache: yes
@svbackend
Copy link
Author

So actually this issue resolved for me, sorry I'm too lazy to create a pull request, but it still might be helpful for other so at least I posted it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant