CD で Ubuntu 14.04 をインストールしましたが、その時点ではインターネットに接続していなかったため、すべての組み込みパッケージを入手できませんでした。mp3、mp4 形式などを再生するために必要なプラグインなどの問題が発生しますが、どのようにしてそれらのパッケージをすべて入手すればよいのでしょうか。助けてください。
答え1
他の人のコンピュータからダウンロードして実行することもできますが、それでも答えは次のとおりです。
Ubuntuをインストールする際、DVDを使用してUbuntuをロードし、パッケージも同様です。インストール時にインターネットからアップデートするオプションが表示されますが、選択しないでください。パスワード
通常通りインストールし、インストール後に再起動しますが、DVDを取り出さずに
ターミナルでこれを入力します
sudo nano /etc/apt/sources.list
パスワードの入力を求められます
インストールソースがリストされているファイルです。次のようになります。
# deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
あなたのは違うでしょう
最初の行はシステムがCDをソフトウェアリポジトリとして使用できるようにします。コメントを解除すると次のようになります。
deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid universe
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates universe
ここが重要なセリフです(だけ…)
deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Alpha amd64 (20150228)]/ vivid main $
次にCtrl + Xを押し、Shift + Yを押してEnterを押します。
これで完了です。通常のターミナルで次のように入力します。
sudo apt-get update
これによりリポジトリが更新され、auth としてパスワードを入力する必要があります。長いリストが表示されます。
その後、すべてのパッケージではなく、一部のパッケージのみをインストールできます。