1 Minute Tech Tips

Support engineers with one-minute articles.

  • About
  • Profile
Close Button
Menu Button Search Button
Close Button
  1. ホーム
  2. tech
no-image

tech

E: Couldn’t find any package by regex ‘gcc-c+’

2023年1月12日 2023年1月12日

  • Facebook icon
  • Twitter icon
  • Hatena Bookmark icon
  • Pocket icon
  • Feedly icon
  • Line icon

Docker のベースイメージを Centos から Debian に変更し、

yum install していたところを、

apt-get install に雑に変更したら gcc-c+ がないよというエラーが陥った。

原因は Debian ではこのパッケージ名で存在していないから。

以下のように変更することで対処可能

apt-get install g++

また、c++ と、g++ の違いについては以下のページを参照

  • Facebook icon
  • Twitter icon
  • Hatena Bookmark icon
  • Pocket icon
  • Feedly icon
  • Line icon

関連記事

  • denied: requested access to the resource is denied

  • no image

    qemu: uncaught target signal 11 (Segmentation fault) – core dumped

  • a white dice with a black github logo on it

    GitHub接続エラーとその解決方法

  • aws-cliでEC2を作成しEIPを付与

  • no image

    Makefile make: `test’ is up to date.

  • Dockerfile での COPY コマンドによる「cannot copy to non-directory」というエラーについて

  • no image

    curl: (60) SSL: no alternative certificate subject name matches target host name ‘127.0.0.1’

  • focused photo of a snow flake

    PandasとSnowflakeでNULL値を扱う

  • no image

    mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’

  • Docker: E: Unable to locate package

2023年1月
月 火 水 木 金 土 日
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« 12月   2月 »

Profile

Certifications

As a testament to my expertise and commitment to lifelong learning, here are some of the professional certifications I have earned:

最近の投稿

  • Autifyでの高度な待機処理: 非活性ボタンを活性化するまで
  • AWS SAM CLIでDockerがUnreachableな場合の解決
  • ターミナルを開いたら自動でtmuxを起動させる
  • jqを使ったJSONデータの柔軟な操作: ユーザーの属性値の動的変更
  • FlaskとQueueを用いたタスク管理の実装

カテゴリー

  • autify (1)
  • azure (3)
  • Book review (21)
  • laravel (16)
  • run (1)
  • tech (367)
    • aws (120)
      • AWS Certified Security – Specialty (7)
      • AWS Certified Solutions Architect – Associate (24)
      • AWS Certified Solutions Architect – Professional (28)
    • docker (29)
    • GCP (21)
    • go (15)
    • kusanagi(wordpress) (7)
    • linux (62)
    • Mac (12)
    • mysql (9)
    • python (18)
    • redash (17)
    • SQL (2)
    • terraform (1)
    • Vue.js (5)
    • 機械学習 (7)
  • _ (1)
  • 振り返り (2)
  • 未分類 (2)
  • About
  • Profile
© 2023 1 Minute Tech Tips

Made by Godios. Theme