Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 10:30:08 +0100
From:      Krzysztof Stryjek <ports@bsdserwis.com>
To:        ruby@freebsd.org
Subject:   Last problems with portupgrade
Message-ID:  <20101112093008.GW81788@cmd.bsdserwis.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm out of list, so please forgive me if I'll repeat problem report.

Last update of portupgrade scripts changed scripts execution. I saw that
ruby is called via /usr/bin/env, so executing portupgrade, portsdb,
portversion via periodic finishes with error message:
env: ruby: No such file or directory.

Of course I can add /usr/local/(s)bin to /etc/crontab (PATH), but I'm
not sure that's good idea.

The second problem (tested on 6.x, 7.x, 8.x) is that portupgrade
crashes. Here part of portupgrade log:
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'xz-4.999.9_1'
--->  Preserving /usr/local/lib/liblzma.so.0 as /usr/local/lib/compat/pkg/liblzma.so.0
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! xz-4.999.9_1  (undefined method `nil' for "":String)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! archivers/xz (xz-4.999.9_1)   (uninstall error)

Is it problem with my pkgtools.conf? I've missed sht else?

Thanks a lot for your answer, patient and time.

Greetings,
-- 
Krzysztof Stryjek
UNIX administrator/Juniper Networks Specialist
email: wtp (at) bsdserwis (dot) com
http://www.linkedin.com/in/KrzysztofStryjek
GPG fingerprint: 8BD7 40CE 8994 0BBE CE6C  91CD 1292 8959 DC61 0E76

In theory, there is no difference between theory and practice.
In practice, there is.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101112093008.GW81788>