Hitchhiker's Guide to Openbsd


packages/`machine -a`/screen-4.0.3p1.tgz


Download 1.27 Mb.
Pdf ko'rish
bet241/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   237   238   239   240   241   242   243   244   ...   258
Bog'liq
obsd-faq49

packages/`machine -a`/screen-4.0.3p1.tgz
screen-4.0.3p1: complete
In this example the -v flag wasn't used, so only needed messages are shown. Notice that the complete 
filename was entered by adding a .tgz suffix. You can also skip this suffix as in the previous examples 
since it is auto-completed by pkg_add(1). 
Note: Not all architectures have the same packages available. Some ports do not work on certain 
architectures, and performance limits the number of packages that can be built on others. 
For safety, if you are installing a package which you had installed earlier (or an older version of it) and 
removed, pkg_add(1) will not overwrite configuration files which have been modified. Instead, it will 
inform you about this as follows (only when using the -v flag, however!): 
sudo pkg_add -v screen-4.0.3p1
parsing screen-4.0.3p1
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.3p1: complete
Sometimes you may encounter an error like the one in the following example: 
sudo pkg_add xv-3.10ap4
xv-3.10ap4:jpeg-6bp3: 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.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)
http://www.openbsd.org/faq/faq15.html (7 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
If you are still running 3.6 packages, update them.
There is pkg_add(1) nicely installing dependencies, when all of a sudden it aborts the installation of xv. 
This is another safety precaution which is available since OpenBSD 3.7. The packing information 
bundled in the package includes information about shared libraries that the package expects to be 
installed, system libraries as well as third party libraries. If one of the required libraries cannot be found, 
the package is not installed because it would not function anyway. 
To solve this type of conflict, you must find out what to install in order to get the required libraries on 
your system. There are several things to check: 

You may have older packages installed: an older version of the required library is present. In this 
case, upgrade these packages. 

Your system may be incomplete: you did not install one of the file sets, which contains the 
required library. Just 
add the required file set.

Your system may be out of date: you have an older version of the required library. Boot the 
installer (as detailed in 
FAQ 4
), and choose to (U)pgrade your complete system. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   237   238   239   240   241   242   243   244   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling