[OpenIndiana-discuss] pkg update

cpforum cpforum at orange.fr
Wed Dec 16 20:30:50 UTC 2015


 Hi,

Under hipster you don't no what really do a pkg update because most software is recompiled everyday.
To know what pkgs are really updated by pkg update try my litlle script :


=======

#!/bin/ksh

export PATH=/usr/bin


# output og pkg update -nv look like that
# system/network
# 0.5.11-2015.0.2.15412 -> 0.5.11-2015.0.2.15420
# system/network/mailwrapper
# 0.5.11-2015.0.2.15412 -> 0.5.11-2015.0.2.15420
# system/prerequisite/gnu
# 0.5.11-2015.0.2.0:20151204T113219Z -> 0.5.11-2015.0.2.0:20151211T205901Z

TMPFILE=/tmp/$(mktemp pkgXXXXXX)
trap 'rm -f $TMPFILE' 0 15

# keep pkg update -nv output from openindiana.org line to first void line
pkg update -nv | sed -n '/^openindiana\.org$/,/^$/ p' > $TMPFILE
#more -c $TMPFILE
#exit

exec 3<$TMPFILE
read -u3 -r pkgname # read first line eg openindiana.org
while read -u3 -r pkgname
do
[[ "$pkgname" == "" ]] && continue # skip last line
read -u3 -r old to new
if [[ $old == *Z ]]
then
old=${old%:*}
new=${new%:*}
else
old=${old%.*}
new=${new%.*}
fi
if [[ "$old" == "$new" ]]
then
continue
else
print -- "$pkgname"
print -- " $old -> $new"
fi
done
exec 3<&-

========

 


Here is an example :

Last update was the 2015-12-05 09:48

To day running pkgcompare give

# ./pkgcompare
system/management/snmp/sea/sea-config
0.5.11-2015.0.2 -> None
image/library/libjpeg6
None -> 6.0.2-2015.0.2
image/library/libjpeg6-ijg
None -> 6.0.2-2015.0.2
desktop/administration/nwam-manager
1.151.0-2014.1.3 -> 1.151.0-2015.0.2
desktop/remote-desktop/tigervnc
1.1.0-2015.0.1 -> 1.1.0-2015.0.2
editor/vim
7.4-2015.0.0 -> 7.4-2015.0.2
editor/vim/vim-core
7.4-2015.0.0 -> 7.4-2015.0.2
gnome/help-viewer/yelp
2.30.2-2015.0.0 -> 2.30.2-2015.0.2
image/editor/inkscape
0.48.5-2015.0.1 -> 0.48.5-2015.0.2
image/library/libjpeg
6.0.2-2013.0.0 -> 6.0.2-2015.0.2
image/library/libpng10
1.0.64-2015.0.2 -> 1.0.65-2015.0.2
image/library/libpng12
1.2.54-2015.0.2 -> 1.2.55-2015.0.2
image/library/libpng14
1.4.17-2015.0.2 -> 1.4.18-2015.0.2
library/libsndfile
1.0.25-2015.0.1 -> 1.0.25-2015.0.2
library/libxml2
2.9.2-2015.0.2 -> 2.9.3-2015.0.2
library/mpich/gcc
3.1.3-2014.1.3 -> 3.2-2015.0.2
library/python-2/libxml2-26
2.9.2-2015.0.2 -> 2.9.3-2015.0.2
library/python-2/libxml2-27
2.9.2-2015.0.2 -> 2.9.3-2015.0.2
library/python-2/tkinter-27
2.7.10-2015.0.1 -> 2.7.11-2015.0.2
network/dns/bind
9.9.7.3-2015.0.1 -> 9.9.8.2-2015.0.2
runtime/perl-516
5.16.3-2014.1.2 -> 5.16.3-2015.0.2
runtime/python-27
2.7.10-2015.0.1 -> 2.7.11-2015.0.2
runtime/python-27/tests
2.7.10-2015.0.1 -> 2.7.11-2015.0.2
system/library/flex-runtime
2.5.35-2014.0.1 -> 2.5.35-2015.0.2
x11/server/xorg
1.14.7-2015.0.1 -> 1.14.7-2015.0.2
x11/server/xvnc
1.1.0-2015.0.1 -> 1.1.0-2015.0.2


 

 

> Message du 06/12/15 19:44
> De : "cpforum" 
> A : openindiana-discuss at openindiana.org
> Copie à : 
> Objet : [OpenIndiana-discuss] Is hipster 2015-10 32 bits compatible
> 
> Hi,
> 
> I've just installed OI hipster 2015-10 on a 2004 32 bits Pentium IV 2,53Ghz 1,5 Gb RAM desktop
> with a SIS648/963 motherboard (it works 2 years ago with OI).
> 
> Installation is OK, Boot is OK, Network is OK. Everything seems to be OK after opening a Gnome session.
> Firefox 24 works without problems, Gnome Terminal too, download files with Firefox, is ok an it's fast enough.
> 
> When I launch : "pkg update" the system become unusable, Gome Terminal can no longer launch
> bash, and so on. The system is frozen an cannot be halted. Nothing is logged excepted one time no "more threads".
> 
> Is hipster always 32 bits compatible ?
> 
> 
> 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



More information about the openindiana-discuss mailing list