upgrade of portupgrade to 2.4.9,2
Andrea Venturoli
ml at netfence.it
Sun Aug 21 14:54:48 UTC 2011
On 08/21/11 08:26, n dhert wrote:
> I did a portupgrade on a freebsd 8.2-RELEASE
> of the portupgrade program itself
> portupgrade-2.4.8_1,2< needs updating (index has 2.4.9,2)
> (that upgraded also ruby to 1.9:
I did the same on some boxes and I'm having a lot of troubles too...
# pkgdb -L
Look for lost dependencies:
undefined method `map' for #<String:0x00000801e60218>
# libchk
/usr/local/sbin/libchk:96: formal argument cannot be a global variable
|$strict|
^
/usr/local/sbin/libchk:100: formal argument cannot be a global variable
|$detailed|
^
# portupgrade -Rf libchk
[Gathering depends for sysutils/libchk ........................... done]
[Exclude up-to-date packages ................. done]
---> Reinstalling 'libchk-1.10.1' (sysutils/libchk)
---> Building '/usr/ports/sysutils/libchk'
===> Cleaning for libchk-1.10.1
===> License check disabled, port has not defined LICENSE
===> Extracting for libchk-1.10.1
=> SHA256 Checksum OK for libchk-1.10.1.tar.bz2.
===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===> Patching for libchk-1.10.1
===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===> Configuring for libchk-1.10.1
===> Building for libchk-1.10.1
Warning: Object directory not changed from original
/usr/ports/sysutils/libchk/work/libchk-1.10.1
gzip -cn libchk.1 > libchk.1.gz
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'libchk-1.10.1'
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 361 packages
found (-1 +0) (...) done]
---> Installing the new version via the port
===> Installing for libchk-1.10.1
===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found
===> Generating temporary packing list
install -o root -g wheel -m 555 libchk.rb /usr/local/sbin/libchk
install -o root -g wheel -m 444 libchk.1.gz /usr/local/man/man1
===> Registering installation for libchk-1.10.1
===> Cleaning for libchk-1.10.1
---> Cleaning out obsolete shared libraries
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 362 packages
found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- ["ruby-1.9.2.290,1"] (["ruby-1.9.2.290,1"]: 1.9.2.290,1"]:
Not in due form: '<version>[_<revision>][,<epoch>]'.)
- ["openssl-1.0.0_5"] (["openssl-1.0.0_5"]: 1.0.0_5"]: Not in
due form: '<version>[_<revision>][,<epoch>]'.)
- ["libyaml-0.1.4_1"] (["libyaml-0.1.4_1"]: 0.1.4_1"]: Not in
due form: '<version>[_<revision>][,<epoch>]'.)
- ["perl-5.8.9_5"] (["perl-5.8.9_5"]: 5.8.9_5"]: Not in due
form: '<version>[_<revision>][,<epoch>]'.)
- ["makedepend-1.0.3,1"] (["makedepend-1.0.3,1"]: 1.0.3,1"]:
Not in due form: '<version>[_<revision>][,<epoch>]'.)
- ["pkg-config-0.25_1"] (["pkg-config-0.25_1"]: 0.25_1"]: Not
in due form: '<version>[_<revision>][,<epoch>]'.)
- ["libiconv-1.13.1_1"] (["libiconv-1.13.1_1"]: 1.13.1_1"]: Not
in due form: '<version>[_<revision>][,<epoch>]'.)
- ["m4-1.4.16,1"] (["m4-1.4.16,1"]: 1.4.16,1"]: Not in due
form: '<version>[_<revision>][,<epoch>]'.)
- ["p5-Locale-gettext-1.05_3"] (["p5-Locale-gettext-1.05_3"]:
1.05_3"]: Not in due form: '<version>[_<revision>][,<epoch>]'.)
(I think the ignored packages should have been reinstalled... however
this was only a try at fixing the previous error).
I also issued "portsdb -uU" *after* the portupgrade update, but to no avail.
bye
av.
P.S. This is on 7.3/amd64 and 8.1/i386.
More information about the freebsd-questions
mailing list