[gobolinux-users] Freshen 2.2.6: failed when stdin and stdout are redirected?

rubisher rubisher at scarlet.be
Sun Aug 26 09:54:34 UTC 2007


Hello Michael,

With this release 2.2.6 of Freshen, when I redirect stdin and stdout, it failed:
# Freshen -U KDE-Base 2>&1 | tee /var/tmp/Freshen-KdeBase.doc
Freshen: Producing updates list...
Freshen: Examining only KDE-Base
Backtrace:
   /usr/local/sbin/Freshen:637:in `progStatus'
   /usr/local/sbin/Freshen:326:in `upgradeSystem'
   /usr/local/sbin/Freshen:325:in `each'
   /usr/local/sbin/Freshen:325:in `upgradeSystem'
   /usr/local/sbin/Freshen:183:in `run'
   /System/Links/Libraries/ruby/site_ruby/1.8/gobo.rb:187:in `start'
   /usr/local/sbin/Freshen:694
[IUR] Xorg 7.2-r5 (KDE-Base)                                          7.2-r2
[IUR] Cairo 1.4.2-r1 (Pango)                                           1.4.0
[IUR] Pango 1.16.2-r1 (DBus)                                          1.16.0
[IUR] GTK+ 2.10.11-r2 (DBus)                                      2.10.11-r1
[IUR] DBus 1.0.2-r3 (KDE-Base)                                      1.0.2-r2
Freshen: Error: undefined method `+' for nil:NilClass [NoMethodError]

while it doesn't show this pb when I doesn't redirect std in/out:
# Freshen -U KDE-Base
Freshen: Producing updates list...
Freshen: Examining only KDE-Base
[IUR] Xorg 7.2-r5 (KDE-Base)                                          7.2-r2
[IUR] Cairo 1.4.2-r1 (Pango)                                           1.4.0
[IUR] Pango 1.16.2-r1 (DBus)                                          1.16.0
[IUR] GTK+ 2.10.11-r2 (DBus)                                      2.10.11-r1
[IUR] DBus 1.0.2-r3 (KDE-Base)                                      1.0.2-r2
[N X] Ghostscript 8.60 (KDE-Base)                                       none
[IUR] Gettext 0.16.1-r3 (DBus-GLib)                                   0.14.4
[N R] DBus-GLib 0.73-r3 (HAL)                                           none
[N X] HAL-Info 20070618 (HAL)                                           none
[IUX] HwData 0.195-r2 (HAL)                                          0.148-1
[IUR] E2FSProgs 1.40-r1 (Util-Linux)                                    1.39
[IUX] Util-Linux 2.12r-r3 (HAL)                                        2.12r
[N R] HAL 0.5.9-r1 (KDE-Base)                                           none
[IUX] LibART_LGPL 2.3.19-r1 (KDE-Libs)                                2.3.17
[IUR] LibMNG 1.0.10-r1 (KDE-Base)                                      1.0.9
[IUX] LibVorbis 1.2.0 (KDE-Base)                                       1.1.2
[IUR] Mesa 7.0-r1 (KDE-Base)                                        6.5.2-r3
[IUR] PCRE 7.0-r2 (KDE-Libs)                                             6.6
[IUX] KDE-Libs 3.5.7 (KDE-Base)                                     3.5.6-r1
[IUX] KDE-Base 3.5.7                                                3.5.6-r2
Freshen: Upgrading 1/20...
[IUR] Xorg 7.2-r5 ( (KDE-Base))                                       7.2-r2
Freshen: Upgrading Xorg...
Freshen: First preference binary, no binary.
Freshen: Got a recipe though.
Freshen: Feeding this off to Compile...
Compile: Locating a recipe for Xorg 7.2-r5...
[snip]

There are well a --batch options but output are different.

Any idea?

Tx,
	r.



More information about the gobolinux-users mailing list