I used Control + Space when the first message appeared on screen, which took me to a zssh prompt. Type rz, hit Enter and the download began. I didn't realize I had to use rz in the same terminal session.
I encounter to the similar issue. The problem for me was because I change IP IPv4 Method from auto to manual. I did not have a correct config. After switching back to auto, reconnect, and it worked.
just need the correct config for me.
I think with all the things I have tried and heard today a nice long, powerless shut down, (yeah that button) is the best idea; and honestly ppl leave their comps run for days and don't consider updates. I've seen many posts where ppl lost bluetooth from an update, and what fixed it? TURNING IT OFF and then on, I use a dongle for music and want to get my ...
yeaaa it works fine
thanks a lot
i just created the following directories:
i gave www-data permission to write in it.
i m wondering if ther is not a security problem with this.
maybe should be better to specify a working directory for mozilla somewhere else..
The good news is that you have a backup on the old disk. The bad news is that the copy means you don't have unique UUIDs on the new disk. For LUKs it is simplest to extend the LVM with lvextend, then recreate the LUKS and copy over the data from the old disk. Simplest would be to use two computers with one disk on each and use rsync. If you don't have ...
You most certainly can have multiple processes listening on the same port if they are bound to different IPs.
Here's a demonstration using nc:
% nc -l 127.0.0.1 1234 &
% nc -l 192.168.1.178 1234 &
% netstat -an | grep 1234
tcp4 0 0 192.168.1.178.1234 *.* LISTEN
tcp4 0 0 127.0.0.1....
You can't install the debian linux-headers on Ubuntu but you can download the source:
Add only the debian sources , it doesn't harm ubuntu:
printf "%s\n" "deb-src http://deb.debian.org/debian buster main" |\
sudo tee /etc/apt/sources.list.d/debian-src.list
Add the gpg keys:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com ...
When dpkg -l isn’t given a pattern, it ignores packages marked as “not-installed”. To work around that, give it a pattern:
dpkg -l '*'
apt list is apt-specific, similar to dpkg-query (which handles dpkg -l), and doesn’t have an apt-get or apt-cache equivalent.
As far as I’m aware, there’s no translator for Ext4, whether in Debian specifically or in the Hurd in general. The existing ext2fs translator doesn’t support Ext4, and the version packaged in Debian doesn’t either.
Both IPv4 and IPv6 do not have port concept, only source and destination IP address. The port limit is determined by TCP and UDP protocols.
If you want to extend the starting port limit (default: 1024) to add some more ports to end users you can lower the privileged port range to some lower number with sysctl:
The limit on listening ports is per address regardless of IPv4 or IPv6. The limitation comes from TCP and UDP packet headers which are two bytes and so port numbers for TCP and UDP can only be in the rage 0x0000 (0) to 0xFFFF (65535).
When any service (including an SSH server) listens to a port, it can chose to listen to one IP address or every IP address. ...
The port is assigned to ip address and you can assigne (in Linux as I know) more then one IP address to the interface. But of course there may be other limits (like available file descriptors - socket() system call return file descriptor or -1 wher error).
Although not answering your question directly, this sidesteps the delay
sudo su can be simplified as sudo -s. If you want to change to a different user, you can do that directly, for example sudo -s -u otheruser
It makes the system boot with the root filesystem as read-only and the /var mounted as a writable tmpfs RAM-disk. Basically a system should behave like a live Linux media without persistence.
Later parts of the start-up process might include remounting the root filesystem in read-write mode, or they might not.
Is this a RasPi or something similar? In that ...
I don't think that the "diff image" will work at the filesystem level like you want it to. There are too many variables in the placement of files/directories, metadata checksums (on newer systems), journal blocks, etc. that make it impossible to take a block-level diff from one filesystem and apply it to another filesystem even if the two ...
One easy way to find the window manager you're using is by running either neofetch or screenfetch. If not installed, at least one of them should be available in your repo. In the exemplary screenshot below, both show that my window manager is Xfwm4.
# systemctl show-environment
# systemctl set-environment LANG=en_US.UTF-8
# systemctl show-environment
Appears to be doing the job, also for the services run by systemd (requires them to be restarted, obviously).
It's a permissions problem.
www-data's home dir is /var/www which is usually owned by root.
You can either give /var/www to www-data or, to limit permission changes, you can create /var/www/.mozilla and change its ownership to www-data. Then try running your script again.
What seems to be happening is Firefox is trying to save the user preferences and ...
The answer of Kamil pointed me in the right direction, i.e. the use of hard links and tail -F.
I went with the following solution:
With watch re-create a hard link to the latest file periodically:
watch -n 300 'ln -f $(find . | sort --reverse | head -n1) ./latest.json'
Use tail -F to continuously see the latest line of the hard linked file:
tail -F ...
This solution uses tail -F (i.e. tail --follow=name --retry ) which is not portable. Tested with GNU tail.
Proceed as follows:
Create monitored as a regular file:
Periodically check if there is a file*.json file newer than monitored. If so, replace monitored with a hardlink to the file:
while sleep 1; do
find . \( -name . -o -prune \...
This is expected behaviour and is documented in the manual. At the terminal type man 8 mount:
Mount the filesystem read-only. A synonym is -o ro.
Note that, depending on the filesystem type, state and kernel behavior, the system may still write to the device. For example, Ext3 or ext4 will replay its journal if the filesystem is dirty. To ...
Normally the emacs is just a symbolic link that is automatically created during install so you can simply add a symbolic link sudo ln -s /usr/bin/emacs-26.3 /usr/bin/emacs
NOTE: Those are the correct paths for Arch but you probably want to verify the install location with which emacs-26.3
If you want to watch all files in current directory, use this construction:
ls | cat - <(inotifywait -m --format '%f' -e create . ) | while read file ; do tail -v -f "$file" & done
Note that it does not support having subdirectories in the watched directory.
Make sure you have set your sources.list correctly, here is how to override the non-debian repository (as said @A.B in this comment) :
sudo rm /etc/apt/sources.list.d/*
cat <<EOF |sudo tee /etc/apt/sources.list
deb http://deb.debian.org/debian/ unstable main
sudo apt purge libgcc1 # not available in Sid
sudo apt update
sudo apt dist-...
Try sudo apt clean instead, this article goes into more detail about the two commands but basically autoclean removes uninstalled packages while clean removes uninstalled packages and the cached .deb files.
To fix the EULA selection, you can change the value stored in the debconf database directly:
grep PacketTracer_731_amd64/accept-eula |
sed s/false/true/ |
Then configure pending packages:
sudo dpkg-reconfigure --pending
This will work in LXDE and most other environments. It doesn't require knowledge of the environment or sudo group privilege. It kills all processes the user has running, effectively logging them out.
pkill -KILL -u your username
Use these commands for the solution:
sudo chmod a+rwx /etc/apt/apt.conf.d/50appstream
sudo gedit use /etc/apt/apt.conf.d/50appstream
then put in the comment last 3 lines of the file,
#. "if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null | ...
First of all, lsb support on Debian is still provided through metapackages, just as they are on Ubuntu. So you might have all the packages you need available from apt. Run apt-cache search "Linux Standard Base" to show which packages are available. Debian Jessie (oldstable) should have all the packages you need.
If there are certain packages ...
On debian stable (buster) you need to use buster-backports, backports contain a recompiled packages from debian testing for debian stable, testing doesn't have a backports repository. In other word bullseye-backports will be released when bullseye will be stable.
It is very ease to expand ext4 partition with growpart.
Backup current partition table
sfdisk -d /dev/sdb > sdb_partition_bak.dmp
Execute dry-run to see what will be changed. If you don't have this tool. Run apt-get install cloud-utils
growpart -N /dev/sdb 1
If everything is fine
growpart /dev/sdb 1
Resize file system. It may take 10 seconds
Those are options for the mariadb program itself. You can put them in configuration files, overriding what is already set, e.g. on my system:
$ sudo ack datadir /etc/mysql/
21:datadir = /var/lib/mysql
So I would suggest making your own custom config file in /etc/mysql/mariadb.conf.d/ numbered after 50 ...
Actually, the way to set the configuration of a non-root group associated with the UNIX socket of wpa_supplicant is pretty weird (and not documented). The following steps could be useful.
Create a group (linaro in your case); I will anyway use "netdev" in my examples, which should already exist in most distributions (if not existing: sudo groupadd ...
This is most likely happening to you when you leave the computer for a while, then come back. Why?
You have a monitor connected via HDMI.
HDMI supports carrying audio, and is thus an audio output device.
When the monitor powers off due to inactivity , then back on, this audio device becomes available again.
PulseAudio is configured to switch its default ...
The answer @jiwopene gave is fine but it applies to every package upgraded on the system. This is not what I asked about because some upgraded software will not function when old, deprecated options exist in the config file. Other packages will simply fill log files with warning messages (sshd, postfix for instance) which can cause needless overhead for ...
I know I am late to the party here, but I just wanted to add on to this one. I was getting a DHCP address on my network interfaces even though they were set to static. I was even getting this in Ubuntu 20.04 with ifupdown installed and using /etc/network/interfaces with manual IPs set.
I added the following to /etc/dhcpcd.conf to stop all my NICs from ...
The program that provides this question is called dpkg. It is called by apt in latter phase of package installation on Debian-like systems. You can pass configuration options to it using -o Dpkg::Options::="OPTIONS". And because you want to execute dpkg with --force-confold (force configuration – old), use this:
apt-get install -o Dpkg::Options::=&...
From comments it was made clear that the user had one or several lines in their ~/.bash_profile file saying
This would clear the PATH variable, resetting it to a list of paths that are not generally useful.
This would easily be remedied ty prefixing PATH with $ in the value assigned to the PATH variable:
This prepends ~/bin ...
You're using tee incorrectly. The iptables-save command creates the contents of what should be saved and sends it to stdout. The tee command needs to read the stdout of iptables-save and write it to the designated file.
The correct way to save the routes without needing to use root shell is to have iptables-save pipe the content to tee which will then save ...