Ubuntu update on Hardware RAID no longer boots https://askubuntu.com/questions/1557411/ubuntu-update-on-hardware-raid-no-longer-boots

Trying to setup a fresh ubuntu system:

Have 2 240gb drives in HARDWARE RAID 1 Have setup a ventoy drive with Ubuntu images on.

• Started with trying to installing UBUNTU 24.04 desktop - Failed (does not recognize the RAID, sees 2 drives)

• Then tried Installing UBUNTU 24.04 Server - installs on RAID and boots fine

• Tried installing the desktop package onto the UBUNTU SERVER install - Fails to start up, blinking command line all that shows.

• Installed UBUNTU DESKTOP 20.04 - Recognizes raid and installs with no issues and boots.

• Do upgrade from this point - it runs through the update process and then reboots but then doesn't start up. just shows "gave up waiting for root file system device."

So... should I install 20.04 and just stay there??

Backup solution for installed software https://askubuntu.com/questions/1557410/backup-solution-for-installed-software

I am looking for a way to backup so I can get a fresh installation of the OS quickly up to date. I'm not talking about the dot files in the home dir. My problem is that it takes quite a bit of time to install all the tools I need to be operative. Some with apt, some manually via curl, some brew, some flat. What's the best way to deal with that? I also don't know all them tools by heard, I usually run LazyHealth in nvim and install everything missing in a second terminal. How do you guys deal with that?

Why does the SNAP installation of JMol fail to load Calcium Lactate, but the direct Java command line works fine https://askubuntu.com/questions/1557407/why-does-the-snap-installation-of-jmol-fail-to-load-calcium-lactate-but-the-dir

I installed Ubuntu 25.04 and then installed Java :

$ java -version
openjdk version "21.0.8" 2025-07-15
OpenJDK Runtime Environment (build 21.0.8+9-Ubuntu-0ubuntu125.04.1)
OpenJDK 64-Bit Server VM (build 21.0.8+9-Ubuntu-0ubuntu125.04.1, mixed mode, sharing)

Then I ran the java program with the -jar option for the Jmol.jar application from the command line as such:

~/Documents/20251015KosherCooking/20251015Jmol/Jmol-16.3.33-binary/jmol-16.3.33$ java -jar Jmol.jar

It is the version from the Help menu of: Jmol 16.3.33 2025-08-08 04:46

I open the Jmol.jar file and then open the mol file for calcium lactate and it opens fine with the top heading bar showing:

C6H10CaO6

When I try the snap install of Jmol:

sudo snap install jmol

It installs:

sudo snap install jmol
[sudo] password for stephen: 
jmol 14.6.4+2016.11.05+dfsg1-4build1 from Genadi Naydenov (gantonayde) installed

Indeed in the help menu (About) it shows the version:

Jmol 14.6.4_2016.11.05 (2016-11-10 03:30)

When I open up the mol file for Calcium Lactate, it does not load properly.

Why does the snap install for Ubuntu include such an old version that it is not able to represent standard molecules easily?

ASUS PCE-AX58BT Wireless ethernet card LAN not working in Ubuntu 20.04 LTS https://askubuntu.com/questions/1557406/asus-pce-ax58bt-wireless-ethernet-card-lan-not-working-in-ubuntu-20-04-lts

I have an ASUS PCE-AX58BT running on an Gigabyte B450M Gaming motherboard, Ubuntu 20.04 LTS. I have tried the in the similar thread here and Bluetooth works, but no LAN. Any help appreciated.

Response to commands are shown below:

Command: ~$ lspci -knn | grep Net -A3 07:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) Subsystem: Intel Corporation Wi-Fi 6 AX200NGW [8086:0084] Kernel modules: iwlwifi 08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 16)

Command:~$ lspci -knn | grep Net; rfkill list 07:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a) 0: hci0: Bluetooth Soft blocked: no Hard blocked: no

Command:~$ sudo lshw -C network *-network UNCLAIMED
description: Network controller product: Wi-Fi 6 AX200 vendor: Intel Corporation physical id: 0 bus info: pci@0000:07:00.0 version: 1a width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix cap_list configuration: latency=0 resources: memory:fcd00000-fcd03fff *-network description: Ethernet interface product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:08:00.0 logical name: enp8s0 version: 16 serial: 18:c0:4d:99:fe:73 capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.17.2-061702-generic firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair resources: irq:36 ioport:f000(size=256) memory:fcc04000-fcc04fff memory:fcc00000-fcc03fff *-network description: Ethernet interface physical id: 1 bus info: usb@7:1.3 logical name: enx020a09010f57 serial: 02:0a:09:01:0f:57 capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=6.17.2-061702-generic firmware=RNDIS device ip=192.168.42.96 link=yes multicast=yes port=twisted pair

merging partitions https://askubuntu.com/questions/1557405/merging-partitions

I have recently been stuck in the GNU Grub screen and couldn't get into Linux. After trying every possible solution I could find on the online forums and still stuck, I decided to boot and reinstall Linux from the USB. Upon checking when I finally got back into the system, I found that the previous partition is still on the hard drive with 145GB. How can I merge it with the newly installed partition? The latest on has got minimal data, so what will happen to the previous one's files in merging?

Ubuntu 22.04 Suspend Issue on Thinkpad P50 Laptop using X11 WM https://askubuntu.com/questions/1557402/ubuntu-22-04-suspend-issue-on-thinkpad-p50-laptop-using-x11-wm

Recently I did a fresh install of Ubuntu 22.04.5 onto my laptop that has the following specs:

Thinkpad P50 with Intel Integrated HD Graphics P530 and a dedicated NVIDIA Quadro M2000M

I have performed sudo ubuntu-drivers autoinstall and in the Ubuntu's "additional drivers" app it says I am using "nvidia-driver-580".

Screenshot from Ubuntu's "additional drivers" application

Additional info from neofetch:

Kernel: 6.8.0-85-generic 
WM: Mutter
CPU: Intel Xeon E3-1505M v5 (8) @ 3.800GHz
GPU: NVIDIA Quadro M2000M

The issue I'm experiencing is that whenever I close the lid of the laptop, or suspend using an option from the Power Off menu, or using systemctl suspend command, the screen turns off, the power button begins to blink slowly, but I can still hear the fans running and when I try to use any button (including the power button) the system does not respond in any way, leaving only the option of holding the power button to hard restart the computer.

VLC opened a commercial DVD last week but refuses to open it this week https://askubuntu.com/questions/1557401/vlc-opened-a-commercial-dvd-last-week-but-refuses-to-open-it-this-week

I am running Ubuntu 24.04.2 LTS with kernel 6.8.0-85 and VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)

I have spent the last several hours reading multiple forums and vendor sites and I still cannot find out what is wrong here. I am trying to view a DVD which I purchased, so I am not trying to violate anyone's copyright. VLC opened and played this DVD last week, but refuses to open it now. The VLC message window presents the totally unhelpful:

Your input can't be opened:
Playback failure:
DVDRead could not open the disc "/dev/sr0".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

I cannot see anything in /var/log/syslog that is relevant to this issue, so why does VLC waste my time pointing to something that doesn't exist?

$ ls -l /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Oct 15 19:37 /dev/sr0

When I invoke VLC from the command line I see:

$ vlc
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[0000557e959f2550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000557e95a8a4b0] main playlist: playlist is empty
[0000775bcc001130] dvdnav demux error: Could not open /dev/sr0 with libdvdcss.
[0000775bcc001130] dvdnav demux error: Can't open /dev/sr0 for reading
[0000775bcc001130] dvdnav demux error: vm: failed to open/read the DVD
[0000775bcc001130] dvdread demux error: Could not open /dev/sr0 with libdvdcss.
[0000775bcc001130] dvdread demux error: Can't open /dev/sr0 for reading
[0000775bcc001130] dvdread demux error: DVDRead cannot open source: /dev/sr0

Again nothing that is displayed here is at all helpful.

This is a commercial DVD of a television series, so I need to be able to open it every few days in order to watch the next episode. VLC opened it without any difficulty last week, but this week it is doing nothing and refusing to explain why it is unable to do anything. I would play it on a DVD player but Amazon misled me, identifying the source of the DVD as being California, but when I received the DVD set it was shipped from England so it has the wrong region code. That is not my fault, that is the fault of the distributor. I do not want to violate their stupid region regulations.

I have reverified that I have all of the pre-requisite software installed.

exitHow to fix/setup direct ethernet connection between 2 computers? https://askubuntu.com/questions/1557392/exithow-to-fix-setup-direct-ethernet-connection-between-2-computers

Previous setup:

  • raspberry A (dev a) is directly connected with an ethernet cable to jetson nano (dev B)
  • dev B shall be replaced by dev C

the devices have static IPs:

  • A: 192.168.0.3/24
  • B: 192.168.0.1/24
  • C: 192.168.0.4/24

Ping from A to B and from B to A works. After replacing B with C and reboot, B can not ping A. If I connect B with C, then I can ping C.

There is no router, switch etc. involved. How can I debug this?

Network Visualization

Appended: raspberry ip a:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enxb827eb56b1a2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:56:b1:a2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.3/24 brd 192.168.0.255 scope global dynamic enxb827eb56b1a2
       valid_lft 43170sec preferred_lft 43170sec
    inet6 fe80::3ee9:fe7a:f1c0:ef15/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    x

raspberry ip route list:

default via 192.168.0.6 dev enxb827eb56b1a2  proto static  metric 100 
16x.2xx.0.0/16 dev enxb827eb56b1a2  scope link  metric 1000 
192.168.0.0/24 dev enxb827eb56b1a2  proto kernel  scope link  src 192.168.0.3  metric 100 

new jetson ip a:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
    link/can 
3: wlP1p1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    x
4: l4tbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 3e:c7:e7:79:f3:87 brd ff:ff:ff:ff:ff:ff
5: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
    link/ether 3e:40:2e:db:c6:45 brd ff:ff:ff:ff:ff:ff
6: usb1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
    link/ether 3e:40:2e:db:c6:47 brd ff:ff:ff:ff:ff:ff
7: enP8p1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 3c:6d:66:b3:b8:d2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.4/24 brd 192.168.0.255 scope global noprefixroute enP8p1s0
       valid_lft forever preferred_lft forever
8: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    x

new jetson ip route list:

default via 131.x dev wlP1p1s0 proto dhcp metric 600
131.x/27 dev wlP1p1s0 proto kernel scope link src 131.246.87.175 metric 600
16x/16 dev wlP1p1s0 scope link metric 1000
17x/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.0.0/24 dev enP8p1s0 proto kernel scope link src 192.168.0.4 metric 100

old jetson ip a:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 96:3e:1b:b6:c6:ad brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 48:b0:2d:2f:70:c7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.6/24 brd 192.168.0.255 scope host eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::4ab0:2dff:fe2f:70c7/64 scope link
       valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1348 qdisc mq state UP group default qlen 1000
    x
5: l4tbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 5e:0a:e7:39:91:ed brd ff:ff:ff:ff:ff:ff
6: rndis0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
    link/ether 5e:0a:e7:39:91:ed brd ff:ff:ff:ff:ff:ff
7: usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master l4tbr0 state DOWN group default qlen 1000
    link/ether 5e:0a:e7:39:91:ef brd ff:ff:ff:ff:ff:ff

old jetson ip route list:

default via 10.x dev wlan0 proto dhcp metric 600
10.x dev wlan0 proto kernel scope link src 10.x metric 600
169x/16 dev eth0 scope link metric 1000
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.6
How come `apt update` says "Certificate verification failed" if you set `sed -i'' 's|http:|https:|' /etc/apt/sources.list.d/ubuntu.sources`? https://askubuntu.com/questions/1557366/how-come-apt-update-says-certificate-verification-failed-if-you-set-sed-i

Steps to reproduce:

Error messages:

Certificate verification failed: the certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification.

Question:

Is this an error in the router, or the local computer? The results for https://superuser.com/questions/1926690/some-businesses-such-as-starbucks-or-best-western-still-do-not-use-wpa2-shoul/ suggest that misconfigured routers can cause this.

Found lots of search results, but those conclude with "The Signed-By directive is good enough, just disable HTTPS". But pgp does not exclude HTTPS, so wish to know how to troubleshoot this.

making an exact copy of a folder and ALL its contents [closed] https://askubuntu.com/questions/1557149/making-an-exact-copy-of-a-folder-and-all-its-contents

Sorry if this is a simple question but I mostly use the Desktop Environment. I need to make an exact copy of a folder and ALL of its contents for backup purposes. I have been trying various options for the cp command (e.g. cp -avp) but when I check the properties of the created folder against the original source folder it doesn't match. For example properties of source are "6848 items ,totaling 72.1MB" but the dest folder are "6840 items, totaling 70.4MB"

Can anyone tell me the correct options to use, or is there a different command that will work

Edit (for clarity):

Several comments about "what command did you use" - I did include in the text above cp -avp, I could not list "those files that were not copied" because there were 6848 files to search through.

how to fix malformed entry 1 in source file https://askubuntu.com/questions/1556445/how-to-fix-malformed-entry-1-in-source-file

I'm trying to install flatpak so I can install Bottles. Every time I attempt to download flatpak this error comes up, it comes up every time I try to do any installation. I'm really stumped and don't have enough experience with Linux to solve this. I'd appreciate all help. I don't know how to fix this error, every time I try to access the file it says access denied.

Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI parse)

I also have a notification next to where my wifi and battery and volume symbols are which says the following:

An error occured, please run package manager from the right click menu or apt-get in the terminal to see what is wrong. The error message was: 'Error opening the cache (E:Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI Parse), E:The list of sources could not be read.)'. This usually means that your installed packages have unmet dependencies.

I have tried in the terminal to apt get satisfy the file and used /etc/apt/sources.list.d/third-party.sources satisfy but I keep getting various errors, this being the closest I've gotten to identifying my problem I feel. I don't know how to give myself permission however, I am the admin of the laptop, and I am the only user on it? I'm very confused and would appreciate help

bash: /etc/apt/sources.list.d/third-party.sources: Permission denied

As the comment asked, sorry about the screenshot.

Types: deb
URIs: cdrom:[Ubuntu 22.04.5 LTS _Jammy Jellyfish_ - Release amd64 (20240911)]/
Suites: jammy
Components: main restricted

Several apps do not open and I do not know how to force apps to open. the software and updates app and the software updater app both do not work. These are the only apps that will not open, but they're also necessary I feel?

wayland screenshot tool with annotations https://askubuntu.com/questions/1527087/wayland-screenshot-tool-with-annotations

Which tool to use to take screenshots of areas selected by mouse on wayland, and annotate afterwards?

None of tools that I was using works with 24.04

Mysql error "'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)'" and I can't reset root password either https://askubuntu.com/questions/1452835/mysql-error-cant-connect-to-local-mysql-server-through-socket-var-run-mysql

I'm getting the following error for a couple of commands I'm trying to run AND I don't know the password whenever I'm prompted for that. (note: I just updated my ubuntu distribution to 22.04, but I previously didn't have a password set/had an empty password for 'root').

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)'

It seems from most posts that the common issue is that mysql-server isn't actually running. I can see that mine is running, though, with sudo service mysql status and the following commands return...

$ cat /etc/services | grep 3306
    mysql           3306/tcp
$  netstat -tulpn | grep 3306
    (No info could be read for "-p": geteuid()=1000 but you should be root.)
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:33060         0.0.0.0:*               LISTEN  

These commands are giving the "Can't connect..." error:

  • mysqladmin -u root -p shutdown
  • mysqladmin version
  • mysql
  • mysql -u root
  • mysql -u root -h localhost -p

Running mysql -u root -h 127.0.0.1 -p seems to work in that it prompts me for a password, but none of my prior passwords are working and I have not been able to run sudo mysqld_safe --skip-grant-tables & or sudo mysqld_safe --skip-grant-tables --skip-networking & successfully to reset the root password.

I have also run...

Additional random info:

I also know that /var/run/mysqld/mysqld.sock did exist earlier in this process (I only have mysql.bak in that directory now), but when I run sudo find / -type s, it just returns a bunch of files/directories with "Permission Denied" (I assume because I'm in WSL), so I haven't checked that there could be another mysql.sock somewhere.

I also know that /etc/mysql/my.cnf is just pointing to -> /etc/alternatives/my.cnf, which only has the following in it (other than some comments):

!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
Install VMWare including vmrun https://askubuntu.com/questions/1370005/install-vmware-including-vmrun

Context:

I have to run a virtual machine with VMWare Player (version 16) on an Ubuntu server (version 18.04) without being able to run the GUI (the server has no display). The virtual machine has already been created, I just need to import the .ovf file and power it on. I read on several posts that the best way is to use an utility called vmrun. The problem is that it is not installed together with VMWare, or at least it is not with the installation I did (if it can help, I used this guide, it's in italian but the commands should be easily understandable).

So, I tried to install vmrun it in several ways (for example by following the instructions in this thread), but I wasn't able to do it. Moreover, every article/guide that I find seems pretty outdated. I even tried to install the VIX API, but I wasn't able to do that either (and, even if I could, I wouldn't know how to use it).

Question:

Is there a way to install a version of VWMare Player that includes vmrun? If yes, how? If no, how can I install vmrun separately?

How to install a specific version of a metapackage and its dependencies? https://askubuntu.com/questions/1343938/how-to-install-a-specific-version-of-a-metapackage-and-its-dependencies

I'll use the NVIDIA 460 driver as an example. Here's what happens when I want to try to install version 460.67 instead of 460.80 (which is buggy, FYI).

$ apt-get install -s nvidia-driver-460=460.67-0ubuntu1
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
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 resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-460 : Depends: libnvidia-gl-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: nvidia-dkms-460 (<= 460.67-1)
                     Depends: nvidia-kernel-common-460 (<= 460.67-1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: nvidia-kernel-source-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-compute-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-extra-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: nvidia-compute-utils-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-decode-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-encode-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: nvidia-utils-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: xserver-xorg-video-nvidia-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-cfg1-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-ifr1-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Depends: libnvidia-fbc1-460 (= 460.67-0ubuntu1) but 460.80-0ubuntu0.21.04.2 is to be installed
                     Recommends: nvidia-settings but it is not going to be installed
                     Recommends: nvidia-prime (>= 0.8) but it is not going to be installed
                     Recommends: libnvidia-compute-460:i386 (= 460.67-0ubuntu1)
                     Recommends: libnvidia-decode-460:i386 (= 460.67-0ubuntu1)
                     Recommends: libnvidia-encode-460:i386 (= 460.67-0ubuntu1)
                     Recommends: libnvidia-ifr1-460:i386 (= 460.67-0ubuntu1)
                     Recommends: libnvidia-fbc1-460:i386 (= 460.67-0ubuntu1)
                     Recommends: libnvidia-gl-460:i386 (= 460.67-0ubuntu1)
E: Unable to correct problems, you have held broken packages.

That's only 1 example I can think of at the moment.

Do I have to list all of the packages I want to install?

VMWare Installer unable to load gtk: No module named gtk, falling back to console https://askubuntu.com/questions/1293480/vmware-installer-unable-to-load-gtk-no-module-named-gtk-falling-back-to-consol

I'm new to Ubuntu (20.10) and just installed it on my Raspberry Pi 400. I have my VMWare-Horizon-Client-2006-8.0.0-16522670.x64.bundle in the home directory.

I'm following this guide Install or Upgrade Horizon Client for Linux from VMware Product Downloads in order to install VMWare Horizon Client 2006 8.0.0 and keep getting the error "Unable to load gtk: No module named gtk, falling back to console."

While I know that VMWare Horizon says it can run on 20.04, could the reason be 20.10 is too new? The Pi400 doesn't have a 20.04 in the standard imager but I just figured it should work.

Otherwise, I think I might be missing these steps:

  • Confirm that version 2.x or 3.x of Python is installed on the client system. If the system does not have the Python 2.x or 3.x package, run the necessary command to install it.
  • If you are using a thin client, confirm that libgtk 3.14 or later is installed on the system. If needed, obtain version 3.14 or later of the libgtk library and install it on the thin-client system.

However, I am not sure how to perform them in the terminal (sudo apt-get install python, and sudo apt-get install libcanberra-gtk-module does not give me the gtk module). Any thoughts on what I'm missing?

Fix for wireless issues with netgear a7000 usb adapter (rtl8814au, rtl8812au) https://askubuntu.com/questions/1233172/fix-for-wireless-issues-with-netgear-a7000-usb-adapter-rtl8814au-rtl8812au

I had to make this post to help anyone else who might be having issues with this network adapter and possibly other network adapters which work with the realtek 8814au 8812au chipsets. I'm on ubuntu 20.04 with kernel 5.4.0-28-generic, and I own a netgear a7000 wireless adapter that works fine with windows but wouldnt function with my linux dual boot.

All the threads i could fidn that addressed this subject were from 2018 at the earliest, and they all suggested drivers that haven't been updated in years and did not work on my install. After weeks of trial and error and a lot of frustration I found a much more recently updated version of the rtl8812au driver that ought to work with rtl8814au devices like mine as well, that isn't mentioned anywhere except some obscure link I found.

You can find the drivers here and installation instructions for various linux distributions: https://github.com/aircrack-ng/rtl8812au.

On Ubuntu 20.04 you can install with these commands in terminal:

sudo apt update && sudo apt upgrade -y

sudo apt install dkms build-essential git

git clone https://github.com/aircrack-ng/rtl8812au.git

cd rtl8812au

sudo ./dkms-install.sh

reboot

That worked for me! Hopefully I can help someone else some headache!

How to properly update Intel microcode in Ubuntu https://askubuntu.com/questions/1195888/how-to-properly-update-intel-microcode-in-ubuntu

I want to update my cpu microcode to the latest version and the steps I follow to do that are as below

sudo apt-get install microcode.ctl intel-microcode

First I executed the command above and I got the output below:

[sudo] password for nuc: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
microcode.ctl is already the newest version (1.18~0+nmu2).
intel-microcode is already the newest version (3.20191115.1ubuntu0.18.04.2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Then I rebooted my intel-nuc machine and then executed the command below:

dmesg | grep microcode

What I got as the output is:

[    0.000000] microcode: microcode updated early to revision 0xca, date = 2019-10-03
[    1.223192] microcode: sig=0x906e9, pf=0x8, revision=0xca
[    1.223243] microcode: Microcode Update Driver: v2.2.

From this output I understand that my microcode version is not updated to the latest version, and I thought that is the right way to do that, but I guess I am missing something here.

Am I doing something wrong?

Too many open files https://askubuntu.com/questions/1182021/too-many-open-files

when i open Lutris and then LOL client , this happening. And game never work good. I tried many things but never can change the open file limit. How can fix this ?

Waiting on children  
Waiting on children  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
esync: write: Bad file descriptor  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
esync: write: Bad file descriptor  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  
eventfd: Too many open files  

also there is my limits info

~$ ulimit -a  
core file size          (blocks, -c) 0  
data seg size           (kbytes, -d) unlimited  
scheduling priority             (-e) 0  
file size               (blocks, -f) unlimited  
pending signals                 (-i) 15106  
max locked memory       (kbytes, -l) 16384  
max memory size         (kbytes, -m) unlimited  
open files                      (-n) 1024  
pipe size            (512 bytes, -p) 8  
POSIX message queues     (bytes, -q) 819200  
real-time priority              (-r) 0  
stack size              (kbytes, -s) 8192  
cpu time               (seconds, -t) unlimited  
max user processes              (-u) 15106  
virtual memory          (kbytes, -v) unlimited  
file locks                      (-x) unlimited  
Wired Xbox One controller won't work https://askubuntu.com/questions/1042534/wired-xbox-one-controller-wont-work

I've been trying to get my PDP xbox one controller to work (Kernel 4.16.13) but it isn't even turning on (The power light is off) . It is being recognized with lsusb, it even has the right manufacturer and product, but doesn't respond to anything else. I know that there have been problems with pdp controllers and linux in the past but I read that these problems were fixed in 4.15 (https://www.phoronix.com/scan.php?page=news_item&px=PDP-Xbox-One-Linux-4.15). I've played around a bunch with xboxdrv and xpad but I have no idea what to do anymore. any ideas?

Here's the lsusb descriptors for it but im brand new to linux and can't make heads or tails of it so I don't know if it's relevant.

Bus 001 Device 002: ID 0e6f:02a9 Logic3 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass        71 
  bDeviceProtocol       208 
  bMaxPacketSize0        64
  idVendor           0x0e6f Logic3
  idProduct          0x02a9 
  bcdDevice            1.0e
  iManufacturer           1 Performance Designed Products
  iProduct                2 PDP Wired Controller for Xbox One - Midnight Blue
  iSerial                 3 0000AFA7AFE41F1D
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           64
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00e0  1x 224 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)
MongoDB ServerSelectionTimeoutError: No replica set members available for replica set name "abc" https://askubuntu.com/questions/1017669/mongodb-serverselectiontimeouterror-no-replica-set-members-available-for-replic

I'm an experienced programmer, but a Python, Ubuntu, and Linux newbie. I apologize, as well, if this question would be better in a different forum.

I am working on a project in Python using PyCharm, with code executing in an Ubuntu environment in Vagrant. It has to access a MongoDb database.

When the database is local, I have no difficulties. I also can connect to one remote database. However, the database I most want to connect to is part of a replica set, and that seems to be the problem.

(I should say that the database with the replica set performs just fine in its actual role. I seem to be the one with the problem.)

We set up some ssh tunnels, using these suggestions:

Connecting to a Mongo Replica Set via SSH

We set up hosts and ifconfig appropriately.

My supervisor can now connect with minimal difficulty. I, however, keep getting this message:

pymongo.errors.ServerSelectionTimeoutError: No replica set members available for replica set name "abc"

The connection information includes all 3 replica set servers as part of the host string, plus the replica set name being specified and ReadPreference.PRIMARY.

The stack track looks like this:

File "/usr/local/src/dashboard/dashboard/dashboard/app/tasks/exports/__init__.py", line 95, in get_sections
    sections = CourseSection.objects(**params)
File "/apps/dashboard-env/lib/python3.4/site-packages/mongoengine/queryset/manager.py", line 37, in __get__
    queryset = queryset_class(owner, owner._get_collection())
File "/apps/dashboard-env/lib/python3.4/site-packages/mongoengine/document.py", line 198, in _get_collection
    cls.ensure_indexes()
File "/apps/dashboard-env/lib/python3.4/site-packages/mongoengine/document.py", line 878, in ensure_indexes
  collection.create_index(fields, background=background, **opts)
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/collection.py", line 1753, in create_index
    self.__create_index(keys, kwargs, session, **cmd_options)
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/collection.py", line 1641, in __create_index
    with self._socket_for_writes() as sock_info:
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/collection.py", line 193, in _socket_for_writes
    return self.__database.client._socket_for_writes()
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/mongo_client.py", line 965, in _socket_for_writes
    server = self._get_topology().select_server(writable_server_selector)
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/topology.py", line 224, in select_server
    address))
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/topology.py", line 183, in select_servers
    selector, server_timeout, address)
File "/apps/dashboard-env/lib/python3.4/site-packages/pymongo/topology.py", line 199, in _select_servers_loop
    self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: No replica set members available for replica set name "abc"

The specific message No replica set members available for replica set name "abc" seems to be relatively uncommon, as I haven't found any hits on Google for problems with a specific named replica set.

Any suggestions would be much appreciated.

How to disable the compositor (gnome-shell/mutter) on fullscreen windows? https://askubuntu.com/questions/969073/how-to-disable-the-compositor-gnome-shell-mutter-on-fullscreen-windows

There is a bug on gnome-shell which gives me so bad performance in 3d games.

Is there a way to disable compositor redirection of full screen windows ?

JD-GUI and Boomerang Deompilers Installation for Ubuntu https://askubuntu.com/questions/914628/jd-gui-and-boomerang-deompilers-installation-for-ubuntu

I am currently taking a Cyber Security Course online and the instructor uses both, JD-GUI and Boomerang Decompilers. Therefore, I would like to get help on how to install those for Ubuntu. I have looked up videos and other forums on installation guides and they have not been pretty helpful, or at least understandable for me. Your help is greatly appreciated!

Thanks in advance!

Samsung M2020 on Ubuntu https://askubuntu.com/questions/645681/samsung-m2020-on-ubuntu

I'm new to linux and I know nothing about coding and using the terminal. I searched google for a way to connect Samsung M2020 printer to my computer running ubuntu but i didn't find. What should I do now?

Logitech Media Server web interface won't open on Ubuntu 14.04 https://askubuntu.com/questions/526345/logitech-media-server-web-interface-wont-open-on-ubuntu-14-04

I always worked on Microsoft Windows (latest one was Windows 7), but changed to Linux one year ago.

I used to run Logitech Media Server on Windows and also on Lubuntu without any problem. Smoothly installed.

Several months ago, I changed to Ubuntu 14.04 (because no more updates on Lubuntu version I had) and again installed the Logitech Media Server. Checked that the service is indeed running. But I'm not able to open the web interface on my localhost port 9000. "Not available."

I read on the Internet that perhaps the 32-bit version had to do with it so now I installed the 64-bit version of Ubuntu 14.04. But remains the same. Is there anything I overlooked?

How to run Terminal as root? https://askubuntu.com/questions/515198/how-to-run-terminal-as-root

When we want to run a programs as root we use sudo, gksu, gksudo and etc. Now my question is how do we can run a Terminal as the root user in Terminal?

I tried with using gksudo terminal and gksu terminal but nothing happens. and by running sudo terminal I get error sudo: terminal: command not found.

How to mount a CIFS share so it doesn't warn about external file modifications https://askubuntu.com/questions/268121/how-to-mount-a-cifs-share-so-it-doesnt-warn-about-external-file-modifications

This is the current fstab entry for the mount.

//qnap/share /data  cifs noauto,user,username=qnap,uid=1000,gid=1000 0 0

This works fine and most of the time without any problems.

However when using some software (eg: basic text editors like gedit, or more advanced apps like PhpStorm) to open files on the share, the software reports "external file change notifications" from time to time.

The file timestamp or size doesn't change, and both this computer and the NAS have the same time set by NTP.

Does anybody know what is triggering these "external file change" notifications in basic linux text editing apps such as gedit?

Does anybody know some different mount flags that could help resolve this?

I'm interested in a fix and also interested in learning what is happening at a lower level to trigger these notifications.

Thanks, Dave

How to install vst plugins with wine https://askubuntu.com/questions/194157/how-to-install-vst-plugins-with-wine

I have FL studio 10 installed on my PC through wine and it works perfect. The pre-installed vst's work but any I install (sylenth1, nexus2 and pianoteq) don't work. I have massive installed and it works. I am a little new to Linux but know the basics.

"Can't open /var/lib/dhcp/dhcpd6.leases for append." during start of ISC DHCP IPv6 Server https://askubuntu.com/questions/173444/cant-open-var-lib-dhcp-dhcpd6-leases-for-append-during-start-of-isc-dhcp-ip

Trying to enable the ISC DHCP server for just IPv6 on Ubuntu 12.04 LTS.

I have downloaded and installed the DHCP server via the following command:

$ sudo apt-get install isc-dhcp-server

Then I have followed the instructions in the following resources, Ubuntu Wiki DHCPv6, SixXS - Configuring ISC DHCPv6 Server and Linux IPv6 HOWTO - Configuration of the ISC DHCP server for IPv6 .

So from review all those resources it seems like I need to:

  1. set a static IPv6 address for the Interface I want to run the DHCPv6 server from that is part of the IPv6 network subnet outside the DHCP range.

  2. Edit the /etc/dhcp/dhcpd6.conf file to configure the DHCPv6 range etc.

  3. Create the /var/lib/dhcp/dhcpd6.leases

  4. Manually start the DHCPv6 server.

Setting the Static IP for eth0

$ sudo ifconfig eth0 inet6 add 2001:db8:0:1::128/64

My dhcpd6.conf

default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet6 2001:db8:0:1::/64
{
   #Range for clients
   range6 2001:db8:0:1::129 2001:db8:0:1::254;
}

Created the dhcpd6.leases file

As indicated in the dhcpd.leases man page.

$ touch /var/lib/dhcp/dhcpd6.leases  #Tried with sudo as well

Manually starting the DHCPv6 server.

Attempted to start the server using the following command:

$ sudo dhcp -6 -f -cf /etc/dhcp/dhcpd6.conf eth0

The problem, the DHCP will not start, with an append error for the dhcpd6.leases file as indicated below when running the manual start command noted above.

Can't open /var/lib/dhcp/dhcpd6.leases for append.

Any ideas what I might be missing?

New ext4 partition and used space https://askubuntu.com/questions/131516/new-ext4-partition-and-used-space

I have a fresh ext4 partition, which means I just formated it with mkfs.ext4 -m 0.1 /dev/mapper/abak-home, and there's already 27G space used. Setting reserved root space (-m) to 0 didn't have any effect.

I'm using LVM but I don't think that LVM should have any effect on this. Ubuntu version is 12.04 LTS.

# df -h
Filesystem             Size  Used Avail Use% Mounted on
...
/dev/mapper/abak-home  1.8T   27G  1.8T   2% /home

Then I tried formating partition with ext3 and the result is much better:

# df -h
Filesystem             Size  Used Avail Use% Mounted on
...
/dev/mapper/abak-home  1.8T  196M  1.8T   1% /home

Anyway, why the difference and how can I fix this?