debian

Combine two particular lines using sed

妖精的绣舞 提交于 2019-12-12 05:49:23
问题 I have the following input file that you might recognize as a debian Packages file: Package: nimbox-apexer-sales Version: 1.0.0-201007241449 Architecture: i386 Maintainer: Ricardo Marimon <rmarimon@nimbox.com> Installed-Size: 124 Depends: nimbox-apexer-root Filename: binary/nimbox-apexer-sales_1.0.0-201007241449_i386.deb Size: 68880 MD5sum: c4538f2913d76b57110ba73d0b87cc16 Section: base Priority: optional Description: Sales Application for NiMbox. Package: nimbox-tomcat Version: 6.0.26-5

how to install on an old ubuntu release a higher version of a package which is only available on a newer ubuntu release? I take erlang as an example

爱⌒轻易说出口 提交于 2019-12-12 05:33:28
问题 I have an ubuntu server system which is 8.04 hardy , where I am installing rabbitmq. The rabbitmq has a dependence of erlang-nox (>= 1:12.b.3) , but with the current ubuntu release, the most recent version for erlang-nox I can get is: 1:11.b.5dfsg-11 , via apt-get . So, how can I install the higher version of erlang(erlang-nox) with apt-get? I know the higher version for erlang is available in newer ubuntu release, e.g., on my laptop, the ubuntu is 9.1 karmic , and the erlang packages are 13

Apache2 doesn't load mod_cluster modules

蹲街弑〆低调 提交于 2019-12-12 05:27:18
问题 I'm working on a debian jessie machine instantiated inside open nebula with kvm. I have to install jboss eap and mod_cluster, so I need to install the apache2 service. I followed the mod_cluster quick start guide and set the /etc/apache2/apache2.conf file as follow: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule slotmem_module modules/mod_slotmem.so LoadModule manager_module modules/mod_manager.so LoadModule proxy_cluster_module

Where does mysql_ssl_rsa_setup get OpenSSL files?

假如想象 提交于 2019-12-12 05:19:00
问题 Getting "openssl not installed on this system" when running mysql_ssl_rsa_setup. I installed openssl and mysql from source, both times keeping the default paths for installation (/usr/local/openssl for openssl [I actually renamed it to openssl from ssl to see if that was the problem], /usr/local/mysql for mysql). The docs say it gets the path from the PATH environment variable, but there's no option to specify it in the command line. What is the default? How to change it? I have seen that you

Error installing and using numpy

走远了吗. 提交于 2019-12-12 05:17:10
问题 I'm having unicode troubles trying to run numpy. As pointed here and and here i'm using python with 4 bytes unicode, I downloaded the numpy 1.6.1 source code and run the python installer: in the numpy source directory: which python /usr/local/bin/python python -c 'import sys; print sys.maxunicode' 1114111 python setup.py build python setup.py install cd ~ python -c 'import numpy' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python2.6/site

Dependency library not recognized during installation octave forge dicom package in debian linux

无人久伴 提交于 2019-12-12 04:56:29
问题 I ask this question on this stack exchange because it has (by far) the most posts about octave. I started using a linux environment and want to use octave for my work, for which the dicom package is essential (my data is in the dicom format and not readily converted to nifti because of its high dimensionality, it would require many,many seperate files). The dicom package is dependend on the gdcm library, which I have installed. The when installing the dicom package I get this error: fatal

Python Popen can't open bash shell in CentOS/Red Hat

≯℡__Kan透↙ 提交于 2019-12-12 04:42:51
问题 I can't open a bash shell in CentOS with python 2.7, I'm able to do so in python 2.6.6 Debian. What has changed? I tried a simple bash process substitution: from subprocess import Popen cmd="""cat <<'EOF' this is test $unchanged EOF """ Popen('cat <(%s)' % cmd, shell=True, executable='/bin/bash') In Debian this works, in CentOS it doesn't: /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `cat <(cat <<'EOF'' The differences are: Debian : Python 2.6.6, /bin/sh is

How to get any useful information when JDeb fails to create a Debian package?

你离开我真会死。 提交于 2019-12-12 04:37:01
问题 I use JDeb for a few days. I try to create a Debian package for my Java based first person shooter. I use Ant as a build tool. I put this line into my Ant script at the very beginning: <taskdef name="pure-java-deb" classname="org.vafer.jdeb.ant.DebAntTask" classpath="lib/ant/jdeb-1.3.jar"/> I try to use this library further: <delete failonerror="false" file="${destdir}/control" /> <echo file="${destdir}/control"> <![CDATA[ Package: ${project-unix-name} Version: 0 Section: Games Priority: low

Entity Framework Core Exception “System.Runtime.Versioning.BinaryCompatibility”

核能气质少年 提交于 2019-12-12 04:31:45
问题 I am trying to run my dotnet core application on my debian 8 server. My app is divided in two. The console app The database access dll I followed the instruction to install the runtime on the Microsoft DotNet website. When I start my console app, Entity Framework Core throws me an exception. Exception Message: The type initializer for 'System.Runtime.Versioning.BinaryCompatibility' threw an exception. Inner Exception Message: Could not load file or assembly 'System.Runtime.InteropServices,

CentOS guest in Debian guest on Windows 7 host: “VT-x is not available (VERR_VMX_NO_VMX)”

会有一股神秘感。 提交于 2019-12-12 03:49:14
问题 I have VirtualBox 5.1 installed on Windows 7. There I have a guest OS Debian (64-bit) set up. For this guest system I have both " Enable VT-x/AMD-V " and " Enable Nested Paging " boxes checked in the " System - Accelaration " menu and the " Paravirtualization Interface " is set to " KVM ". Now I am trying to deploy a CentOS (guest) system (following these instructions to install an Apache Metron dev environment) inside the Debian guest OS, using VirtualBox 5.0 as a provider to Vagrant . I run