[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:02505] Couldn't find Packages[.gz]



澤田@野村総合研究所です。

Debian GNU/Linux に関する Q & A の中の
http://www.linux.or.jp/~ukai/debian/topics-ml-65.html
「ファイアウォールの中からftpインストール」
を読んで、ftp インストールに挑戦してみました。

Enter ftp site [xxxxxx]: ファイアウォールのftp-gateway 


Use passive mode [y]: 

Enter username [ftp@ftp.jp.debian.org]: 

If you're using anonymous ftp to retrieve files, enter your email
address for use as a password.  Otherwise enter "?" and dpkg-ftp will
prompt you each time.

Enter password [sawada@xxxxxxxxx]: 

Enter debian directory [/pub/Linux/debian-jp]: 

Note: order here is important.  Package files are scanned in order so
later distributions will override earlier ones.

So put stable before unstable.

Enter space seperated list of distributions to get
[stable bo-jp contrib contrib-jp non-free non-free-jp]: stable non-free contrib bo-jp contrib-jp non-free-jp

Enter directory to download binary package files to
(relative to /var/lib/dpkg/methods/ftp/)
[debian]: 

Using FTP to check directories...(stop with ^C)
Connecting to ftp-gateway...
Login as ftp@ftp.jp.debian.org...
Setting transfer mode to binary...
Cd to /pub/Linux/debian-jp...
Checking stable/binary-i386...
Warning: Couldn't find a Packages file in stable/binary-i386
This may not be a problem if the directory is a symbolic link
Checking non-free/binary-i386...
Warning: Couldn't find a Packages file in non-free/binary-i386
This may not be a problem if the directory is a symbolic link
Checking contrib/binary-i386...
Warning: Couldn't find a Packages file in contrib/binary-i386
This may not be a problem if the directory is a symbolic link
Checking bo-jp/binary-i386...
Warning: Couldn't find a Packages file in bo-jp/binary-i386
This may not be a problem if the directory is a symbolic link
Checking contrib-jp/binary-i386...
Warning: Couldn't find a Packages file in contrib-jp/binary-i386
This may not be a problem if the directory is a symbolic link
Checking non-free-jp/binary-i386...
Warning: Couldn't find a Packages file in non-free-jp/binary-i386
This may not be a problem if the directory is a symbolic link
Closing ftp connection...
press return to continue

となり Packages ファイルが探せていないようです。
続行すると

Getting Packages files...(stop with ^C)

Connecting to ftp-gateway...
Login as ftp@ftp.jp.debian.org...
Setting transfer mode to binary...
Cd to /pub/Linux/debian-jp...
Getting Packages file from stable/binary-i386...
Couldn't find Packages[.gz] in stable/binary-i386, stoppedFTP ERROR

update available list script returned error exit status 1.
Press RETURN to continue.

となります。

当然ですが、ftp コマンドで見に行けば、Packages も Packages.gz も
あります。

何が間違っているのでしょうか?

dpkg-ftp は以下のバージョンです。

# dpkg -l dpkg-ftp-i18n
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  dpkg-ftp-i18n   1.4.9          Ftp method for dselect.

# これができたら hamm に update しようと思っていたのですが

Nomura Research Instistute,Ltd  Hideaki SAWADA
                                sawada@xxxxxxxxxxxx