Skip to content

Instantly share code, notes, and snippets.

@ponsuke0531
Created July 23, 2017 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ponsuke0531/c72ccdd887b099b06062d06d04fa3940 to your computer and use it in GitHub Desktop.
Save ponsuke0531/c72ccdd887b099b06062d06d04fa3940 to your computer and use it in GitHub Desktop.
VBoxLinuxAdditions.run を実行して ./install.sh: 行 365: bzip2: コマンドが見つかりません になった時の対応方法 ref: http://qiita.com/ponsuke0531/items/4d19644de63cd81444a0
$ sudo sh /mnt/cdrom/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.22 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Copying additional installer modules ...
./install.sh: 行 365: bzip2: コマンドが見つかりません
tar: これは tar アーカイブではないようです
tar: 前のエラーにより失敗ステータスで終了します
./install.sh: 行 378: bzip2: コマンドが見つかりません
tar: これは tar アーカイブではないようです
tar: 前のエラーにより失敗ステータスで終了します
$ sudo yum install bzip2
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.nara.wide.ad.jp
* extras: ftp.tsukuba.wide.ad.jp
* updates: ftp.tsukuba.wide.ad.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ bzip2.x86_64 0:1.0.6-13.el7 を インストール
--> 依存性解決を終了しました。
依存性を解決しました
==============================================================================================================================================================
Package アーキテクチャー バージョン リポジトリー 容量
==============================================================================================================================================================
インストール中:
bzip2 x86_64 1.0.6-13.el7 base 52 k
トランザクションの要約
==============================================================================================================================================================
インストール 1 パッケージ
総ダウンロード容量: 52 k
インストール容量: 82 k
Is this ok [y/d/N]: y
Downloading packages:
bzip2-1.0.6-13.el7.x86_64.rpm | 52 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : bzip2-1.0.6-13.el7.x86_64 1/1
検証中 : bzip2-1.0.6-13.el7.x86_64 1/1
インストール:
bzip2.x86_64 0:1.0.6-13.el7
完了しました!
# やり直します。
$ sudo sh /mnt/cdrom/VBoxLinuxAdditions.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment