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
0
votes
1 answer

apt-get install broken and need to undo install

Accidentally installed something, which broke during the install, which is good since I got the wrong package. Unfortunately it's broken apt-get like others have experienced. I've seen plenty of ways to continue the broken install, but in my case I…
Guy Park
  • 959
  • 12
  • 25
0
votes
1 answer

Debian fails to install updates

When I try to poweroff the laptop this pops up. Image:Install pending updates option But when Click it and poweroff the laptop the update fails at 0%. How to solve the issue?
0
votes
1 answer

Check for system updates with PHP on Debian-based

I am developing a PHP monitoring platform and I found this post. It works very well and I would like to do the same for an apt-get update. Is it possible to check if there are system updates available with PHP? I have no idea how to deal with the…
user10313661
0
votes
0 answers

Does Debian 5 have augeas version 1.0

I am new to augeas and I want to find out if Debian 5 or my OS supports augeas version 1.0 or higher. How can I do this?
user2338823
  • 501
  • 1
  • 3
  • 16
0
votes
1 answer

Bash -a vs bash &&

I have this bash statement: if ls > /dev/null 2>&1 -a ls > /dev/null 2>&1; then echo "true"; else echo "false"; fi Which gives me "false". But I know ls will always return 0 (i.e. true). I had thought that -a was an AND statement. When I…
Connor
  • 4,216
  • 2
  • 29
  • 40
0
votes
0 answers

Libstdc++.so.6 version GLIBCXX 3.4.18 not found on debian

I’m trying to compile some program in qt creator, gcc version 4.7.2, Astra Linux, x86_64-Linux-gnu and faces this problem. I have already tried everything that could found on internet by the problem is still here. How can I fix this?
Kirill
  • 207
  • 1
  • 4
  • 14
0
votes
1 answer

Nautilus doesnt open applications with open with dialog

I recently installed Nautilus on my Parrot Security OS which is Debian based and installed it through synaptic, but now that im starting to use the application when i try to open a Floder with the Atom editor through the Open With dialog, it doesnt…
Jorge Carretero
  • 361
  • 2
  • 12
0
votes
1 answer

Client-side (Python) load-balancing a MySQL server

I have an interesting problem I'd like to find a solution to. I have a MySQL server running on Ubuntu (16.04). I also have a number of servers that store system information like CPU temperature, network traffic data & CPU loads in a database on the…
Mausy5043
  • 906
  • 2
  • 17
  • 39
0
votes
1 answer

How can I retrieve the package-relevant architecture of a Debian Linux system?

I currently try to build a Debian package for the armhf (ARMv7) architecture, but I want the build script to recognize the architecture itself. The problem is, that I can not find the architecture, that APT uses to retrieve the package from a…
themole
  • 363
  • 3
  • 12
0
votes
1 answer

How to shell script a wrapper for a service

I have a system service, foo that is started and stopped via /usr/sbin/service restart foo. It in turn appears to be controlled by a shell script /etc/init.d/foo How can I create a "pre-start" hook, so that I can run an extra shell script prior to…
FrobberOfBits
  • 17,634
  • 4
  • 52
  • 86
0
votes
1 answer

raspbian (rasp pi 3) connection to database (mysql / mariadb)

I am stucked. I am relative neewbie in Linux with some previous exp. in php programming. I want write a script with my raspi pi 3, qt, and databases. I am unable to get database connection work. all tutorials are counting either with cppconn,…
CZBios
  • 57
  • 1
  • 10
0
votes
1 answer

Using grep to match where two tokens occur on the same line

I am reading the man page, and found this blog post, and both seem to say the same thing, but it does not work. I have a project where I need to batch replace lines like import Foo from '/modules/foo/client/components/Foo.jsx'; into import Foo from…
Yanick Rochon
  • 51,409
  • 25
  • 133
  • 214
0
votes
1 answer

Debian 8 nginx configuration

On my Nginx webserver i have several virtual hosts like this: - api.example.com - www.example.com - cv.example.com But when i am visiting www.example.com/example and this is not an valid path its giving me 404 page of my api.example.com. But why…
Noob
  • 732
  • 8
  • 30
0
votes
1 answer

How to secure debian nginx webserver

I installed Jekyll on my Debian with nginx. Normally i know how to secure my web server when using php. You can do this with php-fpm and creating pool. my current nginx configuration: server { listen 80 ; listen [::]:80; return 301…
Noob
  • 732
  • 8
  • 30
0
votes
1 answer

Repeat a specific code line in bash

I have writed a simple bash script,with dialog, that I use for post-installation on deepin distro. The script have a simple menu created with dialog, now my problem is that I don't know how to repeat the menu after every command is completed. This…
Fasbyte01
  • 25
  • 4