Questions tagged [debian]

1

votes
2

answer
1.5k

Views

Trouble in installing Openjdk-8 in Debian Jessie

I am trying to install jdk-8 in debian jessie docker containier. Below is the docker file FROM debian:jessie ENV DEBIAN_FRONTEND noninteractive RUN \ echo deb http://http.debian.net/debian jessie-backports main >> /etc/apt/sources.list &&\ apt-get update && apt-get install openjdk-8-jdk &&\ update-a...
Anil Bhaskaran
1

votes
2

answer
328

Views

Converting SVG to another format fail due to delegate not being found

I have PHP code running on Debian stretch with ImageMagick. It tries to convert SVG to another format. Here is how it starts $im = new Imagick(); $im->readImageBlob($svg); The variable $svg contains valid SVG code in a string. If I copy this string to a text file with a .svg extension then it opens...
Gherman
1

votes
2

answer
1.8k

Views

How would I use postinst script with fakeroot deb package builder

Good afternoon, I was able to build my project into a deb package using: fakeroot dpkg-deb --build mypackage Next, I can install the package using dpkg -i mypackage.deb Everything is installed and copied correctly when I do this, however I would like to run a few bash commands after the package is i...
Mich
1

votes
3

answer
116

Views

404 error installing virtualbox on debian testing

When attempting to install Virtualbox on Debian Testing, I'm getting a 404 error from the repository after I've added it. Contents of apt update: Hit:1 http://ftp.us.debian.org/debian testing InRelease Ign:2 http://download.virtualbox.org/virtualbox/debian testing InRelease Err:3 http://download.vir...
yourknightmares
1

votes
1

answer
1.8k

Views

Bash Script to install PostgreSQL - Not working

I have a script which runs when my debian 6.0 server is deployed and it is designed to build postgreSQL from source, create a system user for it, create a database and start it running. I am new to this but I did a lot of homework and this is what I came up with: # Initial apt-get update apt-get -y...
James Willson
1

votes
1

answer
264

Views

Laravel folder permission for not-yet made cache folders

I'm having an issue with directory permissions with Laravel when it comes to caching. Whenever it tries to upload a cache file to /var/www/laravel/storage/framework/cache/data/ it tells me that file_put_contents has no permissions. To fix this I always do something like chmod -R 755 /var/www/laravel...
P. Nick
1

votes
0

answer
60

Views

In Bitbake use existing debian maintainer script

I have a bitbake recipe whose source is a debian package that is already built. The recipe is essentially: SRC_URI = 'file:///some/path/some_file.deb' S = '${WORKDIR}/some_file' inherit bin_package I'd like to use the existing postinst, preinst and prerm that are already present in some_file.deb. I...
therealjumbo
1

votes
0

answer
579

Views

Yocto install glibc-locale components

I need to install the glibc-locale package in my Yocto built Debian image. The final image should have the charmaps installed along with the 'locale' and 'localedef' commands so that 'local -m' creates a list of available charmaps that is similar to that in an Ubuntu distro, and I can use localedef...
jollyGreen
1

votes
0

answer
38

Views

Asterisk - use custom functions

My Asterisk can write Call Data Record and channel event logging use freetds. I know, that for my question i can use func_odbc. But my linux knowledge is low. I can use custom dialplan function without func_odbc. Maybe 'func_tds'?
1

votes
1

answer
1.2k

Views

Error after starting Selenium with chromedriver on debian 8

I'm trying to use Selenium with Google Chrome. It works perfektly on my computer but it won't run on my Debian 8 64 bit server. But on the server I get get with the following code this error. [email protected]:/opt/SupportBot# java -jar /opt/web/googletest.jar Starting ChromeDriver 2.34.522913 (36222509aa6e8...
Mathias
1

votes
1

answer
280

Views

Unable to get Docker Registry to work locally, works remotely

Summary I've set up a registry container on a Debian host running on the default port 5000. The Debian host runs as a virtual machine on top of a VMWare system. Port 5000 is open. docker run -d -p 5000:5000 --name registry --restart=always registry:2 I then tagged an image for pushing to the registr...
Karl Viiburg
1

votes
1

answer
27

Views

static queue and dynamic extensions

I use the odbc function and get the number of the manager from the MSSQL table if the client calls me a second or more times. [incoming_calls] exten => s,1,Set(fname=${CDR(uniqueid)}) exten=> s,2,Set(extext=${ODBC_GET_EXTEN(${CALLERID(num)})}) exten => s,3,Dial(SIP/${extext}) exten => s,n,Hangup()...
1

votes
0

answer
288

Views

Problem with the SSL CA cert (path? access rights?) on Debian

I wrote a program to test libcurl in C, here is the code: #include #include int main() { int ret; static char buf[10000]; CURL *curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, 'https://www.baidu.com'); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, buf); curl_easy_setopt(curl,...
cuihaikuo
1

votes
0

answer
31

Views

Building postgres from source and package as debian package

Incase I prefer to build the postgresql from source let us say 9.6 and would prefer to package the same as debian on my own, is there any documentation that I can refer to figure out how postgres should be packaged after the build. Any scripts that I can refer in this regard?
lazzycoderr
1

votes
1

answer
388

Views

qemu-user cannot find shared libraries when run a dynamically linked executable

I have created a c++ app on Debian Jessie 8.10 amd64 targeted for arm architecture. I cross compiled the source code for armhf following the link https://wiki.embeddedarm.com/wiki/Jessie_armhf_Cross_Compile. The app is also dependent on some Poco shared libraries which are installed in folder /usr/l...
dk13
1

votes
0

answer
54

Views

Print commands executed by subprocess.call (subprocess.call trace)

My Pytnon script has a number of methods like: def clean_htmldir(self): super(Cov,self).clean0('rm -rf {:s}/*'.format(self.COV_HTMLDIR)) where clean0 is a method of the super class def clean0(self, rm_cmd): ret = subprocess.call(rm_cmd, shell=True) return ret Python script executes a number of shell...
Vladimir Zolotykh
1

votes
0

answer
123

Views

Cannot create git repo in davfs2 mount

On Linux Debian 9, I'm trying to create a git (ver. 1:2.11.0-3+deb9u2) repository within a Cryptomator (ver. 1.3.2) WebDAV server mounted via davfs2 (ver. 1.5.4-2+b1). After running git init to create the git repo, I get the following error: error: could not lock config file /home/nonrootuser/Docume...
Adam Smith
1

votes
1

answer
45

Views

corefonts or fonts-liberation in wine

I am running a debian 9 docker container with a wine program installed in it. I want to have MS corefonts support. e.g. Arial, Courier, Comic Sans etc. My current approach is to call wget https://raw.githubusercontent.com/Winetricks/winetricks/20171222/src/winetricks -O /usr/local/bin/winetricks ch...
user8162
1

votes
0

answer
90

Views

Migrate mysql to MariaDB after Debian 9 upgrade without lose data

there is a way to migrate to MariaDB without losing database data and leave no package trace after mysql removal? I get an dependency error while install mariadb-server, other answer has suggested to clean mysql folder then reimport backup, but with short downtime i can't use this method. I'm on Deb...
Edoardo Cortese
1

votes
1

answer
779

Views

Dockerfile for a gitlab container

I am doing a school project where I must install gitlab ce in a debian Docker container. I came up with something but the gitlab installer gets stuck on : ruby_block[supervise_redis_sleep] action run I read somewhere you can Ctrl+C and reconfigure to skip this error but as it is a school project I c...
Emmanuel Ruaud
1

votes
0

answer
42

Views

Error protocol and QXcbConnection when I run a game after update to Debian Testing Buster

I was playing my game normally before the update, I was at Debian 9.3 Stretch. After update I try to run the game with the same command. bash start-tibia.sh And Output this: No protocol specified QXcbConnection: Could not connect to display :0 Aborted I don't know why this happening. My system: ent...
Orlando Cartagena
1

votes
0

answer
27

Views

How can I reproduce CRAN errors for debian platform ?

I must correct some errors in my package antaresProcessing. I want to reproduce these errors before. Here, you can see CRAN Checks I don't have debian OS. I tried rhub, you can see that the results are ok I tried to execute these functions, all are fine. rhub::check_for_cran(platform = 'debian-...
Maaehj
1

votes
0

answer
715

Views

Can't open Mendeley Desktop on Debian Stretch QSslSocket errors

I tried opening Mendeley through my terminal and got a bunch of errors and a pop-up window that says Mendeley Desktop is already running but may not be responding. Click the Mendeley icon in the taskbar or dock to activate it. But there's nothing in the taskbar/dock to click on. The terminal errors...
user1153070
1

votes
0

answer
78

Views

Building 3rd party linux kernel modules: changes with kernels after 4.9?

I've been building my own kernels on Ubuntu for years, using make-kpkg from the kernel-package package. All I had to do after installing the linux-image and linux-headers packages was to correct the /lib/modules/4.x.y/{source,build} symlinks so they pointed to the /usr/src/linux-headers-4.x.y direct...
RJVB
1

votes
0

answer
235

Views

Gitian build compile errors

I am doing altcoin compiling for make windows build in debian OS in VirtualBox in Windows10 laptop. I did at terminal below, ./bin/gbuild --commit funcoin=v0.8 ../funcoin/contrib/gitian-descriptors/gitian-win32.yml But error says, [email protected]:~/gitian-builder$ ./bin/gbuild --commit bitcoinessen...
creator
1

votes
1

answer
361

Views

I ran apt-get dist-upgrade and my php stop working

I have searched but couldn't find a resource that helped, so I have to say it out loud. Please help me. I mistakenly ran sudo apt-get upgrade -u dist-upgrade After that, all the websites on my server stopped working. I tried to check if Php is still installed by typing php -vbut I got -bash: php: c...
Atoms
1

votes
0

answer
26

Views

debian source package code structure

I want to know where to find the information about the code structure of any debian package like e.g bash,gawk,grep or any other package. If we open the source code directory we find some similar folders in each of them like m4,po or tests etc. what every folder is meant for ? Specially the 'tests'...
yasirXenon
1

votes
0

answer
63

Views

Compound ffmpeg commands stored in a variable is not executed correctly

Following bash script: #!/bin/bash #-_-_-_--- CONFIGURATION ---_-_-_- CAMERA_COUNT=2 SRC_WIDTH=320 SRC_HEIGHT=240 MARGIN=320 #-_-_-_--- END CONFIGURATION---_-_-_- CHARS=( {A..Z} ) FULL_WIDTH=$((SRC_WIDTH * CAMERA_COUNT)) FFMPEG='ffmpeg ' for ((i = 0; i < CAMERA_COUNT; i++)) do FFMPEG+='-f flv -i rtm...
CaptTaifun
1

votes
1

answer
114

Views

Strange errors in postfix mail.warn log

How to avoid getting strange records in the mail.warn file? I started to receive it after Debian upgrade from jessie to stretch and postfix upgrade from 2.11.3 to 3.1.8. It is generated once, just after the system reboot. Despite the strange errors recorded in mail.warn file, it seems that postfix w...
MarioBig
1

votes
0

answer
26

Views

How to limit the use of a certain CPU to a certain group of users?

I'm using Debian. In bash scripting I implemented a script that adds different users to the system obtaining data from file. This data include a primary group and the number of CPU that this group can use. Data from users also can include several secondary groups and the CPU number each group is li...
Aleix Mariné
1

votes
0

answer
138

Views

Create Docker image for deb packages

I have a deb packages created, I need to set up one docker image for these files. .buildinfo .changes .deb .ddeb Any pointers or documentation to create a Docker image. I have searched for same in google and found only how to create deb packages using docker containers.
Bobby
1

votes
1

answer
67

Views

Remote connection is intermittent

I have a problem with my MariaDB server. Server A Debian: MariaDB + apache2. Server B Debian: apache2 + Remote access to MariaDB from (A) server. The problem is that server B often is losing connections with MariaDB. Sometimes connection is okey but sometimes it shows error: 'Server has gone away'....
Arkadiusz
1

votes
1

answer
108

Views

How to launch automatically updatedb (for locate) at startup on Debian?

I need to update manually locate with sudo updatedb before to use it, obviously! But with 'Linux Mint' for example it's done automatically at each startup and it's very convenient because it's enough for most of your daily searches. :o) However I don't know how it's scheduled or how it works. How ca...
1

votes
0

answer
347

Views

Cross compiling debian:jessie container

I'm trying to create a docker container to be used for armhf cross compilation. I've been following the guide at https://wiki.debian.org/CrossToolchains and from my understanding the Dockerfile below should be sufficient. Unfortunately it fails not finding the gcc-arm-linux-gnueabihf and g++-arm-lin...
Stephan
1

votes
1

answer
978

Views

How to change default Window Manager for XRDP

I don't know if this question makes any sense, but here it's the problem: I have a virtual Debian machine that I only use terminal. Most of the time, I'm using it via ssh. I installed gparted to manage some disk, so I had to install xorg, lightdm and fluxbox. It was working great with rdp from Windo...
Rafael
1

votes
1

answer
641

Views

Logging in as root in MySQL does not require password

Whenever I try to login via SSH on my MySQL server, the 'root' user does not require me to provide a password. I already tried the suggestion from this guide, however, I still have no luck. UPDATE mysql.user SET authentication_string = PASSWORD('MyPass'), password_expired = 'N' WHERE User = 'root'...
jericpo
1

votes
0

answer
165

Views

Enable php-intl in ISPConfig 3, Debian 8 and additional php 7.1 on server

How to enable php-intl on php7.1 with Debian 8 + ISPConfig 3.x. It says, that it's installed on php7.1 but it is not enabled. If I run ./php --ri intl I will get 'Extension 'intl' not present.'
Shrike
1

votes
0

answer
88

Views

How to keep Python script running in the background and “contact” it with information?

I'm still fairly new to programming, so apologies if this is a very basic question. I'm working on a project (star tracking) in which speed is of paramount importance. Once an image is taken, I need the Python script I have to analyze the image and return the results as soon as possible. While the a...
1

votes
0

answer
343

Views

Remove old version of deb package before installing

Is there a way to specify for the deb package that it must remove the old version of the package before installing the new one. Suppose I have program_1.0.deb installed and I am making program_2.0.deb. How can I specify the the old version should be purged? Replaces, Conflicts don't work, it just un...
1

votes
1

answer
29

Views

Title sync in folder [closed]

I have lot of subs in few TV series with wrong names and I would like to rename them according to original avi files. None scripts found here works...Can somebody help me please? Thanks. The first two are renamed already 01-back_off_mary_poppins.avi 01-back_off_mary_poppins.srt 02-enjoy_those_garli...
linq

View additional questions