お知らせ

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

#1 2011-02-28 13:38:13

doppelganger39
メンバ
登録日: 2011-02-28

インストール中エラーが

javaをインストールしょうとしたところえらーが発生、
E: ソースリスト /etc/apt/sources.list の 44 行目が不正です (dist parse)
E: パッケージ入手先一覧を読み込めませんでした。
と表示対応が出来ないでいます。
どこに問題があるますか?

オフライン

 

#2 2011-02-28 21:58:16

hir0
メンバ
登録日: 2008-09-28

Re: インストール中エラーが

Ubuntuのバージョンと
$ gedit /etc/apt/sources.list

javaは幾つか候補が有りますがこだわりは有りますか? 機能的に差は無いとおもいます。

オフライン

 

#3 2011-02-28 22:15:50

doppelganger39
メンバ
登録日: 2011-02-28

Re: インストール中エラーが

ubntuは10.04です。
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release powerpc (20080703.1)]/ hardy main
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb-src http://archive.ubuntu.com/ubuntu lucid-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-src http://archive.ubuntu.com/ubuntu lucid universe
deb-src http://archive.ubuntu.com/ubuntu lucid-updates 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-src http://archive.ubuntu.com/ubuntu lucid multiverse
deb-src http://archive.ubuntu.com/ubuntu lucid-updates 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://ports.ubuntu.com/ubuntu-ports/ hardy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://archive.canonical.com/lucid partner
deb http://archive.canonical.com/lucid partner
deb http://archive.canonical.com/lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://archive.canonical.com/ lucid partner
deb http://java.com/ lucid partner
deb http://archive.canonical.com/ marverick partner
deb http://archive.canonical.com/ marverick partner
deb http://archive.canonical.com/ marverick partner
deb http://ports.ubuntu.com/ubuntu-ports/ lucid main universe restricted multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid main universe restricted multiverse #Added by software-properties
deb http://archive.canonical.com/ marverick partner
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe main multiverse restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe main multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe main multiverse restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe main multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-proposed universe main multiverse restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-proposed universe main multiverse restricted
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-backports universe main multiverse restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-backports universe main multiverse restricted
deb http://archive.canonical.com/ mar verick partner
deb http://archive.canonical.com/lucid partner
deb http://archive.canonical.com/ lucid partner

こんな感じです。

一応 サンのjavaを入れようとしたのですが。

オフライン

 

#4 2011-02-28 22:30:54

hir0
メンバ
登録日: 2008-09-28

Re: インストール中エラーが

44行目

deb http://archive.canonical.com/lucid partner


deb http://archive.canonical.com/ lucid partner

修正するよりは一つだけ残して、重複しているもの全て先頭に半角英数で # をつけてコメントアウトしてください。
marverickの付いた物は全てコメントアウトしてください。
最後から3行目のmar verickも同様です。

オフライン

 

#5 2011-02-28 23:17:36

doppelganger39
メンバ
登録日: 2011-02-28

Re: インストール中エラーが

ありがとうございます

#は debの前でいいのでしょうか?

オフライン

 

#6 2011-02-28 23:21:53

doppelganger39
メンバ
登録日: 2011-02-28

Re: インストール中エラーが

入力はどこですればわかりやすいですか

オフライン

 

#7 2011-02-28 23:43:26

のんき
メンバ
登録日: 2007-03-04

Re: インストール中エラーが

>deb http://java.com/ lucid partner

大変興味深い1行を見つけてこれが正しいのか確認を取っておりました。
残念ながら確認は取れませんでした。
ただ、もし正しくなければ
$ sudo apt-get update
を行った時、404 file not found が出るはずです。

オフライン

 

#8 2011-03-01 01:08:05

hir0
メンバ
登録日: 2008-09-28

Re: インストール中エラーが

>ありがとうございます
>#は debの前でいいのでしょうか?

はい、そうです。


>入力はどこですればわかりやすいですか

意味が分かりません。

蛇足ですが、システムファイルへの変更は管理者権限が要ります。
Ubuntuでは sudo  を使うのが良とされていますのでテキストエディタを管理者権限で開きます。

$ sudo gedit /etc/apt/sources.list

これで変更を保存できます。

私は見落としましたが#7で のんきさんが新に不可思議な記述を発見したみたいです。

オフライン

 

#9 2011-03-01 22:30:42

doppelganger39
メンバ
登録日: 2011-02-28

Re: インストール中エラーが

ありがとうございます。
ためしてみます。

始めたばかりなので!!
結果書き込みます。

オフライン

 

#10 2011-03-03 00:10:04

doppelganger39
メンバ
登録日: 2011-02-28

Re: インストール中エラーが

有難うございました。
エラー解除できました。
次はJAVAのインストールですがんばってみます。

オフライン

 

Board footer

Powered by FluxBB