免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1795 | 回复: 2
打印 上一主题 下一主题

portversion目前系统发呆中! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-04 17:23 |只看该作者 |倒序浏览
今天freebsd主站可以访问了,爽。
不爽,cvsup ports后portupgrade -ry portupgrade,之后portversion想看看还有哪些需要升级,可是系统呆了(fb6),top察看ruby18此人正全速占用cpu,目前将近30分钟了,不知是在生成新的INDEX.db还是哪里不对劲了,以前用那个什么portxx -uU也不过20几分钟,这次的情况感觉不对啊。
-rw-r--r-- 1 root wheel 7478996 1 4 15:00 INDEX-6
-rw-r--r-- 1 root wheel 14831616 1 4 15:26 INDEX-6.db
-rw-r--r-- 1 root wheel 14731264 12 23 01:59 INDEX.db
兄弟们有遇见吗?给个说道。谢谢!

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
2 [报告]
发表于 2006-01-04 17:32 |只看该作者
再等一下应该就会好,
感觉还算正常.

论坛徽章:
0
3 [报告]
发表于 2006-01-04 18:19 |只看该作者

解决办法

首先向delphij致谢,在繁忙的工作中抽空回答问题,感谢!
现在portupgrade问题已经在freebsd邮件列表中引起强烈不满,在没有进一步解决的情况下按照老大的建议进行降级处理,具体办法是:
cd /usr/ports/sysutils/portdowngrade/
make install clean
rehash
portdowngrade -o -s :pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs portupgrade

portdowngrade 0.6 by Heiner Eichmann
Please note, that nothing is changed in the ports tree
unless it is explicitly permitted in step 6!

Seeking port portupgrade ... found: sysutils/portupgrade
Logging in to :pserver:anoncvs@anoncvs.at.freebsd.org:2401/home/ncvs
CVS password:
#password后我使用anonymous
Step 1: Checking out port from CVS repository
CVS root directory: :pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs

Step 2: Reading the port history from the CVS repository

Step 3: Analyzing the port history from the CVS repository

Step 4: Load port version numbers and present results
Keys: <space> : next page d : details
p : previous page
<enter> : leave presentation and downdgrade if wanted
===============================================================================
number date portversion comment
1 2006/01/03 16:57:45 2.0.1_0 Update to 2.0.1.
2 2006/01/02 11:03:25 2.0.0_1 Problem with portupgrade 2.0
3 2006/01/01 15:43:35 2.0.0_0 A happy new year updated to 2.0.0.
4 2005/12/04 06:39:11 20051204_0 sysutils/portupgrade: fix the problem
5 2005/11/25 15:28:37 20041226_9 - Change the name of the ports databas
6 2005/10/19 07:47:48 20041226_8 fix: ports/54424 problem
7 2005/08/02 09:06:37 20041226_7 - Fix portsdb issue.
8 2005/07/29 16:34:48 20041226_6 Pass full path to pkg_{add,info} invok
9 2005/07/09 06:10:20 20041226_5 The reason portsdb depends on Perl (se
10 2005/06/29 08:03:30 20041226_5 - sysutils/portupgrade: add option for
11 2005/06/26 17:22:58 20041226_5 sysutils/portupgrade: fix minor docume
12 2005/06/22 05:19:36 20041226_4 Change maintainership
13 2005/06/05 23:49:17 20041226_4 - Add perl dependency because it's use
14 2005/05/23 11:30:16 20041226_3 - Unbreak handling of updated pkgdb.db
15 2005/04/12 08:24:48 20041226_2 Fix and document insecure temporary fi
16 2004/12/28 17:52:08 20041226_1 Oops, I forgot to commit Makefile..
17 2004/12/28 15:18:02 20041226 Fix the startup script for 4.x.
Total lines: 230. Command:#这里敲回车
Enter version number to change port to (0: exit): 2 #选择2


Step 5: Checking out choosen date of the port from the CVS repository

Step 6: Modifying the port
Port: sysutils/portupgrade
at : 2006/01/02 11:03:25
Type 'yes' to bring the port to the state of the date above
or 'no' to exit without changing anything. Note, that this only changes
the port, not the installed software! yes or no:yes #回答yes

The port has been set to the selected version. Install it if you wish.
If you have portupgrade installed, you should run

portsdb -Uu

now, to see the changes in the ports database. In any case

portupgrade -f portupgrade

will install the changed port. Note: if you run cvsup, the port
is changed back to the choosen label!
我觉得portsdb -Uu比较费时间所以直接cd /usr/ports/sysutils/portupgrade/,make deinstall,make reinstall,cd /usr/ports/,make fetchindex,portversion,至此成功降级使用并将此问题解决。
再次郑重向delphij表示感谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP