Questions tagged [debian]
Debian GNU/Linux is a widespread Linux distribution focusing on stability, security, and the free software philosophy.
278
questions
24
votes
3
answers
26k
views
Debian: creating Windows 10 bootable install USB-drive using terminal (dd)
My goal is so simple, the title says it all, but every way I've tried, I've failed. I've read instructions on various sites (besides here) and they all seem to be missing something... this is what I ...
567
votes
16
answers
479k
views
Reload a Linux user's group assignments without logging out
When assigning a user's secondary group list using:
# usermod -G <grouplist> <user>
is it possible to force this group assignment to take effect without logging out all running sessions?
...
1
vote
1
answer
2k
views
Pixelbook installing r-base dependency with held broken packages error
I thought the Linux beta came with Pixelbook was Ubuntu so made some error input in the terminal I can no longer traceback. And now I face dependency error when I try to install R.
sudo apt install r-...
46
votes
2
answers
71k
views
Can I create an SSH user which can access only certain directory?
I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously.
I would like to create another ...
7
votes
5
answers
9k
views
Join multiple MP3 files (lossless)
How do you join multiple MP3 files into one? "cat" and "mp3wrap" are no good as they produce non standard MP3 files. I know I can use audacity, but when you have 1000's of MP3 files to join into one,...
129
votes
11
answers
559k
views
How to install the real Firefox on Debian?
Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work.
So what is best way to install the "real" Firefox on ...
129
votes
7
answers
351k
views
mount dev, proc, sys in a chroot environment?
I'm trying to create a Linux image with custom picked packages.What I'm trying to do is to hand craft the packages I'm going to use on an XO laptop, because compiling packages takes really long time ...
129
votes
5
answers
80k
views
How do I find out which package owns a file?
How do I find out what Debian package a file came from?
40
votes
9
answers
117k
views
How to install FFmpeg on Debian?
How do I install FFmpeg on Debian?
6
votes
2
answers
5k
views
Minimal emacs24 installation on ubuntu
I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
133
votes
8
answers
1.1m
views
How can I resolve the error "cannot execute binary file"?
When I login using SSH, all I can see is this...
-bash: /usr/bin/id: cannot execute binary file
-bash: [: : integer expression expected
I couldn't do anything in here. Commands such as halt, ...
97
votes
5
answers
55k
views
Aptitude vs. apt-get: Which is the recommended (aka the "right") tool to use?
Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
69
votes
11
answers
66k
views
What is the relationship between Unix, Linux, Ubuntu, Debian and Android?
What is the relationship between Unix, Linux, Ubuntu, and Debian?
I suspect they are all Operating Systems that are based upon one another - similar to how Windows is based on DOS. Is my suspicion ...
56
votes
8
answers
112k
views
apt says packages have been kept back, what to do?
The output of apt-get upgrade is:
The following packages have been kept back:
certbot python-acme python-certbot python-certbot-apache python-cryptography python-openssl
What does this mean?
Should ...
44
votes
6
answers
77k
views
How to find the L2 cache size in Linux?
I wanted to know how to find L2 cache size in Linux...
for L1 cache size, I am doing the following
pico /proc/cpuinfo
what about L2 cache size?
34
votes
4
answers
61k
views
Using multiple USB webcams in Linux
Running more than one USB webcam in Debian/Linux results in the the following error:
libv4l2: error turning on stream: No space left on device
VIDIOC_STREAMON: No space left on device
What initially ...
27
votes
4
answers
70k
views
Correct domain name for a home desktop Linux machine
I have several machines running Debian, and during install, I left the domain name field blank. This hasn't affected anything so far, but I'm curious what the correct thing to set that field to is if ...
23
votes
1
answer
155k
views
How to adjust screen resolution?
I've installed Debian testing from netist image in a AMD Radeon system. I am using Xorg and awesome wm. The default screen resolution is 1024x768 while my screen supports 1366 x 768.
I've tried xrandr ...
16
votes
4
answers
73k
views
Flash files (.swf) prompts for download instead of opening
I used to be able to drag .swf files into Chromium, and they would play just fine.
Recently, that stopped working. Doesn't work in Chromium or Iceweasel. Both browsers instead prompt to download the ....
9
votes
2
answers
15k
views
“The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059”
I try to update Debian but I get the following error message:
% sudo aptitude update
Hit http://deb.debian.org/debian bullseye InRelease
Hit http://deb.debian.org/debian-security bullseye-security ...
9
votes
2
answers
13k
views
How do I deploy IPv6 within a LAN using a Debian based router and prefix delegation?
My ISP started using DHCPv6, which means with this /etc/network/interfaces...
auto lo eth0 eth1
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.1
netmask ...
8
votes
7
answers
795
views
What is the easiest way to free space on a hard drive?
My hard drive became full. I am looking for ways to locate the things that use most of my disk space. I played with cron once so it may have consumed a great deal of space, but really I have no clue.
...
6
votes
6
answers
105k
views
SSH error ssh_exchange_identification: read: Connection reset by peer
I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
5
votes
2
answers
30k
views
Change the default codepage from latin1 to utf8 on a linux machine
How can I change the default codepage/charset on a linux system from latin1 to utf8?
I need to do this on two systems, one is running Ubuntu and the other Debian.
4
votes
3
answers
10k
views
sudo permission denied
I ran this code:
sudo cat <<EOF | sudo sed -e "s,%,$,g" >/etc/init.d/dropbox
echo "Hello World"
EOF
But even though, I get "permission denied", cause you have to be root to make changes ...
4
votes
2
answers
10k
views
Can I clone a root file system of a running server via ssh?
I want to make a backup of a running server. Every config files and everything without turning it off.
How can I accomplish this? Is it ok to try copying it all? Because I had problems with the root ...
2
votes
1
answer
5k
views
Unable to resolve hostname to ip
On my Debian server, the hostname is set to "debian." When I tried to ping debian from another Linux machine, it says "ping: cannot resolve debian: Unknown host." When trying to ping to any other ...
0
votes
1
answer
684
views
Find file running on python port hosting
I have a localhost:5000 port that is hosted by python3 server in ubuntu. How to i know which file it serves without knowing anything extra?
I am using lsof -i :5000 and i only know that it is hosted ...
184
votes
6
answers
82k
views
How to tell from what Ubuntu or Debian repository a package comes?
On a Debian-based system, including Ubuntu, how can one tell which repository a package will be downloaded from, without actually beginning the download? aptitude show and apt-cache info will show the ...
90
votes
2
answers
345k
views
Creating ext4 partition from console
I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space.
I want to make an ext4 partition in the remaining 0.6 TB space.
I have not tried anything yet because I don't want ...
59
votes
12
answers
280k
views
How to install Debian from a USB drive?
I've got a shining new x64 laptop running Windows 7 and I want to dual boot Debian stable.
I've installed Ubuntu on loads of laptops in the past using a USB drive, but I can't find decent ...
39
votes
4
answers
28k
views
How do you find the Ubuntu version (release number / name) from the command line?
How do you find the Ubuntu version (release number / name) from the command line?
27
votes
3
answers
112k
views
How to disable IPv6 on Debian Wheezy?
I know there's a wiki entry http://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6 that shows how to disable IPv6 in Debian Squeeze, but that's a 2.6.* kernel.
What about 3.2.* kernels running ...
23
votes
2
answers
5k
views
Why a non-root user can delete files created by root?
Given a non-root user "joshua", as root I created a file called "foo" at joshua's home directory (/home/johsua/); it look like this:
-rw-r--r-- 1 root root 0 12-19 21:00 foo
and then delete ...
19
votes
2
answers
49k
views
exporting a virtualbox VDI to a harddrive to boot it natively
I have a VirtualBox 3.1.2 image of Debian 5.0.2 running on Windows XP SP3. I would like to export that Debian image to a USB harddrive such that I could boot to that drive and run it natively. Is that ...
13
votes
2
answers
13k
views
Prevent Radeon driver from attaching to specific PCI devices?
I have two Radeon cards in this machine, a Radeon HD 6570 and a Radeon HD 6950:
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6570]
...
12
votes
8
answers
10k
views
Disk operations freeze Debian
I have just installed Debian testing on my new desktop and I am not very happy with performance - when I perform a disk intensive operation, e.g. upgrade packages in the system, everything seems to ...
11
votes
2
answers
15k
views
Is my hard drive dying?
Im gettings strange error messages in the terminal.
This is the output of dmesg:
[ 3317.715990] ata4.00: exception Emask 0x10 SAct 0x78 SErr 0x400000 action 0x6 frozen
[ 3317.716113] ata4.00: ...
11
votes
2
answers
2k
views
Can Debian identify rarely used packages?
I'd like to find a tool that could tell me which Debian packages on my system have been rarely or never used, perhaps by looking at file lists and access times. This is to find candidates for ...
11
votes
4
answers
5k
views
How can I display the list of all packages installed on my Debian system?
How can I get the list of all packages installed on my Debian system (I know this one is easy)? And also a list of all packages marked as manual? I am thinking about system upgrade, but I can't ...
11
votes
7
answers
28k
views
chown -R exclude some directory
I want to exclude some large content directory
I'm Using it to chown Directory
chown -R admin /home/admin/web/public_html
is there anyway to exclude a subdirectory under html
Like:
chown -R admin ...
8
votes
3
answers
15k
views
How do I choose what shows up in PuTTY title bar from Linux?
In the PuTTY configuration there's an option in Terminal → Features called Disable remote-controlled window title changing. Without that enabled, the title bar of PuTTY will change every time I ...
8
votes
3
answers
9k
views
Install dependencies for a dpkg package?
I have a dpkg file that i want to install.
But I get error messages that it is depending on other packages.
I used:
dpkg -i file.dpkg
Is there a way to install dependencies automatically without ...
7
votes
3
answers
13k
views
Debian ARM and Brother DCP195C with CUPS
I want to have acces to my DCP 195C printer (Brother) over LAN. For this purpose I have bought an raspberry pi and installed CUPS on it. CUPS runs fine and everything else is running smooth as well. ...
6
votes
3
answers
40k
views
"Unable to locate package sudo" when i try to install sudo on new Debian
i installed a new Debian on a small VPS and now when i try to install sudo i just get this message. I also tried to add FTP-Server into the list and i still get that error.
root@srv45758:~# vi /etc/...
5
votes
2
answers
7k
views
Automatically change ownership using WinSCP?
I saw several threads about having issues with unexpected file permissions after file upload. I tried their solutions with no luck, I have to raise the problem in my way.
I run Nginx as nobody:...
5
votes
3
answers
53k
views
How to set umask for a folder and it's subfolder?
I'm working on the same directory with some friends and they access it via SSH.
I added us in the same group and defined a sticky bit to keep the user:group values the same.
But when a user create a ...
4
votes
2
answers
985
views
Can we have multiple WSL2 distros of the same type installed in a single Windows 11 host?
I'd like to have 'n' debian installed, not once per version, but litterally 'n' installations of the same debian 12.
Each instance should have a different set of php/nginx|apache/mysql|mariadb
Is it ...
4
votes
1
answer
834
views
Program SIGNIFICANTLY slower when used from the TTY
So I have a program written in C++.
It can tell me how long it took to do all the calculations and it does a lot of quite heavy, multi-threaded calculation.
I've just noticed that if I run the ...
4
votes
1
answer
6k
views
Default route in debian with two interfaces
I have a debian machine with two interfaces, configured by dhcp:
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
iface eth1 inet dhcp
On boot, a default route is added to eth1:
0.0.0.0 ...