我们很高兴地宣布基于Ubuntu 16.04的机器执行器图像,Ubuntu-1604:202004-01,它类似于现有的ubuntu-1604:201903-01但随着Docker19.03的安装以及其他软件的更新安装在图像上。看到了吗机器执行程序文档有关如何使用图像的详细信息。

以下是映像上安装的主要软件的列表:

aws cli 1.18.42 chrome 81.0.4044.113 chromedriver 81.0.4044 docker 19.03.8 docker compose 1.25.5 firefox 75.0.0 go 1.14.2 google cloud sdk 289.0.0 gradle 6.3 heroku 7.39.3 leiningen 2.9.3 maven 3.6.3 node 12.16.2 openjdk 1.8 python 2.7.17 python 3.8.2 ruby 2.7.1 sbt 1.3.9
5喜欢

aw!

我在运行sudo apt update&upgrade时遇到问题,但是“E:存储库”https://packageCloud.io/circleci/trusty/******“xenial Release”没有发布文件

完整堆栈遵循:

0%[工作]获取:1 http://us-central1。普通中等教育档案******.com/******xenial InRelease[247 kB]0%[1 InRelease 13.8 kB/247 kB 6%][连接到安全性。*******.com(91.189.80%[连接到安全性。*******.com(91.189.88.142)][连接到ppa.launcGet公司:2 http://us-central1.gce.archive。******.com/******xenial更新版本[109 kB]0%[正在等待标头][正在连接到安全性。******.com(91.189.88.142)][C0%[1 InRelease gpgv 247 kB][正在等待标头][正在连接到安全.ubunGet:3 http://us-central1.gce.archive。******.com/******xenial backports InRelease[107 kB]0%[1 InRelease gpgv 247 kB][连接到安全性。******.com(91.189.88.142)命中:4http://archive.canonical.com/******xenial InRelease 0%[1 InRelease gpgv 247 kB][正在连接到安全性。******.com(91.189.88.142)0%[正在等待标头][正在等待标头][正在等待标头]0%[2 InRelease gpgv 109 kB][正在等待标头][正在等待标头][服务员:5人用法:/cli-assets.heroku.com/apt./InRelease[2879 B]0%[2InRelease gpgv 109 kB][正在等待标头][正在等待标头][WaitiGet:6 http://us-central1。普通中等教育档案******.com/******xenial/main源[868 kB]0%[2 InRelease gpgv 109 kB][6个源42.0 kB/868 kB 5%][正在等待领导:7 http://ppa.launchpad.net/git-核心/ppa/******xenial InRelease 0%[2 InRelease gpgv 109 kB][6来源868kB/868 kB 100%][正在等待标头0%[2 InRelease gpgv 109 kB][正在等待标头][正在连接到ppa.launchpadGet启动:8 http://security。******.com/******xenial security InRelease[109 kB]0%[2 InRelease gpgv 109 kB][8 InRelease 2505 B/109 kB 2%][正在连接到ppaGet:9 http://us-central1。普通中等教育档案******.com/******xenial/限制来源[4808乙]获取:10 http://us-central1。普通中等教育档案******.com/******xenial/universe源代码[7728 kB]0%[6个源代码存储0 B][2在释放gpgv 109 kB][10个源代码39.4 kB/7728kBGet:11 http://dl.google.com/linux/chrome/deb稳定的内存[1811 B]0%[6个源存储0 B][2内存gpgv 109 kB][10个源760 kB/7,728 kB签名:12 https://packagecloud.io/circleci/trusty包/******xenial InRelease 0%[6个源存储0 B][2个InRelease gpgv 109 kB][10个源7616 kB/7728kHit:13 http://ppa.launchpad.net/openjdk-r/ppa/******xenial InRelease 0%[6个源存储0 B][2个源存储在Release gpgv 109 kB][10个源7707 kB/7728 k0%[6个源存储0 B][2个源存储在Release gpgv109 kB][8英寸释放41.9 kB/109 kB获取:14 http://us-central1。普通中等教育档案******.com/*******xenial/multiverse源代码[179 kB]0%[6个源代码存储0 B][2 InRelease gpgv 109 kB][14个源代码13.9 kB/179 kB 80%[6个源代码存储0 B][2 InRelease gpgv 109 kB][8 InRelease 41.9 kB/109 kB获取:15 http://us-central1。普通中等教育档案******.com/****xenial/main amd64包[1201 kB]0%[6个源存储0 B][2在释放gpgv 109 kB][15个包13.9 kB/1,201 k0%[6个源存储0 B][2 InRelease gpgv 109 kB][8 InRelease 53.2 kB/109 kB获取:16 http://us-central1。普通中等教育档案******.com/******xenial/main Translation en[568 kB]0%[6个源存储0 B][2 InRelease gpgv 109 kB][16 Translation en 172 kB/56错误:17://packagecloud.io/circleci/trusty包/******未找到xenial版本404 0%[6源存储0 B][2 InRelease gpgv 109 kB][16翻译en 473 kB/560%[2 InRelease gpgv 109 kB][8 InRelease 61.6 kB/109 kB 56%][连接到pp0%[9个源存储0 B][2 InRelease gpgv 109 kB][等待标头][8 InRelease 61.6 kB/109 kB 0%[10个源存储0 B][2 InReleasegpgv 109 kB][正在等待标头][8英格特:18 http://us-central1。普通中等教育档案******.com/*******xenial/restricted amd64 Packages[8344 B]0%[10个源存储0 B][2在释放gpgv 109 kB][18个包0 B/8中,344 B 0%0%[10个源存储0 B][2在release gpgv 109 kB][8在release 61.6 kB/109中kBGet:19 http://us-central1。普通中等教育档案******.com/*******xenial/restricted Translation en[2908 B]0%[10个源存储0 B][2在release gpgv 109 kB][19 Translation en 0 B/2中,900%[10个源存储0 B][2在release gpgv 109 kB][8在release 64.5 kB/109kBGet:20 http://us-central1。普通中等教育档案******.com/*******xenial/universe amd64包[7532 kB]0%[10个源存储0 B][2在释放gpgv 109 kB][20个包0 B/7532 kB 00%[10个源存储0 B][20个包1962 kB/7,532 kB 26%][8 InRelease 107 0%[10 Sources store 0 B][3 InRelease gpgv 107 kB][20 Packages 1962 kB/75320%[10 Sources store 0 B][3 InRelease gpgv 107 kB][20 Packages 2083 kB/7532获取:21 http://ppa.launchpad.net/wireguard/wireguard/******xenial InRelease[18.0 kB]0%[10个源存储0 B][3个InRelease gpgv 107 kB][20个包4845 kB/7,5320%[10个源存储0 B][3在release gpgv 107 kB][21在release 12.6 kB/18.0中获取:22 http://us-central1。普通中等教育档案******.com/*******xenial/universe Translation en[4354 kB]0%[10个源代码存储0 B][3 InRelease gpgv 107 kB][22个翻译en 42.0 kB/0%[10个源代码存储0 B][3 InRelease gpgv 107 kB][22个翻译en 1,356 kB0% [10 Sources store 0 B] [3 InRelease gpgv 107 kB] 0% [10 Sources store 0 B] [Waiting for headers] Get:23 http://us-central1.gce.archive.******.com/****** xenial/multiverse amd64 Packages [144 kB] 0% [10 Sources store 0 B] [Waiting for headers]0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [Waiting for headers]Get:24 http://us-central1.gce.archive.******.com/****** xenial/multiverse Translation-en [106 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [24 Translation-en 13.6 kB0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] Get:25 http://us-central1.gce.archive.******.com/****** xenial-updates/main Sources [347 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [25 Sources 38.3 kB/347 kB0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] Get:26 http://us-central1.gce.archive.******.com/****** xenial-updates/restricted Sources [2,536 B] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [26 Sources 2,536 B/2,536 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [Waiting for headers] Get:27 http://us-central1.gce.archive.******.com/****** xenial-updates/universe Sources [269 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [27 Sources 13.9 kB/269 kB0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] Get:28 http://us-central1.gce.archive.******.com/****** xenial-updates/multiverse Sources [8,748 B] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [28 Sources 8,748 B/8,748 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [Waiting for headers] Get:29 http://us-central1.gce.archive.******.com/****** xenial-updates/main amd64 Packages [1,141 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [29 Packages 13.9 kB/1,1410% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] Get:30 http://us-central1.gce.archive.******.com/****** xenial-updates/main Translation-en [432 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [30 Translation-en 35.0 kB0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] Get:31 http://us-central1.gce.archive.******.com/****** xenial-updates/restricted amd64 Packages [7,616 B] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [Waiting for headers]Get:32 http://us-central1.gce.archive.******.com/****** xenial-updates/restricted Translation-en [2,272 B] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [Waiting for headers]Get:33 http://us-central1.gce.archive.******.com/****** xenial-updates/universe amd64 Packages [797 kB] 0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] [33 Packages 13.9 kB/797 k0% [10 Sources store 0 B] [4 InRelease gpgv 11.5 kB] 0% [10 Sources store 0 B] [Waiting for headers] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:34 http://us-central1.gce.archive.******.com/****** xenial-updates/universe Translation-en [333 kB] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [34 Translation-en 0 B/3330% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] Get:35 http://us-central1.gce.archive.******.com/****** xenial-updates/multiverse amd64 Packages [17.1 kB] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:36 http://us-central1.gce.archive.******.com/****** xenial-updates/multiverse Translation-en [8,632 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [36 Translation-en 4,096 B0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers] Get:37 http://us-central1.gce.archive.******.com/****** xenial-backports/main Sources [4,848 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:38 http://us-central1.gce.archive.******.com/****** xenial-backports/universe Sources [7,120 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:39 http://us-central1.gce.archive.******.com/****** xenial-backports/main amd64 Packages [7,280 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [39 Packages 7,280 B/7,2800% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers] Get:40 http://us-central1.gce.archive.******.com/****** xenial-backports/main Translation-en [4,456 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:41 http://us-central1.gce.archive.******.com/****** xenial-backports/universe amd64 Packages [8,064 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] [Waiting for headers]Get:42 http://us-central1.gce.archive.******.com/****** xenial-backports/universe Translation-en [4,328 B] 0% [10 Sources store 0 B] [5 InRelease gpgv 2,879 B] 0% [10 Sources store 0 B] 0% [10 Sources store 0 B] [7 InRelease gpgv 23.8 kB]Get:43 https://cli-assets.heroku.com/apt ./ Packages [624 B] 0% [10 Sources store 0 B] [7 InRelease gpgv 23.8 kB] [43 Packages 624 B/624 B 10% [10 Sources store 0 B] [7 InRelease gpgv 23.8 kB] 0% [10 Sources store 0 B] 0% [10 Sources store 0 B] [11 InRelease gpgv 1,811 B]0% [10 Sources store 0 B] 0% [10 Sources store 0 B] [13 InRelease gpgv 17.5 kB] [Waiting for headers]Get:44 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,126 B] 0% [10 Sources store 0 B] [13 InRelease gpgv 17.5 kB] [44 Packages 1,126 B/1,120% [10 Sources store 0 B] [13 InRelease gpgv 17.5 kB] 0% [10 Sources store 0 B] 0% [10 Sources store 0 B] [8 InRelease gpgv 109 kB]0% [10 Sources store 0 B] 0% [10 Sources store 0 B] [21 InRelease gpgv 18.0 kB] [Waiting for headers]0% [10 Sources store 0 B] [Waiting for headers] Get:45 http://security.******.com/****** xenial-security/main Sources [163 kB] 0% [10 Sources store 0 B] [45 Sources 8,239 B/163 kB 5%] [Connecting to ppa.lau0% [10 Sources store 0 B] [Waiting for headers] Get:46 http://ppa.launchpad.net/wireguard/wireguard/****** xenial/main amd64 Packages [992 B] 0% [10 Sources store 0 B] [Waiting for headers]Get:47 http://security.******.com/****** xenial-security/universe Sources [119 kB] 0% [10 Sources store 0 B] [47 Sources 0 B/119 kB 0%] [Connecting to ppa.launchp0% [10 Sources store 0 B] [Connecting to ppa.launchpad.net (91.189.95.83)] Get:48 http://security.******.com/****** xenial-security/main amd64 Packages [861 kB] 0% [10 Sources store 0 B] [48 Packages 0 B/861 kB 0%] [Waiting for headers]Get:49 http://ppa.launchpad.net/wireguard/wireguard/****** xenial/main Translation-en [764 B] 0% [10 Sources store 0 B] [48 Packages 172 kB/861 kB 20%] 0% [10 Sources store 0 B] 0% [Waiting for headers] 0% [14 Sources store 0 B] [Waiting for headers]0% [Waiting for headers] 0% [15 Packages store 0 B] [Waiting for headers]Get:50 http://security.******.com/****** xenial-security/main Translation-en [323 kB] 0% [15 Packages store 0 B] [50 Translation-en 12.5 kB/323 kB 4%]0% [15 Packages store 0 B] Get:51 http://security.******.com/****** xenial-security/universe amd64 Packages [490 kB] 0% [15 Packages store 0 B] [51 Packages 12.5 kB/490 kB 3%]0% [51 Packages 479 kB/490 kB 98%] 0% [16 Translation-en store 0 B] [51 Packages 490 kB/490 kB 100%]0% [16 Translation-en store 0 B] [Waiting for headers] 0% [Waiting for headers] 0% [18 Packages store 0 B] [Waiting for headers]0% [Waiting for headers] 0% [19 Translation-en store 0 B] [Waiting for headers]0% [Waiting for headers] 0% [20 Packages store 0 B] [Waiting for headers]Get:52 http://security.******.com/****** xenial-security/universe Translation-en [200 kB] 0% [20 Packages store 0 B] [52 Translation-en 12.5 kB/200 kB 6%]0% [20 Packages store 0 B] Get:53 http://security.******.com/****** xenial-security/multiverse amd64 Packages [6,088 B] 0% [20 Packages store 0 B] [53 Packages 6,088 B/6,088 B 100%]0% [20 Packages store 0 B] Get:54 http://security.******.com/****** xenial-security/multiverse Translation-en [2,888 B] 0% [20 Packages store 0 B]0% [20 Packages store 0 B]0% [Working] 0% [22 Translation-en store 0 B]0% [22 Translation-en store 0 B]0% [Working] 0% [23 Packages store 0 B]0% [Working] 0% [24 Translation-en store 0 B]0% [Working] 0% [25 Sources store 0 B]0% [Working] 0% [26 Sources store 0 B]0% [Working] 0% [27 Sources store 0 B]0% [Working] 0% [28 Sources store 0 B]0% [Working] 0% [29 Packages store 0 B]0% [Working] 0% [30 Translation-en store 0 B]0% [Working] 0% [31 Packages store 0 B]0% [Working] 0% [32 Translation-en store 0 B]0% [Working] 0% [33 Packages store 0 B]0% [Working] 0% [34 Translation-en store 0 B]0% [Working] 0% [35 Packages store 0 B]0% [Working] 0% [36 Translation-en store 0 B]0% [Working] 0% [37 Sources store 0 B]0% [Working] 0% [38 Sources store 0 B]0% [Working] 0% [39 Packages store 0 B]0% [Working] 0% [40 Translation-en store 0 B]0% [Working] 0% [41 Packages store 0 B]0% [Working] 0% [42 Translation-en store 0 B]0% [Working] 0% [43 Packages store 0 B]0% [Working] 0% [44 Packages store 0 B]0% [Working] 0% [45 Sources store 0 B]0% [Working] 0% [46 Packages store 0 B]0% [Working] 0% [47 Sources store 0 B]0% [Working] 0% [49 Translation-en store 0 B]0% [Working] 0% [48 Packages store 0 B]0% [Working] 0% [50 Translation-en store 0 B]0% [Working] 0% [51 Packages store 0 B]0% [Working] 0% [52 Translation-en store 0 B]0% [Working] 0% [53 Packages store 0 B]0% [Working] 0% [54 Translation-en store 0 B]0% [Working] Reading package lists... Done W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 **E: The repository 'https://packagecloud.io/circleci/trusty/****** xenial Release' does not have a Release file.** N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1

@丹纳克逊感谢您的反馈!您能分享您运行的确切命令,还是您的config.yml?我无法使用此简单配置重现问题:

版本:2.1作业:构建:计算机:图像:ubuntu-1604:202004-01步骤:-签出-运行:sudo apt get update-运行:sudo apt get升级工作流:版本:2构建和部署:作业:-构建

好吧,这是尴尬,但我用过

sudo apt更新

将此更改为建议的

sudo apt-get更新

全清!

再次感谢:微微一笑:

1喜欢

我们从上一个图像上更新,因为apt更新在那里也失败了。
现在新的形象从一开始就打破了回购?

我不明白使用apt-get是如何解决的。

你能重新测试一下吗?@stella.

它肯定坏了sudo apt更新(对我们来说)。

谢谢

@瓦伦廷萨文科感谢您的反馈。在更新图像期间,此问题被忽视,我们目前正在调查它。与此同时,我们建议使用sudo apt-get更新如果它满足您的需求。

我一直在使用Ubuntu-1604:202004-01我在附近工作apt更新通过添加发布rm/etc/apt公司/源.list.d/电路_信任列表在更新apt之前。现在我的构建失败了rm:无法删除“/etc/apt”/源.list.d/电路_信任列表':没有这样的文件或目录所以我必须恢复这种变化。

没有标签变化的机器图像改变了吗?

此图像已修补以修复apt更新问题。

如果你使用容易得到,您不会得到对此问题失败的生成。

是的,它被修补。您的解决方法不再需要。

以后,你能不能不要把一张新的图片推到同一个标签上,而直接点击标签?这件事让我损失了六笔回购。我很乐意去掉这个变通方法,换成一个Ubuntu-1604:202004-02标签,但当我不得不放弃我正在做的事情并立即修复它时,这不是一件有趣的事。

@葛格勒我们曾希望这是一个对现有用户透明的修复程序;对造成的中断表示歉意,并感谢您的宝贵反馈。

绝对是一个没有去释放引擎盖下面的阴影贴片。在运行日常CI时,没有人会期待这种行为。

如果擦拭静默方式,如何依赖于其产品的确定性构建的人员如何依赖于其产品。此外,如果有意外地出现管道执行,它会使调试更加困难。

我们到位的补丁系统是用于非常方案,以修复运送已损坏的图像。我们在软件简单更新时发出新版本。

我们向报告并遇到此问题的用户(使用apt-get而不是apt)建议的解决方法并没有在修复此问题后导致映像中断。我们无法预测用户会做超出我们建议范围的事情。

当我了解你的遭遇时@葛格勒,我想请您也理解,我们有支持票的用户要求我们解决这个问题的方式,推动这个补丁。如果我们强迫他们对图片使用另一个标签,而不是仅仅修复它,他们会感到不安。我们正在尽最大努力取悦尽可能多的人。


最后,我想和大家分享一下,Linux机器映像的责任正在转移到CircleCI的另一个团队。我们希望通过这一改变能够为Linux机器映像提供更多的TLC。我们希望能够提供更频繁、更定时的更新,改进社区的变化(包括提前沟通),在图像变化时更快地更新文档,等等。

我会确保与新团队讨论我们现有的补丁过程,因为它是今天的,看看是否有办法可以改进它。我们的团队还在方便图像(Docker)上工作,如果您已经了解了关于下一个Gen图像的任何内容,我们特别不要触摸现有的图像标签作为默认练习。也许我们在这里做同样的事情。留在此公告类别和Circleci讨论图像类别有关此的未来信息。

–里卡多

我只想回音@葛格勒我觉得在这样的CI/CD系统中,在同一标签下更改机器映像是不可接受的。一张标有日期和数字的图片在同一个标签下会发生变化,这是非常令人惊讶的。一切都应该保持一致,除非用户选择进行更改,或者选择进入动态更新的环境。在一个安全的SDLC中,这样做的安全含义也值得考虑…