Does Update windows 11 messes up my ubuntu? [duplicate] https://askubuntu.com/questions/1560160/does-update-windows-11-messes-up-my-ubuntu

I Dual-Boot and want to update my windows 11 but something popped into my head like when i update windows 11 does it interfere with the bootloader Grub, Ubuntu or something else?

HP Victus laptop overheating on Ubuntu https://askubuntu.com/questions/1560158/hp-victus-laptop-overheating-on-ubuntu

I am using Ubuntu 24.04 Desktop on my HP Victus laptop.

I am experiencing significant overheating when running Ubuntu. Even when no intensive tasks are running, the laptop becomes hot and the fan speeds up quickly.

I suspect the issue may be related to the graphics card. Recently, after putting the laptop to sleep, I noticed that it became very hot, possibly because the fan did not run while it was in sleep mode.

Any comments or suggestions would be greatly appreciated.

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!!

Writing udev rule for specific interface of USB device https://askubuntu.com/questions/1560132/writing-udev-rule-for-specific-interface-of-usb-device

I'm using Ubuntu 25.
I have USB device with 8 interfaces as lsusb -t tell me:

/:  Bus 001.Port 001: Dev 001, Class='bDeviceClass 0x00 not yet handled', Driver=xhci_hcd/0p, 480M
    |__ Port 002: Dev 002, If 0, Class=[unknown], Driver=[none], 12M
    |__ Port 002: Dev 002, If 2, Class=[unknown], Driver=usbhid, 12M
    |__ Port 006: Dev 003, If 0, Class=[unknown], Driver=usbhid, 1.5M
    |__ Port 011: Dev 004, If 0, Class=[unknown], Driver=hub, 480M
        |__ Port 001: Dev 006, If 0, Class=[unknown], Driver=hub, 480M
            |__ Port 004: Dev 008, If 0, Class=[unknown], Driver=rndis_host, 480M
            |__ Port 004: Dev 008, If 1, Class=[unknown], Driver=rndis_host, 480M
            |__ Port 004: Dev 008, If 2, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 3, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 4, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 5, Class=[unknown], Driver=cdc_acm, 480M
            |__ Port 004: Dev 008, If 6, Class=[unknown], Driver=cdc_acm, 480M
            |__ Port 004: Dev 008, If 7, Class=[unknown], Driver=[none], 480M
            |__ Port 004: Dev 008, If 8, Class=[unknown], Driver=[none], 480M

I need to make only the interface 4 (Port 004: Dev 008, If 4) to use/be used by an "option" driver. I already added "option" to /etc/modules-load.d/modules.conf, so this module loads on start up. But how do I bind specific interface to it on boot? I don't want to bind everything to "option" driver because it breaks things for me. I thought udev rule can help me, but I have no idea how to write it. Please help.

ASUS motherboard Bluetooth not turning on in 24.04 https://askubuntu.com/questions/1560111/asus-motherboard-bluetooth-not-turning-on-in-24-04

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 is needed).

sudo service bluetooth status shows that Bluetooth is enabled, but Active: inactive dead. In settings the Bluetooth on/off slider control is grayed 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 its associated tools. Bluetooth is now working. I haven't got 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
Upgrade to latest Ubuntu Now have an "Notice" of Ignoring a file https://askubuntu.com/questions/1560058/upgrade-to-latest-ubuntu-now-have-an-notice-of-ignoring-a-file

How do I resolve this issue:

Notice: Ignoring file 'mono-official-stable.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Happens whenever I use the Terminal .. Thanks

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?

MicroCeph Ceph unable to use Smartctl to check drive health https://askubuntu.com/questions/1552918/microceph-ceph-unable-to-use-smartctl-to-check-drive-health

I've deployed Ceph using MicroCeph so we can get Canonical support thru Ubuntu Pro (if I understood correctly that is the only way to get support to CEPH on it). However, when looking at the host list in the dashboard, it try to load the SMART data to get the drive health and fail:

Smartctl has received an unknown argument (error code -22). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.

enter image description here

I'm sure I have the latest smartctl available on APT:

$ smartctl --version

smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-63-generic] (local build)

Running thru the terminal, smartctl is able to return the full SMART data in the JSON as smartctl --json -a /dev/sdb.

What should we do to make Ceph Dashboard to work with smartctl and show the proper drive health? We can't use MicroCeph in production if it will not present at minimum the health of the drives.

Thank you! Any help would be appreciated.

HOW to automate validation testing of user-data https://askubuntu.com/questions/1527362/how-to-automate-validation-testing-of-user-data

I have several user-data files on an internal gitlab repo.

I am running a deploy job which is deploying the user-data to our internal tftp server.

Our tftp server is part of our netboot.xyz instance. When I try to deploy our user-data via preseed address, it seems the installer picks up our config, but fails with:

DataSourceNoCloud.py[DEBUG]: Seed from https://our-tftp/user-data not supported by DataSourceNoCloud [seed=None] [dsmode=net]

So I thought I create another JOB which is running the validation script of subiquity, which is documented here.

Let's ignore my approaches to get the script running inside a docker container... The deps a straight forward ridiculous for a validation script.

So I installed a bare metal shell gitlab-executor and installed on the machine the deps of the script.

Sadly the response doesn't help at all, so many deps for nothing:

$ ./scripts/validate-autoinstall-user-data.py ../user-data
Could not find path to SNAP
Failure: The provided autoinstall config failed validation

What does that even mean? My user-data has no entry for snap dependencies. Here is my user-data:

#cloud-config
autoinstall:
  version: 1
  storage:
    layout:
      name: lvm
      sizing-policy: all
  keyboard:
    layout: de
    toggle: null
    variant: ''
  timezone: "Europe/Berlin"
  user-data:
    users:
    - name: admin-user
      passwd: <REMOVED>
      shell: /bin/bash
      lock-passwd: false
      groups: users
  ssh:
    allow-pw: false
    authorized-keys:
      - "ssh-ed25519 <REMOVED>"
      - "ssh-ed25519 <REMOVED>"
    install-server: true
  late-commands:
    - |
      bash <<'EOF'
        source <(cat /run/systemd/netif/leases/* | grep ^HOSTNAME=)
        [[ -n "${HOSTNAME}" ]] && echo "${HOSTNAME}" > /target/etc/hostname
      EOF
      true
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

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:
Ubuntu does not boot to desktop https://askubuntu.com/questions/1429074/ubuntu-does-not-boot-to-desktop

I installed Ubuntu 22.04.1 and it was working fine until after couple of restarts. Now, it no longer boots to a desktop environment. I get this black screen with login:

Ubuntu login (no DE)

After entering the password it enters a directory and not the desktop.

I am new to Ubuntu.

VMware - more disk space https://askubuntu.com/questions/1384983/vmware-more-disk-space

I want to expand my disk size, so I did it in the settings of my virtual machine, and not it says 30GB, but when I power on Ubuntu and check in Disks, it still says 20GB, and the 10GB isn't working. How to fix it?

here's a screenshot of it

How to set scrolling speed in KUbuntu? https://askubuntu.com/questions/1325270/how-to-set-scrolling-speed-in-kubuntu

I've searched how to set scrolling in KUbuntu, but couldn't find a solution. It just seems strange to me that such a basic thing isn't present on linux.

First, let me clarify why this is not a duplicate:

  • On April 11, 2020, this paper was published, which said "It’s now possible to configure the scrolling speed for mice and touchpads when using Wayland (Méven Car, Plasma 5.19.0)"
  • All other questions about this topic were published after April 11, 2020. So that means, those questions are outdated and currently there is a possible solution.

So can someone explain me how to adjust the scroll speed in KUbuntu? (KUbuntu = KDE + Ubuntu) The quotation above says this is possible and it would be important since the default linux scroll speed is really slow.

I know the imwheel solution, but when I tested it I encountered some silly glitches like double-scroll in Chrome. What happened in Chrome was when I scrolled, it scrolled a little and after a second it scrolled again. It could possibly be because imwheel reacts later to the scroll event from the mouse.

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?

dev/ttyacm0 does not exist despite showing up in dmesg https://askubuntu.com/questions/1287235/dev-ttyacm0-does-not-exist-despite-showing-up-in-dmesg

I'm trying to run rosserial with a teensy 3.6, but am getting the following error

[ERROR] [1603751770.005130]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

However, my dmesg | grep tty output shows the following

[    0.000000] console [tty0] enabled
[12758.910672] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

TTYACM0 does not show up when I run ls dev/tty* either.

Thanks in advance!

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.

Share SMB Server Through SFTP https://askubuntu.com/questions/1194609/share-smb-server-through-sftp

I have files stored on a NAS that I would like to access from the internet, but I know that forwarding a port running normal smb or ftp is a bad idea. I’m hoping to be able to use my Linux machine to mount the smb share, and then share that via sftp which I can port forward. Is this possible? I would just move the hard drive from the NAS to the Linux computer but there aren’t enough available SATA Ports.

Thank you for your time, Eric

fan constantly running on hp elitebook 8460p ubuntu 18.04.3 LTS https://askubuntu.com/questions/1166988/fan-constantly-running-on-hp-elitebook-8460p-ubuntu-18-04-3-lts

everything works fine with new ubuntu 18.04. but the fan running always, even with minimum usage and overheating,noise in one hour.

please any solutions?

Can't open RFKILL control device: No such file or directory https://askubuntu.com/questions/1051238/cant-open-rfkill-control-device-no-such-file-or-directory

I have accendentily deleted /dev/rfkill file. Now when I run rfkill list. It gives me this error. How to restore the rfkill. ?

Change java version from 1.8.0_161 to 1.8.0_151 Ubuntu 16.04 https://askubuntu.com/questions/1004516/change-java-version-from-1-8-0-161-to-1-8-0-151-ubuntu-16-04

I am using ubuntu 16.04 LTS.

...$ java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

...$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle

I have tried to use multiple versions of java using the answer mentioned is this post.

...$ which java
/usr/bin/java

Downloaded jdk 1.8.0_151 from this link:

http://www.oracle.com/technetwork/java/archive-139210.html

Extracted it in home/b/ then tried the following command as mentioned in the post.

...$ export  PATH=/home/b/jdk1.8.0_151/bin:$PATH 

... $ which java
/usr/bin/java

I am still getting the same java.

I have also tried:

...$ sudo update-alternatives --config java

here is 1 choice for the alternative java (providing /usr/bin/java).

Selection    Path                                     Priority   Status

------------------------------------------------------------
  0            /usr/lib/jvm/java-8-oracle/jre/bin/java   1081      auto mode
* 1            /usr/lib/jvm/java-8-oracle/jre/bin/java   1081      manual mode

This is my $PATH:

...$ echo $PATH

/home/b/jdk1.8.0_151/bin:/home/junaid/anaconda2/bin:/usr/local/sbin:/usr/local/bin:
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin

Should I remove Java and download again? If yes, then how?

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
Windows Update on Dual Boot System https://askubuntu.com/questions/816796/windows-update-on-dual-boot-system

Will installing a minor Windows update affect my Ubuntu system if I'm dual-booting? Not from one version of windows to another but just a small update. They are in separate partitions on my SSD so I'd suspect not but I'm not totally sure.

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.

Ubuntu can't see any of my files https://askubuntu.com/questions/445748/ubuntu-cant-see-any-of-my-files

I just installed Ubuntu and I am enjoying its refreshing look, however when I click pictures or videos nothing loads at all. Even my Downloads folder shows as empty.

Where are all my files from my Windows account? It's just me on the computer and no other user. Why is this happening and how can I fix it?

Also where are all my files I created in Windows like my My Documents folder and subfolders in my My Documents folder?

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.