LinuxSir.cn,穿越时空的Linuxsir!

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

被slackware打倒了--zipslack的库太少,安装软件时缺少的文件都不知道是哪个库的

[复制链接]
发表于 2005-8-7 23:24:20 | 显示全部楼层 |阅读模式
想安装firefox
发现缺少一堆的库
有的能够找到
有的根本就不知道是哪个包的
再安装opera-qt-shared
安装完了QT再安装opera,运行时,还说缺少libmng.so.2!
-__________-!!
又不告诉我是哪个包的
看了精华,觉得swaret是一个好东西,觉得虽然少学了一些东西
但先能上网再说吧!
就去packages上找。
发现只有9.1的包
而且链接失效
哪怕能下,也不一定能在10.1下用啊
slapt-get又要以它为基础(不是它的图形化吗)
:ask
难办啊
难道就真的不能知道缺少哪些包 :ask
发表于 2005-8-7 23:35:17 | 显示全部楼层
还是直接到 http://www.linuxpackages.net 上下载点东西的好。
回复 支持 反对

使用道具 举报

发表于 2005-8-7 23:35:33 | 显示全部楼层
安装slk的时候不要装X及XAP
使用dropline gnome 的最新版本带firefox1.06
先不要着急用你的E17
回复 支持 反对

使用道具 举报

发表于 2005-8-7 23:54:55 | 显示全部楼层
我现在用的swaret是直接在swaret的主页下载的1.7.0test

因为我装的是current,所以firefox直接就是1.06版
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 01:14:38 | 显示全部楼层
南北兄,上文说的packages就是linuxpackages.net
我可是读了精华的
如果刚才那个好解决,现在这个就难办了
缺少libXinerama.so.1
南北兄,你说你也是用slack的
那如果你遇到这样的情况
遇到没有安装上的包
提示缺少文件
但packages.net上按此文件名的关键字搜索
又没有找到
该怎么办?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 02:14:21 | 显示全部楼层
Post by 醉卧美人膝
安装slk的时候不要装X及XAP
使用dropline gnome 的最新版本带firefox1.06
先不要着急用你的E17


:cool:  :cool:  :cool:  :cool:  :cool:  :cool:  :cool:  :cool:  :cool:  :cool:
谢谢朋友了.......

dropline gnome :ask What's it?
下载了一个swaret并安装上了
但精华里的一些参数没有看明白



现在把swaret.conf贴出来
  1. ###########################################################
  2. #
  3. # swaret.conf, Version: 1.6.3
  4. #
  5. ### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
  6. #
  7. # Define a valid Slackware Linux Version.
  8. # (Used for Dependency Support and other Features)
  9. #
  10. # NOTE: If you want to use Slackware Linux Current,
  11. #       set VERSION to 'current' (VERSION=current).
  12. #
  13. VERSION=10.1
  14. #
  15. # Define the language for status and error messages
  16. LANGUAGE=ENGLISH
  17. #
  18. # ----------------------------------------------------------
  19. # Define Slackware (8.1 or Higher or Current) Linux Mirrors.
  20. # (Used for Official Slackware Linux Packages)
  21. # (Slackware Linux Mirrors available at http://www.slackware.com)
  22. #
  23. # Syntax: ROOT=PROTOCOL:URL
  24. #
  25. # NOTE: swaret will use the order of the specified ROOT URL's.
  26. #
  27. #ROOT=file:/mnt/cdrom
  28. #ROOT=file:/mnt/dvdrom
  29. #ROOT=file:/mnt/usbmemstick
  30. ROOT=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-$VERSION
  31. ROOT=http://sunsite.cnlab-switch.ch/ftp/mirror/slackware/slackware-$VERSION
  32. ROOT=ftp://ftp.slackware.no/pub/linux/slackware/slackware-$VERSION
  33. ROOT=http://www.slackware.no/slackware/slackware-$VERSION
  34. ROOT=ftp://ftp.slackware.at/slackware-$VERSION
  35. ROOT=http://www.slackware.at/data/slackware-$VERSION
  36. ROOT=ftp://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
  37. ROOT=http://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
  38. #ROOT=rsync://rsync.slackware.no/slackware/slackware-$VERSION
  39. #ROOT=rsync://rsync.slackware.at/slackware/slackware-$VERSION
  40. #ROOT=file:/pub/slackware
  41. #ROOT=file:/mnt/nfsshare/slackware
  42. #ROOT=file:/mnt/sambashare/slackware
  43. #
  44. # -----------------------------------------------------------
  45. # Define Repository URL's with Slackware Linux Packages.
  46. # (Used for Repository Slackware Linux Packages)
  47. # (Repository URL's available at http://swaret.sourceforge.net and
  48. #   at http://www.linuxpackages.net/mirrors.php)
  49. #
  50. # NOTE 1: To use a Local Repository or Remote Repository,
  51. #         be sure it contains the following Files:
  52. #         - CHECKSUMS.md5 (For MD5 Sum, REQUIRED)
  53. #         - FILELIST.TXT (For Package Name + Size, REQUIRED)
  54. #         - PACKAGES.TXT (For Package Description, NOT REQUIRED)
  55. #         - MANIFEST.bz2 (For Dependency Support, NOT REQUIRED)
  56. # NOTE 2: To create your own Repository, use 'swaret-tools'.
  57. #         You can get 'swaret-tools' at http://swaret.sourceforge.net!
  58. #
  59. # Syntax: REPOS_ROOT=REPOSITORYNAME%PROTOCOL:URL
  60. #
  61. # NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
  62. # NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
  63. #
  64. #REPOS_ROOT=LinuxPackagesDOTNET%http://www2.linuxpackages.net/packages/Slackware-10.0
  65. #
  66. #REPOS_ROOT=My_Slackware_Packages_On_CD-ROM%file:/mnt/cdrom
  67. #REPOS_ROOT=My_Slackware_Packages_On_DVD-ROM%file:/mnt/dvdrom
  68. #REPOS_ROOT=My_Slackware_Packages_On_USB_Memory_Stick%file:/mnt/usbmemstick
  69. #REPOS_ROOT=SomeRemoteRepository%ftp://ftp.someremoterepository.net/slackware/slackware-10.0
  70. #REPOS_ROOT=SomeRemoteRepository%http://www.someremoterepository.net/slackware/slackware-10.0
  71. #REPOS_ROOT=SomeRemoteRepository%rsync://rsync.someremoterepository.net/slackware/slackware-10.0
  72. #
  73. # ------------------------------------------------------------
  74. # Define Libraries (8.1 or Higher or Current) List Mirrors.
  75. # (Used for Dependency Support)
  76. #
  77. # NOTE 1: You need to specify a Libraries List Mirror which
  78. #         contains a 'libraries-VERSION' File.
  79. #
  80. # NOTE 2: To create the Libraries List, use 'swaret-tools'.
  81. #         You can get 'swaret-tools' at http://swaret.sourceforge.net!
  82. #         You can also clear all DEP_ROOT Variable(s) which will
  83. #         allow swaret to create the Libraries List for you
  84. #         during Dependency Check using the defined ROOT Variable(s) above.
  85. #
  86. # Syntax: DEP_ROOT=PROTOCOL:URL
  87. #
  88. # NOTE: swaret will use the order of the specified DEP_ROOT URL's.
  89. #
  90. DEP_ROOT=http://swaret.sourceforge.net
  91. #DEP_ROOT=file:/mnt/cdrom
  92. #DEP_ROOT=file:/mnt/dvdrom
  93. #DEP_ROOT=file:/mnt/usbmemstick
  94. #DEP_ROOT=file:/pub/swaret
  95. #DEP_ROOT=file:/mnt/nfsshare/swaret
  96. #DEP_ROOT=file:/mnt/sambashare/swaret
  97. #
  98. # ----------------------------------------------------------
  99. # General Settings
  100. #
  101. # Do you want swaret to use Random Slackware Linux Mirrors?
  102. # -> 1 for yes, 0 for no.
  103. #
  104. RANDOMR=0
  105. #
  106. # Do you want swaret to back-up your packages when upgradeing?
  107. # -> If set to 1, old packages are backed up in $CACH_DIR/rollback.
  108. #    Normally this is /var/swaret/rollback.  ROLLBACKMAX is the number
  109. #    of "upgrades" that will be backed up before old backups will be
  110. #    removed.  Turning on rollback means upgrading packages takes
  111. #    longer, but it is more safe.
  112. # -> If set to 0, swaret will not back up packages.  
  113. #
  114. ROLLBACK=0
  115. ROLLBACKMAX=3
  116. #
  117. # Do you want swaret to parse all the Package Descriptions?
  118. # -> If set to 1, swaret will also match Packages whose Description
  119. #    is matching the Keyword(s) you specify after --ACTION.
  120. #    NOTE: swaret will parse all the Package Descriptions for this,
  121. #          and might slow down swaret when using an older System.
  122. # -> If set to 0, swaret will not use Package Descriptions
  123. #    to match one or more Packages.
  124. #
  125. USEPKGDESC=0
  126. #
  127. # If you don't want swaret to Upgrade, Install, Re-Install, Download,...
  128. # some Packages, add the KEYWORDS to the EXCLUDE Variable.
  129. # To disable Exclude Method: swaret --exclude -off
  130. # To enable Exclude Method: swaret --exclude -on
  131. #
  132. # NOTE: You can add ANY EXTENDED REGEXP (Regular Expression) to the EXCLUDE Variable(s)
  133. #
  134. # Basic Exclude
  135. EXCLUDE=kernel alsa lilo
  136. EXCLUDE=swaret
  137. EXCLUDE=aaa_
  138. EXCLUDE=MANIFEST.bz2$
  139. EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
  140. #
  141. # Advanced Exclude
  142. # Syntax: KEYWORD[DONT_EXCLUDE_ME_KEYWORD1,DONT_EXCLUDE_ME_KEYWORD2,...]
  143. # Example: kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
  144. #
  145. #EXCLUDE=kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
  146. #
  147. # Do you want to enable Dependency Check?
  148. # -> If set to 1, swaret will start the Dependency Check after
  149. #    every Upgrade, Install and Re-Install Procedure.
  150. # -> If set to 0, swaret will not start the Dependency Check
  151. #    after any Procedure.
  152. #
  153. DEPENDENCY=1
  154. #
  155. # Do you want swaret to Search for missing Libraries (and Fix)
  156. # which could be found on your System, but not tracked by ldconfig?
  157. # -> 1 for yes, 0 for no.
  158. #
  159. DSEARCHLIB=1
  160. #
  161. # Set to 1, if you want swaret to use the 'slocate' program
  162. # to Search for missing Libraries.
  163. # (be sure to issue the 'updatedb' Command regularly!)
  164. # If DSEARCHM is set to 0, swaret will use
  165. # the 'find' program to locate missing Libraries.
  166. # -> 1 for yes, 0 for no.
  167. #
  168. DSEARCHM=0
  169. #
  170. # Start MD5 Check after Fetching Packages, Patches and Sources?
  171. # -> 1 for yes, 0 for no.
  172. #
  173. MD5CHECK=1
  174. #
  175. # Start GPG Signature Check after Fetching Packages, Patches and Sources?
  176. #
  177. # NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
  178. #       will be used by the GPG Signature Check.
  179. #
  180. # -> 1 for yes, 0 for no.
  181. #
  182. GPGCHECK=0
  183. #
  184. # Show Description for Packages during
  185. # Upgrade, Install, Re-Install,... Procedures?
  186. # -> If set to 0, you will not see a Description.
  187. # -> If set to 1, you will see a Description.
  188. #
  189. DESC=0
  190. #
  191. # Cache Directory for (Repository) Packages and Sources.
  192. #
  193. CACHE_DIR=/var/swaret
  194. #
  195. # Enable Logging?
  196. # -> 1 for yes, 0 for no.
  197. #
  198. LOG=1
  199. #
  200. # swaret Log File
  201. #
  202. LOG_FILE=/var/log/swaret
  203. #
  204. # Show Warnings?
  205. # -> 1 for yes, 0 for no.
  206. #
  207. WARNINGS=1
  208. #
  209. # Show Information?
  210. # -> 1 for yes, 0 for no.
  211. #
  212. INFORMATION=1
  213. #
  214. # -------------------------------------------------------------
  215. # Network Settings
  216. #
  217. # Network Interface
  218. # Use this if you have a Network Interface.
  219. #
  220. NIC=eth0
  221. #
  222. # Local Interface
  223. # Use this if you do not have a Network Interface.
  224. #
  225. # For Example (CD-ROM):
  226. # You got a Slackware Linux CD-ROM,
  227. # mount the CD-ROM to /mnt/cdrom and
  228. # set ROOT to 'file:/mnt/cdrom' in /etc/swaret.conf.
  229. # Also, set NIC to 'lo' (Local Loop Device).
  230. #
  231. # NIC=lo
  232. #
  233. # Progress
  234. # If set to 0, swaret will use the '%' Download Interface.
  235. # If set to 1, swaret will use the 'size' Download Interface.
  236. # If set to 2, swaret will use the 'wget/rsync' Download Interface.
  237. #
  238. PROGRESS=0
  239. #
  240. # Timeout for wget and/or rsync.
  241. # -> Number of seconds for Timeout
  242. #
  243. TIMEOUT=35
  244. #
  245. # Retries for wget and/or rsync.
  246. # -> Number of Retries
  247. #
  248. RETRIES=5
  249. #
  250. # Behind a Firewall? Using FTP Mirrors?
  251. # -> 1 for yes, 0 for no
  252. #
  253. PASSIVE_FTP=1
  254. #
  255. # If you want HTTP or FTP Proxy Support,
  256. # uncomment and Setup the following Variable:
  257. #
  258. # WGET_PROXY=http://IP or HOST:PORT
  259. #
  260. # If you want RSYNC Proxy Support,
  261. # uncomment and Setup the following Variable:
  262. #
  263. # RSYNC_PROXY=IP or HOST:PORT
  264. #
  265. ### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
复制代码










http://slackware.at/data/slackware-current/

我想用这个来升级系统,大家看看行不?怎么改?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 02:15:03 | 显示全部楼层
看见那么长,头大了.........
回复 支持 反对

使用道具 举报

发表于 2005-8-8 10:03:49 | 显示全部楼层
缺少libXinerama.so.1.1的情况,你可以试试以下方法:
找到libXinerama.a的位置,在它的目录下执行ld --whole-archive -share -o libXinerama.so.1.1 libXinerama.a,然后做符号连接,然后ldconfig。
回复 支持 反对

使用道具 举报

发表于 2005-8-8 10:44:18 | 显示全部楼层
  1. $ grep libXinerama.so.1 /var/log/packages/ -R
  2. /var/log/packages/x11-6.8.2-i486-1:usr/X11R6/lib/libXinerama.so.1.0

  3. $ grep libXinerama.so.1 /mnt/hda7/var/log/scripts/ -R
  4. /var/log/scripts/x11-6.8.2-i486-1:( cd usr/X11R6/lib ; ln -sflibXinerama.so.1.0 libXinerama.so )
  5. /var/log/scripts/x11-6.8.2-i486-1:( cd usr/X11R6/lib ; rm -rflibXinerama.so.1 )
  6. /var/log/scripts/x11-6.8.2-i486-1:( cd usr/X11R6/lib ; ln -sflibXinerama.so.1.0 libXinerama.so.1 )
复制代码


你怎么装的Slackware,该不会连X都不用吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 12:14:51 | 显示全部楼层
X倒是安装了
只安装了xfree86-4.3.0,xfree86-devel,xfree86-fonts-misc这三个包
troll,你用的那命令是什么回事?

可能我要安装加xorg了
我用的是xfree86
回复 支持 反对

使用道具 举报

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

本版积分规则

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