debian
Copy the contents of a file to clipboard from WSL to Windows?
Command: cat /path/to/file | clip.exe Description: cat command put the file contents to the output. It is then pipe to the clip.exe, a Win32 program, redirects output to the Windows clipboard. Do not forget to add the .EXE extension of the later one. There are multiple cat alternatives can be used, see this and this. … Read more
Missing libappindicator3-1 installing Slack
I had such issue with new version of Debian 11 (2021-09-07). Here is what I did to install Slack desktop app on Debian. I will use slack-desktop-4.19.2-amd64.deb file for the example dpkg-deb -x slack-desktop-4.19.2-amd64.deb unpack dpkg-deb –control slack-desktop-4.19.2-amd64.deb unpack/DEBIAN Open the file ./unpack/DEBIAN/control and replace libappindicator3-1 with libayatana-appindicator3-1 After that do dpkg -b unpack slack.deb … Read more
Where is rc.local in Debian 9 (Debian Stretch)
rc.local is being deprecated. It seems you can still have one though: cat <<EOF >/etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will “exit 0” on success or any other # value on error. # # In order … Read more
what is the function of /etc/apt/sources.list.d?
The function of the /etc/apt/sources.list.d directory is as follows: Using the directory you can easily add new repositories without the need to edit the central /etc/apt/sources.list file. I.e. you can just put a file with a unique name and the same format as /etc/apt/sources.list into this folder and it is used by apt. In order … Read more
Debian 8 (Live-CD) what is the standard login and password? [closed]
Although this is an old question, I had the same question when using the Standard console version. The answer can be found in the Debian Live manual under the section 10.1 Customizing the live user. It says: It is also possible to change the default username “user” and the default password “live”. I tried the … Read more
debian apt packages hash sum mismatch [closed]
Try using apt-get: apt-get clean rm -rf /var/lib/apt/lists/* apt-get clean apt-get update apt-get upgrade
Debian stretch repositories 404 Not Found
For docker users, here is what you have to do: # Update stretch repositories RUN sed -i -e ‘s/deb.debian.org/archive.debian.org/g’ \ -e ‘s|security.debian.org|archive.debian.org/|g’ \ -e ‘/stretch-updates/d’ /etc/apt/sources.list
Supervisor on Debian Wheezy: another program is already listening on a port that one of our HTTP servers is configured to use [closed]
I solved my problem by unlinking the .sock file. sudo unlink /var/run/supervisor.sock If this does not help you should check and unlink the file at /tmp/supervisor.sock.
How to upgrade glibc on Debian?
I was able to install libc6 2.17 in Debian Wheezy by editing the recommendations in perror’s answer: IMPORTANT You need to exit out of your display manager by pressing CTRL–ALT–F1. Then you can stop x (slim) with sudo /etc/init.d/slim stop (replace slim with mdm or lightdm or whatever) Add the following line to the file … Read more