I have just installed Ubuntu 24.04 on convertible laptop.
How do I add more keys like esc, and Print Screen on virtual keyboard?
Attached is image...
I have exhausted all things that I found online trying to fix following on ubuntu 22.04
#apt install libpcre2-dev
The following packages have unmet dependencies:
libpcre2-dev : Depends: libpcre2-8-0 (= 10.39-3ubuntu0.1) but 10.40-1+ubuntu21.10.1+deb.sury.org+1 is to be installed
Depends: libpcre2-16-0 (= 10.39-3ubuntu0.1) but 10.40-1+ubuntu21.10.1+deb.sury.org+1 is to be installed
Depends: libpcre2-32-0 (= 10.39-3ubuntu0.1) but 10.40-1+ubuntu21.10.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Apparently problem is due to dist-upgrade issue from 21.10.
What I have tried so far:
apt upgrade
apt install -f libpcre2-dev
apt autoclean
apt --fix-broken install
Also here's the output of
apt-cache policy libpcre2-8-0
libpcre2-8-0:
Installed: 10.40-1+ubuntu21.10.1+deb.sury.org+1
Candidate: 10.40-1+ubuntu21.10.1+deb.sury.org+1
Version table:
*** 10.40-1+ubuntu21.10.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
10.39-3ubuntu0.1 500
500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
10.39-3build1 500
500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Which I am not sure how to use...?
So, on one of our servers (and we have 154), we saw this log entry:
Feb 21 00:00:03 vps-442 fstrim[3162507]: /boot/efi: 97.8 MiB (102542848 bytes) trimmed on /dev/sda15
Feb 21 00:00:03 vps-442 fstrim[3162507]: /: 15.6 GiB (16687521792 bytes) trimmed on /dev/sda1
Feb 21 00:00:03 vps-442 systemd[1]: fstrim.service: Succeeded.
Feb 21 00:00:03 vps-442 systemd[1]: Finished Discard unused blocks on filesystems from /etc/fstab
And we have corrupted and missing files on that system!
Is it safe to turn off fstrim on vps server service?
If I restart extension Ubuntu Appindicators, then only one icon stays.
Ubuntu is 21.10 and Viber is 16.1.0.37
If I grep Viber in processes, situation is same, before and after restarting appindicators extension...
root@mypc:/home/user# ps -afx | grep Vib
13244 ? SLl 0:01 | \_ /opt/viber/Viber
13264 ? S 0:00 | \_ /opt/viber/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --application-name=ViberPC --webengine-schemes=qrc:sLV --lang=en-US
13265 ? S 0:00 | \_ /opt/viber/libexec/QtWebEngineProcess --type=zygote --application-name=ViberPC --webengine-schemes=qrc:sLV --lang=en-US
13267 ? S 0:00 | \_ /opt/viber/libexec/QtWebEngineProcess --type=zygote --application-name=ViberPC --webengine-schemes=qrc:sLV --lang=en-US
13313 pts/0 S+ 0:00 | \_ grep --color=auto Vib
I was upgrading from 20.10 to 21.04 and during setup some prompt popped-out asking me for keyboard shortcut for input switch, and I have choosen (Left Shift + Left Ctrl), and now I can't find it anywhere to change!
On shortcut settings, there is no such (Left Shift + Left Ctrl) shortcut, nothing left/right.
I have Audioquest Dragonfly Black, v1.5
It says on their website, when light is blue, it's registered on 48 khz when light is green it's 44.1 khz
When I plug it on laptop under windows, it's blue light, but when I plug it in the same laptop under Ubuntu 20.04 it's green light.
Any ideas how to get it to perform at 48k in Ubuntu 20.04 ?
After installing virtualmin, opendkim installation (apt install opendkim opendkim-tools
) fails in a following way:
Do you want to continue? [Y/n]
Setting up opendkim (2.11.0~alpha-11build1) ...
Job for opendkim.service failed because a timeout was exceeded.
See "systemctl status opendkim.service" and "journalctl -xe" for details.
invoke-rc.d: initscript opendkim, action "start" failed.
● opendkim.service - OpenDKIM DomainKeys Identified Mail (DKIM) Milter
Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: timeout) since Sun 2020-08-02 09:45:05 EEST; 9ms ago
Docs: man:opendkim(8)
man:opendkim.conf(5)
man:opendkim-genkey(8)
man:opendkim-genzone(8)
man:opendkim-testadsp(8)
man:opendkim-testkey
http://www.opendkim.org/docs.html
dpkg: error processing package opendkim (--configure):
installed opendkim package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
opendkim
E: Sub-process /usr/bin/dpkg returned an error code (1)
anyone has idea how can I remove this Snap related fake drvies from double commander?
They are not present in Files 3.14
Here is output of lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
loop1 squashf /snap/phpstorm/54
sdd
├─sdd2 ext4 1ba9d0a0-9832-403e-aeed-c4c4836edd18
├─sdd3 swap efd53592-0fd7-47bf-b52c-c0a285a1712f
└─sdd1 vfat D3F4-44C8
sdb
├─sdb2
└─sdb5 ntfs B2E20D7A46C0E68B
loop4 squashf /snap/phpstorm/57
loop2 squashf /snap/core/5548
loop0 squashf /snap/phpstorm/61
sdc ext4 Data1 beb8660b-e698-4b5c-84cc-923ab4b97384 /media/aleksandar/Data
sda
├─sda2 ext4 37a7338d-efc9-4837-9e49-4dc88d463e44 /
├─sda3 swap 739d67c2-2f13-479f-8a6d-1fbbde716370 [SWAP]
└─sda1 vfat 61FF-05B5 /boot/efi
loop5 squashf /snap/core/5662
loop3 squashf /snap/core/5742
and output of losetup
NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
/dev/loop1 0 0 1 1 /var/lib/snapd/snaps/phpstorm_54.snap
/dev/loop4 0 0 1 1 /var/lib/snapd/snaps/phpstorm_57.snap
/dev/loop2 0 0 1 1 /var/lib/snapd/snaps/core_5548.snap
/dev/loop0 0 0 1 1 /var/lib/snapd/snaps/phpstorm_61.snap
/dev/loop5 0 0 1 1 /var/lib/snapd/snaps/core_5662.snap
/dev/loop3 0 0 1 1 /var/lib/snapd/snaps/core_5742.snap
UFW was not enabled after startup I have tried everything, and eventually put it in rc.local ufw enable, and now it's enabled after reboot.
This is output of uwf status:
ufw status
Status: active
To Action From
-- ------ ----
80 ALLOW Anywhere
443 ALLOW Anywhere
587 ALLOW Anywhere
465 ALLOW Anywhere
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
587 (v6) ALLOW Anywhere (v6)
465 (v6) ALLOW Anywhere (v6)
And this is iptables -L -v
root@host:~# iptables -L -v
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
1288 308K ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
52 3436 ACCEPT all -- lo any anywhere anywhere
177 32280 INPUT_direct all -- any any anywhere anywhere
177 32280 INPUT_ZONES_SOURCE all -- any any anywhere anywhere
177 32280 INPUT_ZONES all -- any any anywhere anywhere
0 0 ACCEPT icmp -- any any anywhere anywhere
0 0 DROP all -- any any anywhere anywhere ctstate INVALID
163 31492 REJECT all -- any any anywhere anywhere reject-with icmp-host-prohibited
0 0 ufw-before-logging-input all -- any any anywhere anywhere
0 0 ufw-before-input all -- any any anywhere anywhere
0 0 ufw-after-input all -- any any anywhere anywhere
0 0 ufw-after-logging-input all -- any any anywhere anywhere
0 0 ufw-reject-input all -- any any anywhere anywhere
0 0 ufw-track-input all -- any any anywhere anywhere
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 ACCEPT all -- lo any anywhere anywhere
0 0 FORWARD_direct all -- any any anywhere anywhere
0 0 FORWARD_IN_ZONES_SOURCE all -- any any anywhere anywhere
0 0 FORWARD_IN_ZONES all -- any any anywhere anywhere
0 0 FORWARD_OUT_ZONES_SOURCE all -- any any anywhere anywhere
0 0 FORWARD_OUT_ZONES all -- any any anywhere anywhere
0 0 ACCEPT icmp -- any any anywhere anywhere
0 0 DROP all -- any any anywhere anywhere ctstate INVALID
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-host-prohibited
0 0 ufw-before-logging-forward all -- any any anywhere anywhere
0 0 ufw-before-forward all -- any any anywhere anywhere
0 0 ufw-after-forward all -- any any anywhere anywhere
0 0 ufw-after-logging-forward all -- any any anywhere anywhere
0 0 ufw-reject-forward all -- any any anywhere anywhere
0 0 ufw-track-forward all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
1546 168K OUTPUT_direct all -- any any anywhere anywhere
1482 164K ufw-before-logging-output all -- any any anywhere anywhere
1482 164K ufw-before-output all -- any any anywhere anywhere
372 26928 ufw-after-output all -- any any anywhere anywhere
372 26928 ufw-after-logging-output all -- any any anywhere anywhere
372 26928 ufw-reject-output all -- any any anywhere anywhere
372 26928 ufw-track-output all -- any any anywhere anywhere
Chain FORWARD_IN_ZONES (1 references)
pkts bytes target prot opt in out source destination
0 0 FWDI_public all -- + any anywhere anywhere [goto]
Chain FORWARD_IN_ZONES_SOURCE (1 references)
pkts bytes target prot opt in out source destination
Chain FORWARD_OUT_ZONES (1 references)
pkts bytes target prot opt in out source destination
0 0 FWDO_public all -- any + anywhere anywhere [goto]
Chain FORWARD_OUT_ZONES_SOURCE (1 references)
pkts bytes target prot opt in out source destination
Chain FORWARD_direct (1 references)
pkts bytes target prot opt in out source destination
Chain FWDI_public (1 references)
pkts bytes target prot opt in out source destination
0 0 FWDI_public_log all -- any any anywhere anywhere
0 0 FWDI_public_deny all -- any any anywhere anywhere
0 0 FWDI_public_allow all -- any any anywhere anywhere
Chain FWDI_public_allow (1 references)
pkts bytes target prot opt in out source destination
Chain FWDI_public_deny (1 references)
pkts bytes target prot opt in out source destination
Chain FWDI_public_log (1 references)
pkts bytes target prot opt in out source destination
Chain FWDO_public (1 references)
pkts bytes target prot opt in out source destination
0 0 FWDO_public_log all -- any any anywhere anywhere
0 0 FWDO_public_deny all -- any any anywhere anywhere
0 0 FWDO_public_allow all -- any any anywhere anywhere
Chain FWDO_public_allow (1 references)
pkts bytes target prot opt in out source destination
Chain FWDO_public_deny (1 references)
pkts bytes target prot opt in out source destination
Chain FWDO_public_log (1 references)
pkts bytes target prot opt in out source destination
Chain INPUT_ZONES (1 references)
pkts bytes target prot opt in out source destination
177 32280 IN_public all -- + any anywhere anywhere [goto]
Chain INPUT_ZONES_SOURCE (1 references)
pkts bytes target prot opt in out source destination
Chain INPUT_direct (1 references)
pkts bytes target prot opt in out source destination
0 0 REJECT tcp -- any any anywhere anywhere multiport dports ssh match-set fail2ban-sshd src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports webmin match-set fail2ban-webmin-auth src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports ftp,ftp-data,ftps,ftps-data match-set fail2ban-proftpd src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports smtp,urd,submission match-set fail2ban-postfix src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports pop3,pop3s,imap2,imaps,submission,urd,sieve match-set fail2ban-dovecot src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports smtp,urd,submission,imap3,imaps,pop3,pop3s match-set fail2ban-postfix-sasl src reject-with icmp-port-unreachable
0 0 REJECT tcp -- any any anywhere anywhere multiport dports ssh,sftp match-set fail2ban-ssh-ddos src reject-with icmp-port-unreachable
Chain IN_public (1 references)
pkts bytes target prot opt in out source destination
177 32280 IN_public_log all -- any any anywhere anywhere
177 32280 IN_public_deny all -- any any anywhere anywhere
177 32280 IN_public_allow all -- any any anywhere anywhere
Chain IN_public_allow (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:submission ctstate NEW
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:domain ctstate NEW
1 64 ACCEPT tcp -- any any anywhere anywhere tcp dpts:webmin:10010 ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ftp-data ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:domain ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:2222 ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:20000 ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:pop3s ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:pop3 ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:imap2 ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:https ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:http ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:imaps ctstate NEW
7 356 ACCEPT tcp -- any any anywhere anywhere tcp dpt:smtp ctstate NEW
6 368 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh ctstate NEW
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ftp ctstate NEW
Chain IN_public_deny (1 references)
pkts bytes target prot opt in out source destination
Chain IN_public_log (1 references)
pkts bytes target prot opt in out source destination
Chain OUTPUT_direct (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-input (1 references)
pkts bytes target prot opt in out source destination
0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:netbios-ns
0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:netbios-dgm
0 0 ufw-skip-to-policy-input tcp -- any any anywhere anywhere tcp dpt:netbios-ssn
0 0 ufw-skip-to-policy-input tcp -- any any anywhere anywhere tcp dpt:microsoft-ds
0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:bootps
0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:bootpc
0 0 ufw-skip-to-policy-input all -- any any anywhere anywhere ADDRTYPE match dst-type BROADCAST
Chain ufw-after-logging-forward (1 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
Chain ufw-after-logging-input (1 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
Chain ufw-after-logging-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-forward (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 ACCEPT icmp -- any any anywhere anywhere icmp destination-unreachable
0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench
0 0 ACCEPT icmp -- any any anywhere anywhere icmp time-exceeded
0 0 ACCEPT icmp -- any any anywhere anywhere icmp parameter-problem
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
0 0 ufw-user-forward all -- any any anywhere anywhere
Chain ufw-before-input (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo any anywhere anywhere
0 0 ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 ufw-logging-deny all -- any any anywhere anywhere ctstate INVALID
0 0 DROP all -- any any anywhere anywhere ctstate INVALID
0 0 ACCEPT icmp -- any any anywhere anywhere icmp destination-unreachable
0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench
0 0 ACCEPT icmp -- any any anywhere anywhere icmp time-exceeded
0 0 ACCEPT icmp -- any any anywhere anywhere icmp parameter-problem
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
0 0 ACCEPT udp -- any any anywhere anywhere udp spt:bootps dpt:bootpc
0 0 ufw-not-local all -- any any anywhere anywhere
0 0 ACCEPT udp -- any any anywhere 224.0.0.251 udp dpt:mdns
0 0 ACCEPT udp -- any any anywhere 239.255.255.250 udp dpt:1900
0 0 ufw-user-input all -- any any anywhere anywhere
Chain ufw-before-logging-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-logging-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-logging-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-output (1 references)
pkts bytes target prot opt in out source destination
368 44299 ACCEPT all -- any lo anywhere anywhere
742 92420 ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
372 26928 ufw-user-output all -- any any anywhere anywhere
Chain ufw-logging-allow (0 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "
Chain ufw-logging-deny (2 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- any any anywhere anywhere ctstate INVALID limit: avg 3/min burst 10
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
Chain ufw-not-local (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type LOCAL
0 0 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type MULTICAST
0 0 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type BROADCAST
0 0 ufw-logging-deny all -- any any anywhere anywhere limit: avg 3/min burst 10
0 0 DROP all -- any any anywhere anywhere
Chain ufw-reject-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-reject-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-reject-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-skip-to-policy-forward (0 references)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere
Chain ufw-skip-to-policy-input (7 references)
pkts bytes target prot opt in out source destination
0 0 DROP all -- any any anywhere anywhere
Chain ufw-skip-to-policy-output (0 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any any anywhere anywhere
Chain ufw-track-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-track-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-track-output (1 references)
pkts bytes target prot opt in out source destination
83 4980 ACCEPT tcp -- any any anywhere anywhere ctstate NEW
289 21948 ACCEPT udp -- any any anywhere anywhere ctstate NEW
Chain ufw-user-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-user-input (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:http
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:http
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:https
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:https
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:submission
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:submission
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:urd
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:465
Chain ufw-user-limit (0 references)
pkts bytes target prot opt in out source destination
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain ufw-user-limit-accept (0 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any any anywhere anywhere
Chain ufw-user-logging-forward (0 references)
pkts bytes target prot opt in out source destination
Chain ufw-user-logging-input (0 references)
pkts bytes target prot opt in out source destination
Chain ufw-user-logging-output (0 references)
pkts bytes target prot opt in out source destination
Chain ufw-user-output (1 references)
pkts bytes target prot opt in out source destination
My problem is that when I do port scan, or try ssh to port 22, it works...