Questions tagged [debian-based]

Debian-based operating systems (such as Ubuntu or gNewSense) derive the majority of their functionality from the main Debian code base and are thus likely to be largely compatible with it. For example, it's often possible for an Ubuntu .deb file to be installed on a Debian system with no changes.

Debian-based operating systems (such as Ubuntu or gNewSense) derive the majority of their functionality from the main Debian code base and are thus likely to be largely compatible with it. For example, it's often possible for an Ubuntu .deb file to be installed on a Debian system with no changes.

297 questions
257
votes
24 answers

How to upgrade docker-compose to latest version

I have installed docker-compose using the command sudo apt install docker-compose It installed docker-compose version 1.8.0 and build unknown I need the latest version of docker-compose or at least a version of 1.9.0 Can anyone please let me know…
Sam_2207
  • 2,759
  • 2
  • 9
  • 15
137
votes
12 answers

Yarn ERROR: There are no scenarios; must have at least one

I tried to install Yarn and when I used the yarn command I got: 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one. my yarn --version is 0.32. Why doesn't it work?
Francesco Borzi
  • 56,083
  • 47
  • 179
  • 252
117
votes
5 answers

Python Requests - How to use system ca-certificates (debian/ubuntu)?

I've installed a self-signed root ca cert into debian's /usr/share/ca-certificates/local and installed them with sudo dpkg-reconfigure ca-certificates. At this point true | gnutls-cli mysite.local is happy, and true | openssl s_client -connect…
ThorSummoner
  • 16,657
  • 15
  • 135
  • 147
96
votes
15 answers

What is the correct target for the JAVA_HOME environment variable for a Linux OpenJDK Debian-based distribution?

In Windows, JAVA_HOME must point to the JDK installation folder (so that JAVA_HOME/bin contains all executables and JAVA_HOME/libs contains all default jar libraries). If I download Sun's JDK bundle and installs it in Linux, it is the same…
Luis Soeiro
  • 4,262
  • 6
  • 35
  • 45
21
votes
5 answers

Install specific version of Ansible (2.3.1.0) on Ubuntu 18.04 LTS

I want to install Ansible 2.3.1.0 on Ubuntu 18.04. When I run apt-get install ansible, it installs the version 2.5.3. Below is output of apt-cache policy ansible. After that, I removed the installation. ansible: Installed: (none) Candidate:…
user9849416
  • 269
  • 1
  • 2
  • 6
16
votes
3 answers

Resources on writing a Debian/Ubuntu deb package?

I'm getting started preparing an installation script for a software package onto an Ubuntu server. I would like to write a script as a .deb package that is aware of dependencies that must be installed beforehand (a database, web server, etc.). …
Peter Bratton
  • 6,302
  • 6
  • 39
  • 61
9
votes
1 answer

How do I connect dbus and policykit to my function in python?

I am making a python application that has a method needing root privileges. From https://www.freedesktop.org/software/polkit/docs/0.105/polkit-apps.html, I found Example 2. Accessing the Authority via D-Bus which is the python version of the code…
answerSeeker
  • 2,692
  • 4
  • 38
  • 76
9
votes
2 answers

Difference between nodejs v0.12 and v5.x distributions

I'm looking to install nodejs via Dockerfile to a debian based container. I'm a little confused about the different distributions out there. I've come to the conclusion that I want the latest STABLE distribution. Now, in nodesource/distributions#deb…
Fdo
  • 1,053
  • 4
  • 15
  • 38
8
votes
2 answers

installing rails with gem , error loading command : install undefined method 'invoke_with_build_args`

I'm try to install rails on Debian. when run this command gem install rails I gave this error: ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method…
Esterlinkof
  • 1,444
  • 3
  • 22
  • 27
7
votes
2 answers

Exclude one directory from Nginx password authentication

I have setup my Nginx server to have authentication for everything, but I want to exclude all the files under /var/www/html/t/sms/plivo for password authentication. I have tried using different paths but it always asks for a password when I try to…
Arya
  • 8,473
  • 27
  • 105
  • 175
7
votes
4 answers

List git repositories with unpushed changes

I'm reinstalling my OS. I have thousands of repos on my computer. I have a feeling that I've made a few changes in some repos while hacking around that are not committed and/or pushed. From a bash shell on my Debian PC, what's the best way to find…
Greg
  • 21,235
  • 17
  • 84
  • 107
7
votes
1 answer

Raspberry pi Arduino Libraries folder

I've got a raspberry pi and arduino connected over serial port. Everything works, except the Arduino IDE does not have an 'import library' section for adding new libraries. I can only import libraries that come with the IDE. I want to add more…
kkaul
  • 147
  • 1
  • 2
  • 13
7
votes
6 answers

How to specify filepath in java?

I have created a java application for "Debian Linux." Now I want that that application reads a file placed in the directory where the jar file of that application is specified. So what to specify at the argument of the File Object? File…
Amit
  • 33,847
  • 91
  • 226
  • 299
6
votes
1 answer

Debian packaging: deploying files to the user home directory

I use Debhelper to create Debian packages. To deploy files and directories, I use the debian/install and debian/dirs files. Now I would like my package to deploy the default user configuration file to $HOME/.mypackagerc (just like .bashrc and…
nicoulaj
  • 3,463
  • 4
  • 27
  • 32
6
votes
1 answer

Using dput for uploading package to launchpad-ppa: No host found in config

I'm trying to upload a debian package to ppa.launchpad.net using dput. As mentioned in launchpad.net help I just have to use the following command: dput ppa:my-lp-id/ppa My PPA is called main. I built the package using debuild -S…
Ethan Leroy
  • 15,804
  • 9
  • 41
  • 63
1
2 3
19 20