LinuxSir.Org  
| 网站首页 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
精华主题  
主题工具
旧 07-12-16, 02:34 第 61 帖
yourfriend 帅哥
 
yourfriend 的头像
 
 
注册会员  
  注册日期: Nov 2007
  帖子: 2,382
  精华: 1
 

特地来顶一下!呵呵







__________________
手提:戴尔Dell Latitude E5410
CPU:Intel i5-520M
主板芯片:Intel HM55
内存:DDR3 4Gx1条
显卡:i5集成
声卡:IDT 92HDxxx HD Audio
网卡:Broadcom NetXtreme BCM5761e
无线网卡:Intel Wifi 6200
蓝牙:Dell 375 bluetooth
硬盘:希捷320G
  yourfriend 当前离线   回复时引用此帖
旧 07-12-16, 02:35 第 62 帖
yourfriend 帅哥
 
yourfriend 的头像
 
 
注册会员  
  注册日期: Nov 2007
  帖子: 2,382
  精华: 1
 

睡不着来顶一下
  yourfriend 当前离线   回复时引用此帖
旧 07-12-16, 13:53 第 63 帖
average
 
 
 
注册会员  
  注册日期: Dec 2007
  帖子: 5
  精华: 0
 

Downloading Packages:
Running rpm_check_debug
rpmdb: page 449: illegal page type or format
rpmdb: PANIC: 无效的参数
error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
Downloading Packages:
Running rpm_check_debug
rpmdb: page 449: illegal page type or format
rpmdb: PANIC: 无效的参数
error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
Running Transaction Test
rpmdb: PANIC: fatal region error detected; run recovery
rpmdb: PANIC: fatal region error detected; run recovery
rpmdb: PANIC: fatal region error detected; run recovery
rpmdb: PANIC: fatal region error detected; run recovery
rpmdb: PANIC: fatal region error detected; run recovery
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 183, in main
base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 359, in doTransaction
self.populateTs(keepold=0) # sigh
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 231, in populateTs
self.ts.addErase(txmbr.po.idx)
_rpm.error: package not installed





update yum 后,卸载软件,或者安装软件的时候,时常出现这样的错误,不知道是怎么回事儿,大家给看看。
  average 当前离线   回复时引用此帖
旧 07-12-16, 13:56 第 64 帖
average
 
 
 
注册会员  
  注册日期: Dec 2007
  帖子: 5
  精华: 0
 

同时这个时候装rpm软件,出现如下错误。

Component: pirut
Summary: TBc0c9275d config.py:680:_getsysver:TypeError: rpmdb open failed

Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 355, in <module>
main()
File "/usr/sbin/system-install-packages", line 348, in main
pkginst = SinglePackageInstaller()
File "/usr/sbin/system-install-packages", line 63, in __init__
GraphicalYumBase.__init__(self, False)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__
plugin_types=(yum.plugins.TYPE_CORE,))
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in doConfigSetup
errorlevel=errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 613, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 680, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

Local variables in innermost frame:
installroot: /
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x8fa9e0c>
distroverpkg: redhat-release



不知道是怎么的,每次这样我都只有重启,然后再安装。

大家帮忙想想办法。
  average 当前离线   回复时引用此帖
旧 07-12-27, 01:44 第 65 帖
yirenzhe
 
 
 
注册会员  
  注册日期: Nov 2007
  帖子: 1
  精华: 0
 

这个速度真的快,爽啊
  yirenzhe 当前离线   回复时引用此帖
旧 07-12-27, 15:38 第 66 帖
semihuman 帅哥
 
semihuman 的头像
 
 
注册会员  
  注册日期: Dec 2007
  帖子: 22
  精华: 0
 

在使用fastestmirror。







__________________
linux让我又爱又恨...
  semihuman 当前离线   回复时引用此帖
旧 08-04-04, 16:46 第 67 帖
virgona
 
virgona 的头像
 
 
注册会员  
  注册日期: May 2003
  帖子: 2
  精华: 0
 

引用:
作者: firefoxmmx
如果喜欢用图形yum的朋友,常常可以看到,有些yum插件无法加载~~~~

比如楼主写的axelget.py~~

你只需要一个小的改动,就可以正常加载了~~~~
先到/usr/lib/python2.4/site-packages/下,
如果你的用的yumex 你只需要改动yumex/yumexBase.py,找到下面部分加入红色部分
代码:
# Only use CORE Plugins if not self.yumexconf.noplugins: self.progresslog( _( "Setup Yum : Plugins" ) ) self.doConfigSetup( plugin_types=( yum.plugins.TYPE_CORE, yum.plugins.TYPE_INTERACTIVE ), debuglevel=self.yumexconf.yumdebuglevel ) else: self.progresslog( _( "Setup Yum : Plugins are disabled" ) )
如果是用pirut的朋友可以在,pirut/__init__.py里找到
相同的部分,加入红色部分即可~~

然后启动yumex或者pirut,看是不是多了你的插件了~~
在f8中yumex和pirut的对应文件为:
/usr/share/yumex/yumex.py
/usr/lib/python2.5/site-packages/pirut/__init__.py
  virgona 当前离线   回复时引用此帖
旧 08-04-05, 13:42 第 68 帖
War3Gamer 帅哥
 
War3Gamer 的头像
 
 
注册会员  
  注册日期: Mar 2004
  我的住址: 深圳 南头
  帖子: 408
  精华: 0
 

引用:
作者: virgona
在f8中yumex和pirut的对应文件为:
/usr/share/yumex/yumex.py
/usr/lib/python2.5/site-packages/pirut/__init__.py
在f8.x86_64中,/usr/share/yumex/yumex.py 文件中根本就找不到self.doConfigSetup类似的配置,更不用说加入了。
这该怎么办呢?
yumex插件管理中确实可以看到axelget的,也是选中了的,但是yumex启动的时候确实没有加载axelget插件。







__________________
http://hi.baidu.com/redhatlinux10/blog/item/edd3033bf71712ee15cecb94.html

OS:Fedora10 i386
CPU:AMD Athlon 64 X2 Dual Core Processor 3600+
Mainboard:RS690-SB600(AMD/ATI A69G)
Chipset:ATI 7910h
Video card:ATI Radeon X1200 Series
Network card:Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC
水笙舒畅吴越狄云

此帖于 08-04-05 13:45 被 War3Gamer 编辑.
  War3Gamer 当前离线   回复时引用此帖
旧 08-04-05, 16:21 第 69 帖
War3Gamer 帅哥
 
War3Gamer 的头像
 
 
注册会员  
  注册日期: Mar 2004
  我的住址: 深圳 南头
  帖子: 408
  精华: 0
 

修改axelget.py,让axel最大连接数为10后,我的yum速度还是不错的,将近120K/s了。请参考附件。
上传的图像
文件类型: png 无标题.png (21.8 KB, 30 次查看)
  War3Gamer 当前离线   回复时引用此帖
旧 08-04-06, 18:33 第 70 帖
tay0314
 
 
 
注册会员  
  注册日期: Mar 2008
  帖子: 55
  精华: 0
 

有点意思,顶一个
  tay0314 当前离线   回复时引用此帖
旧 08-04-11, 00:56 第 71 帖
War3Gamer 帅哥
 
War3Gamer 的头像
 
 
注册会员  
  注册日期: Mar 2004
  我的住址: 深圳 南头
  帖子: 408
  精华: 0
 

yumex 无法加载 axelget plugin 的解决方法(至少对我有用):
修改/usr/lib/yum-plugins/axelget.py,注意红色部分
代码:
#!/usr/bin/env python from yum.plugins import PluginYumExit, TYPE_CORE#, TYPE_INTERACTIVE from urlparse import urljoin import os requires_api_version = '2.3' #plugin_type = (TYPE_CORE, TYPE_INTERACTIVE) plugin_type = (TYPE_CORE,) enablesize=10000 trymirrornum=-1 maxconn=10
  War3Gamer 当前离线   回复时引用此帖
旧 08-06-06, 16:02 第 72 帖
silverlining
 
 
 
注册会员  
  注册日期: May 2007
  帖子: 4
  精华: 0
 

强贴一定是要顶的!
  silverlining 当前离线   回复时引用此帖
旧 08-09-25, 17:26 第 73 帖
fjlycfq
 
 
 
注册会员  
  注册日期: Mar 2008
  帖子: 51
  精华: 0
 

方法三不错,就是有时候排序不准确。小日本和棒子的服务器比较慢,要是选到台湾的就很快。
  fjlycfq 当前离线   回复时引用此帖
旧 08-09-26, 20:41 第 74 帖
elsove812
 
elsove812 的头像
 
 
注册会员  
  注册日期: Dec 2006
  帖子: 167
  精华: 0
 

引用:
作者: fjlycfq
方法三不错,就是有时候排序不准确。小日本和棒子的服务器比较慢,要是选到台湾的就很快。
在mirror那行的的最后加&country=us ,再把/var/cache/yum下的东西删掉。欧美的更快







__________________
Fedora12
  elsove812 当前离线   回复时引用此帖
旧 08-10-09, 11:26 第 75 帖
zder
 
 
 
注册会员  
  注册日期: Oct 2006
  帖子: 10
  精华: 0
 

FC9是在/usr/share/yumex/yumapi.py里改

plugin_types=( yum.plugins.TYPE_CORE, yum.plugins.TYPE_INTERACTIVE )
  zder 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [禁用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 16:51


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2012, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2011, LinuxSir.Org