Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need help with E: Unable to locate package errors

Phil Fitzgerald March 9, 2020

Why is it not able to locate the packages

apt-get update && apt-get install -y --allow-unauthenticated \ libc6-dev \ libgdiplus \ libx11-dev \ && rm -rf /var/lib/apt/lists/*Reading package lists...Building dependency tree...Reading state information...E: Unable to locate package libc6-devE: Unable to locate package libgdiplusE: Unable to locate package libx11-devE: Unable to locate package

1 answer

1 accepted

0 votes
Answer accepted
Phil Fitzgerald March 10, 2020

It works when on the same line.  I guess the \ is not valid for line continuation in the yml.

 

- apt-get update && apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev && rm -rf /var/lib/apt/lists/*

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events