Malformed entry when installing .deb files https://askubuntu.com/questions/1562656/malformed-entry-when-installing-deb-files

I tried to install a safe deb file and this is what I got, what to do?

E: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-http_dl_winehq_org_wine-builds_ubuntu_focal-noble.list (Component) E: The list of sources could not be read.

Disable Ubuntu 24.04 updates (i.e. disable Software Updater) https://askubuntu.com/questions/1562655/disable-ubuntu-24-04-updates-i-e-disable-software-updater

On Software Updater's 'Software & Updates', under 'updates', I've selected 'never*' on the 'subscribe to', but security updates still keep popping up and often lock up the computer while I'm in the middle of something processor intensive, requiring holding down the power button.

I made a script to kill packagekitd (sudo systemctl stop packagekit.service), but it will reload itself and I still have to keep launching the script until it finally just quits and I can move on. It seems things like apt-check, etc. keep triggering it.

I would rather just manually do updates say once every week or two, maybe just once a month - all updates - the serious ones, security ones, and all.

Is there any way to just make it do all updates manually, other than uninstall the Software Updater app and just open terminal to use command like apt-get update, apt-get upgrade, etc.?

Internal laptop display turns off randomly on Ubuntu 24.04 / 25.10 with AMD Renoir GPU (amdgpu EDID errors) https://askubuntu.com/questions/1562654/internal-laptop-display-turns-off-randomly-on-ubuntu-24-04-25-10-with-amd-reno

I am facing a persistent issue with the internal display of my laptop on recent Ubuntu versions.

Hardware:

  • Laptop: VAIO VJFE69F11X-B0711H (manufactured by Positivo / VAIO Brazil)
  • CPU: AMD Ryzen (Renoir / Barceló platform)
  • GPU: AMD integrated GPU (Renoir) using amdgpu driver
  • Internal display: eDP (1920x1080)
  • External display via HDMI works correctly

Software tested:

  • Ubuntu 24.04 LTS (kernel 6.6.x and mainline kernels up to 6.14)
  • Ubuntu 25.10 (kernel 6.17)
  • Wayland session (default)
  • amdgpu open-source driver

Problem description:

  • The internal laptop screen turns on during boot or login
  • After a short time, the internal display turns off by itself
  • External HDMI monitor keeps working normally
  • Brightness appears set to zero at some point
  • Rebooting may temporarily bring the internal display back

Relevant logs (journalctl):

[drm] retrieve_link_cap: Read receiver caps dpcd data failed
[drm] ERROR No EDID read.
[drm] Adding stream to context failed with err 28
[drm] Failed to setup vendor infoframe on connector HDMI-A-1

xrandr output shows:

  • Internal display detected as HDMI-1
  • Brightness reported as 0.0

Things already tested:

  • Different kernels (LTS and mainline)
  • Fresh installations
  • No nomodeset
  • No proprietary drivers
  • Problem persists across versions

Interestingly:

  • Ubuntu 22.04 LTS seems more stable on this hardware
  • Newer kernels appear to trigger the issue more frequently

My suspicion: This may be a regression in amdgpu related to eDP / EDID handling or backlight control on Renoir laptops.

Any guidance, known bugs, or kernel parameters to test would be appreciated.

Virtual Box Error "Kernel driver not installed" suddenly, all VMs not working https://askubuntu.com/questions/1562651/virtual-box-error-kernel-driver-not-installed-suddenly-all-vms-not-working

I am running Ubuntu 22.04.3 LTS with Secure Boot and EFI and have VirtualBox installed. I have several Ubuntu and Windows VMs running.

Suddenly, all of them are not working anymore and show the same error message:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. >Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel >modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please >see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Between the last time I did not make a Ubuntu Version Upgrade but surely several normal "updates".

When I run the suggested command as root:

sudo modprobe vboxxdrv
modprobe: FATAL: Module vboxxdrv not found in directory /lib/modules/6.8.0-90-generic

What can I do? All threads I found have commands not working for me.

Also doing ..

sudo /sbin/vboxconfig
sudo: /sbin/vboxconfig: Befehl nicht gefunden

.. does not work.

Trying to connect laptop Dell XPS 13 9305 to Dell D3100 docking station using Ubuntu 25.10 https://askubuntu.com/questions/1562650/trying-to-connect-laptop-dell-xps-13-9305-to-dell-d3100-docking-station-using-ub

Downloaded Dell driver from https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=939cy

Extracted the files and ran the command sudo ./displaylink-driver-5.6.0-59.176.run

The message displayed is:

thread 'main' panicked at src/exec/use_pty/monitor.rs:283:45:
internal error: entered unreachable code
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
sudo-rs: cannot execute '/home/Downloads/NR-152011-LS-2_DisplayLink_Ubuntu_5.6.0_Software/displaylink-driver-5.6.0-59.176.run':
Permission denied (os error 13)
Stacked screen when using Remote Desktop Connection to Ubuntu 24.04 https://askubuntu.com/questions/1562648/stacked-screen-when-using-remote-desktop-connection-to-ubuntu-24-04

I just got myself a freshly installed 24.04 Ubuntu, and I turned on Desktop Sharing in settings. Then I go to my Windows PC, open up Remote Desktop Connection, key in the IP like I normally did and connect to the Ubuntu Server.

Then I saw the screen (attached below) where the screen got split in half and stacked on top of each other. I tried XRDP, and switched off Wayland, but it still doesn't solve the problem.

Spitted and Stacked view on Windows' remote desktop connection

MacBook Air running Ubuntu 24.04 refuses to suspend https://askubuntu.com/questions/1562644/macbook-air-running-ubuntu-24-04-refuses-to-suspend

I've put Ubuntu 24.04 LTS (well, technically Kubuntu) onto a 2014 MacBook Air. I've got to the point where everything works nicely apart from suspend functionality: if I press the sleep button in the power menu, the laptop just goes directly to the lock screen but does not actually sleep. If I close the lid slowly and keep an eye on the screen, I can see the point at which the sleep should trigger, but again the same thing happens and it just sits on the lock screen.

If I'm playing media at the same time, the media does pause, so obviously the suspend process is starting in some way. However, I'm not sure where to look to start diagnosing why it doesn't work.

How to set a static Ethernet connection name that doesn't change when adding and removing PCIe devices? https://askubuntu.com/questions/1562639/how-to-set-a-static-ethernet-connection-name-that-doesnt-change-when-adding-and

Basically every time I change a video card or swap out a device my Ethernet connection name increments. It used to be enp0n0, then became enp09n0, and now last time it became enp13n0. Every time I need to plug a monitor and keyboard into my server and update my netplan. Is it possible to set a custom name that never changes?

Output of ip a (truncated):

2: enp13s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bridge0 state UP group default qlen 1000
    link/ether 00:9d:d8:aa:66:19 brd ff:ff:ff:ff:ff:ff
3: bridge0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 8a:11:b8:e9:3f:68 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global bridge0
       valid_lft forever preferred_lft forever
    inet 192.168.0.10/24 brd 192.168.0.255 scope global secondary bridge0
       valid_lft forever preferred_lft forever
    inet6 (redacted)/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 299sec preferred_lft 299sec
    inet6 (redacted)/64 scope link 
       valid_lft forever preferred_lft forever

My current netplan:

  GNU nano 7.2                                     /etc/netplan/01-netplan-bridge.yaml                                               
# This file is generated from information provided by the datasource.  Changes
# to it will not persist across an instance reboot.  To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
  version: 2
  renderer: networkd

  ethernets:
    enp13s0:
      dhcp4: no

  bridges:
    bridge0:
      dhcp4: no
#      dhcp6: no
      addresses:
        - 192.168.0.2/24
        - 192.168.0.10/24
#        - (redacted)::abcd/64
      routes:
        - to: default
          via: 192.168.0.1
#        - to: "::/0"
#          via: "(redacted)"
      mtu: 1500
      nameservers:
        addresses:
          - 1.1.1.1
          - 9.9.9.9
#          - 2620:fe::9
#          - (redacted)::15
      interfaces:
        - enp13s0
Brightness keys not working on ThinkPad X9 15 Gen 1 (Ubuntu 24.04, kernel 6.14) — slider works, no key events https://askubuntu.com/questions/1562629/brightness-keys-not-working-on-thinkpad-x9-15-gen-1-ubuntu-24-04-kernel-6-14

I’m running Ubuntu 24.04.3 LTS on a Lenovo ThinkPad X9 15 Gen 1.

Kernel: 6.14.0-37-generic (HWE kernel)

Symptoms:

  • Screen brightness slider works
  • Brightness keys do nothing
  • No on-screen indicator
  • No key events detected

What I’ve confirmed:

wev → no events at all when pressing brightness keys

evtest → no events

/sys/class/backlight/ present and functional

brightnessctl works from terminal

What I’ve already tried:

  • Verified Fn / FnLock / Hotkey mode in BIOS
  • Tested with and without Fn key
  • Installed HWE kernel
  • GNOME shortcut configuration (no display/brightness section in 24.04)
  • One-time GRUB tests: acpi_osi=Linux acpi_backlight=native acpi_backlight=vendor → no change

Conclusion so far: This appears to be a firmware / ACPI hotkey exposure issue specific to this model, where brightness keys are not emitted to Linux at all.

Question: Is there a known workaround, kernel patch, DKMS module, or Lenovo BIOS update that enables brightness hotkeys on the ThinkPad X9 15 Gen 1 under Ubuntu/Linux, or is this currently an unsupported firmware limitation?

Broken packages after 22.04 -> 24.04 upgrade? https://askubuntu.com/questions/1562533/broken-packages-after-22-04-24-04-upgrade

I am trying to install libgtk-3-dev on my ubuntu 24.04 install. I recently upgraded from jammy. However, I got the following issue:

How can I fix it?

$ sudo apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.7.0-1build1) but 1.7.0-2101~22.04 is to be installed
 libgl-dev : Depends: libgl1 (= 1.7.0-1build1) but 1.7.0-2101~22.04 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libglvnd-dev : Depends: libglvnd0 (= 1.7.0-1build1) but 1.7.0-2101~22.04 is to be installed
                Depends: libgles-dev (>= 1.3.0-1) but it is not going to be installed
                Depends: libglx-dev (>= 1.3.0-1) but it is not going to be installed
                Depends: libopengl-dev (>= 1.3.0-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


$ apt-cache policy libegl1 libgl1 libglvnd0 libglx0 | sed -n '1,160p'
libegl1:
  Installed: 1.7.0-2101~22.04
  Candidate: 1.7.0-2101~22.04
  Version table:
 *** 1.7.0-2101~22.04 100
        100 /var/lib/dpkg/status
     1.7.0-1build1 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages
libgl1:
  Installed: 1.7.0-2101~22.04
  Candidate: 1.7.0-2101~22.04
  Version table:
 *** 1.7.0-2101~22.04 100
        100 /var/lib/dpkg/status
     1.7.0-1build1 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages
libglvnd0:
  Installed: 1.7.0-2101~22.04
  Candidate: 1.7.0-2101~22.04
  Version table:
 *** 1.7.0-2101~22.04 100
        100 /var/lib/dpkg/status
     1.7.0-1build1 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages
libglx0:
  Installed: 1.7.0-2101~22.04
  Candidate: 1.7.0-2101~22.04
  Version table:
 *** 1.7.0-2101~22.04 100
        100 /var/lib/dpkg/status
     1.7.0-1build1 500
        500 http://at.archive.ubuntu.com/ubuntu noble/main amd64 Packages

EDIT: The comment suggests to follow this answer.

The answer suggests to use aptitude, which I tried, but the solution aptitude gives me is to do nothing:

The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libgtk-3-dev [Not Installed]   

My sources:

/etc/apt/sources.list.d
├── 1password.list.distUpgrade
├── disabled
│   ├── fish-shell-ubuntu-release-3-jammy.sources
│   ├── fish-shell-ubuntu-release-4-jammy.sources
│   ├── flatpak-ubuntu-stable-jammy.sources
│   ├── mozillateam-ubuntu-ppa-jammy.sources
│   ├── remmina-ppa-team-ubuntu-remmina-next-jammy.sources
│   └── rockowitz-ubuntu-ddcutil-jammy.sources
├── docker.list.distUpgrade
├── fish-shell-ubuntu-release-3-jammy.list.distUpgrade
├── fish-shell-ubuntu-release-4-jammy.list.distUpgrade
├── flatpak-ubuntu-stable-jammy.list.distUpgrade
├── hashicorp.list.distUpgrade
├── intel-gpu-jammy.list.distUpgrade
├── mattermost_stable.list.distUpgrade
├── mattermost_stable.sources
├── mozillateam-ubuntu-ppa-jammy.list.distUpgrade
├── remmina-ppa-team-ubuntu-remmina-next-jammy.list.distUpgrade
├── rockowitz-ubuntu-ddcutil-jammy.list.distUpgrade
├── third-party.sources
├── ubuntu.sources
└── vscode.sources
VScode throws OS keyring error on Ubuntu 25.10 https://askubuntu.com/questions/1557152/vscode-throws-os-keyring-error-on-ubuntu-25-10

This error shows up on Ubuntu 25.10 (fresh install) enter image description here

You're running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or another libsecret compatible implementation installed and running.

Open troubleshooting guide points to https://code.visualstudio.com/docs/configure/settings-sync#_troubleshooting-keychain-issues but my keyring is working fine, I can start it up

How can I fix this?

No longer printing images on EPSON 3880 https://askubuntu.com/questions/1547153/no-longer-printing-images-on-epson-3880

I am running an Epson 3880 printer as well as my standard HP. It was working fine, printing images but suddenly stopped printing the images themselves. The images are .jpgs. If a print job is sent then it reacts (it feeds the paper through), but no image appears. If I send the identical image to my HP it prints just fine.

There is a notification of the job going and the job having printed but there's just a blank page (on any weight of paper)

I am running 24.04.2LTS and using normal print settings.

The Epson is using CUPS + Gutenprint 5.3.4 and it worked fine in that configuration until about four days ago.

There is no support available from Epson, nor does Epson provide its own Linux drivers (there never were any).

Perhaps an auto-update has gone through and added or deleted a library. In which case I have no idea what to install/uninstall.

Can anyone offer any suggestions?

Fresh install of Ubuntu won't boot, gets stuck on loading screen with logo https://askubuntu.com/questions/1537666/fresh-install-of-ubuntu-wont-boot-gets-stuck-on-loading-screen-with-logo

I'm new to Linux. I installed Ubuntu and it won't boot. This is the terminal. After this point it freezes, and I can only hard shutdown.

/dev/sda2: recovering journal
/dev/sda2: clean, 173466/30531584 files, 5140287/122095872 blocks
[  OK  ] Finished plymouth-read-write.servi...Plymouth To Write Out Runtime Data.
[  OK  ] Finished systemd-journal-flush.ser...lush Journal to Persistent Storage.
         Starting systemd-tmpfiles-setup.se...e Volatile Files and Directories...
[  OK  ] Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[  OK  ] Finished apparmor.service - Load AppArmor profiles.
         Starting plymouth-start.service - Show Plymouth Boot Screen...
         Starting snapd.apparmor.service - ...iles managed internally by snapd...
[  OK  ] Finished systemd-tmpfiles-setup.se...ate Volatile Files and Directories.
[  OK  ] Started plymouth-start.service - Show Plymouth Boot Screen.
[  OK  ] Started systemd-ask-password-plymo...quests to Plymouth Directory Watch.
[  OK  ] Reached target cryptsetup.target - Local Encrypted Volumes.
         Starting systemd-oomd.service - Us...space Out-Of-Memory (OOM) Killer...
         Starting systemd-resolved.service - Network Name Resolution...
         Starting systemd-timesyncd.service - Network Time Synchronization...
         Starting systemd-update-utmp.servi...ord System Boot/Shutdown in UTMP...
uclogic 0003:256C:006D.0007: No inputs registered, leaving
[  OK  ] Finished systemd-update-utmp.servi...ecord System Boot/Shutdown in UTMP.
[  OK  ] Listening on systemd-rfkill.socket...ll Switch Status /dev/rfkill Watch.
         Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@efi_pstore.servi... - Load Kernel Module efi_pstore...
         Starting modprobe@loop.service - Load Kernel Module loop...
[  OK  ] Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
         Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[  OK  ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
         Mounting proc-sys-fs-binfmt_misc.m...cutable File Formats File System... 

I can enter grub. If I boot from there I get a black screen. I can boot up in recovery mode, where I get to the desktop. Everything seems to work, except it doesn't recognize my second monitor.

I have both an AMD CPU and a GPU. Ubuntu is installed on a motherboard mounted SSD.

Ubuntu 22.04 is stuck at a black screen https://askubuntu.com/questions/1534494/ubuntu-22-04-is-stuck-at-a-black-screen

I restarted the PC, and then Ubuntu froze at this boot screen. It's still stuck here after 5 minutes:

[  OK  ] Started udisks2.service - Disk Manager.  
         Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher...
[  OK  ] Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher.
[  OK  ] Started ModemManager.service - Modem Manager.
         Starting alsa-restore.service - Save/Restore Sound Card State...
[  OK  ] Finished alsa-restore.service - Save/Restore Sound Card State.
[  OK  ] Reached target sound.target - Sound Card.
[  OK  ] Started snapd.service - Snap Daemon.
         Starting systemd-timedated.service - Time & Date Service...
[  OK  ] Started systemd-timedated.service - Time & Date Service.
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting NetworkManager-wait-online.service - Network Manager Wait Online...
         Starting cups.service - CUPS Scheduler...
         Starting openvpn.service - OpenVPN service...
         Starting systemd-user-sessions.service - Permit User Sessions...
[  OK  ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.
[  OK  ] Finished openvpn.service - OpenVPN service.
[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
         Starting gdm.service - GNOME Display Manager...
         Starting plymouth-quit-wait.service - Wait until boot process finishes up...
[  OK  ] Finished snapd.seeded.service - Wait until snapd is fully seeded.
[  OK  ] Started cups.service - CUPS Scheduler.
[  OK  ] Started gdm.service - GNOME Display Manager.
I'm trying to install Spicetify and I'm stuck at config.ini step https://askubuntu.com/questions/1440039/im-trying-to-install-spicetify-and-im-stuck-at-config-ini-step

I'm following the instruction, but I'm stuck at config.ini step.

https://spicetify.app/docs/advanced-usage/installation/

I was able to find the folder

/var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/

How can I access this config.ini for me to change the spotify_path? config.ini

I'm using Ubuntu 22.04 LTS Desktop, Spotify installed via Flatpak

Problem with PyGame - libGL error: failed to load driver: swrast https://askubuntu.com/questions/1392138/problem-with-pygame-libgl-error-failed-to-load-driver-swrast

I am approaching pygame now, I am running a small program that opens a pygame window and shows an intro, which is a simple screen with a background and two buttons (they light up only when the mouse is hovered over).

When I run the code I am shown the following terminal error:

Hello from the pygame community. https://www.pygame.org/contribute.html
[ WARN:0] global /tmp/pip-req-build-driubr42/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video1): can't open camera by index
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  149 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  105
  Current serial number in output stream:  106

From how I read it looks like a video driver problem, I have the Mesa Intel® HD Graphics 4600 (HSW GT2) , and my Ubuntu version is 21.10 . My laptop is DELL LATITUDE E6440 with Intel® Core™ i5-4300M CPU @ 2.60GHz × 4 .

Someone can help me??

Ubuntu 20.04 is stuck at boot screen https://askubuntu.com/questions/1255790/ubuntu-20-04-is-stuck-at-boot-screen

I restarted Ubuntu 20.04 as usual, but this time at got stuck at the boot screen. I've been waiting for 20 minutes, but nothing is happening.

Is there a way I can fix this?

Starting LSB: automatic crash report generation...
Starting Avahi mDNS/DNS-SD Stack...
Starting Bluetooth management mechanism...
Starting Bluetooth service...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
Starting Remove Stale Online ext4 Metadata Check Snapshots...
[  OK  ] Reached target Login Prompts.
Starting Detect the available GPUs and deal with any system changes...
Starting LSB: Record successful boot for GRUB...
Starting GRUB failed boot detection...
[  OK  ] Started irqbalance daemon.
Starting Initialize hardware monitoring sensors...
Starting Dispatcher daemon for systemd-networkd...
Starting Set the CPU Frequency Scaling governor...
Starting Authorization Manager...
Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
Starting LSB: Adaptive readahead daemon...
Starting System Logging Service...
Starting Snap Daemon...
Starting LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)...
Starting Switcheroo Control Proxy service...
Starting Login Service...
Starting Thermal Daemon Service...
Starting Disk Manager...
Starting WPA supplicant...
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Finished Initialize hardware monitoring sensors.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
Starting resolvconf-pull-resolved.service...
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Started LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons).
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Started LSB: Adaptive readahead daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Finished resolvconf-pull-resolved.service.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Finished GRUB failed boot detection.
Screen flickering after update to Ubuntu 20.04 https://askubuntu.com/questions/1245017/screen-flickering-after-update-to-ubuntu-20-04

After I have updated Ubuntu to 20.04, it started to behave strange. All of a sudden would get stuck, lose bottom navbar, show the purple screeen and at the end go back to normal.Any ideas?

Refer video for the issue.

How to prevent a cronjob from executing if another instance is already running? https://askubuntu.com/questions/1194892/how-to-prevent-a-cronjob-from-executing-if-another-instance-is-already-running

I want to record a stream whenever it is live automatically, so I thought of setting a cronjob that runs youtube-dl every 15 minutes to that url.

But once it is recording, how do I prevent the system from starting another recording 15 minutes later simultaneously?

Auto-Lock Lubuntu in 10 minutes https://askubuntu.com/questions/1143316/auto-lock-lubuntu-in-10-minutes

I wish to auto lock the desktop after 10 minutes and have a password protected login screen open up. Power Manager has a light-lock feature but it locks after screensaver and there is no screensaver preference in Lubuntu.

Can't play DVDs with Ubuntu 18.04 https://askubuntu.com/questions/1094400/cant-play-dvds-with-ubuntu-18-04

After upgrading to 18.04 my external DVD player no longer plays dvd. I checked that the usual suspects of packages were installed:

libdvdnav4 is already the newest version (6.0.0-1).
libdvdread4 is already the newest version (6.0.0-1).
libdvd-pkg is already the newest version (1.4.2-1-1).
ubuntu-restricted-extras is already the newest version (66).
libdvdcss2 is already the newest version (1.4.2-1~local).

I have run

sudo dpkg-reconfigure libdvd-pkg

but when after I put the disc in and try to load it in VLC nothing happens. The title of the DVD appears for a few seconds at the top of the screen, but that's it. Am I missing something obvious?

Thanks

mysql login to root account with unix socket https://askubuntu.com/questions/1067799/mysql-login-to-root-account-with-unix-socket

I'm wanting some assistance in understanding mysql root account that connects by unix socket. I do not understand the unix_socket very well. Logging in without a password concerns me as I may be misunderstanding how the login is happening.

I'm running Ubuntu server 18.04.1 LTS and installed mysql-server Ver 14.14 Distrib 5.7.23. I ran mysql_secure_installation.

I cannot login to mysql with the password at all.

mysql -u root -p

I can login to mysql if executed as sudo without password.

sudo mysql -u root

I understand this is because it's using the unix_socket instead of mysql_native_password.

Can a non-sudo user login to the mysql server with my current setup?

How do I get Cassandra to start when there is an error about "Connection refused"? https://askubuntu.com/questions/989690/how-do-i-get-cassandra-to-start-when-there-is-an-error-about-connection-refused

I installed Cassandra on Ubuntu 16.04. (I have gotten Cassandra to work on RedHat. But now I want it to work on Ubuntu.) The installation seemed to go smoothly. I run this command to prove that Cassandra is active:

sudo service cassandra status

This command returns this output:

cassandra.service - LSB: distributed storage system for structured data 
Loaded: loaded (/etc/init.d/cassandra; bad; vendor preset: enabled)   
Active: active (exited) since Tue 2017-12-26 19:22:43 UTC; 8min ago
Docs: man:systemd-sysv-generator(8)   Process: 1252 ExecStart=/etc/init.d/cassandra start (code=exited, status=0/SUCCESS)     
Tasks: 0    Memory: 0B         CPU: 0

The above "bad" concerns me. But it does return "Active." It seems like there is no major problem.

When I run "cqlsh" or "cqlsh 127.0.0.1" I get

Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

I used nmap to test port 9042. The port is not blocked. There is not firewall installed either.

I rebooted the server. I tried modifying cassandra-env.sh. I uncommented a stanza and set it to be 127.0.0.1:

JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1"

Nothing I do works. I expect to enter a different command prompt when I type in "cqlsh" or "cqlsh 127.0.0.1". But this does not happen. What do I do to have "cqlsh" work on an Ubuntu server?

E: Unable to locate package jasper-lib ( also happened to libpng, and jasper-dev ) https://askubuntu.com/questions/975085/e-unable-to-locate-package-jasper-lib-also-happened-to-libpng-and-jasper-dev

Hello so I'm using Ubuntu 17.10 and I needed to install the following to work as a libraries for the WRF software.

  • tcsh
  • jasper-dev
  • jasper-lib
  • libpng
  • libpng-dev
  • m4

the bolded ones got installed when i used sudo apt-get install but when I tried to use the same technique for jasper-dev, jasper-lib, and libpng these are the results.

E: Unable to locate package jasper-dev 
E: Unable to locate package jasper-lib 
E: Unable to locate package libpng

Is there anyways to fix this? Because I needed those libraries for the software to work. Thanks!

Edit I have also tried installing libjasper-dev from here. I was just wondering if libjasper-dev is the same as jasper-dev and jasper-lib.

no eth0 Network error fetching interface information: Device not found https://askubuntu.com/questions/923744/no-eth0-network-error-fetching-interface-information-device-not-found

How I can find my eth0 on my Ubuntu VPS?

$ ifconfig -a
  lo        
  Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  venet0
  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  
  Mask:255.255.255.255
  inet6 addr: 2a05:8b81:1000:180::e6a2/64 Scope:Global
  UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
  RX packets:85107 errors:0 dropped:0 overruns:0 frame:0
  TX packets:9331 errors:0 dropped:8 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:125961662 (125.9 MB)  TX bytes:943045 (943.0 KB)

  venet0:0  
  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  inet addr:185.82.22.101  P-t-P:185.82.22.101  Bcast:185.82.22.101  
  Mask:255.255.255.255
  UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
How to take snapshots from a USB camera using the terminal? https://askubuntu.com/questions/920381/how-to-take-snapshots-from-a-usb-camera-using-the-terminal

I am sure my device is reached since I tried lsusb:

Bus 003 Device 020: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera #9 (web-cam mode)

I tried uvccapture. It uses the default camera (the laptop's camera), not the USB connected one and it saves it to a specified folder. This is OK, but I need the USB camera to take a snapshot.

I then tried Cheese. It makes the USB camera work, but I have to manually click on the button to save the picture however I need this to be done automatically in the terminal like by using uvccapture.

I need to type in the terminal and automatically the USB camera takes a snapshot and save it to a specified folder.

XAMPP: Starting MySQL...already running? https://askubuntu.com/questions/821542/xampp-starting-mysql-already-running

When I start XAMPP it shows this

Starting XAMPP for Linux 7.0.8-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...ok.

when i open localhost/phpmyadmin it shows this error:

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

ps : it just was working fine , i just restarted my laptop then this

I tried to to stop any other mysql server but ...

/etc/init.d/mysql stop
bash: /etc/init.d/mysql: No such file or directory

service mysql stop
Failed to stop mysql.service: Unit mysql.service not loaded.

killall -KILL mysql mysqld_safe mysqld
mysql: no process found
mysqld_safe: no process found
mysqld: no process found
Ubuntu 14.04 stays at the loading page after an update https://askubuntu.com/questions/463848/ubuntu-14-04-stays-at-the-loading-page-after-an-update

I use Ubuntu 14.04 with Gnome 3.

I updated Ubuntu yesterday. Now I am trying to boot and it's stuck at the Gnome loading screen. I pressed Esc and I have this trace:

* Stopping System V initialisation compatibility
* Starting System V runlevel compatibility
* Starting Restore Sound Card State
* Starting GNOME Display Manager
* Starting save kernel messages
* Starting anac(h)ronistic cron
* Starting regular background program processing daemon
* Stopping Send an event to indicate plymouth is up
* Stopping Restore Sound Card State
* Starting GNOME Display Manager
* Starting CPU interrupts balancing daemon
* Stopping save kernel messages
* Starting crash report submission daemon
* Stopping Restore Sound Card State
* Starting cups-browsed - Bonjour remote printer browsing daemon
* Starting automatic crash report generation
* Starting ACPI daemon
* Starting PostgreSQL 9.3 database server
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
* speech-dispatcher disabled; edit /etc/default/speech-dispatcher
saned disabled; edit /etc/default/saned
* Restoring resolver state...
* Stopping System V runlevel compatibility
* Starting CUPS printing spooler/server

GNOME Display Manager fail and the process is very slow for Stopping System V runlevel compatibility and Stating CUPS printing spool/server.

I tried do CTRL+ALT+F1 to go in the terminal and I tried to remove CUPS. The problem is the same. I also tried to do an update and to check packages via the grub menu without success.

It's hard to work on the problem because I don't know what is the cause of the bug.

How to install TP-Link MA180 on Ubuntu https://askubuntu.com/questions/268264/how-to-install-tp-link-ma180-on-ubuntu

I just bought the TP-Link MA180 3G Modem, and I tried to install it in Ubuntu 12.10. The problem is that the Network Manager does not detect it. I saw on the web that usb-modeswith is supposed to handle it, but I don't know how to configure it.

Setting up a PPPoE internet connection in Ubuntu 12.04 https://askubuntu.com/questions/149200/setting-up-a-pppoe-internet-connection-in-ubuntu-12-04

I've been trying to set up my internet connection and router with Ubuntu 12.04 and I've been having some issues. I am currently trying to connect directly through my modem using the PPPoE username and password provided by my ISP. I ran sudo pppoeconf and input my information but was still unable to connect.

Furthermore, my computer is now unable to connect to my wired network and upon startup spends about 5 minutes configuring network options before allowing 60 seconds to complete its task and eventually booting without all networks properly configured.

I am new to Ubuntu and Linux and any beginner friendly help that you could provide would be greatly appreciated.

EDIT: I am still unable to connect to the internet and I've grown to accept that Ubuntu won't successfully interface with my Japanese modem, but I was wondering if there was any way to avoid the 'configuring networks' delay on boot that I have been experiencing.