faq15.html pkg versions
Antoine Jacoutot <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <[email protected]> |
Do we care?
Index: faq15.html
===================================================================
RCS file: /cvs/www/faq/faq15.html,v
retrieving revision 1.34
diff -u -r1.34 faq15.html
--- faq15.html 1 May 2007 20:05:11 -0000 1.34
+++ faq15.html 2 May 2007 10:32:02 -0000
@@ -312,10 +312,10 @@
with the package name, as in the following basic example.
<blockquote><pre>
-$ <b>sudo pkg_add -v screen-4.0.2</b>
-parsing screen-4.0.2
+$ <b>sudo pkg_add -v screen-4.0.3p0</b>
+parsing screen-4.0.3p0
installed /etc/screenrc from /usr/local/share/examples/screen/screenrc | 71%
-screen-4.0.2: complete
+screen-4.0.3p0: complete
</pre></blockquote>
<p>
@@ -339,14 +339,14 @@
<blockquote><pre>
$ <b>sudo pkg_add -i screen</b>
-Ambiguous: screen could be screen-4.0.2 screen-4.0.2-shm screen-4.0.2-static
+Ambiguous: screen could be screen-4.0.3p0 screen-4.0.3p0-shm
screen-4.0.3p0-static
Choose one package
0: <None>
- 1: screen-4.0.2
- 2: screen-4.0.2-shm
- 3: screen-4.0.2-static
+ 1: screen-4.0.3p0
+ 2: screen-4.0.3p0-shm
+ 3: screen-4.0.3p0-static
Your choice: 1
-screen-4.0.2: complete
+screen-4.0.3p0: complete
</pre></blockquote>
@@ -358,10 +358,10 @@
Consider the following example:
<blockquote><pre>
-$ <b>sudo pkg_add ghostscript-fonts-6.0p0</b>
-ghostscript-fonts-6.0p0: complete
+$ <b>sudo pkg_add ghostscript-fonts-8.11</b>
+ghostscript-fonts-8.11: complete
You may wish to update your font path for /usr/local/share/ghostscript/fonts
---- ghostscript-fonts-6.0p0 -------------------
+--- ghostscript-fonts-8.11 -------------------
To install these fonts for X11, just make sure that the fontpath
lists the 75dpi or 100dpi bitmap fonts before the ghostscript fonts,
and make sure you have the string ":unscaled" appended to the bitmap
@@ -380,21 +380,21 @@
Let us now continue with an example of a package which has dependencies:
<blockquote><pre>
-$ <b>sudo pkg_add -v tin-1.6.2</b>
-parsing tin-1.6.2
-Dependencies for tin-1.6.2 resolve to: gettext-0.14.5p1, libutf8-0.8,
pcre-6.4p1, libiconv-1.9.2p3 (todo:
libiconv-1.9.2p3,gettext-0.14.5p1,pcre-6.4p1,libutf8-0.8)
-tin-1.6.2:parsing libiconv-1.9.2p3
-tin-1.6.2:libiconv-1.9.2p3: complete
-tin-1.6.2:parsing gettext-0.14.5p1
-Dependencies for gettext-0.14.5p1 resolve to: expat-1.95.6p1,
libiconv-1.9.2p3 (todo: expat-1.95.6p1)
-tin-1.6.2:parsing expat-1.95.6p1
-tin-1.6.2:expat-1.95.6p1: complete
-tin-1.6.2:gettext-0.14.5p1: complete
-tin-1.6.2:parsing pcre-6.4p1
-tin-1.6.2:pcre-6.4p1: complete
-tin-1.6.2:parsing libutf8-0.8
-tin-1.6.2:libutf8-0.8: complete
-tin-1.6.2: complete
+$ <b>sudo pkg_add -v tin-1.8.2p0</b>
+parsing tin-1.8.2p0
+Dependencies for tin-1.6.2 resolve to: gettext-0.14.6, libutf8-0.8,
pcre-6.4p1, libiconv-1.9.2p3 (todo:
libiconv-1.9.2p3,gettext-0.14.6,pcre-6.4p1,libutf8-0.8)
+tin-1.8.2p0:parsing libiconv-1.9.2p3
+tin-1.8.2p0:libiconv-1.9.2p3: complete
+tin-1.8.2p0:parsing gettext-0.14.6
+Dependencies for gettext-0.14.6 resolve to: expat-2.0.0, libiconv-1.9.2p3
(todo: expat-2.0.0)
+tin-1.8.2p0:parsing expat-2.0.0
+tin-1.8.2p0:expat-2.0.0: complete
+tin-1.8.2p0:gettext-0.14.6: complete
+tin-1.8.2p0:parsing pcre-6.4p1
+tin-1.8.2p0:pcre-6.4p1: complete
+tin-1.8.2p0:parsing libutf8-0.8
+tin-1.8.2p0:libutf8-0.8: complete
+tin-1.8.2p0: complete
</pre></blockquote>
Again we added the <b>-v</b> flag to see more of what is happening.
@@ -417,8 +417,8 @@
Let's consider installation via FTP in the next example:
<blockquote><pre>
-$ <b>sudo pkg_add
ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/`machine -a`/screen-4.0.2.tgz</b>
-screen-4.0.2: complete
+$ <b>sudo pkg_add
ftp://ftp.openbsd.org/pub/OpenBSD/4.1/packages/`machine -a`/screen-4.0.3p0.tgz</b>
+screen-4.0.3p0: complete
</pre></blockquote>
<p>
@@ -441,12 +441,12 @@
<b>-v</b> flag, however!):
<blockquote><pre>
-$ <b>sudo pkg_add -v screen-4.0.2</b>
-parsing screen-4.0.2
+$ <b>sudo pkg_add -v screen-4.0.3p0</b>
+parsing screen-4.0.3p0
The existing file /etc/screenrc has NOT been changed** | 71%
It does NOT match the sample file /usr/local/share/examples/screen/screenrc
You may wish to update it manually
-screen-4.0.2: complete
+screen-4.0.3p0: complete
</pre></blockquote>
Sometimes you may encounter an error like the one in the following
@@ -455,11 +455,11 @@
<blockquote><pre>
$ <b>sudo pkg_add xv-3.10ap4</b>
xv-3.10ap4:jpeg-6bp3: complete
-xv-3.10ap4:png-1.2.8: complete
-xv-3.10ap4:tiff-3.7.3p0: complete
+xv-3.10ap4:png-1.2.14p0: complete
+xv-3.10ap4:tiff-3.8.2p0: complete
Can't install xv-3.10ap4: lib not found X11.9.0
Even by looking in the dependency tree:
- tiff-3.7.3p0, jpeg-6bp3, png-1.2.8
+ tiff-3.8.2p0, jpeg-6bp3, png-1.2.14p0
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
@@ -505,24 +505,24 @@
<blockquote><pre>
$ <b>pkg_info</b>
-aterm-0.4.2 color vt102 terminal emulator with transparency support
-bzip2-1.0.3 block-sorting file compressor, unencumbered
-expat-1.95.6p1 XML 1.0 parser written in C
-fluxbox-0.9.14 window manager based on the original Blackbox code
-gettext-0.14.5p1 GNU gettext
-imlib2-1.1.2p2 image manipulation library
+aterm-0.4.2p1 color vt102 terminal emulator with transparency support
+bzip2-1.0.4 block-sorting file compressor, unencumbered
+expat-2.0.0 XML 1.0 parser written in C
+fluxbox-0.9.15.1p0 window manager based on the original Blackbox code
+gettext-0.14.6 GNU gettext
+imlib2-1.3.0 image manipulation library
jpeg-6bp3 IJG's JPEG compression utilities
libiconv-1.9.2p3 character set conversion library
libltdl-1.5.22p1 GNU libtool system independent dlopen wrapper
-libungif-4.1.4 tools and library routines for working with GIF images
+libungif-4.1.4p0 tools and library routines for working with GIF images
libutf8-0.8 provides UTF-8 locale support
-mutt-1.4.2ip2 tty-based e-mail client
+mutt-1.4.2.2i tty-based e-mail client
pcre-6.4p1 perl-compatible regular expression library
-png-1.2.8 library for manipulating PNG images
-screen-4.0.2 multi-screen window manager
-tcsh-6.14.00p0 extended C-shell with many useful features
-tiff-3.7.3p0 tools and library routines for working with TIFF images
-tin-1.6.2 threaded NNTP and spool based UseNet newsreader
+png-1.2.14p0 library for manipulating PNG images
+screen-4.0.3p0 multi-screen window manager
+tcsh-6.14.00p1 extended C-shell with many useful features
+tiff-3.8.2p0 tools and library routines for working with TIFF images
+tin-1.8.2p0 threaded NNTP and spool based UseNet newsreader
</pre></blockquote>
<p>
@@ -585,7 +585,7 @@
<blockquote><pre>
$ <b>sudo pkg_delete screen</b>
-screen-4.0.2: complete
+screen-4.0.3p0: complete
Clean shared items: complete
</pre></blockquote>
@@ -594,7 +594,7 @@
and flavors with the package name, since pkg_delete(1) will usually be
able to find the full name by itself.
You need to specify the complete package name (in the example, that is
-screen-4.0.2) only if ambiguity is possible due to multiple installed
+screen-4.0.3p0) only if ambiguity is possible due to multiple installed
packages with the specified name. In that case pkg_delete(1) cannot
know which package to delete.
@@ -605,9 +605,9 @@
<blockquote><pre>
$ <b>sudo pkg_delete screen</b>
-screen-4.0.2: complete
+screen-4.0.3p0: complete
Clean shared items: complete
---- screen-4.0.2 -------------------
+--- screen-4.0.3p0 -------------------
You should also remove /etc/screenrc (which was modified)
</pre></blockquote>
@@ -655,10 +655,10 @@
during installation:
<blockquote><pre>
-$ <b>sudo pkg_add screen-4.0.2</b>
-screen-4.0.2: complete
7%
+$ <b>sudo pkg_add screen-4.0.3p0</b>
+screen-4.0.3p0: complete
7%
Adjusting md5 for /usr/local/info/screen.info-3 from
49fb3fe1cc3a3b0057518459811b6dac to 3b9c7811244fb9f8d83bb27d3a0f60d8
-/usr/sbin/pkg_add: Installation of screen-4.0.2 failed , partial installation
recorded as partial-screen-4.0.2
+/usr/sbin/pkg_add: Installation of screen-4.0.3p0 failed , partial
installation recorded as partial-screen-4.0.3p0
</pre></blockquote>
<p>
@@ -979,18 +979,18 @@
<blockquote><pre>
$ sqlite3 /usr/local/share/sqlports
-SQLite version 3.3.6
+SQLite version 3.3.12
Enter ".help" for instructions
sqlite> SELECT FULLPKGNAME,COMMENT FROM Ports WHERE COMMENT
LIKE '%statistics%';
Guppi-0.40.3p1|GNOME-based plot program with statistics capabilities
mailgraph-1.12|a RRDtool frontend for Postfix statistics
-R-2.1.1p0|clone of S, a powerful math/statistics/graphics language
+R-2.4.1|clone of S, a powerful math/statistics/graphics language
py-probstat-0.912p0|probability and statistics utilities for Python
-darkstat-3.0.524|network statistics gatherer with graphs
-pfstat-2.2|packet filter statistics visualization
+darkstat-3.0.540p1|network statistics gatherer with graphs
+pfstat-2.2p0|packet filter statistics visualization
tcpstat-1.4|report network interface statistics
wmwave-0.4p2|Window Maker dockapp to display wavelan statistics
-diffstat-1.43|accumulates and displays statistics from a diff file
+diffstat-1.43p0|accumulates and displays statistics from a diff file
sqlite>
</pre></blockquote>
@@ -1013,31 +1013,31 @@
100% |**************************************************| 173 KB 00:02
>> Size matches for /usr/ports/distfiles/rsnapshot-1.2.9.tar.gz
>> Checksum OK for rsnapshot-1.2.9.tar.gz. (sha1)
-===> rsnapshot-1.2.9 depends on: rsync-2.6.8 - not found
-===> Verifying install for rsync-2.6.8 in net/rsync
-===> Checking files for rsync-2.6.8
->> rsync-2.6.8.tar.gz doesn't seem to exist on this system.
->> Fetch ftp://ftp.samba.org/pub/rsync/old-versions/rsync-2.6.8.tar.gz.
+===> rsnapshot-1.2.9 depends on: rsync-2.6.9 - not found
+===> Verifying install for rsync-2.6.9 in net/rsync
+===> Checking files for rsync-2.6.9
+>> rsync-2.6.9.tar.gz doesn't seem to exist on this system.
+>> Fetch ftp://ftp.samba.org/pub/rsync/old-versions/rsync-2.6.9.tar.gz.
100% |**************************************************| 754 KB 00:31
->> Size matches for /usr/ports/distfiles/rsync-2.6.8.tar.gz
->> Checksum OK for rsync-2.6.8.tar.gz. (sha1)
+>> Size matches for /usr/ports/distfiles/rsync-2.6.9.tar.gz
+>> Checksum OK for rsync-2.6.9.tar.gz. (sha1)
===> Verifying specs: c
-===> found c.39.3
-===> Extracting for rsync-2.6.8
-===> Patching for rsync-2.6.8
-===> Configuring for rsync-2.6.8
+===> found c.40.3
+===> Extracting for rsync-2.6.9
+===> Patching for rsync-2.6.9
+===> Configuring for rsync-2.6.9
[...snip...]
-===> Building for rsync-2.6.8
+===> Building for rsync-2.6.9
[...snip...]
-===> Faking installation for rsync-2.6.8
+===> Faking installation for rsync-2.6.9
[...snip...]
-===> Building package for rsync-2.6.8
-Link to /usr/ports/packages/i386/ftp/rsync-2.6.8.tgz
-Link to /usr/ports/packages/i386/cdrom/rsync-2.6.8.tgz
-===> Installing rsync-2.6.8
from /usr/ports/packages/i386/all/rsync-2.6.8.tgz
-rsync-2.6.8: complete
+===> Building package for rsync-2.6.9
+Link to /usr/ports/packages/i386/ftp/rsync-2.6.9.tgz
+Link to /usr/ports/packages/i386/cdrom/rsync-2.6.9.tgz
+===> Installing rsync-2.6.9
from /usr/ports/packages/i386/all/rsync-2.6.9.tgz
+rsync-2.6.9: complete
===> Returning to build of rsnapshot-1.2.9
-===> rsnapshot-1.2.9 depends on: rsync-2.6.8 - found
+===> rsnapshot-1.2.9 depends on: rsync-2.6.9 - found
===> Extracting for rsnapshot-1.2.9
===> Patching for rsnapshot-1.2.9
===> Configuring for rsnapshot-1.2.9
@@ -1049,7 +1049,7 @@
===> Building package for rsnapshot-1.2.9
Link to /usr/ports/packages/i386/ftp/rsnapshot-1.2.9.tgz
Link to /usr/ports/packages/i386/cdrom/rsnapshot-1.2.9.tgz
-===> rsnapshot-1.2.9 depends on: rsync-2.6.8 - found
+===> rsnapshot-1.2.9 depends on: rsync-2.6.9 - found
===> Installing rsnapshot-1.2.9
from /usr/ports/packages/i386/all/rsnapshot-1.2.9.tgz
rsnapshot-1.2.9: complete
</pre></blockquote>
@@ -1109,7 +1109,7 @@
<blockquote><pre>
$ <b>make clean=depends</b>
-===> Cleaning for rsync-2.6.8
+===> Cleaning for rsync-2.6.9
===> Cleaning for rsnapshot-1.2.9
</pre></blockquote>
--
Antoine