From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 12:01:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDFE91065693 for ; Mon, 20 Apr 2009 12:01:54 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from smtp.ruby.ocn.ne.jp (ruby.ocn.ne.jp [61.207.12.164]) by mx1.freebsd.org (Postfix) with ESMTP id 638B78FC2A for ; Mon, 20 Apr 2009 12:01:54 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from localhost (p6194-ipadfx01sizuokaden.shizuoka.ocn.ne.jp [219.160.179.194]) by smtp.ruby.ocn.ne.jp (Postfix) with ESMTP id 7DD0834B9; Mon, 20 Apr 2009 21:01:52 +0900 (JST) Date: Mon, 20 Apr 2009 21:01:16 +0900 (JST) Message-Id: <20090420.210116.260098421.toshi@ruby.ocn.ne.jp> To: freebsd-questions@freebsd.org From: SAITOU Toshihide In-Reply-To: <1bd550a00904190201q38e947eeq3b152a0a75782a9b@mail.gmail.com> References: <1bd550a00904190054j4246156bma9d3bf51f7c4b840@mail.gmail.com> <4ad871310904190139r49a26a45xe6d67fb5d87e5a5c@mail.gmail.com> <1bd550a00904190201q38e947eeq3b152a0a75782a9b@mail.gmail.com> X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 5.2.54 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Vim port problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 12:02:14 -0000 In message: <1bd550a00904190201q38e947eeq3b152a0a75782a9b@mail.gmail.co= m> Fernando Apestegu=EDa write= s: > 2009/4/19 Glen Barber : > > 2009/4/19 Fernando Apestegu=EDa : > >> Hi all, > >> > >> I have the latest version of the ports collection (gotten with > >> portsnap). I performed a whole update of my system (FreeBSD > >> 7.1-RELEASE-p4 #12). Everything went fine save the vim port. > >> > > > > An upgrade of the base system Should Not(Tm) affect installed ports= > > under normal conditions. > > > >> It is unable to download vim-7.2.tar.bz2 despite the fact that the= URL > >> portupgrade tries to download from, exists: > >> http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 > >> It was unable to download the file from any other sites. Several > >> different errors (Move permanently, range request not satisfiable.= ..) > >> > > > > I am unfamiliar with automated port utilities. =A0What happens if y= ou do > > the following?: > > =A0 cd /usr/ports/editors/vim; make deinstall distclean; make insta= ll clean > = > It fetches all the files from the remote site without problems and it= > installs it. > = > > > >> However, I downloaded that file from the first site using 'fetch',= > >> place the file in /usr/ports/distfiles/vim and I could install the= > >> package... > >> > > > > Don't confuse ports and packages. =A0They are two different ways to= > > install third-party software (until they are installed -- then > > everything is a package). > = > Sorry, change "package" for "port". What I wanted to say is: when > installing the port, it couldn't download one of the needed files > (vim-7.2.tar.bz2). After I did it by hand, it could install the port > (compiling and all the stuff) because portupgrade found the file > already downloaded in /usr/ports/distfiles/vim. http://www.mail-archive.com/freebsd-users-jp@jp.freebsd.org/msg03072.ht= ml According to the link, the ports system fetch the file with -r (resume) option when the previous file transfer had interrupted. However the file entity is changed with the same file name in that period causes the fetch program failed, so you needed the cleaning out of the file or fetch by hand before upgrade, I guess. I hope the ports system can handle this situation. ---- SAITOU Toshihide