Vimをお使いの方は多いと思いますが,下記現象起っていないでしょうか.
大分前からで,portsの不具合は放っておけば修正が入ると思い込んでいたのですが,かなりたっても修正されないので質問した次第です.
当方,インストールしてあるVim-7.2.9が7.2.14になったと以下コマンドで知りました.
# portsnap fetch update ; portsdb -F ; portversion -vL '='
しかしながら,portupgradeしても,下記のとおり,checksumがおかしいなどの理由で,distfileを取得することができません.
/usr/ports/のINDEX*.dbと/var/db/pkg/のpkgdb.dbを消して,/usr/port/でmake
indexしてみたりもしたのですが,按配はかわりません.
ls -laF /usr/ports/editors/vim/
は
total 28
drwxr-xr-x 3 root wheel 512 9 17 13:05 ./
drwxr-xr-x 195 root wheel 3584 9 25 13:33 ../
-rw-r--r-- 1 root wheel 7620 9 12 02:12 Makefile
-rw-r--r-- 1 root wheel 2571 9 12 02:12 distinfo
drwxr-xr-x 2 root wheel 512 9 17 13:05 files/
-rw-r--r-- 1 root wheel 464 6 5 22:11 options
-rw-r--r-- 1 root wheel 1042 9 25 2007 pkg-descr
-rw-r--r-- 1 root wheel 365 8 17 2005 pkg-message
-rw-r--r-- 1 root wheel 840 6 25 00:23 pkg-plist
で,
/usr/ports/editors/vim/distinfoには
MD5 (vim/7.2.014) = a87826187cb77ad2e567a40c1609eea4
SHA256 (vim/7.2.014) =
0be21b50dab71047bdfacf7a189da895b608dc93b88837b3112eaa6fe2e0631c
SIZE (vim/7.2.014) = 1769
との記述があります.
皆さんの環境ではどうなっていますでしょうか.
また,解決策ご存知の方いらっしゃいましたら御教授ください.
Portupgrade時のscriptの結果
Script started on Thu Sep 25 18:36:02 2008
sudo portupgrade -a
Password:
---> Upgrading 'vim-7.2.9' to 'vim-7.2.14' (editors/vim)
---> Building '/usr/ports/editors/vim'
===> Cleaning for vim-7.2.14
===> Vulnerability check disabled, database not found
===> Extracting for vim-7.2.14
=> MD5 Checksum mismatch for vim/vim-7.2.tar.bz2.
=> SHA256 Checksum mismatch for vim/vim-7.2.tar.bz2.
=> MD5 Checksum OK for vim/7.2.001.
=> SHA256 Checksum OK for vim/7.2.001.
=> MD5 Checksum OK for vim/7.2.002.
=> SHA256 Checksum OK for vim/7.2.002.
=> MD5 Checksum OK for vim/7.2.003.
=> SHA256 Checksum OK for vim/7.2.003.
=> MD5 Checksum OK for vim/7.2.004.
=> SHA256 Checksum OK for vim/7.2.004.
=> MD5 Checksum OK for vim/7.2.005.
=> SHA256 Checksum OK for vim/7.2.005.
=> MD5 Checksum OK for vim/7.2.006.
=> SHA256 Checksum OK for vim/7.2.006.
=> MD5 Checksum OK for vim/7.2.008.
=> SHA256 Checksum OK for vim/7.2.008.
=> MD5 Checksum OK for vim/7.2.009.
=> SHA256 Checksum OK for vim/7.2.009.
=> MD5 Checksum OK for vim/7.2.010.
=> SHA256 Checksum OK for vim/7.2.010.
=> MD5 Checksum OK for vim/7.2.011.
=> SHA256 Checksum OK for vim/7.2.011.
=> MD5 Checksum OK for vim/7.2.012.
=> SHA256 Checksum OK for vim/7.2.012.
=> MD5 Checksum OK for vim/7.2.013.
=> SHA256 Checksum OK for vim/7.2.013.
=> MD5 Checksum OK for vim/7.2.014.
=> SHA256 Checksum OK for vim/7.2.014.
===> Refetch for 1 more times files: vim/vim-7.2.tar.bz2
vim/vim-7.2.tar.bz2
===> Vulnerability check disabled, database not found
=> vim-7.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/vim.
=> Attempting to fetch from http://ftp.vim.org/pub/vim/unix/.
fetch: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Requested Range Not
Satisfiable
=> Attempting to fetch from http://mirrors.24-7-solutions.net/pub/vim/unix/.
fetch: http://mirrors.24-7-solutions.net/pub/vim/unix/vim-7.2.tar.bz2:
Requested Range Not Satisfiable
=> Attempting to fetch from http://ftp.tw.vim.org/pub/vim/unix/.
fetch: http://ftp.tw.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Requested Range
Not Satisfiable
=> Attempting to fetch from http://vim.stu.edu.tw/unix/.
fetch: http://vim.stu.edu.tw/unix/vim-7.2.tar.bz2: Requested Range Not
Satisfiable
=> Attempting to fetch from http://gd.tuwien.ac.at/pub/vim/unix/.
fetch: http://gd.tuwien.ac.at/pub/vim/unix/vim-7.2.tar.bz2: Moved
Temporarily
=> Attempting to fetch from http://www.etsimo.uniovi.es/pub/vim/unix/.
fetch: http://www.etsimo.uniovi.es/pub/vim/unix/vim-7.2.tar.bz2: Not Found
=> Attempting to fetch from http://www.pt.vim.org/pub/vim/unix/.
fetch: http://www.pt.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Requested Range
Not Satisfiable
=> Attempting to fetch from http://www.pangora.org/vim.org/pub/vim/unix/.
fetch: http://www.pangora.org/vim.org/pub/vim/unix/vim-7.2.tar.bz2:
Operation timed out
=> Attempting to fetch from http://www.math.technion.ac.il/pub/vim/unix/.
fetch: http://www.math.technion.ac.il/pub/vim/unix/vim-7.2.tar.bz2:
Requested Range Not Satisfiable
=> Attempting to fetch from http://vim.fyxm.net/pub/vim/unix/.
fetch: http://vim.fyxm.net/pub/vim/unix/vim-7.2.tar.bz2: Not Found
=> Attempting to fetch from http://zloba.ath.cx/pub/vim/unix/.
fetch: http://zloba.ath.cx/pub/vim/unix/vim-7.2.tar.bz2: Moved Permanently
=> Attempting to fetch from
http://ftp2.uk.vim.org/sites/ftp.vim.org/pub/vim/unix/.
fetch:
http://ftp2.uk.vim.org/sites/ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2:
Requested Range Not Satisfiable
=> Attempting to fetch from http://vim.mirror.fr/unix/.
fetch: http://vim.mirror.fr/unix/vim-7.2.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://ftp.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp2.us.vim.org/pub/vim/unix/.
fetch: ftp://ftp2.us.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Operation timed
out
=> Attempting to fetch from ftp://ftp9.us.vim.org/pub/vim/unix/.
fetch: ftp://ftp9.us.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Requested action
aborted: local error in processing
=> Attempting to fetch from ftp://ftp.ca.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.nl.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.de.vim.org/unix/.
fetch: ftp://ftp.de.vim.org/unix/vim-7.2.tar.bz2: Unknown FTP error
=> Attempting to fetch from ftp://ftp3.de.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.uk.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.ie.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.at.vim.org/pub/vim/unix/.
fetch: ftp://ftp.at.vim.org/pub/vim/unix/vim-7.2.tar.bz2: File unavailable
(e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.pt.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.is.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.il.vim.org/pub/vim/unix/.
fetch: ftp://ftp.il.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Unknown error: 0
=> Attempting to fetch from ftp://ftp.pl.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.ro.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.sk.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.tw.vim.org/pub/vim/unix/.
fetch: ftp://ftp.tw.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Requested action
aborted: local error in processing
=> Attempting to fetch from ftp://vim.stu.edu.tw/pub/vim/unix/.
fetch: ftp://vim.stu.edu.tw/pub/vim/unix/vim-7.2.tar.bz2: Requested action
aborted: local error in processing
=> Attempting to fetch from ftp://ftp.jp.vim.org/pub/vim/unix/.
fetch: ftp://ftp.jp.vim.org/pub/vim/unix/vim-7.2.tar.bz2: Unknown FTP error
=> Attempting to fetch from ftp://ftp.kr.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from
ftp://ftp.mirrorservice.org/sites/ftp.vim.org/pub/vim/unix/.
fetch: vim-7.2.tar.bz2: local modification time does not match remote
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/vim/.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.4861.0
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vim-7.2.9 UPGRADE_PORT_VER=7.2.9
make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! editors/vim (vim-7.2.9) (checksum mismatch)
exit
Script done on Thu Sep 25 19:01:28 2008
----- Eiichirou UDA -----