升级后arch出问题的解决办法【完成】 - Leo's Utopia

升级后arch出问题的解决办法【完成】

leo.zhao posted @ Thu, 24 Jun 2010 03:39:19 +0800 in linux with tags arch pacman yaourt makepkg 问题记录 , 4126 readers

 今天升级后arch出问题了,记下留作以后处理。

准确的说是pacman出问题了。

升级的时候提示pacman-color依赖pacman=3.3.0,要升级必须先移除pacman-color,于是就删除了pacman-color,然后升级了。之后出问题了,yaourt的时候提示无法找到libalpm.so.4,google了一下,这个东西是package-query里面的,而我明明装了这个包了呀。而makepkg时也无法生成软件包,提示makepkg出错,

==> Creating package...
/usr/bin/makepkg: line 902: * 1024 : syntax error: operand expected (error token is "* 1024 ")

这个比较棘手了。

        猜想原因可能是我删除pacman-color的时候package-query中的这个共享库文件被删除了,但是makepkg又出问题了,真是麻烦呀。

        后来想办法暂时解决一下:从aur中下载package-query-git的PKGBUILD回来,然后makepkg。这是虽然最终没有生成软件包,但是源文件都已经下载回来了,然后手动进入src手动make && make install编译安装。之后yaourt正常了,但是makepkg仍然无法生成软件包。

最终解决方法:这个问题是由cw和pacman冲突造成的,卸载cw之后,暂时就能彻底解决这个问题。看下一个版本的pacman解决这个问题吧。

Diaoer said:
Wed, 13 Jul 2011 17:20:02 +0800

博主是做什么工作的?写的linux文章不错的啊

JSC Result 2022 said:
Sat, 27 Aug 2022 22:21:19 +0800

Bangladesh Education Board DPE has conducted the class 8th grade of Junior School Certificate Exam and Junior Dakhil Certificate Exam on 1st to 15th November 2022 at all centers in division wise under Ministry of Primary and Mass Education (MOPME), and the class 8th grade terminal examination tests are successfully conducted for all eligible JSC/JDC students for the academic year of 2022. JSC Result 2022 The Bangladesh government Minister of Secondary Education is going to announce the JSC Result 2022 in student wise for division students in education board wise, and the result documents will be submitted to the Prime Minister of the country after then the result with mark sheet will be announced to public to check the individual result.


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee