Ubuntu 24.04 DVD is not automounted https://askubuntu.com/questions/1560155/ubuntu-24-04-dvd-is-not-automounted

I insert a DVD into the drive on my computer. It clicks away for a minute or so with the light blinking on and off. Then nothing. Sometimes it works, but I have no idea what I am doing differently when it works from when it doesn't work.

I have tried:

$ sudo mkdir /media/dvd 
$ sudo mount /dev/sr0 /media/dvd
mount: /media/dvd: no medium found on /dev/sr0.
   dmesg(1) may have more information after failed mount system call.

dmesg is not particularly helpful:

$ sudo dmesg | tail
[14607.416155] [UFW BLOCK] IN=wlx000c000988a7 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[14666.243895] audit: type=1400 audit(1764208855.725:247): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=18050 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[14732.417329] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[14732.440364] [UFW BLOCK] IN=wlx000c000988a7 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[14851.701495] /dev/sr0: Can't open blockdev
[14857.425471] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[14857.468959] [UFW BLOCK] IN=wlx000c000988a7 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[14982.434592] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[15107.443940] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[15107.525574] [UFW BLOCK] IN=wlx000c000988a7 OUT= MAC=01:00:5e:00:00:01:3c:90:66:0c:62:eb:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 r

I did not have this problem on earlier releases. I don't usually watch DVDs on my computer, but in this case Amazon ripped me off when I ordered a DVD set. The set they sent has region code Europe, so I cannot play it on my BlueRay player which has region code North America.

openconnect 9.12 under 24.04 https://askubuntu.com/questions/1560152/openconnect-9-12-under-24-04

I am running 24.04. Everything is fully upgraded.Cisco recently changed anyconnect so that it is not compatible with old versions of openconnect. It drops the connection. I built the current git head of openconnect from sources obtained from the official openconnect website. It works and does not drop the connection. Just that I need to run it from a shell.

On my other devices running bookworm, I replaced /sbin/openconnect with a symlink to that (/root/bin/openconnect/openconnect). On bookworm, that allows me to use Gnome Settings>Network>VPN to start it. I have it set up correctly in 24.04 because it runs correctly with he default version of /sbin/openconnect. Just that with the symlink version it doesn't run. The symlink version does run under bookworm. So something about how Gnome under 24.04 is different in how it calls /sbin/openconnect than bookworm.

The best would be for 24.04 to fix the openconnect package so that it works with the current Cisco hardware/software. Just import the latest version of openconnect from the upstream sources.

I moved /root/bin/openconnect to /opt/openconnect

I can run it as sudo as in sudo /opt/openconnect/openconnect. If I run it as a user it gives:

Failed to bind local tun device (TUNSETIFF): Operation not permitted To configure local networking, openconnect must be running as root

If I run it through Gnome journalctl gives:

Failed to open /dev/vhost-net: Permission denied.

This worked under bookworm. What do I need to change to get it to work in 24.04?

Thanks, Jeff qobi@qobi.org

How can I reset my monitor display settings when I can't see anything? https://askubuntu.com/questions/1560151/how-can-i-reset-my-monitor-display-settings-when-i-cant-see-anything

I was trying to configure my two monitor setup in settings: it showed my current screen as display two on the right, but its actually my macbook's main display and i have a second monitor on the right. So I selected display 1 as my main and slide the monitor icon for display 2 to the right (this is how it works in Mac OS) and applied changes, restarted. Now, all I can see is a desktop Ubuntu stock background, the cursor doesn't move, and my second screen is still blank/black; my main screen starts out blurred--this is the log in screen. I hit enter (I know this selects my username though I can't see it now) and type in my password and enter, and it unblurs--to the desktop stock image. How can I reset the display and correctly configure my second monitor to show up, and on the right side? Please walk me through what to do with Mac keys--I am brand new to Ubuntu. Much appreciated!!

ping fails after setting monitor to capture traffic for ad hoc (IBSS) https://askubuntu.com/questions/1560146/ping-fails-after-setting-monitor-to-capture-traffic-for-ad-hoc-ibss

Can anyone help me to troubleshoot a problem that I face during my lab in university. The task asks to deploy an IBSS and analyze the data, control, and management traffic for that network.

The configuration for both PCs is done normal and the ping was working, but once I set the command monitor for PC3, I get ping fails and the wifi network for pc1 and PC2 is disabled, in other words the list of wifi has disappeared.

I set these commands below:

**Create ad hoc network:

sudo ip link set wlp5s1 down
sudo iwconfig wlp5s1 mode ad-hoc
sudo iwconfig wlp5s1 essid mi_ibss
sudo iwconfig wlp5s1 channel 6
sudo ip link set wlp5s1 up
sudo ip addr add 192.168.10.1/24 dev wlp5s1

-Problems rf kill:

sudo rfkill unblock wifi
sudo rfkill unblock all

-Unirse ad hoc network:

sudo ip link set wlp5s0 down
sudo iwconfig wlp5s0 mode ad-hoc
sudo iwconfig wlp5s0 essid mi_ibss
sudo iwconfig wlp5s0 channel 6
sudo ip link set wlp5s0 up
sudo ip addr add 192.168.10.2/24 dev wlp5s0

-Monitor mode:

sudo ip link set wlp5s0 down
sudo iwconfig wlp5s0 mode monitor
sudo ip link set wlp5s0 up
Rust development on Ubuntu 24.04 - can't read time-based columns with librust-sqlx-dev https://askubuntu.com/questions/1560145/rust-development-on-ubuntu-24-04-cant-read-time-based-columns-with-librust-sq

I'm doing offline development with Rust 1.80.1 on Ubuntu 24.04, meaning I'm locked to the Canonical packages available on 24.04 with no access to rustup.
I'm running into an issue with the librust-sqlx-dev package (version 0.7.3-3) when trying to read DATETIME and TIMESTAMP columns from MySQL: support for reading these datatypes is gated behind either the chrono or time features.
However, the time crate won't compile with rustc 1.80, and the 0.7.3 version of the sqlx crate has a drop-chrono patch that removes the chrono feature from the package entirely. This patch is removed in sqlx 0.8.3, but this version is not available for Ubuntu 24.04.

As I understand it, my options are:

  • Wait for Canonical to backport sqlx 0.8.3 to Noble or submit a request to...someone to provide this backport
  • Manually download and vendor sqlx 0.8.3
  • Manually implement the required functionality

Are these my only options? It seems strange to me that there would be no other way to read these datatypes from the database. It also seems strange that the drop-chrono patch seems to completely exclude two datatypes from being read using this library. Am I misunderstanding something about how sqlx works?

How to execute/run programmes in Terminal https://askubuntu.com/questions/1560141/how-to-execute-run-programmes-in-terminal

I am moving to Ubuntu from windows after microsoft changed my system from windows 10 to 11 without my knowledge or permission.

I am not 'tech-savvy' so please be gentle with me! I would usually use a book [yes, I'm that old!] to learn something new but can't find a recent one for Ubuntu.

I have copied and pasted commands into Terminal to [hopefully] download my proton VPN. Thanks to a question answer on this forum, I managed to get past the password not showing issue.

So I now at the point where my user name xxxx:~$ has a flashing cursor after it - so now what do I do to get the programme to instal & run?

I realise this is, to most of you, probably a very basic question but I can't find an answer

Storage hdd is only showing 1/3 of its total capacity after setting it up as servers storage https://askubuntu.com/questions/1560115/storage-hdd-is-only-showing-1-3-of-its-total-capacity-after-setting-it-up-as-ser

I have installed Ubuntu server 24.04 on an old PC with the server itself on a 256gb sdd (sda) and a 750gb internal hdd (sdb) as the main storage.

When I went to transfer media files etc onto the storage it is saying there is only 235gb available. I need to ensure all the hdd is available.

I set up the hdd using mnt/media.

$ df -h
Filesystem                     Size  Used Avail Use% Mounted on
tmpfs                          376M  5.6M  371M   2% /run
efivarfs                       128K   73K   51K  59% /sys/firmware/efi/efivars
/dev/sda2                      233G   13G  209G   6% /
tmpfs                          1.9G     0  1.9G   0% /dev/shm
tmpfs                          5.0M     0  5.0M   0% /run/lock
/dev/sda1                      1.1G  6.2M  1.1G   1% /boot/efi
/dev/mapper/vg--hdd-lv--samba  687G   32K  652G   1% /media
tmpfs                          376M   12K  376M   1% /run/user/1000

$ sudo parted -l
[sudo] password for parkerfamily: 
Model: ATA Micron_M600_MTFD (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1128MB  1127MB  fat32              boot, esp
 2      1128MB  256GB   255GB   ext4


Error: /dev/sdb: unrecognised disk label
Model: ATA WDC WD7500BPVT-0 (scsi)                                        
Disk /dev/sdb: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags: 

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg--hdd-lv--samba: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags: 

Number  Start  End    Size   File system  Flags
 1      0.00B  750GB  750GB  ext4
ASUS MOBO bluetooth not turning on in 24.04.3 LTS https://askubuntu.com/questions/1560111/asus-mobo-bluetooth-not-turning-on-in-24-04-3-lts

This is probably a very easy thing to fix but all of the questions and answers I found are for problems using a BT USB dongle. I have a Ubuntu 24.04.3 LTS Desktop that is running on an ASUS Maximus VIII Formula motherboard that supports BT v4.0/3.0+HS natively (no USB dongle needed).

sudo service bluetooth status

shows that bluetooth is enabled but Active: inactive dead. In settings the bluetooth on/off slide control is greyed out.

I did install bluez and bluez-tools.

bluetoothctl power on

If I try to power BT on I get the error message Unable to open mgmt_socket

Someone running an ASUS M8F powered desktop probably knows the answer off the top of their head. I did have this running on 22.04 LTS but it stopped working after the 24.04.3 LTS upgrade

Again, this is NOT a USB BT dongle. The BT hardware seems to be discovered and has been enabled but there is still a small piece that's missing to create/open the socket and power on BT.

That said: inxi --bluetooth returns

Bluetooth: Device-1: ASUSTek Qualcomm Bluetooth 4.1 driver: N/A type: USB

lspci -knn | grep Net -A3; lsusb
07:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: ASUSTeK Computer Inc. QCA6174 802.11ac Wireless Network Adapter [1043:86e0]
    Kernel modules: ath10k_pci
0a:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
    Subsystem: Device [2222:1111]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID b58c:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 003: ID 28da:1102 G.SKILL Corporation RIPJAWS KM780 MX GAMING KEYBOARD
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. Mouse
Bus 001 Device 005: ID 0b05:1825 ASUSTek Computer, Inc. Qualcomm Bluetooth 4.1
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I used Synaptics to upgrade the kernel to 6.8.0.88 and also added some extra offered modules. I can't recall but I believe one of those modules specifically supported BT and it's associated tools. Bluetooth is now working. Not a lot of confidence that the next kernel upgrade won't break this again.

This kernel upgrade also fixed the broken audio problem I've been fighting that was introduced by a bug in an earlier upgrade. The only audio device in settings was the "dummy device". Audio is now once again working perfectly.

The following was run after the kernel upgrade fixed this problem. Note that the extras module was also installed along with the 6.8.0.85 kernel which was what was running when BT and audio were both inoperative:

dpkg -l|grep linux-modules-extra
ic  linux-modules-extra-5.15.0-124-generic        5.15.0-124.134                                   amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ic  linux-modules-extra-5.15.0-130-generic        5.15.0-130.140                                   amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ic  linux-modules-extra-5.15.0-131-generic        5.15.0-131.141                                   amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ic  linux-modules-extra-5.15.0-152-generic        5.15.0-152.162                                   amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.8.0-79-generic          6.8.0-79.79                                      amd64        Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.8.0-83-generic          6.8.0-83.83                                      amd64        Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.8.0-84-generic          6.8.0-84.84                                      amd64        Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii  linux-modules-extra-6.8.0-85-generic          6.8.0-85.85                                      amd64        Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP
ii  linux-modules-extra-6.8.0-88-generic          6.8.0-88.89                                      amd64        Linux kernel extra modules for version 6.8.0 on 64 bit x86 SMP

Many thanks in advance.

Some browsers cause Ubuntu 24.04.3 LTS to hang https://askubuntu.com/questions/1560098/some-browsers-cause-ubuntu-24-04-3-lts-to-hang

I noticed that the Chromium (via snap) browser would cause the screen to flash/flicker a few times and then hang the desktop right after it was launched. I thought this was either a problem with my video card or a bug that was introduced into Chromium after an update. Turns out that the behavior is identical when launching the Brave browser. Firefox continues to work perfectly.

I decided to finally look into this and tried launching Brave on a different desktop that's also running Ubuntu 24.04.3 LTS. Fails in an identical manner. So that obviously eliminates the hardware. I have another Desktop that's running Ubuntu 22.04.3 LTS and those browsers continue to run fine there.

This has been going on for several months and each desktop has had multiple software updates and otherwise run fine. I did a search and found no questions that were on point for this topic so asking here.

Has something changed in Ubuntu 24.04.3 LTS that is causing this behavior and if so is there a fix or work-around? Many thanks in advance.

I have not tried to troubleshoot this yet because it appears to be a problem caused by a Ubuntu update. just before the desktop hangs there are a series of very cryptic python3.12 error messages issued where several python is trying to call python scripts that do not exist. This observation could very well be a red herring.

Brave=v1.84.141 Chromium=v142.0.7444.175

Error: Steam now requires user namespaces to be enabled https://askubuntu.com/questions/1560064/error-steam-now-requires-user-namespaces-to-be-enabled

A couple weeks ago I updated my GPU (nvidia rtx 4070) drivers to these: https://www.nvidia.com/en-us/drivers/details/257493/ I did this via the terminal by making them executable with chmod +x and opening them with ./ .

After updating everything worked as intended except Steam, for some reason the Steam window would flicker every so often, it was still usable, just annoying, I also didn't have this issue with any other program.

At first I didn't do anything about this but I later installed "Steam-devices" for another program, by installing "Steam-devices" I uninstalled the steam launcher Commandline: apt install steam-devices Requested-By: name (1000) Install: steam-devices:amd64 (1:1.0.0.79~ds-2) Remove: steam-launcher:amd64 (1:1.0.0.85) I can not remember if it was immediately after installing this package or later, but at some point steam stopped working entirely (It was probably deleted but I can't remember).

To try and fix this I wanted to fully remove and then reinstall steam, to do so I made a backup of my games in a separate directory and then used find and rm to uninstall all files and directories with "steam" in the name. After doing this there where 4 files I could not delete.

I then tried to reinstall Steam, at first with

sudo apt install steam-installer

but got the following error:

The following packages have unmet dependencies: steam-installer : Depends: steam-libs-i386 (= 1:1.0.0.79~ds-2)
E: Unable to correct problems, you have held broken packages.

I then tried installing it from the Steam website, I downloaded the "steam_latest.deb" file and opened it with the gnome "software" app, this worked at first and I was able to log in but after rebooting my system I now receive this error message upon starting Steam:

Steam now requires user namespaces to be enabled.
This requirement is the same as for Flatpak, which has more detailed information available:
https://github.com/flatpak/flatpak/wiki/User-namespace-requirements".

I tried reading the GitHub page and looking up how to unable user namespace's but was unable to find anything to fix this.

I have no idea what to do now and would appreciate any help to resolve this issue.

How to install source clone/mirror OBS plugin on Ubuntu? https://askubuntu.com/questions/1560057/how-to-install-source-clone-mirror-obs-plugin-on-ubuntu

I want to to install an OBS plugin in Ubuntu from this source but while installing the .deb package in terminal, I see this error:

(Reading database ... 215503 files and directories currently installed.)
Preparing to unpack source-clone-0.2.0-x86_64-linux-gnu.deb ...
Unpacking source-clone (0.2.0) over (0.2.0) ...
dpkg: dependency problems prevent configuration of source-clone:
 source-clone depends on obs-studio; however:
  Package obs-studio is not installed.

dpkg: error processing package source-clone (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 source-clone

What can I do?

I force unmounted root partition - how do I get it back? https://askubuntu.com/questions/1560034/i-force-unmounted-root-partition-how-do-i-get-it-back

I accidentally deleted some files and in a panic ran sudo unmount -l /dev/sda2 which was my / partition. Extundelete did not work, said the drive was not properly unmounted but now I can no longer remount it either.

I tried to troubleshoot with fsck

$ fsck /dev/sda2
fsck from util-linux 2.39.3
e2fsck 1.47.0 (5-Feb-2023)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/sda2 is mounted.
fsck.ext2: No such file or directory while trying to open /dev/sda2
Possibly non-existent device?

Many commands seem to no longer work, including sudo. A few examples:

$ df
df: cannot read table of mounted file systems: No such file or directory
$ sudo mount /dev/sda2 /
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
$ docker ps
failed to connect to the docker API at unix:///var/run/docker.sock; check if the path is correct and if the daemon is running: dial unix /var/run/docker.sock: connect: no such file or directory

I'm worried I've damaged the structure or lost access to some key directories or files by running the lazy unmount.

The only connection I have to the device (my home server) is an open ssh session. New ssh sessions are refused. I'm nervous to close it or restart the server. Am I SOL and need a fresh start or is there an easy solution here that I am missing?

Thank you.

Running Ubuntu 24 LTS on an HP EliteDesk 800 G2 Mini.

Accidentally killed "snap remove" process; now unable to get rid of "in progress" https://askubuntu.com/questions/1559992/accidentally-killed-snap-remove-process-now-unable-to-get-rid-of-in-progress

I was running snap remove cups on my Ubuntu 22.04 system because I wanted to re-install "cups" directly via "apt" instead of running it as a snap. While this snap remove cups was running, I wanted to kill a different process, but I accidentally chose the PID for that snap remove cups process, and that process was killed.

Now, I get the following output for the following commands (and note that I'm running all these commands as root):

snap remove cups
    error: snap "cups" has "remove-snap" change in progress
snap remove cups --purge
    error: snap "cups" has "remove-snap" change in progress
snap disable cups
    error: cannot disable "cups": snap "cups" already disabled 
snap enable cups
    error: snap "cups" has "remove-snap" change in progress
snap install cups
    snap "cups" is already installed, see 'snap help refresh'
snap services
    Service                                              Startup   Current   Notes
    cups.cups-browsed                                    disabled  inactive  -
    cups.cupsd                                           disabled  inactive  -
    snapd-desktop-integration.snapd-desktop-integration  enabled   -         user
snap changes
    ID   Status  Spawn               Ready               Summary
    29   Undo    today at 16:22 EST  -                   Remove "cups" snap

When I run snap abort 29, this doesn't produce any output and exits with return code 0, and it doesn't change anything, and the snap commands that I listed above still give the same results.

I rebooted, and this doesn't change anything, either; I still get the same results for all those snap commands.

Obviously, my accidental killing of that snap remove cups process caused this situation.

Does anyone know how I can fix this and get the "cups" snap to be totally removed?

Thank you in advance.

UPDATE: Also, running snap refresh doesn't fix this problem. The refresh succeeds with return code 0, and all the above snap commands still return the same results.

FURTHER UPDATE: I'm hoping for a solution to this problem which doesn't involve something as drastic as a complete uninstall-followed-by-reinstall of snap ... if at all possible.

Canon Image class MF244DW printer is not working on upgradation to Ubuntu 25.10 https://askubuntu.com/questions/1559855/canon-image-class-mf244dw-printer-is-not-working-on-upgradation-to-ubuntu-25-10

I have a Canon ImageCLASS MF244dw (USB) printer. It was working perfectly on Ubuntu 25.04, but after upgrading to Ubuntu 25.10 (questing) it completely stopped printing.

What works

The same printer works normally when connected to my MacBook.

Ubuntu detects the USB device:

lsusb

Bus 001 Device 004: ID 04a9:27d2 Canon, Inc. MF240 Series UFRII LT

lpinfo -v shows the USB backend:

What does NOT work

When I print anything from Ubuntu, the job stays in “Processing” and nothing comes out.

What I already tried

Removed and re-added the printer many times (lpadmin -x / GUI / lpinfo -v).

Purged ipp-usb (because Canon MF240 is not an IPP-over-USB printer):

sudo apt purge ipp-usb

Tried to install printer-driver-ufr2 and printer-driver-ufr2-usb, but on Ubuntu 25.10 they do not exist:

Error: Unable to locate package printer-driver-ufr2

Tried to download Canon’s official Linux UFRII driver, but all Canon download URLs return 404 Not Found.

journalctl -u ipp-usb shows nothing relevant because ipp-usb is now removed.

CUPS sees the printer as idle, but printing does nothing:

lpstat -p -d
printer MF240 is idle

Extra notes

This started immediately after upgrading from Ubuntu 25.04 → 25.10.

Looks like Ubuntu dropped the UFRII driver and Canon’s download page is also down.

Question

How can I make the Canon MF244dw / MF240 USB printer work again on Ubuntu 25.10?

Ubuntu 25.10 Slow App Opening Problem and Chrome Maximize Button Disappearing (Ryzen 3000 Series) https://askubuntu.com/questions/1559309/ubuntu-25-10-slow-app-opening-problem-and-chrome-maximize-button-disappearing-r

Description: After upgrading from Ubuntu 25.04 to Ubuntu 25.10, applications on GNOME (Wayland session) take several seconds to open, and the maximize button disappears in Google Chrome when the window is fully maximized.

This issue seems to primarily affect systems running AMD Ryzen 7 3750H CPUs with Radeon RX 5500M or Vega integrated graphics, but it's unclear whether it impacts the entire Ryzen 3000 series or only certain configurations.

Details: Since the upgrade to Ubuntu 25.10, there are two major issues:

Slow App Opening Apps like Nautilus (Files), GNOME Terminal, and GNOME Text Editor take 4-5 seconds or longer to launch, even on SSD storage. This issue did not occur in Ubuntu 25.04, where apps opened instantly.

Video proof: Ubuntu 25.10 app opening speed bug video link: https://drive.google.com/file/d/1Do28Wc--PHIIs1SONDpmGLj2Dm1oFYvW/view?usp=sharing

Chrome Maximize Button Bug In Google Chrome (Wayland), when the window is maximized, the maximize button disappears from the title bar. This does not happen on XWayland or other desktops.

Video proof: Ubuntu 25.10 app opening speed bug video link: https://drive.google.com/file/d/19ZDOlGF0efiDPshR8fHZSzPbMasQ1KSY/view?usp=sharing

Steps to Reproduce:

For slow apps: Boot into Ubuntu 25.10 (Wayland session, GNOME 49.0). Launch any built-in GNOME app (Files, Terminal, or Text Editor). Observe the delay before the window appears.

For Chrome title bar bug: Launch Google Chrome. Click the maximize button or drag Chrome to full screen. Observe that the maximize button disappears when maximized.

Expected Behavior: GNOME apps should open within 1 second, as they did in Ubuntu 25.04. The maximize button in Chrome should remain visible when maximized.

Actual Behavior: App launch times have increased to 4–5 seconds or more. Chrome’s maximize button disappears when the window is fully maximized.

System Information:

------------------
OS: Ubuntu 25.10 x86_64
Host: Alpha 15 A3DD REV:1.0
Kernel: 6.17.0-6-generic
DE: GNOME 49.0 (Wayland)
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-dark [GTK2/3]
Icons: Yaru-dark [GTK2/3]
Cursor: Yaru [GTK2/3]
Terminal: ptyxis-agent
CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8)
GPU1: AMD Radeon RX 5500M / Pro 5500M
GPU2: AMD Radeon Vega Mobile Series
Memory: 13.06 GiB (3.17 GiB used)
Storage: NVMe SSD
Network: Intel AX200 Wi-Fi 6
Bluetooth: Intel AX200
BIOS: American Megatrends Inc. v1.18 (07/23/2020)
Ubuntu 25.10 not starting. Stalled on snapd.apparmor https://askubuntu.com/questions/1559221/ubuntu-25-10-not-starting-stalled-on-snapd-apparmor

I recently upgraded to Ubuntu 25.10. Since then my machine has not been able to complete a boot sequence. This is the boot sequence output where the stall happens Boot sequence stalled

I have examined the logs and cannot see what would cause the stall which starts at 07:30:43

mike@bambam:~$ journalctl -b -1 > tmp/previous_boot.txt

mike@bambam:~$ grep -E '(07:3|07:40)' tmp/previous_boot.txt
<output snipped for brevity>
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="Discord" pid=1422 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="balena-etcher" pid=1428 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="1password" pid=1421 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=1423 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=1424 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="babeld" pid=1427 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bfdd" pid=1429 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bgpd" pid=1430 comm="apparmor_parser"
Nov 04 07:30:35 bambam.mike-mac.net systemd[1]: systemd-rfkill.service: Deactivated successfully.
Nov 04 07:30:43 bambam.mike-mac.net kernel: kauditd_printk_skb: 213 callbacks suppressed
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.519:225): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.520:226): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice//gpg" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Finished apparmor.service - Load AppArmor profiles.
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Starting snapd.apparmor.service - Load AppArmor profiles managed internally by snapd...
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: usr-local-bin-remote_bin.automount: Got automount request for /usr/local/bin/remote_bin, triggered by 1611 (snapd-apparmor)
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
Nov 04 07:31:07 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 35 times, consider switching to WQ_UNBOUND
Nov 04 07:32:57 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 67 times, consider switching to WQ_UNBOUND
Nov 04 07:37:09 bambam.mike-mac.net kernel: workqueue: drm_fb_helper_damage_work hogged CPU for >10000us 131 times, consider switching to WQ_UNBOUND
Nov 04 07:40:11 bambam.mike-mac.net kernel: logitech-hidpp-device 0003:046D:4003.0008: HID++ 2.0 device connected.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Received SIGINT.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Activating special unit reboot.target...
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Removed slice system-modprobe.slice - Slice /system/modprobe.
Nov 04 07:40:11 bambam.mike-mac.net snapd-apparmor[1611]: main.go:143: No profiles to load
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Stopped target rpcbind.target - RPC Port Mapper.
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: lvm2-lvmpolld.socket: Deactivated successfully.
<remainder of shutdown output snipped>

mike@bambam:~$ grep -E '(snapd|apparmor)' tmp/previous_boot.txt
Nov 04 07:30:19 bambam.mike-mac.net kernel: LSM: initializing lsm=lockdown,capability,landlock,yama,apparmor,ima,evm
Nov 04 07:30:19 bambam.mike-mac.net kernel: evm: security.apparmor
Nov 04 07:30:19 bambam.mike-mac.net systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps.
Nov 04 07:30:23 bambam.mike-mac.net systemd[1]: Mounting snap-snapd-25577.mount - Mount unit for snapd, revision 25577...
Nov 04 07:30:23 bambam.mike-mac.net systemd[1]: Mounted snap-snapd-25577.mount - Mount unit for snapd, revision 25577.
Nov 04 07:30:24 bambam.mike-mac.net systemd[1]: Reached target snapd.mounts.target - Mounted snaps.
Nov 04 07:30:31 bambam.mike-mac.net systemd[1]: Starting apparmor.service - Load AppArmor profiles...
Nov 04 07:30:32 bambam.mike-mac.net apparmor.systemd[1385]: Restarting AppArmor
Nov 04 07:30:32 bambam.mike-mac.net apparmor.systemd[1385]: Reloading AppArmor profiles
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.653:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="brave" pid=1431 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.653:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="buildah" pid=1432 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="Discord" pid=1422 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="balena-etcher" pid=1428 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.803:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="1password" pid=1421 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=1423 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=1424 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.804:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="babeld" pid=1427 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bfdd" pid=1429 comm="apparmor_parser"
Nov 04 07:30:32 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194632.805:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="bgpd" pid=1430 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.519:225): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net kernel: audit: type=1400 audit(1762194643.520:226): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-soffice//gpg" pid=1587 comm="apparmor_parser"
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Finished apparmor.service - Load AppArmor profiles.
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: Starting snapd.apparmor.service - Load AppArmor profiles managed internally by snapd...
Nov 04 07:30:43 bambam.mike-mac.net systemd[1]: usr-local-bin-remote_bin.automount: Got automount request for /usr/local/bin/remote_bin, triggered by 1611 (snapd-apparmor)
Nov 04 07:40:11 bambam.mike-mac.net snapd-apparmor[1611]: main.go:143: No profiles to load
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: snapd.system-shutdown.service - Ubuntu core (all-snaps) system shutdown helper setup service was skipped because of an unmet condition check (ConditionPathExists=!/usr/bin/finalrd).
Nov 04 07:40:11 bambam.mike-mac.net systemd[1]: Finished snapd.apparmor.service - Load AppArmor profiles managed internally by snapd.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Stopped target snapd.mounts.target - Mounted snaps.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Unmounting snap-snapd-25577.mount - Mount unit for snapd, revision 25577...
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: snap-snapd-25577.mount: Deactivated successfully.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Unmounted snap-snapd-25577.mount - Mount unit for snapd, revision 25577.
Nov 04 07:40:12 bambam.mike-mac.net systemd[1]: Stopped target snapd.mounts-pre.target - Mounting snaps.

I have

  • Completely uninstalled snap and the snap applications, then reinstalled them
  • Run reconfigure

What else can I do other than examine other distros ?

Cheers

After upgrade to Ubuntu 25.10 Kernel Linux 16.17.0.6 generic kernel does not start https://askubuntu.com/questions/1559003/after-upgrade-to-ubuntu-25-10-kernel-linux-16-17-0-6-generic-kernel-does-not-sta

I upgraded my Laptop to Ubuntu 25.10 and now the newest kernel "Linux 16.17.0.6 generic" does not start. Black screen!

But starting with "Linux 16.17.0.6 generic, recovery mode" correctly boots. And with kernel "Linux 16.14.0.34 generic" too.

Any idea?

BR, Gilles

Polkit rule for reboot ignored https://askubuntu.com/questions/1540026/polkit-rule-for-reboot-ignored

Running Ubuntu 24.04 LTS. I have polkit rules successfully limiting power-off and suspend to AUTH_ADMIN. However, the rules simply do not work for org.freedesktop.login1.reboot. I have no idea what's different. It does work when multiple sessions are active, but I want to prevent all reboots that aren't done by an administrator. Any ideas?

All methods of rebooting are still available even though I set it to AUTH_ADMIN. I can reboot while logged in, from the login screen, or via terminal using shutdown --reboot.

Here is my rule:

polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.login1.power-off" ||
         action.id == "org.freedesktop.login1.power-off-multiple-sessions" ||
         action.id == "org.freedesktop.login1.reboot" ||
         action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
         action.id == "org.freedesktop.login1.suspend" ||
         action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
        if (subject.isInGroup("sudo")) {
            return polkit.Result.YES;
        } else {
            return polkit.Result.AUTH_ADMIN;
        }
    }
});

Has anyone been able to effectively squash reboots in any way using polkit on Ubuntu 24.04 LTS or newer? What settings worked? Note that org.freedesktop.login1.reboot-multiple-sessions works fine, but the no-logins .reboot version does not.

Fixing No Sound (Dummy Output) Issue in Ubuntu 24.04 https://askubuntu.com/questions/1515538/fixing-no-sound-dummy-output-issue-in-ubuntu-24-04

Many Ubuntu 24.04 users, myself included, have been experiencing sound problems. After browsing Ask Ubuntu for solutions, I finally found a fix! I'm sharing the steps here in case it helps others facing the same frustrating silence.

PROBLEM

After updating my Ubuntu to version 24.04, my desktop PC (Gigabyte H510M-K DDR4) can't detect audio drivers. Headphones work, but external speakers are not recognized.

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [PHL 271V8]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

In the Sound Settings, it only shows 'Dummy Output'. I have attempted various troubleshooting steps, including:

  • sudo apt install --reinstall pulseaudio
  • sudo apt install --reinstall alsa-base alsa-utils
  • sudo apt install pulseaudio
  • sudo apt install pavucontrol
  • pulseaudio -k && sudo alsa force-reload
  • sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
  • systemctl --user restart pipewire-session-manager
  • systemctl --user restart wireplumber pipewire pipewire-pulse
  • sudo apt install pipewire-audio-client-libraries pipewire-pulse it
  • sudo nano /etc/modprobe.d/alsa-base.conf
  • sudo nano /etc/modprobe.d/blasklist.conf
  • sudo modprobe snd-hda-intel
  • Trying different options such as options snd-hda-intel model=auto and blacklist snd_soc_avs

But it did not work:

~$ sudo modprobe snd-hda-intel
~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-dummy snd-seq-midi snd-seq-midi-event snd-rawmidi snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-sof-utils snd-soc-hdac-hda snd-soc-acpi-intel-match snd-soc-acpi snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-seq-dummy snd-seq-midi snd-seq-midi-event snd-rawmidi snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-sof-utils snd-soc-hdac-hda snd-soc-acpi-intel-match snd-soc-acpi snd-hrtimer snd-seq snd-seq-device snd-sof-intel-hda-mlink snd-hda-codec-realtek snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-hda-codec-hdmi snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer
~$ pulseaudio --kill
~$ journalctl --user -u pulseaudio.service | awk '{print $5 "\t" $6}'

systemd[3097]:  Starting
pulseaudio[14920]:  Daemon
pulseaudio[14920]:  pa_pid_file_create()
systemd[3097]:  pulseaudio.service:
systemd[3097]:  pulseaudio.service:
systemd[3097]:  Failed
systemd[3097]:  pulseaudio.service:

SOLUTION

Thanks to iirekm from this Ask Ubuntu post, I found an excellent solution to my problem.

Downgrade Kernel from 6.8. - 6.5. **

Due to the latest Ubuntu update, I will revert to my previously installed kernel without any new downloads.

  • List available kernels: sudo apt list --installed | grep linux-image
  • Install the kernel version 6.5.* (if not already installed): sudo apt install linux-image-6.5.0-35-generic linux-headers-6.5.0-35-generic
  • Open the GRUB configuration file: sudo nano /etc/default/grub
  • Set GRUB_DEFAULT to the desired kernel: GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 6.5.0-35-generic
  • Save the file and exit (press Ctrl + O to save and Ctrl + X to exit).
  • Update GRUB and reboot: sudo update-grub, sudo reboot
  • Verify the running kernel version: uname -r

By following these steps, you should be able to downgrade your kernel version successfully and select it as the default in GRUB.

Downgrading the kernel is a temporary fix; monitor for updates addressing the issue in newer kernels. Please try the shared solutions before resorting to downgrade, as I did.

Thanks to everyone who shared many helpful ways for non-experts like me to know how to fix my computer!

Installing Ubuntu 22.04 with full disk encryption (LUKS) and swap partitions https://askubuntu.com/questions/1467409/installing-ubuntu-22-04-with-full-disk-encryption-luks-and-swap-partitions

I`m just trying to install Ubuntu 22.04 in my notebook, but I need to have full disk encryption enabled and I would like to define the size of my swap partition.

When searching for answers I saw multiple mentions that Ubuntu 22 doesn`t need a swap partition, because it would use swapfile. However If I proceed with the default installation (plus enabling FDE) I get a swap partition anyway:

nvme0n1               259:0    0 238.5G  0 disk  
├─nvme0n1p1           259:1    0   512M  0 part  
├─nvme0n1p2           259:2    0   1.7G  0 part  
└─nvme0n1p3           259:3    0 236.3G  0 part  
  └─crypt             253:0    0 236.3G  0 crypt 
    ├─vgubuntu-root   253:1    0 234.4G  0 lvm   
    └─vgubuntu-swap_1 253:2    0   1.9G  0 lvm   

So I went for a new install following these tutorials: (They are mostly the same)

  1. https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
  2. https://www.tecmint.com/encrypt-disk-installing-ubuntu/

Note: Its a nvme notebook

Following the tutorial, I ran command for command with no error, but got a warning when partitioning:

Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)

The sgdisk --print $DEV returns as expected:

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1574911   768.0 MiB   8301  /boot
   2         1574912         1579007   2.0 MiB     EF02  GRUB
   3         1579008         1841151   128.0 MiB   EF00  EFI-SP
   5         1841152       500118158   237.6 GiB   8301  rootfs

However when I get to the point of using LUKS, the first time it works as expected, but the second command fails: This command works:

cryptsetup luksFormat --type=luks1 ${DEVP}1 

And then this command fails:

# cryptsetup luksFormat --type=luks1 ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

I`ve also tried like this:

# cryptsetup luksFormat ${DEVP}5
Device /dev/nvme0n1p5 does not exist or access denied.

Because that is a difference between both tutorials so far... I`m on a live boot from USB.

How can I encrypt the last partition so I can continue on?

OR how can I achieve the Ubuntu 22 install + LUKS FDE + Custom SWAP?

Wired network settings missing in Ubuntu Desktop 20.10 https://askubuntu.com/questions/1312096/wired-network-settings-missing-in-ubuntu-desktop-20-10

This seems to be a longstanding bug that has appeared in many releases. A fresh install of Ubuntu Desktop 20.10 does not show the Wired Network Settings. I only have Wireless internet access. Turning this off results in no internet. The ethernet cable is working, since Windows on the same PC running on it. The ethernet LED lights are also indicating a connection and on Manjaro - which I had installed previously - had an ethernet connection. Therefore I suspect the problem to reside in Ubuntu software.

No wired network settings:

No wired network settings

Running the following line results in the following output:

sudo lshw -c net

Output:

Output

Does anyone know how to let the wired network setting appear, and enable ethernet?

Device or Resource busy when trying to use mv https://askubuntu.com/questions/1271344/device-or-resource-busy-when-trying-to-use-mv

I am attempting to recover from finger problems where some data was moved to the wrong place when using Ubuntu 20.04. Below are my attempted command and the result.

jgossage@JFGPER:/media/jgossage$ mv LinuxData/Downloads/Downloads/Downloads/. LinuxData/Downloads -v
mv: cannot move 'LinuxData/Downloads/Downloads/Downloads/.' to 'LinuxData/Downloads/.': Device or resource busy

I am at a loss to figure out why this is happening and I need some guidance.

USB Serial ports reset each time the system is restarted How to prevent that? https://askubuntu.com/questions/1196486/usb-serial-ports-reset-each-time-the-system-is-restarted-how-to-prevent-that

I am using Ubuntu 18:04 LTS and am trying to communicate with the serial ports but each time I restart the system the ports are reset is there a way to prevent the same. ie assuming I am using a ultrasonic sensor which is assigned to /dev/ttyUSB0 and am using a pulse rate sensor which is assigned to /dev/ttyUSB1 then the ports shall be stable till the system is restarted after which the port often tend to change, so is there a way to freeze the ports assigned to sensors to ensure that they remain unchanged even after the restart. There can be any number of sensors connected to the system.

How to use 3 external monitors on Ubuntu 17.10 Dell XPS 13 9360? https://askubuntu.com/questions/992764/how-to-use-3-external-monitors-on-ubuntu-17-10-dell-xps-13-9360

Just bought a new USB Type C to 3 HDMI adapter: amazon link and it seems like my laptop sees all 3 monitors, but can't handle them all together.

I've tried different cables that work, and different inputs/monitors and everything works, except when all 3 together, Ubuntu sees them (I can change the primary display to any of those 3 external monitors) but only the built-in monitor works.

Is there anything specific I need to do in order to support 3 monitors at once?


Update

2 external + built-in:

$ xrandr --listmonitors
Monitors: 3
 0: +*eDP-1 1920/294x1080/165+0+1080  eDP-1
 1: +DP-1-1-2 1920/509x1080/286+0+0  unknown output 0x48
 2: +DP-1-1-1 1920/509x1080/286+1920+0  unknown output 0x47

3 external + built-in(Only the built-in monitor works):

$ xrandr --listmonitors
Monitors: 1
 0: +*eDP-1 3200/294x1800/165+0+0  eDP-1

When 3 external monitors are connected, the display settings shows all 3 monitors kinda visible, but not usable:

enter image description here

Regarding video graphics, Dell XPS 13 9360 has Intel® Iris Plus Graphics 640 (Kaby Lake GT3) which theoretically, is able to handle 3 monitors, but would that mean 3 additional monitors or 3 monitors in total? source

While I use ubuntu 17.10, I use Xorg (wayland seems to be buggy).

Many dependency problems installing jdk and NetBeans https://askubuntu.com/questions/983727/many-dependency-problems-installing-jdk-and-netbeans
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:amd64:
 openjdk-8-jre-headless:amd64 depends on java-common (>= 0.28); however:
  Package java-common is not configured yet.

dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ca-certificates-java:
 ca-certificates-java depends on openjdk-7-jre-headless (>= 7~u3-2.1.1~pre1-1) | java7-runtime-headless; however:
  Package openjdk-7-jre-headless is not installed.
  Package oracle-java9-installer which provides openjdk-7-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-7-jre-headless is not installed.
  Package java7-runtime-headless is not installed.
  Package openjdk-8-jre-headless:amd64 which provides java7-runtime-headless is not configured yet.
  Package oracle-java9-installer which provides java7-runtime-headless is not installed.
  Package oracle-java8-installer which provides   
No apport report written because the error message indicates its a followup error from a previous failure.  
No apport report written because the error message indicates its a followup error from a previous failure.  
No apport report written because MaxReports is reached already.  
No apport report written because MaxReports is reached already.  
No apport report written because MaxReports is reached already.
  Package                              which provides java7-runtime-headless is not installed.
  Package openjdk-9-jre-headless:amd64 which provides java7-runtime-headless is not installed.

dpkg: error processing package ca-certificates-java (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jre:amd64:
 openjdk-8-jre:amd64 depends on openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre-headless is not installed.

dpkg: error processing package openjdk-8-jre:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk-headless:amd64:
 openjdk-8-jdk-headless:amd64 depends on openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre-headless is not installed.

dpkg: error processing package openjdk-8-jdk-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk:amd64:
 openjdk-8-jdk:amd64 depends on openjdk-8-jre (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre is not installed.
 openjdk-8-jdk:amd64 depends on openjdk-8-jdk-headless (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jdk-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jdk-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jdk-headless is not installed.

dpkg: error processing package openjdk-8-jdk:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 java-common
 openjdk-8-jre-headless:amd64
 ca-certificates-java
 openjdk-8-jre:amd64
 openjdk-8-jdk-headless:amd64
 openjdk-8-jdk:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
rico@rico-Aspire-5750G:~$

Results of sudo apt autoremove:

rico@rico-Aspire-5750G:~$ sudo apt autoremove
[sudo] password for rico: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  default-jdk-doc java-wrappers junit junit-doc junit4-doc libantlr-java
  libantlr3-runtime-java libapache-pom-java libapr1 libaprutil1 libasm3-java
  libasm4-java libaspectj-java libatinject-jsr330-api-java
  libavalon-framework-java libbeansbinding-java libbsh-java libbytelist-java
  libcdi-api-java libcglib3-java libcommons-beanutils-java
  libcommons-codec-java libcommons-collections3-java libcommons-compress-java
  libcommons-digester-java libcommons-io-java libcommons-lang-java
  libcommons-logging-java libcommons-net-java libcommons-parent-java
  libequinox-osgi-java libexcalibur-logkit-java libfelix-framework-java
  libfelix-main-java libfelix-osgi-obr-java libfreemarker-java
  libgeronimo-interceptor-3.0-spec-java
  libgeronimo-j2ee-connector-1.5-spec-java libgeronimo-jta-1.1-spec-java
  libguava-java libhamcrest-java libhamcrest-java-doc libhtml5parser-java
  libhttpclient-java libhttpcore-java libicu4j-4.4-java libini4j-java
  libjavaewah-java libjcodings-java libjcommander-java libjemmy2-java
  libjgit-java libjna-java libjna-jni libjna-platform-java
  libjnlp-servlet-java libjoda-convert-java libjoda-time-java
  libjpa-2.1-spec-java libjsch-agent-proxy-java libjsch-java
  libjson-simple-java libjsr305-java libjsr311-api-java libjvyamlb-java
  libjzlib-java libkxml2-java liblog4j1.2-java liblucene3-contrib-java
  liblucene3-java libmail-java libmysql-java libnb-absolutelayout-java
  libnb-javaparser-java libnb-org-openide-modules-java
  libnb-org-openide-util-java libnb-org-openide-util-lookup-java
  libosgi-annotation-java libosgi-core-java libosgi-foundation-ee-java
  libpostgresql-jdbc-java libregexp-java libsdo-api-java
  libsequence-library-java libserf-1-1 libservlet2.5-java libservlet3.0-java
  libservlet3.1-java libsimple-validation-java libslf4j-java
  libstringtemplate-java libstringtemplate4-java libsvn-java libsvn1
  libsvnclientadapter-java libswing-layout-java libswingx-java
  libtrilead-ssh2-java libws-commons-util-java libxerces2-java
  libxml-commons-external-java libxml-commons-resolver1.1-java
  libyaml-snake-java openjdk-8-doc testng
0 to upgrade, 0 to newly install, 105 to remove and 18 not to upgrade.
6 not fully installed or removed.
After this operation, 387 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 261290 files and directories currently installed.)
Removing default-jdk-doc (2:1.8-56ubuntu2) ...
Removing java-wrappers (0.1.28) ...
Removing junit (3.8.2-8build1) ...
Removing junit-doc (3.8.2-8build1) ...
Removing junit4-doc (4.12-4ubuntu1) ...
Removing libstringtemplate-java (3.2.1-2) ...
Removing libantlr-java (2.7.7+dfsg-6ubuntu1) ...
Removing libstringtemplate4-java (4.0.8-2) ...
Removing libantlr3-runtime-java (3.5.2-4) ...
Removing libcommons-lang-java (2.6-6ubuntu2) ...
Removing libhttpclient-java (4.5.1-1) ...
Removing libsvnclientadapter-java (1.10.3-4) ...
Removing libsvn-java (1.9.3-2ubuntu1.1) ...
Removing libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
Removing libserf-1-1:amd64 (1.3.8-1) ...
Removing libaprutil1:amd64 (1.5.4-1build1) ...
Removing libasm3-java (3.3.2-3) ...
Removing libcglib3-java (3.1+dfsg-1) ...
Removing libasm4-java (5.0.4-1) ...
Removing libaspectj-java (1.8.8-1) ...
Removing libguava-java (19.0-1) ...
Removing libcdi-api-java (1.0-2) ...
Removing libatinject-jsr330-api-java (1.0+ds1-2) ...
Removing libavalon-framework-java (4.2.0-9) ...
Removing libbeansbinding-java (1.2.1-1) ...
Removing testng (6.9.5-1) ...
Removing libbsh-java (2.0b4-17ubuntu1) ...
Removing libjvyamlb-java (0.2.5-2) ...
Removing libbytelist-java (1.0.12-3) ...
Removing libcommons-digester-java (1.8.1-4) ...
Removing libcommons-beanutils-java (1.9.2-3) ...
Removing libcommons-codec-java (1.10-1) ...
Removing libcommons-collections3-java (3.2.2-1) ...
Removing libcommons-compress-java (1.10-2) ...
Removing libcommons-io-java (2.4-2) ...
Removing libcommons-net-java (3.4-2ubuntu2) ...
Removing libequinox-osgi-java (3.8.1-8) ...
Removing libexcalibur-logkit-java (2.0-11ubuntu2) ...
Removing libfelix-main-java (5.0.0-3) ...
Removing libfelix-framework-java (4.6.1-1) ...
Removing libfelix-osgi-obr-java (1.0.2-3fakesync1) ...
Removing libfreemarker-java (2.3.23-3) ...
Removing libgeronimo-interceptor-3.0-spec-java (1.0.1-3fakesync1) ...
Removing libgeronimo-j2ee-connector-1.5-spec-java (2.0.0-1.1) ...
Removing libgeronimo-jta-1.1-spec-java (1.1.1-3ubuntu1) ...
Removing libhamcrest-java (1.3-5ubuntu1) ...
Removing libhamcrest-java-doc (1.3-5ubuntu1) ...
Removing libhtml5parser-java (1.4+r1.3.1-1) ...
Removing libhttpcore-java (4.4.4-1) ...
Removing libicu4j-4.4-java (4.4.2.2-2) ...
Removing libini4j-java (0.5.2-SNAPSHOT-5) ...
Removing libjgit-java (3.7.1-2) ...
Removing libjavaewah-java (0.6.12-1) ...
Removing libjcodings-java (1.0.17-1) ...
Removing libjcommander-java (1.48-1) ...
Removing libjemmy2-java (2.3.1.1-2) ...
Removing libjsch-agent-proxy-java (0.0.8-2ubuntu1) ...
Removing libjna-platform-java (4.2.2-1) ...
Removing libjna-java (4.2.2-1) ...
Removing libjna-jni (4.2.2-1) ...
Removing libjnlp-servlet-java (20120126-3) ...
Removing libjoda-convert-java (1.8.1-1) ...
Removing libjoda-time-java (2.9.2-1) ...
Removing libjpa-2.1-spec-java (2.1.0.v201304241213-1) ...
Removing libjsch-java (0.1.53-1ubuntu1) ...
Removing libjson-simple-java (1.1.1-3) ...
Removing libjsr305-java (0.1~+svn49-9) ...
Removing libjsr311-api-java (1.1.1-1) ...
Removing libjzlib-java (1.1.3-1) ...
Removing libkxml2-java (2.3.0+ds1-2) ...
Removing liblog4j1.2-java (1.2.17-7ubuntu1) ...
Removing liblucene3-contrib-java (3.6.2+dfsg-8) ...
Removing liblucene3-java (3.6.2+dfsg-8) ...
Removing libmail-java (1.5.5-1) ...
Removing libmysql-java (5.1.38-1) ...
Removing libnb-absolutelayout-java (8.1+dfsg2-3) ...
Removing libnb-javaparser-java (7.4-1) ...
Removing libnb-org-openide-modules-java (8.1+dfsg1-2) ...
Removing libsimple-validation-java (0.9-2) ...
Removing libnb-org-openide-util-java (8.1+dfsg1-2) ...
Removing libnb-org-openide-util-lookup-java (8.1+dfsg1-2) ...
Removing libosgi-core-java (6.0.0-1) ...
Removing libosgi-annotation-java (6.0.0-1) ...
Removing libosgi-foundation-ee-java (4.2.0-2) ...
Removing libpostgresql-jdbc-java (9.2-1002-1) ...
Removing libregexp-java (1.5-3build1) ...
Removing libsdo-api-java (1.1.1-1) ...
Removing libsequence-library-java (1.0.3-1) ...
Removing libservlet2.5-java (6.0.45+dfsg-1) ...
Removing libservlet3.0-java (7.0.68-1ubuntu0.1) ...
Removing libservlet3.1-java (8.0.32-1ubuntu1.4) ...
Removing libslf4j-java (1.7.14-3) ...
Removing libswing-layout-java (1.0.4-4) ...
Removing libswingx-java (1:1.6.2-2) ...
Removing libtrilead-ssh2-java (6401+svn158-1) ...
Removing libws-commons-util-java (1.0.1-9) ...
Removing libxerces2-java (2.11.0-7) ...
Removing libxml-commons-external-java (1.4.01-2build1) ...
Removing libxml-commons-resolver1.1-java (1.2-7build1) ...
Removing libyaml-snake-java (1.12-2) ...
Removing openjdk-8-doc (8u151-b12-0ubuntu0.16.04.2) ...
Removing libcommons-logging-java (1.2-1+build1) ...
Removing libcommons-parent-java (39-3) ...
Removing libapache-pom-java (10-2build1) ...
Removing libapr1:amd64 (1.5.2-3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 5 removed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up java-common (0.56ubuntu2) ...
mkdir: cannot create directory ‘/etc/.java/.systemPrefs’: File exists
dpkg: error processing package java-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openjdk-8-jre-headless:amd64:
 openjdk-8-jre-headless:amd64 depends on java-common (>= 0.28); however:
  Package java-common is not configured yet.

dpkg: error processing package openjdk-8-jre-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.  
dpkg: dependency problems prevent configuration of ca-certificates-java:
 ca-certificates-java depends on openjdk-7-jre-headless (>= 7~u3-2.1.1~pre1-1) | java7-runtime-headless; however:
  Package openjdk-7-jre-headless is not installed.
  Package oracle-java9-installer which provides openjdk-7-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-7-jre-headless is not installed.
  Package java7-runtime-headless is not installed.
  Package openjdk-8-jre-headless:amd64 which provides java7-runtime-headless is not configured yet.
  Package oracle-java9-installer which provides java7-runtime-headless is not installed.
  Package oracle-java8-installer which provides java7-runtime-headless is not installed.
  Package openjdk-9-jre-headless:amd64 which provides java7-runtime-headless is not installed.

dpkg: error processing package ca-certificates-java (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of openjdk-8-jre:amd64:
 openjdk-8-jre:amd64 depends on openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre-headless is not installed.

dpkg: error processing package openjdk-8-jre:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already. 
No apport report written because MaxReports is reached already.  
dpkg: dependency problems prevent configuration of openjdk-8-jdk-headless:amd64:
 openjdk-8-jdk-headless:amd64 depends on openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre-headless is not installed.

dpkg: error processing package openjdk-8-jdk-headless:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-8-jdk:amd64:
 openjdk-8-jdk:amd64 depends on openjdk-8-jre (= 8u151-b12-0ubuntu0.16.04.2); however:
  Package openjdk-8-jre:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jre is not installed.
  Package oracle-java8-installer which provides openjdk-8-jre is not installed.
 openjdk-8-jdk:amd64 depends on openjdk-8-jdk-headless (= 8u151-b12-0ubuntu0.16.04.2); howeve
No apport report written because MaxReports is reached already.  
error:  
  Package openjdk-8-jdk-headless:amd64 is not configured yet.
  Package oracle-java9-installer which provides openjdk-8-jdk-headless is not installed.
  Package oracle-java8-installer which provides openjdk-8-jdk-headless is not installed.

dpkg: error processing package openjdk-8-jdk:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 java-common
 openjdk-8-jre-headless:amd64
 ca-certificates-java
 openjdk-8-jre:amd64
 openjdk-8-jdk-headless:amd64
 openjdk-8-jdk:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
rico@rico-Aspire-5750G:~$
rico@rico-Aspire-5750G:~$ cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://au.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://au.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial universe
deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://au.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
Wifi keeps dropping on Dell XPS13 running Ubuntu 16.04, not sure how to use sudoedit on file https://askubuntu.com/questions/874803/wifi-keeps-dropping-on-dell-xps13-running-ubuntu-16-04-not-sure-how-to-use-sudo

Dell XPS 13 (7th gen i5), dual booting Ubuntu 16.04 and Windows 10.

Wifi works fine in Windows but in Ubuntu it gets disconnected every 5-10 minutes. The wifi icons on the top bar still appears to be connected. I have to manually click disconnect and connect again for wifi to work.

Tried a solution from 16.04 LTS wifi connection lost randomly every 5 minutes.

Did the following steps:

  1. Got details of my PCI wireless card by running sudo lshw -class network
  2. Took the code on the line that says 802.11ac Wireless Network Adapter: QCA6174
  3. Entered this into the terminal sudoedit /etc/pm/config.d/config
  4. I was then prompted to a page within the terminal which says GNU nano 2.5.3 File: /var/tmp/config.XXibmEDm. Then I entered SUSPEND_MODULES="QCA6174" and I hit ctrl-X to save.
  5. Was prompted to say if I want to save modified buffer: i hit Y
  6. Was prompted file name to write: /var/tmp/config.XXibmEDm. I am stuck here, not sure which action to take. The options given were: Get help/Cancel/DOS format/Mac format/Append/Prepend/Backup file/to files
USB device connecting and disconnecting repeatedly https://askubuntu.com/questions/814569/usb-device-connecting-and-disconnecting-repeatedly

I was having some problems booting into Ubuntu. After trying to reboot for sometime, I eventually opened the 4.4.0-31 recovery mode. while it was booting into recovery mode, it said that /dev/ubuntu-gnome-vg needs to fsck manually.

While this was going on the touchscreen for the computer was connecting and disconnecting repeatedly.

The screen was showing this:

usb 2-7: new full-speed USB device number 42 using using xchi_hcd
usb 2-7: New USB device found, idVendor=04f3, idproduct=016f
usb 2-7: New USB device strings: Mfr=4, Product =14, SerialNumber=0
usb 2-7: Product: Touchscreen
usb 2-7: Manufacturer: ELAN
usb 2-7: ep 0x2 - rounding interval to 64 microframes, ep desc
says 80 microframes 
usb 2-7: USB disconnect, device number 42. 

and then this repeats with the device being 43.

How do I stop this so that I can actually try and fix the problem on the disk. Also if you guys have some advice regarding /dev/ubuntu-gnome-vg needing to be fsck'd that be great.

how to fix Error: Port conflict: another instance is already running https://askubuntu.com/questions/687182/how-to-fix-error-port-conflict-another-instance-is-already-running
  • I fired two command

    sudo apt-get update
    sudo apt-get upgrade
    
  • It will give me error after upgrade(after press "Y")

        Setting up postgresql-9.1 (9.1.19-0ubuntu0.12.04) ...
         * Starting PostgreSQL 9.1 database server                                       
         * Error: Port conflict: another instance is already running on /var/run/postgresql with port 5432
                                                                                 [fail]
        invoke-rc.d: initscript postgresql, action "start" failed.
        dpkg: error processing postgresql-9.1 (--configure):
         subprocess installed post-installation script returned error exit status 1
        Errors were encountered while processing:
         postgresql-9.1
        E: Sub-process /usr/bin/dpkg returned an error code (1)
    
  • I have try so much thread but can't get solution please help

Wireless not connecting automatically https://askubuntu.com/questions/199447/wireless-not-connecting-automatically

My wireless is working fine, but when I login, it does not connect automatically, I have to select it from the list each and every time to use it. Even though the connect automatically option is selected in the network options.

So basically, after booting it, I don't get connected to the network until I choose connect to hidden wireless network, followed by selecting the hidden network, and clicking connect.

How to change Gnome-Terminal title? https://askubuntu.com/questions/22413/how-to-change-gnome-terminal-title

I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal serves i.e. Apache, editing_ini, postgres etc...

Of course from the command line.