LoginSignup
0
0

More than 1 year has passed since last update.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1.4_amd64.deb (--unpack): のエラー対応

Posted at

CodeBuildのbuildspec.ymlで実行した

apt-get upgrade -y

で以下エラーが発生した際の対応を残します

ERROR: Your kernel version indicates a revision number
of 255 or greater.  Glibc has a number of built in
assumptions that this revision number is less than 255.
If you\'ve built your own kernel, please make sure that any
custom version numbers are appended to the upstream
kernel number with a dash or some other delimiter.

dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1.4_amd64.deb (--unpack):
 new libc6:amd64 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.27-3ubuntu1.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

対応内容

ビルドを行う環境を最新のイメージにアップデート
アップデート前はstandard:4系でした

スクリーンショット 2022-02-10 19.18.09.png

ビルドを再実行したらエラーは解消されました

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0