Hi all
I have problem with updating a package (for example `nano') using portupgrade -PP option (using packages instead of ports), while no problem using ports only (I mean using portupgrade without -PP).
The following is the output of some utilities to clear the problem:
It failed:
Executing without -PP :
Now, I have nano updated:
Thank you all, in advance.
I have problem with updating a package (for example `nano') using portupgrade -PP option (using packages instead of ports), while no problem using ports only (I mean using portupgrade without -PP).
The following is the output of some utilities to clear the problem:
Code:
$ cd /usr/ports
$ portsnap update
Ports tree is already up to date.
$ pkg_version -v | grep -v =
bash-3.2.25 < needs updating (port has 3.2.39_1)
bison-2.3_3,1 < needs updating (port has 2.3_4,1)
...
nano-2.0.6 < needs updating (port has 2.0.9)
...
Code:
$ portupgrade -v -R -PP nano
---> Session started at: Fri, 26 Dec 2008 15:41:13 +0000
** No need to upgrade 'libiconv-1.11_1' (>= libiconv-1.11_1). (specify -f to force)
---> ** Upgrade tasks 3: 0 done, 1 ignored, 0 skipped and 0 failed
** No need to upgrade 'gettext-0.17_1' (>= gettext-0.17_1). (specify -f to force)
---> ** Upgrade tasks 3: 0 done, 2 ignored, 0 skipped and 0 failed
---> Checking for the latest package of 'editors/nano'
---> Found a package of 'editors/nano': /usr/ports/packages/All/nano-2.0.6.tbz (nano-2.0.6)
---> Fetching the package(s) for 'nano-2.0.9' (editors/nano)
---> Fetching nano-2.0.9
++ Will try the following sites in the order named:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/
---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeq6C9KJuN/nano-2.0.9.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tbz'
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tbz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tbz
---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeq6C9KJuN/nano-2.0.9.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tgz'
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tgz: File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/All/nano-2.0.9.tgz
** Failed to fetch nano-2.0.9
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
! nano-2.0.9 (fetch error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
---> Fetching the latest package(s) for 'nano' (editors/nano)
---> Fetching nano
++ Will try the following sites in the order named:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/
---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeWGg5o17Z/nano.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/nano.tbz'
/var/tmp/portupgradeWGg5o17Z/nano.tbz 100% of 275 kB 35 kBps
---> Downloaded as nano.tbz
---> Identifying the package /var/tmp/portupgradeWGg5o17Z/nano.tbz
---> Saved as /usr/ports/packages/All/nano-2.0.6.tbz
---> Skipping libiconv-1.11_1 (already installed)
---> Identifying the package /usr/ports/packages/All/gettext-0.16.1_3.tbz
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ nano@
- libiconv-1.11_1
- gettext-0.16.1_3
---> Packages processed: 1 done, 2 ignored, 0 skipped and 0 failed
---> Found a package of 'editors/nano': /usr/ports/packages/All/nano-2.0.6.tbz (nano-2.0.6)
---> Located a package version 2.0.6 (/usr/ports/packages/All/nano-2.0.6.tbz)
** Ignoring the package, which is the same version as is installed (2.0.6)
** No package available: editors/nano
---> ** Upgrade tasks 3: 0 done, 2 ignored, 0 skipped and 1 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
- converters/libiconv (libiconv-1.11_1)
- devel/gettext (gettext-0.17_1)
! editors/nano (nano-2.0.6) (package not found)
---> Packages processed: 0 done, 2 ignored, 0 skipped and 1 failed
---> Session ended at: Fri, 26 Dec 2008 15:42:55 +0000 (consumed 00:01:41)
Code:
$ pkg_version -v | grep -i nano
$ nano-2.0.6 < needs updating (port has 2.0.9)
Executing without -PP :
Code:
$ portupgrade -v nano
---> Session started at: Fri, 26 Dec 2008 15:53:00 +0000
---> Upgrade of editors/nano started at: Fri, 26 Dec 2008 15:53:01 +0000
---> Upgrading 'nano-2.0.6' to 'nano-2.0.9' (editors/nano)
---> Build of editors/nano started at: Fri, 26 Dec 2008 15:53:01 +0000
---> Building '/usr/ports/editors/nano'
===> Cleaning for nano-2.0.9
===> Extracting for nano-2.0.9
=> MD5 Checksum mismatch for nano-2.0.9.tar.gz.
=> SHA256 Checksum mismatch for nano-2.0.9.tar.gz.
===> Refetch for 1 more times files: nano-2.0.9.tar.gz nano-2.0.9.tar.gz
=> nano-2.0.9.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.nano-editor.org/dist/v2.0/.
nano-2.0.9.tar.gz 100% of 1370 kB 8054 Bps 00m00s
=> MD5 Checksum OK for nano-2.0.9.tar.gz.
=> SHA256 Checksum OK for nano-2.0.9.tar.gz.
===> Patching for nano-2.0.9
===> Applying FreeBSD patches for nano-2.0.9
===> nano-2.0.9 depends on shared library: intl - found
===> Configuring for nano-2.0.9
checking...
[much output comes here]
Code:
[root@myfb /usr/ports]# pkg_version -v | grep -i nano
nano-2.0.9 = up-to-date with port
Thank you all, in advance.