Articles of 库

SVN:如何获得知道其URL的path知识库?

我试图用svnadmin dump命令备份我的SVN存储库。 所以我必须把它放在我的仓库的path上,我不知道如何find它。 我使用svn over http。 我怎样才能find这个? 仅供参考:如果有帮助,我也会安装TortoiseSVN。

filtersproject忽略包含以下内容的包:i386

我正在使用reprepro来创build一个局部Debian镜像。 我的conf/updates文件如下所示: Name: update-wheezy Method: http://ftp.tu-graz.ac.at/mirror/debian Suite: wheezy Components: main contrib non-free Architectures: i386 FilterList: purge mirror.packages FilterList指向包含所有当前安装包的文件mirror.packages 。 我用dpkg创build这个文件: dpkg –get-selections > conf/mirror.packages 到现在为止还挺好。 它运作良好。 但后来我注意到,我的本地存储库中缺less一些软件包。 dpkg –get-selections的输出包含一些行,其中包名以:i386结尾。 例: libxxf86dga1:i386 install libxxf86vm1:i386 install lighttpd install 恰恰那些i386包装丢失了。 我通过删除后缀来解决这个问题: dpkg –get-selections | sed 's/:i386//g' > conf/mirror.packages 现在我的问题: 这是一个在remapro中的错误? 还是我做错了什么? 手册页指出FilterList采用dpkg –get-selections的输出格式。 有没有办法让dpkg压制架构? 为什么有些软件包有:i386后缀,但大多数没有? 为什么包的名称是体系结构的一部分呢? 是否有可能在同一个系统上使用来自不同体系结构的相同软件包?

错误的JPEG库版本:库是62,调用者期望80

我有与imagick PHP扩展的问题。 当试图操纵jpeg文件时发生错误: 错误的JPEG库版本:库是62,调用者期望80 我正在试图找出图书馆在哪里与: # ldconfig -p | grep libjpeg libjpeg.so.8 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 libjpeg.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libjpeg.so 和 # whereis libjpeg libjpeg: /usr/local/lib/libjpeg.a phpinfo()显示: libJPEG Version 6b 在“gd”部分 我也尝试通过apt-get安装libjpeg8和libjpeg8-dev,它说它已经安装: libjpeg8 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. libjpeg8-dev is already the newest version. […]

Mysql崩溃 – 插件库

我想问一下,如果从下面的日志中我们可以说Mysql的崩溃是因为我们为Mysql定制的库吗? Sep 26 15:24:30 mysqld: /usr/lib/mysql/plugin/my_lib_discounts.so(_ZN13CDiscountCalcD1Ev+0x52)[0x7f5da35439da] Sep 26 15:24:30 mysqld: /usr/lib/mysql/plugin/my_lib_discounts.so(my_lib_discountsAgg_deinit+0x31)[0x7f5da35431be] 整个日志: Sep 26 15:24:30 mysqld: Thread pointer: 0x7f5d980ab690 Sep 26 15:24:30 mysqld: Attempting backtrace. You can use the following information to find out Sep 26 15:24:30 mysqld: where mysqld died. If you see no messages after this, something went Sep 26 15:24:30 mysqld: terribly […]

我需要添加什么样的存储库才能在Debian Lenny上安装java-package?

我想在我的debian机器上安装java,并已经find了几个如何的,但是 sudo apt-get install java-package 给我“找不到软件包java包”。 我需要在我的/etc/apt/sources.list文件中添加一个存储库吗? 这里是我现有的回购。 tone@homeserver:/etc/apt$ cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ – Official amd64 CD Binary-1 20100131-21:33]/ lenny main deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ – Official amd64 CD Binary-1 20100131-21:33]/ lenny main deb http://ftp.us.debian.org/debian/ lenny main deb-src http://ftp.us.debian.org/debian/ lenny main deb http://security.debian.org/ lenny/updates main deb-src http://security.debian.org/ lenny/updates main deb […]

安装gem MySQL失败

我正在Amazon AMI 2010.11.1上安装mysql gem,我遇到了下一个问题: # gem install mysql Building native extensions. This could take a while… ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for mysql_ssl_set()… no checking for rb_str_set_len()… no checking for rb_thread_start_timer()… no checking for mysql.h… no checking for mysql/mysql.h… no Gem files will remain installed in […]

在Centos 5.7上缺less依赖项libmysqlclient.so.16

我有一个应用程序编译(32位)的Centos 6.2,我需要在Centos 5.7上运行,但它抱怨,它需要libmysqlclient.so.16 我不知道在哪里可以find这个文件(我试过“yum提供”,但没有提供它)。 我有epel回购启用,但没有任何一方。 有人可以build议如何添加这个? (或者这甚至是可能的)

下载本地使用的存储库

我试图让雷鸟以这样的方式工作,以便它能正确地与Kolab群件一起工作。 为此,我需要它在Thunderbird和附加组件(Lightning,SyncKolab)的固定设置中,而不需要自动更新,我需要提供Thunderbird版本以供用户使用。 我希望实现的是Thunderbird的存储库,因为它现在在http://ppa.launchpad.net/mozillateam/thunderbird-stable/将在我的本地服务器上可用,所以我总是使用该版本,即使雷鸟去一个新的稳定版本。 我希望实现的是: – 将http://ppa.launchpad.net/mozillateam/thunderbird-stable/的内容复制到我的服务器上 – 使其作为我的networking上的存储库 我不知道这是可能的或许可证下允许的

我如何更改xml2-config的path

我已经在stackoverflow中提出了相同的问题,我需要更多的帮助。 我试图在CentOS5.5 libxml2从2.6.26升级到2.7.7 我在/opt/libxml2-2.7.7/bin/安装了libxml2-2.7.7 我已经通过yum install libxml2 libxml2-devel在/usr安装了2.6.26 。 当我configurationPHP5.3 –with-libxml-dir=/opt/libxml2-2.7.7/bin消息显示。 checking whether to enable LIBXML support… yes checking libxml2 install dir… /opt/libxml2-2.7.7/bin checking for xml2-config path… /usr/bin/xml2-config PHP的configuration在/opt/libxml2-2.7.7/bin找不到xml2-config文件 我不希望PHPconfiguration看起来/usr/bin/xml2-config以便安装的PHP使用libxml2-2.6.26 。 所以,我现在有两个不同版本的libxml2 #/opt/libxml2-2.7.7/bin/xml2-config –version 2.7.7 # /usr/bin/xml2-config –version 2.6.26 这是PATH环境variables。 PATH=/opt/php-5.3.14/bin:/opt/apache-httpd-2.2.22/bin:/opt/libxml2-2.7.7/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/oracle/11.2/client64/bin 我认为/opt/libxml2-2.7.7/bin在/usr/bin 。 但是如果我inputxml2-conifg没有path,那么它就是/usr/bin下的一个。 # xml2-config –version 2.6.26 有没有其他的设置使xml2-config在/opt/libxml2-2.7.7/bin下/opt/libxml2-2.7.7/bin ? 我也改变了符号链接。 ls -la|grep libxml -rw-r–r– […]

如何在Wheezy上安装ia32-libs?

我曾经在ServerFault上看到过几个关于在64位机器上安装ia32-libs的问题,但是这些解决scheme对我来说并不合适(对于Wheezy,我不认为这些问题中的任何一个具体我不知道如何继续); root@server:/home/# apt-get install -f ia32-libs Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of […]