Questions specific to the Debian official distribution (stable, testing, or unstable); if you are using a derivative of Debian (e.g. Mint, Ubuntu, Kali, etc), then use that distribution’s tag instead.

learn more… | top users | synonyms (1)

6
votes
1answer
3k views

Migrate socat init script to systemd

I use socat with following init script on debian 7.2 with sysVinit. It works perfectly: #!/bin/bash DESC=socat DAEMON=/usr/bin/socat LIB=/usr/lib/socat SOCAT_ARGS="-d -d -lf /var/log/socat.log" [ ! -...
2
votes
1answer
716 views

rkhunter /usr/bin/ssh && /usr/sbin/sshd [Warning]

My last rkhuter scan reported a couple of warnings that deserve to be checked(for my noob eyes). Main reason for my suspect is that i wasn't on the machine at (03-Apr-2014 01:12:12) ->AM I googled ...
7
votes
3answers
21k views

How can I upgrade MySQL in Debian using apt-get?

I'm using the Turnkey Linux virtual machine. The version of Debian in there is apparently on the "Wheezy" upgrade path (if that's what you call it). I'm not completely comfortable with Linux, as you ...
4
votes
1answer
652 views

apt-get doesn't upgrade openssl on debian 7

I'm facing the following problem. If I run the command sudo apt-get upgrade, I get: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
5
votes
1answer
2k views

apt python error prevents me from resolving dependency problems for apt-get install

On Debian 6 servers dependency issues are preventing me from installing nis (or any package). When I try to resolve that issue I get a python error. How do I get past this issue and re-gain the ...
4
votes
1answer
2k views

System environment variables not appearing in sudo

I have the following line my /etc/environment file: BROKER_URL=tcp://xxx.30.8.163:61616 I run this and get: $ set|grep BROKER_URL BROKER_URL=tcp://xxx.30.8.163:61616 Then, I run: $ sudo bash # ...
3
votes
0answers
202 views

Optimal rootflags for rootfs for ext4 file system running on USB thumdrive [closed]

I have made myself a bootable USB Debian 7 thumbdrive, using debootstrap. It boots nicely - but occasionally freezes for a bit. I can see the load average is much higher than the running tasks should ...
1
vote
2answers
676 views

How can I find out about “rootfs”

Running Debian 7; when I execute a cat /etc/mtab I can see all sorts of useful information about the filesystems that are mounted, such as the filesystem and options used to mount then; however ...
4
votes
0answers
8k views

fatal: bad ownership or modes for chroot directory component “/”

I used to be able to connect via ssh with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root In the ssh auth.log I get the following: ...
4
votes
2answers
3k views

how can I change what the command “apt-get update” looks for when executing the update?

Forgive my incompetence I am still new to GNU/Linux. I use Debian wheezy. When I type apt-get update I get this at the end W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/...
1
vote
1answer
624 views

Error while installing edx on debian squeeze

I am installing edx platform on debian squeeze with anisible at the middle of the process of installation I get this error : TASK: [supervisor | create a symlink for supervisor cfg] ******************...
1
vote
1answer
1k views

automate updates with a bash script and cron

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
3
votes
1answer
3k views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
1
vote
0answers
1k views

How do I manually install the XPM library?

I'm wanting to install SWI-Prolog, however my linux box (more like a tuna can; it's a RasPi) isn't connected to the internet, so I can't just do sudo apt-get install libxpm-dev How can I do this ...
5
votes
0answers
684 views

CRON Permission Denied [closed]

I have a Debian 7. 3 Server with WebMin installed. I configured a cron job to run every minute as root user, so I run the command crontab -l when I'm logged in as root it shows: * * * * * /usr/bin/...
2
votes
1answer
2k views

Cannot login on GUI

I'm using Debian Jessie with Xfce and cannot login into the GUI as a normal user, root works. I can login on another terminal. I tried to reinstall lightdm, but I still cannot login. After a login ...
4
votes
3answers
2k views

Muting and unmuting sound with mutebutton

I'm running the testing branch of debian with codename Jessie and xfce as desktop environment on a Lenovo ThinkPad T410. When I press the mute-button, it mutes pulse-audio and alsa, but when I press ...
24
votes
2answers
19k views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
2
votes
1answer
75 views

How to restore a system?

I have a disk image from Acronis True Image 2011. My original disk, of 40 GBs, had 2 partitions, 1 for FS and 1 for swap, but it started to fail. I've tried to make a backup, which finished with ...
2
votes
3answers
2k views

How to run scripts on headless startup?

How can I run a shell script when my Raspberry Pi starts up headless? I don't want it to be dependent on booting into a console, or logging in, etc. It will literally be plugged into Ethernet and ...
-2
votes
1answer
185 views

How to create a custom Linux distribution? [closed]

Can any one tell me the easiest way to create a system with live cd with installing function. Which can install backtrack all tools?? I need to create a custom boot animation and everything!
0
votes
1answer
242 views

Tightvnc server on debian closes the connection when I open a program

I installed TightVNC server on my Debian Wheezy machine. I'm using KDE. I'm able to connect to the server, but as soon as I click on any icon on the desktop of the server, the client loses the ...
6
votes
2answers
23k views

How to debug init.d script that isn't being run

I am trying to get god to start during boot on Debian. I added a script to the /etc/init.d/ directory which looks like this. #!/usr/bin/sh ### BEGIN INIT INFO # Provides: god # Required-...
1
vote
1answer
224 views

Re-add accidently deleted system group

In my attempt to delete the admin user group I accidentally deleted the adm system group. I "added it back" by issuing addgroup --system adm. I have a feeling this is going to bite me back later. Is ...
-1
votes
1answer
198 views

Unable to install new package on debian armhf

I got a debian 7.4 armhf that have been running for month without any problems. A few days ago I made some updates, and after that it seams that my dpkg doesn't work correctly any more. When I try to ...
2
votes
1answer
2k views

Are All The Packages Included On The Debian DVD/CD Images Or Just The Most Popular?

My understanding is that Debian and all the software available in the matching online repo (eg: https://packages.debian.org/stable/allpackages) are released together on a series of disc images (...
3
votes
1answer
2k views

Why I sometimes see “INIT: version 2.88 reloading” in the console?

As far as I understand, the init should automatically restart when I update the package with init or some dependency like libc6. Why I see INIT: version 2.88 reloading in console without having ...
5
votes
1answer
785 views

Why isn't “REISUB” working on Debian?

I'm using Debian 'Jessie'. Sometimes my computer freezes, and then I can't use Ctrl+Alt+Del to reboot, Ctrl+Alt+Backspace to kill the X Window System nor Ctrl+Alt+F1 to open a new shell. I've read in ...
0
votes
0answers
541 views

Multiple video cards on Xorg on Debian 7.4

I have 2 video cards installed and configured xorg.conf to output onto both monitors with Option "Xinerama" "1" but rather than extending my display, it is simply cloning the displays. I'm using KDM ...
3
votes
2answers
2k views

apt-get error: trying to overwrite shared 'filename', which is different from other instances of package 'package'

I tried installing several Ubuntu packages on Debian Wheezy, but it failed and now I have broken packages. The problem is, running apt-get -f install fails as well, with this error: Preparing to ...
3
votes
1answer
4k views

Where is my eth0 configuration on Wheezy

I have a perfectly happy Debian Wheezy 7.4 install that sets up eth0 as DHCP. But as I want to set a static IP address for it, I navigate to /etc/network and open up the interfaces file and see the ...
1
vote
1answer
514 views

error while install a package

I have a problem when I want to install python-pycurl package: root@edx:/var/tmp/configuration-master/playbooks# apt-get install python-pycurl Reading package lists... Done Building dependency tree ...
1
vote
0answers
333 views

Can't save changes to system settings in Debian Wheezy

I installed Debian Wheezy just a few days ago. I used the Live image, downloaded from official Debian website, to install it. Now, the problem is that the changes I make to system settings (like ...
2
votes
1answer
1k views

Create ssh user which can only access home directory [duplicate]

I read documentation on the internet on how to create a new user with SSH access. I figured it out and to create a user is quite simple. The next step I want to take is to jail this ssh server to the ...
2
votes
1answer
78 views

Why is Debian updating old package versions instead of offering new versions? (openssl) [duplicate]

I am a very inexperienced server owner and wanted to make sure I have a fix for heartbleed. After updating, "openssl version" still shows 1.0.1e and I wondered what to do to get a heartbleed free ...
1
vote
2answers
2k views

dependency error when run apt-get -f install in debian squeeze

I can't install or remove packages in Debian. When I type apt-get -f install to fix the problem I get this error: Reading package lists... Done Building dependency tree Reading state ...
0
votes
2answers
31k views

apt-get install openssl doesn't upgrade openssl [closed]

re heartbleed, I'm trying to upgrade openssl, WITHOUT upgrading all packages on my system so I am running apt-get install openssl as shown here, it's implied that doing this should upgrade openssl: ...
9
votes
3answers
21k views

How to force fsck at every boot - all (relevant) filesystems?

I'm working with a fanless PC (hundreds of them, in fact) that has debian 6 and 3 partitions( FAT and 2x ext2). The system doesn't have a power button as such so most people tend to yank the plug to '...
1
vote
1answer
859 views

Setting up init.d service daemon priority (with or without monit)

Does anyone know how to change the process priority with monit? I want a high one. Monit config file for my service so far: check process RPiQuadroServer pidfile /var/run/RPiQuadroServer.pid ...
2
votes
1answer
645 views

how to correctly delay the execution of a startup script based on a tested condition?

I need to start a service (namely ntp) only when true Internet connectivity is in place (not only a link up). I seem to have noticed that some startup scripts delay themselves when a condition is not ...
4
votes
1answer
394 views

What provides LSB virtual boot facilities for Debian?

Debian's version of Sysv init uses scripts which reference various LSB "virtual" boot facilities such as $local_fs and $network as requirements for use by insserv in setting up the boot sequence, but ...
3
votes
1answer
354 views

how to write a startup dependency on Internet availability?

Some of the services on my Raspberry Pi (~ Debian) depend on the availability of Internet (especially ntpd, for cryptic reasons). Specifically, the availability of a network device or a link being up ...
0
votes
0answers
37 views

Need a different header path for compiling

I'm trying to update numpy, a python package, on my fresh install of debian. I have installed from source the latest version of python in /usr/local When trying to update numpy via pip, I get an ...
1
vote
1answer
4k views

xorg: lost screen resolution after Debian/Jessie upgrade

After update/upgrade within Debian/Jessie (affecting some 50 packages) and a reboot (after an uptime of about a month), the full resolution 2560x1440 of my Dell U2713HM has gone. xrandr is listing at ...
1
vote
1answer
1k views

IP address of a mounted network directory

I have mounted a network directory to /mnt/svr with the following fstab configuration: # <file system> <mount point> <type> <options> <dump> <pass> //svr/...
6
votes
1answer
623 views

Are Debian- and RedHat-style repositories compromised by Heartbleed OpenSSL bug?

The Heartbleed exploit (CVE-2014-0160) makes SSL connections using OpenSSL vulnerable to private key leakage. Does it mean that official update channels in RHEL/CentOS/etc. and Debian/Ubuntu shall be ...
2
votes
0answers
431 views

Debian 64-bit sees less than 4GB of RAM

I have a Debian wheezy (7.4) amd64 virtual machine running under VirtualBox 4.3.10 on a Win7 x64 host with AMD A10-5700 processor. The virtual machine is configured with 16GB of memory (the host has ...
0
votes
1answer
190 views

Applying limits to the Trash on Debian Wheezy

I'm using Debian Wheezy, with Gnome 3 and Nautilus and I was wondering if there was any way to limit the Trash to a certain total size or at least file age. I'm in need of this as I usually handle ...
6
votes
2answers
7k views

Openssl upgraded via apt-get, `openssl version` showing previous version

I am running Debian Wheezy. I have just upgraded my system and should have the latest version of openssl (1.0.1g which fixes a critical bug), but it does not appear to be being used. I have run: apt-...
1
vote
1answer
304 views

Can I enable framebuffer support in xterm [closed]

Can I enable framebuffer support in xterm? If yes, how can I do it? If no, what terminal emulator have a framebuffer support?