Hitchhiker's Guide to Openbsd


- Incomplete package installation or removal


Download 1.27 Mb.
Pdf ko'rish
bet244/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   240   241   242   243   244   245   246   247   ...   258
Bog'liq
obsd-faq49

15.2.8 - Incomplete package installation or removal
In some odd cases, you may find that a package was not added or deleted completely, because of 
conflicts with other files. The incomplete installation is usually marked with "partial-" prepended to the 
package name. This can, for instance, happen when you coincidentally press CTRL+C during 
installation: 
sudo pkg_add screen-4.0.3p1
screen-4.0.3p1: 
complete
7%
Adjusting md5 for /usr/local/info/screen.info-3 from 
49fb3fe1cc3a3b0057518459811b6dac to 
3b9c7811244fb9f8d83bb27d3a0f60d8
/usr/sbin/pkg_add: Installation of screen-4.0.3p1 failed , 
partial installation recorded as partial-screen-4.0.3p1
It is always a good idea to remove partial packages from your system, and to fix potential problems that 
http://www.openbsd.org/faq/faq15.html (10 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
lead to this failure. It is often an indication that you do not have a clean system with everything installed 
from packages, but possibly packages mixed up with other software installed straight from source. 
15.3 - Working with ports
As mentioned in the introduction, packages are compiled from the ports tree. In this section we will 
explain how the ports tree works, when you should use it and how you can use it. 
IMPORTANT NOTE: The ports tree is meant for advanced users. Everyone is encouraged to use the 
pre-compiled binary 
packages
. Do NOT ask beginner questions on the mailing lists like "How can I 
get the ports tree working?". If you have questions about the ports tree, it is assumed that you have read 
the manual pages and this FAQ, and that you are able to work with it. 
15.3.1 - How does it work?
The ports tree, a concept originally borrowed from 
FreeBSD
, is a set of Makefiles, one for each third 
Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   240   241   242   243   244   245   246   247   ...   258




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