- 论坛徽章:
- 0
|
10可用积分
删除/usr/ports
使用portsnap更新
portsnap fetch extract
在/etc/sysctl.conf里面加入了内核版本号2.6
compat.linux.osrelease=2.6.16
kern.elf32.fallback_brand=3
安装
cd /usr/ports/emulators/linux_base-fc6
make install clean
出现
- ===> Installing for linux_base-fc6-6_5
- ===> Generating temporary packing list
- ===> Checking if emulators/linux_base-fc6 already installed
- pkg_info: package linux_base-fc6-6_5 has no origin recorded
- ===> linux_base-fc6-6_5 is already installed
- You may wish to ``make deinstall'' and install this port again
- by ``make reinstall'' to upgrade it properly.
- If you really wish to overwrite the old port of emulators/linux_base-fc6
- without deleting it first, set the variable "FORCE_PKG_REGISTER"
- in your environment or the "make install" command line.
- *** Error code 1
- Stop in /usr/ports/emulators/linux_base-fc6.
复制代码
pkg_info 看到是有这个包 不过说明是个问号
- autoconf-2.62 Automatically configure source code on many Un*x platforms
- autoconf-wrapper-20071109 Wrapper script for GNU autoconf
- automake-1.9.6_3 GNU Standards-compliant Makefile generator (1.9)
- automake-wrapper-20071109 Wrapper script for GNU automake
- axel-1.0b A download accelerator
- gettext-0.16.1_3 GNU gettext package
- gmake-3.81_2 GNU version of 'make' utility
- help2man-1.36.4_2 Automatically generating simple manual pages from program o
- libiconv-1.11_1 A character set conversion library
- libtool-1.5.24 Generic shared library support script
- pkg_info: show_file: can't open '+COMMENT' for reading
- linux_base-fc6-6_5 ???
- m4-1.4.11,1 GNU m4
- p5-gettext-1.05_2 Message handling functions
- perl-5.8.8_1 Practical Extraction and Report Language
- popt-1.7_5 A getopt(3) like library with a number of enhancements, fro
- rpm-3.0.6_14 The Red Hat Package Manager
复制代码
跟着到cd /var/db/pkg/
- total 36
- drwxr-xr-x 18 root wheel 512 Nov 29 09:39 .
- drwxr-xr-x 8 root wheel 512 Nov 28 22:53 ..
- drwxr-xr-x 2 root wheel 512 Nov 29 09:39 autoconf-2.62
- drwxr-xr-x 2 root wheel 512 Nov 29 09:39 autoconf-wrapper-20071109
- drwxr-xr-x 2 root wheel 512 Nov 29 09:13 automake-1.9.6_3
- drwxr-xr-x 2 root wheel 512 Nov 29 09:39 automake-wrapper-20071109
- drwxr-xr-x 2 root wheel 512 Nov 28 23:22 axel-1.0b
- drwxr-xr-x 2 root wheel 512 Nov 28 23:22 gettext-0.16.1_3
- drwxr-xr-x 2 root wheel 512 Nov 28 23:22 gmake-3.81_2
- drwxr-xr-x 2 root wheel 512 Nov 29 00:59 help2man-1.36.4_2
- drwxr-xr-x 2 root wheel 512 Nov 28 23:21 libiconv-1.11_1
- drwxr-xr-x 2 root wheel 512 Nov 28 23:11 libtool-1.5.24
- drwxr-xr-x 2 root wheel 512 Nov 29 00:43 linux_base-fc6-6_5
- drwxr-xr-x 2 root wheel 512 Nov 29 09:39 m4-1.4.11,1
- drwxr-xr-x 2 root wheel 512 Nov 29 00:59 p5-gettext-1.05_2
- drwxr-xr-x 2 root wheel 512 Nov 29 09:39 perl-5.8.8_1
- drwxr-xr-x 2 root wheel 512 Nov 29 01:01 popt-1.7_5
- drwxr-xr-x 2 root wheel 512 Nov 29 01:01 rpm-3.0.6_14
复制代码
却找不到有这个包
执行
/var/db/pkg #pkg_delete -f linux_base-fc6-6_5
- pkg_delete: package 'linux_base-fc6-6_5' doesn't have a prefix
复制代码
/usr/ports/emulators/linux_base-fc6. # make deinstall
- ===> Deinstalling for emulators/linux_base-fc6
- pkg_info: package linux_base-fc6-6_5 has no origin recorded
- ===> linux_base-fc6 not installed, skipping
复制代码
/usr/ports/emulators/linux_base-fc6. # make reinstall
- ===> Installing for linux_base-fc6-6_5
- ===> Generating temporary packing list
- ===> Checking if emulators/linux_base-fc6 already installed
- pkg_info: package linux_base-fc6-6_5 has no origin recorded
- ===> linux_base-fc6-6_5 is already installed
- You may wish to ``make deinstall'' and install this port again
- by ``make reinstall'' to upgrade it properly.
- If you really wish to overwrite the old port of emulators/linux_base-fc6
- without deleting it first, set the variable "FORCE_PKG_REGISTER"
- in your environment or the "make install" command line.
- *** Error code 1
- Stop in /usr/ports/emulators/linux_base-fc6.
- *** Error code 1
- Stop in /usr/ports/emulators/linux_base-fc6.
复制代码
求教各位....还有救吗~~~` |
最佳答案
查看完整内容
make install clean FORCE_PKG_REGISTER=YES
|