LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1139|回复: 7

[已解决]关于YAOURT 安装AUR源上面的软件保存软件包的问题?

[复制链接]
发表于 2008-10-6 19:07:39 | 显示全部楼层 |阅读模式
我用YAOURT安装AUR上面的软件,编译好包做好后,问你是不是要安装,如果选择了安装那么他就会删除这个已经做好的软件包。这样很不方便(/etc/yaourtrc 没有搞清楚,那个导出包的那个选项怎么设置都是错。),我想要,选择安装后,他要么保留软件包,要么把软件包转移到我指定的地方。。希望知道的朋友,指点一下
发表于 2008-10-6 20:46:59 | 显示全部楼层
yaourtrc中设置下导出就不会删除的,之后将pkgbuild、src和pkg的包都放到该目录中,不然就要改yaourt自身了,可能的话还是少做
比如我设的是
ExportToLocalRepository /home/nix/abs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-6 20:48:22 | 显示全部楼层
就是这个选项。我怎么设置他都说是错的。。
回复 支持 反对

使用道具 举报

发表于 2008-10-6 21:05:34 | 显示全部楼层
装上git的版本,再设设看了,还不行的话,我也没辙了

  1. [nix@nix:/dev/shm]$ yaourt -S fslint

  2. ==> Downloading fslint PKGBUILD from AUR...
  3. no configuration found for fslint in /etc/customizepkg.d/


  4. Comment by: berkus on 20070224 [01:42:13]
  5. An utility to find and clean various forms of lint on a filesystem.

  6. Comment by: iKevin on 20070224 [13:31:26]
  7. Hi There
  8. I get this error as soon as I execute a find.
  9. exceptions.OSError: [Errno 2] No such file or directory:
  10. '/usr/share/fslint/fslint/'

  11. Comment by: mamas6667 on 20071227 [22:40:57]
  12. same error here
  13. exceptions.OSError: [Errno 2] No such file or directory:
  14. '/usr/share/fslint/fslint/'
  15. i created the missing folder, just to see if it worked, and i got this new
  16. error
  17. /bin/sh: ./findtf: No such file or directory
  18. :-(

  19. Comment by: alleyoopster on 20080117 [09:48:54]
  20. I get this error too
  21. <type 'exceptions.OSError'>: [Errno 2] No such file or directory:
  22. '/usr/share/fslint/fslint/'
  23. 2.24 is out and works well. Can we get an update to this package build?

  24. Comment by: biloky on 20080430 [14:41:03]
  25. Modify the PKGBUILD and change pkgver to 2.24 and pkgrel to 1. Then replace
  26. all instances of /usr/share/fslint/bin to /usr/share/fslint/fslint.
  27. Worked for me :)

  28.       First Submitted: Sat, 24 Feb 2007 01:42:13 +0000
  29.       Last Updated: (unknown)
  30. fslint 2.18-2 (Unsupported): A utility to find and clean various forms of lint
  31. on a filesystem.

  32. ==> fslint dependencies:
  33. - pygtk (already installed)
  34. ==>  Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
  35. ==>   ----------------------------------------------
  36. ==>


  37. ==> fslint dependencies:
  38. - pygtk (already installed)

  39. ==> WARNING: This PKGBUILD contains install file that can be dangerous.
  40. fslint.install
  41. ==>  Edit fslint.install (recommended) ? [Y/n] ("A" to abort)
  42. ==>   ----------------------------------------------
  43. ==>

  44. ==>  Continue the building of fslint ? [Y/n]
  45. ==>   ----------------------------------------------
  46. ==>


  47. ==> Building and installing package
  48. ==> WARNING: the arch variable is missing !
  49. yaourt will add arch=(i686) automatically.
  50. ==> 正在创建软件包:fslint 2.28-2 i686 (2008年 10月 06日 星期一 20:42:10 CST)
  51. ==> 正在检查运行时依赖关系...
  52. ==> 正在检查编译时依赖关系...
  53. ==> 获取源代码...
  54.   -> 正在下载 fslint-2.28.tar.gz...
  55. --2008-10-06 20:42:10--  http://www.pixelbeat.org/fslint/fslint-2.28.tar.gz
  56. 正在解析主机 www.pixelbeat.org... 82.195.144.46
  57. Connecting to www.pixelbeat.org|82.195.144.46|:80... 已连接。
  58. 已发出 HTTP 请求,正在等待回应... 200 OK
  59. 长度:97907 (96K) [application/x-gzip]
  60. Saving to: `fslint-2.28.tar.gz.part'

  61. 100%[===========================================>] 97,907      30.6K/s   in
  62. 3.1s

  63. 2008-10-06 20:42:16 (30.6 KB/s) - `fslint-2.28.tar.gz.part' saved
  64. [97907/97907]

  65. ==> 警告: 完整性检查(md5)去少或者不完全
  66. ==> 解压缩源码...
  67.   -> bsdtar -x -f fslint-2.28.tar.gz
  68. ==> 正在进入 fakeroot 环境...
  69. ==> 正在开始 build()...
  70. make: Entering directory
  71. `/tmp/yaourt-tmp-nix/aur-fslint/fslint/src/fslint-2.28/po'
  72. for po in *.po; do \
  73.                 lingua=`basename $po .po` ; \
  74.                 msgfmt -cf -o $lingua.mo $po ; \
  75.                 mkdir -p locale/$lingua/LC_MESSAGES/ ; \
  76.                 ln -f $lingua.mo locale/$lingua/LC_MESSAGES/fslint.mo ; \
  77.         done
  78. for mo in *.mo; do \
  79.                 lingua=`basename $mo .mo`; \
  80.                 install -D --mode=644 $lingua.mo
  81. /tmp/yaourt-tmp-nix/aur-fslint/fslint/pkg/usr/share/locale/$lingua/LC_MESSAGES/fslint.mo
  82. ; \
  83.         done
  84. make: Leaving directory
  85. `/tmp/yaourt-tmp-nix/aur-fslint/fslint/src/fslint-2.28/po'
  86. ==> 正在清理安装...
  87.   -> 正在删除 info/doc 文件...
  88.   -> 正在压缩 man 帮助页...
  89.   -> 正在从二进制执行文件和库中删除 debug 符号...
  90. ==> 正在创建软件包...
  91.   -> 正在生成 .PKGINFO 文件...
  92.   -> 正在添加安装脚本...
  93.   -> 正在压缩软件包...
  94. ==> 正在退出fakeroot环境。
  95. ==> 完成创建:fslint 2.28-2 i686 (2008年 10月 06日 星期一 20:42:19 CST)
  96. ==> Exporting fslint to /home/nix/abs repository

  97. ==>  Continue installing fslint? [Y/n]
  98. ==>  [v]iew package contents [c]heck package with namcap
  99. ==>   ----------------------------------------------
  100. ==>


  101. You are not allowed to launch /usr/bin/pacman with sudo
  102. Please enter root password
  103. 密码:
  104. 正在装载软件包数据...
  105. 正在检查依赖关系...
  106. (1/1) 正在安装 fslint
  107. [##########################] 100%
  108. Note the fslint tools do a lot of inode access and to speed them
  109. up you can use the following method to not update access times
  110. on disk while gathering inode information:
  111. mount -o remount,noatime mountpoint
  112. fslint-gui
  113. mount -o remount,atime mountpoint

  114. Command Line Executables are installed in:
  115. /usr/share/fslint/bin
  116. you may want to add them in your PATH.

  117. [nix@nix:/dev/shm]$ ls -l /home/nix/abs/fslint*
  118. -rw-r--r-- 1 nix users 96810 10-06 20:42 /home/nix/abs/fslint-2.28-2-i686.pkg.tar.gz

  119. /home/nix/abs/fslint:
  120. 总计 8
  121. -rw-r--r-- 1 nix users  577 2007-02-24 fslint.install
  122. -rw-r--r-- 1 nix users 1513 10-06 20:42 PKGBUILD
  123. [nix@nix:/dev/shm]$
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-6 21:18:37 | 显示全部楼层
ExportToLocalRepository  /home/hooxin/Pkg
  1. yaourt -S aur/shntool
  2. Error: ExportToLocalRepository is not a directory
  3. /home/hooxin/pkg no recognized in config file
  4. ==> Resuming previous build
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-10-6 21:37:56 | 显示全部楼层
mkdir -p /home/hooxin/pkg

yaourtrc

  1.    AurVoteSupport no
  2.    ColorMod TextOnly
  3.    ExportToLocalRepository /home/nix/abs
  4.    PkgbuildEditor vim
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-6 21:50:05 | 显示全部楼层
刚刚我试了。好像凡是代文件夹选项都要出那个错误~我换GIT的试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-6 22:29:49 | 显示全部楼层
解决了,全是这个0.9版本的错误。。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表