debian

Launch with Java 7 in Debian package

泪湿孤枕 提交于 2019-12-24 09:59:35
问题 I've created a Debian package for my application that depends on openjdk-7-jre, problem is I also need to ensure it's launched with Java 7 (chances are Java 6 is still the default.) At present I have Exec=java -jar Application.jar ...which will obviously just take the default Java install. I could specify something like: Exec=/usr/lib/jvm/java-1.7.0-openjdk-i386/bin/java -jar Application.jar ...but I'm a bit weary because the architecture (i386) bit is in there, and if that changes then

Trying to install django-haystack

放肆的年华 提交于 2019-12-24 09:36:50
问题 Hello I'm trying to install django-haystack on a Debian 7 x86 but it is impossible to install, this Debian is fresh installation, I compiled python 3.6, I am little disappointed, this the error I get 100% |ââââââââââââââââââââââââââââââââ| 389kB 9.0kB/s Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/setuptools_scm/: [Errno -2] Name or service not known -- Some packages may not be found! Download error on https://pypi.python.org/simple

Error while deploying code to Raspberry Pi: /usr/bin/ld: cannot find -lcurl

坚强是说给别人听的谎言 提交于 2019-12-24 08:46:18
问题 While trying to deploy a code to my Pi, I run into the issue; Deploying to Pi -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler:

Debian repository on Bintray multiple errors and unexpected behavior

社会主义新天地 提交于 2019-12-24 08:41:17
问题 I'm new to debian uploading, so I'm willing to believe I'm just doing something wrong. However, I had it working "as expected", but now am experiencing "strange behavior" and some errors when uploading/downloading. I spent a whole day and I think I've narrowed down some of the symptoms: NOTE: All my repositories are created with the Automatic Layout. I was wondering if FIRST The repo below was working normally last week, but this week the "Packages" file for i386 is no longer getting updated

phpseclib not works with php5-cli from terminal

左心房为你撑大大i 提交于 2019-12-24 08:38:38
问题 I installed php5-cli package on my raspbian (debian OS) and I downloaded phpseclib in /cli/ directory. I created a test file to encrypt text with a public key (generated within my apache server on which I have the same library) in this way: include('libs/Crypt/RSA.php'); $rsa = new Crypt_RSA(); $rsa->loadKey($myPublicKey); $encrypted = $rsa->encrypt("my text"); echo "result: " .$encrypted; If I try to type php test.php the result variable is empty. Why? It's due to the fact I execute the file

can't open fuse device in a docker container when mounting a davfs2 volume

孤者浪人 提交于 2019-12-24 08:19:00
问题 I encounter the following error when I try to mount a davfs2 volume on a docker container : geoserver@8e8091d97157:~$ mount owncloud/ /sbin/mount.davfs: loading kernel module fuse /sbin/mount.davfs: loading kernel module fuse failed /sbin/mount.davfs: waiting for /dev/fuse to be created /sbin/mount.davfs: can't open fuse device /sbin/mount.davfs: trying coda kernel file system /sbin/mount.davfs: no free coda device to mount The Dockerfile has the following content : FROM debian:jessie ENV

install php-gd ext on Debian

邮差的信 提交于 2019-12-24 08:12:13
问题 I'm not able to install php-gd extension on my server. I have php 7.2: PHP 7.2.10-1+0~20181001133426.7+jessie~1.gbpb6e829 (cli) (built: Oct 1 2018 13:50:53) ( NTS ) and debian 8 linux: Debian GNU/Linux 8 command to install GD extension: sudo apt-get install php7.2-gd and result: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libc-ares2 libnfsidmap2 libpcre16-3 libpcre32-3

Logging MySQL interactive queries

跟風遠走 提交于 2019-12-24 06:13:46
问题 I have several people doing some database queries directly into some systems. I would like to log to a secure syslog server all the queries done interactively/by hand, or failing that, all the queries done by using the mysql binary client. I am using Debian Jessie, and Oracle MySQL 5.6.31 How could I achieve that? 回答1: As you correctly spotted from MySQL 5.7 there is now the option to log to syslog . Instead of creating an alias to the command as you have above, you could instead add syslog

Logging MySQL interactive queries

无人久伴 提交于 2019-12-24 06:11:04
问题 I have several people doing some database queries directly into some systems. I would like to log to a secure syslog server all the queries done interactively/by hand, or failing that, all the queries done by using the mysql binary client. I am using Debian Jessie, and Oracle MySQL 5.6.31 How could I achieve that? 回答1: As you correctly spotted from MySQL 5.7 there is now the option to log to syslog . Instead of creating an alias to the command as you have above, you could instead add syslog

Debian packages: distinguish “requested install” from “installed to satisfy dependencies”

半腔热情 提交于 2019-12-24 05:42:07
问题 How can I determine which packages where installed because I requested the installation and which packages where automatically installed in order to satisfy dependencies ? In aptitude, this information is shown as "A": i A fam ... i grub ... i A grub-common ... This shows that I requested the package grub and that grub-common was installed as a result of this. However, aptitude is an interactive program, I cannot extract this information automatically to process it with a script. With the