添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hello,
I’m updating my project to migrate from circle 1 to 2.0
I use a simple machine: true and I noticed that a script that used to work fine, no longer works.
specifically, the command sudo apt-get install rpm now returns this error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 rpm : Depends: librpm3 (>= 4.10.0) but it is not going to be installed
       Depends: librpmbuild3 (>= 4.10.0) but it is not going to be installed
       Depends: librpmio3 (>= 4.10.0) but it is not going to be installed
       Depends: librpmsign1 (>= 4.10.0) but it is not going to be installed
       Depends: rpm2cpio but it is not going to be installed
       Depends: debugedit (= 4.11.1-3ubuntu0.1) but it is not going to be installed
       Depends: rpm-common (= 4.11.1-3ubuntu0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I can work around it by running sudo apt-get update first, but thought you should know.

to clarify, it’s the exact same script, exact same packages. only difference is circle 1.0 to 2.0 upgrade
also it’s a machine image, while i’ld like to cache more in the image rather then redo the installation on each run, it looks like i can’t do this with machine images.