お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2007-10-07 17:25:54

hatune
新しいメンバ
登録日: 2007-10-07

/etc/apt/sources.listにcdrom行しか存在しない

ML115に、Ubuntu Server 7.04(amd64)をインストールしたのですが、/etc/apt/sources.listに
cdrom参照行しか存在しません。
ネットワーク経由でのインストールやアップデートがしたいのですが、どのような記述を追加すればいいの
でしょうか?

$ cat /etc/apt/sources.list

deb cdrom:[Ubuntu-Server 7.04 _Feisty Fawn_ - Release amd64 (20070415)]/ feisty main restricted

オフライン

 

#2 2007-10-07 18:22:55

hito
管理者
登録日: 2007-03-18

Re: /etc/apt/sources.listにcdrom行しか存在しない

以下を使ってください。

コード:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://jp.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://jp.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://jp.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://jp.archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://jp.archive.ubuntu.com/ubuntu/ feisty-security universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty-security universe
deb http://jp.archive.ubuntu.com/ubuntu/ feisty-security multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ feisty-security multiverse

deb http://archive.ubuntulinux.jp/ubuntu-ja feisty/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja feisty/
deb http://archive.ubuntulinux.jp/ubuntu-ja feisty-ja/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja feisty-ja/

オフライン

 

#3 2007-10-07 18:34:01

hatune
新しいメンバ
登録日: 2007-10-07

Re: /etc/apt/sources.listにcdrom行しか存在しない

ありがとうございます。上手く行きました。
ただ、インストール直後からこの状態だったのですが、インストール時に何かミスがあったんでしょうか?

オフライン

 

#4 2007-10-07 22:43:27

hito
管理者
登録日: 2007-03-18

Re: /etc/apt/sources.listにcdrom行しか存在しない

インストール時にネットワークに(インターネットに)接続できない状態だと、リポジトリソースが
設定されなくなることがあります。

オフライン

 

#5 2007-10-07 22:49:15

hatune
新しいメンバ
登録日: 2007-10-07

Re: /etc/apt/sources.listにcdrom行しか存在しない

ありがとうございます。すっきりしました。

オフライン

 

Board footer

Powered by FluxBB