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

Yarn repo not working for Debian Jessie. #8060

Closed
CamJN opened this issue Apr 14, 2020 · 8 comments
Closed

Yarn repo not working for Debian Jessie. #8060

CamJN opened this issue Apr 14, 2020 · 8 comments

Comments

@CamJN
Copy link

CamJN commented Apr 14, 2020

Bug description

Command

apt-get update -q

What is the current behavior?

apt-get update -q

[2020-04-14T20:24:34.903Z] Ign http://deb.debian.org jessie InRelease

[2020-04-14T20:24:36.246Z] Hit http://security.debian.org jessie/updates InRelease

[2020-04-14T20:24:36.246Z] Hit http://deb.debian.org jessie-updates InRelease

[2020-04-14T20:24:36.246Z] Ign https://dl.yarnpkg.com stable InRelease

[2020-04-14T20:24:36.246Z] Hit http://deb.debian.org jessie Release.gpg

[2020-04-14T20:24:36.246Z] Hit http://deb.debian.org jessie Release

[2020-04-14T20:24:36.246Z] Ign https://dl.yarnpkg.com stable Release.gpg

[2020-04-14T20:24:36.246Z] Ign https://dl.yarnpkg.com stable Release

[2020-04-14T20:24:36.246Z] Err https://dl.yarnpkg.com stable/main amd64 Packages

[2020-04-14T20:24:36.246Z]   

[2020-04-14T20:24:36.246Z] Err https://dl.yarnpkg.com stable/main amd64 Packages

[2020-04-14T20:24:36.246Z]   

[2020-04-14T20:24:36.246Z] Err https://dl.yarnpkg.com stable/main amd64 Packages

[2020-04-14T20:24:36.246Z]   

[2020-04-14T20:24:36.496Z] Err https://dl.yarnpkg.com stable/main amd64 Packages

[2020-04-14T20:24:36.496Z]   

[2020-04-14T20:24:36.496Z] Err https://dl.yarnpkg.com stable/main amd64 Packages

[2020-04-14T20:24:36.496Z]   Bad header line

[2020-04-14T20:24:37.046Z] Get:1 http://security.debian.org jessie/updates/main amd64 Packages [970 kB]

[2020-04-14T20:24:38.907Z] Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]

[2020-04-14T20:24:38.907Z] Get:3 http://deb.debian.org jessie/main amd64 Packages [9098 kB]

[2020-04-14T20:24:39.817Z] Fetched 10.1 MB in 5s (1828 kB/s)

[2020-04-14T20:24:39.817Z] W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/main/binary-amd64/Packages  Bad header line

[2020-04-14T20:24:39.817Z] 

[2020-04-14T20:24:39.817Z] E: Some index files failed to download. They have been ignored, or old ones used instead.

What is the expected behavior?

Apt update should succeed.

Steps to Reproduce

  1. startup debian jessie vm/docker container.
  2. add yarn repo
  3. update yarn repo.

Environment

  • Node Version: don't get that far.
  • Yarn v1 Version: don't get that far.
  • OS and version: Debian Jessie.
@luisc009
Copy link

luisc009 commented Apr 15, 2020

I got the same on my AWS CodeBuild project.

[Container] 2020/04/15 05:14:30 Running command curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg \| apt-key add -
--
66 | OK
67 |  
68 | [Container] 2020/04/15 05:14:38 Running command echo "deb https://dl.yarnpkg.com/debian/ stable main" \| tee /etc/apt/sources.list.d/yarn.list
69 | deb https://dl.yarnpkg.com/debian/ stable main
...
apt-get update -y && apt-get install -y yarn
93 | Ign http://archive.ubuntu.com trusty InRelease
94 | Hit http://ppa.launchpad.net trusty InRelease
95 | Hit http://archive.ubuntu.com trusty-updates InRelease
96 | Hit http://archive.ubuntu.com trusty-security InRelease
97 | Hit https://download.mono-project.com stable-trusty InRelease
98 | Ign https://dl.yarnpkg.com stable InRelease
99 | Hit http://archive.ubuntu.com trusty Release.gpg
100 | Hit http://archive.ubuntu.com trusty Release
101 | Ign https://dl.yarnpkg.com stable Release.gpg
102 | Ign https://dl.yarnpkg.com stable Release
103 | Err https://dl.yarnpkg.com stable/main amd64 Packages
104 |  
105 | Err https://dl.yarnpkg.com stable/main amd64 Packages
106 |  
107 | Err https://dl.yarnpkg.com stable/main amd64 Packages
108 |  
109 | Hit http://ppa.launchpad.net trusty/main amd64 Packages
110 | Err https://dl.yarnpkg.com stable/main amd64 Packages
111 |  
112 | Hit http://archive.ubuntu.com trusty-updates/main Sources
113 | Hit http://archive.ubuntu.com trusty-updates/restricted Sources
114 | Hit http://archive.ubuntu.com trusty-updates/universe Sources
115 | Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
116 | Err https://dl.yarnpkg.com stable/main amd64 Packages
117 |  
118 | Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
119 | Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
120 | Err https://dl.yarnpkg.com stable/main amd64 Packages
121 | Bad header line
122 | Hit http://archive.ubuntu.com trusty-security/main Sources
123 | Hit http://archive.ubuntu.com trusty-security/restricted Sources
124 | Hit http://archive.ubuntu.com trusty-security/universe Sources
125 | Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
126 | Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
127 | Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
128 | Hit https://download.mono-project.com stable-trusty/main amd64 Packages
129 | Hit http://archive.ubuntu.com trusty/main Sources
130 | Hit http://archive.ubuntu.com trusty/restricted Sources
131 | Hit http://archive.ubuntu.com trusty/universe Sources
132 | Hit http://archive.ubuntu.com trusty/main amd64 Packages
133 | Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
134 | Hit http://archive.ubuntu.com trusty/universe amd64 Packages
135 | W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/main/binary-amd64/Packages  Bad header line

@piratos
Copy link

piratos commented Apr 15, 2020

Waiting for the fix, The repo is working over HTTP

@jshafton
Copy link

This same issue is occurring in apt in Ubuntu 14.04 Trusty Tahr. Exact same description and reproduction steps.

Err https://dl.yarnpkg.com stable/main amd64 Packages
  Bad header line
Hit http://ppa.launchpad.net trusty/main Translation-en
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/main/binary-amd64/Packages  Bad header line

@axelmarciano
Copy link

axelmarciano commented Apr 15, 2020

Same issue, while trying to build a docker image.

deb https://dl.yarnpkg.com/debian/ stable main
 Hit http://security.debian.org jessie/updates InRelease
 Ign http://deb.debian.org jessie InRelease
 Hit http://deb.debian.org jessie-updates InRelease
 Ign https://dl.yarnpkg.com stable InRelease
 Hit http://deb.debian.org jessie Release.gpg
 Hit http://deb.debian.org jessie Release
 Get:1 http://security.debian.org jessie/updates/main amd64 Packages [973 kB]
 Ign https://dl.yarnpkg.com stable Release.gpg
 Ign https://dl.yarnpkg.com stable Release
 Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
 Get:3 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
 Err https://dl.yarnpkg.com stable/main amd64 Packages
   
 Err https://dl.yarnpkg.com stable/main amd64 Packages
   
 Err https://dl.yarnpkg.com stable/main amd64 Packages
   
 Err https://dl.yarnpkg.com stable/main amd64 Packages
   
 Err https://dl.yarnpkg.com stable/main amd64 Packages
   Bad header line
 Fetched 10.1 MB in 1s (7904 kB/s)
 W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/main/binary-amd64/Packages  Bad header line
 E: Some index files failed to download. They have been ignored, or old ones used instead.
 The command '/bin/sh -c apt-get install -y -q --no-install-recommends   apt-transport-https   build-essential   ca-certificates   curl   g++   gcc   git   make   nginx   sudo   wget   openssh-client   python   && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -   && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list   && sudo apt-get update   && sudo apt-get install -y --no-install-recommends yarn   && apt-get -y autoclean   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

@bbernays
Copy link

It seems as if it is fixed. Our nightly build was successful

@axelmarciano
Copy link

Yes that's good for me too !

@jshafton
Copy link

Can anyone tell us what was wrong and then fixed?

@Daniel15
Copy link
Member

Closing old issue.

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

7 participants