FORCE ownership and read-, writ- accessibility of file https://askubuntu.com/questions/1560113/force-ownership-and-read-writ-accessibility-of-file

OS: Ubuntu 24.04.3 LTS with daily updates. Partitions on USB2: W95 FAT32 (LBA)

After copying the files from USB1 to USB2 I can no longer change the ownership and permissability of the (sub-)files. I tried chown and chmod for eight hours with all possible options (-c, -R, -f, -Rf, +rwX, u=g, g+wrX... -- I tried everything), it tells me files only readable. Right-clicking on the device I get only readable. sudo doesn't help at all, I even can't change the permissions as a super-duper-user. The problem is: I can't even copy simple files to the new USB2, it's completely shut.

Is there a way apart from chown and chmod to force USB2 into a normal USB-drive where I can copy files into, change file and whatever? I need some super power far beyond sudo chown and sudo chmod, as they change NOTHING.

Strategies for a new B2B salesperson to generate first leads before probation ends? https://askubuntu.com/questions/1560112/strategies-for-a-new-b2b-salesperson-to-generate-first-leads-before-probation-en

I'm a new hire in a B2B context, specifically at a CNC machining factory. My probation period is contingent on generating customer inquiries or orders. While the company, culture, and technical operations are excellent, I am struggling to get my first lead.

As a thought experiment and a potential way to jumpstart my pipeline: If you were in my position, how would you leverage your network or online communities (professionally and ethically) to demonstrate initial market interest? For example, if someone here genuinely needed a service like CNC machining, even a request for quote would serve as a valuable data point for my activity.

I'm seeking strategic advice on generating legitimate initial traction quickly.

ASUS MOBO bluetooth not turning on in 24.04.3 LTS https://askubuntu.com/questions/1560111/asus-mobo-bluetooth-not-turning-on-in-24-04-3-lts

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

sudo service bluetooth status

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

I did install bluez and bluez-tools.

bluetoothctl power on

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

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

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

That said: inxi --bluetooth returns

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

Many thanks in advance.

How to fix sudo: "/usr/bin/sudo must be owned by uid 0 sudo: /etc/sudo.conf is owned by uid 1000" from a remote ssh https://askubuntu.com/questions/1560110/how-to-fix-sudo-usr-bin-sudo-must-be-owned-by-uid-0-sudo-etc-sudo-conf-is-o

Recently I decided to reuse an old laptop to start my first Ubuntu server to learn more about homelab and devops and setup my NAS. When I was poking around, I accidentally run this command chown -R $USER:$USER .. and it mess up my sudo files and lead to my problem, at that moment I was not able to physically turn on Recovery mode to do reset the ownership of sudo (fixed when I got home). But this wonder, can I revert or fix this over remote ssh. I did try to use a few method mentioned by ChatGPT but I still not convinced that I cannot fixed over the remote ssh. Is there another way for me to fix it if I can't reboot the machine?

P/s: This is my first time working with linux and I am still learning.

VP.net doesn't install on my intil ubuntu machine https://askubuntu.com/questions/1560108/vp-net-doesnt-install-on-my-intil-ubuntu-machine

I just signed up for VPN.net and downloaded the linux for intel processors: vpnet-linux-3.7.4-00346.run. It says I don't have permission.

How can upgrade ubuntu 16.04.6 LTS Xenial Xerus offline on a PROD server? https://askubuntu.com/questions/1560107/how-can-upgrade-ubuntu-16-04-6-lts-xenial-xerus-offline-on-a-prod-server

How can I perform an upgrade of Ubuntu 16.04.6 LTS (Xenial Xerus) to the next versions (18.04 → 20.04 → 22.04) on a PROD server without internet access?

What's the best practice to achieve this? Is there any official documentation I can follow?

thanks and regards !

ROS2 Install trusted.gpg Error https://askubuntu.com/questions/1560104/ros2-install-trusted-gpg-error

http://repo.ros2.org/ubuntu/main/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Ubuntu Server 24.04 mount exfat external drive https://askubuntu.com/questions/1560103/ubuntu-server-24-04-mount-exfat-external-drive

I am not an expert Linux user. I've setup Ubuntu server 24.04 on an Intel N100 mini PC for use as a Channels DVR, getchannels.com. Could someone let me know if I've mounted an external drive correct to hold the recordings for the DVR? See fstab below. It shows when I run lsblk. See below. The Channels setup doesn't see the drive when I click Restore to go select a restore point on the external drive.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/ubuntu-vg/ubuntu-lv during curtin installation
/dev/disk/by-id/dm-uuid-LVM-KUqoDLe8s0AxqbsyI76F6JwT7H3H4eYdVEJOTtMQJpBF6rYXccd>
# /boot was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/08a42ec2-28b5-4c52-aa7e-363ab6f51362 /boot ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/dev/disk/by-uuid/02ED-DA3B /boot/efi vfat defaults 0 1
/swap.img       none    swap    sw      0       0
UUID=FFFB-FC22 /mnt/dvr exfat defaults 0

NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0                       7:0    0     4K  1 loop /snap/bare/5
loop1                       7:1    0 183.4M  1 loop /snap/chromium/3293
loop2                       7:2    0  73.9M  1 loop /snap/core22/2139
loop3                       7:3    0  48.8M  1 loop /snap/cups/1127
loop4                       7:4    0 516.2M  1 loop /snap/gnome-42-2204/226
loop5                       7:5    0  91.7M  1 loop /snap/gtk-common-themes/1535
loop6                       7:6    0  50.9M  1 loop /snap/snapd/25577
sda                         8:0    0   3.6T  0 disk 
└─sda9                      8:9    0   3.6T  0 part /mnt/dvr
nvme0n1                   259:0    0 238.5G  0 disk 
├─nvme0n1p1               259:1    0     1G  0 part /boot/efi
├─nvme0n1p2               259:2    0     2G  0 part /boot
└─nvme0n1p3               259:3    0 235.4G  0 part 
  └─ubuntu--vg-ubuntu--lv 252:0    0   100G  0 lvm  /

Update:

Not being familiar with using servers I discovered I could access the drive in the /mnt folder. I tried to enable it as the DVR server and I got this error message:

Error: no write permissions on dvr directory: open /mnt/dvr/.permcheck: permission denied

This drive was used when the Channels DVR had an image to use on a Raspberry Pi 4. They maintained the server besides the software. They stopped supporting that so I needed to setup a server myself instead of using Windows for it. I thought I could just use the drive from the Pi without reformatting. Does anyone know if I would need to reformat the drive on the server so it have the correct permissions to use as storage for the server?

Samba/Bash discrepancy when listing files via SSH https://askubuntu.com/questions/1560101/samba-bash-discrepancy-when-listing-files-via-ssh

I'm looking at the file structure I've created and maybe losing my mind. Somehow my terminal seems to be telling me there are different files/folders in what should be the same place

The OS is most recent Linux server. I hope to make into a media server. I'm using Samba to connect my MacBook (tho in this case of the ssh I don't think that should matter. In the screenshot you can see the GUI interface matches the second request.

Specifically there's 3 folders in the first ls and then there's 4 different folders and a file in the ls -l /mnt/media, but I'm currently in /mnt/media so that should be the same?!?

I can't understand why there's such discrepancy, but it is making me think I messed up something installing 22.04. I'd rather not start over again, but it might be faster and I would really like to understand what I did wrong.

enter image description here

Below is the highlighted text above.

gaspers@mediamundo:\~/mnt/media$ ls
Audio  Photos  Vids

gaspers@mediamundo:\~/mnt/media$ ls -l /mnt/media
total 20
\-rwxrwx--- 1 gaspers gaspers  712 Oct 11  2019 craiglist-gardening.rtf
drwxrwx--- 2 gaspers media   4096 Nov 16 22:03 Movies
drwxrwx--- 2 gaspers media   4096 Nov 16 22:03 Music
drwxrwx--- 2 gaspers media   4096 Nov 16 22:06 Photos
drwxrwx--- 2 gaspers media   4096 Nov 16 22:03 Shows
Firefox, google location API, snap vs ppa install https://askubuntu.com/questions/1560100/firefox-google-location-api-snap-vs-ppa-install

I'm on Ubuntu 24.04.3 and getting very poor geolocation accuracy with Firefox's default setup (which relies on GeoClue). I tried switching Firefox to use the Google Geolocation API with my own key, but it still only returns coarse IP-based results.

After a fair bit of debugging, my current hypothesis is that the Firefox snap build is sandboxed in a way that prevents it from accessing Wi-Fi scan data (e.g. no network-manager interface in snap connections firefox). Without Wi-Fi BSSID data, Firefox falls back to IP-only location, which explains the poor accuracy.

Before I migrate to the apt-based Firefox, could someone confirm whether this is indeed a snap confinement issue, and whether the apt build restores proper Wi-Fi-based geolocation? Also, is this a known limitation, and are there any plans to address it in future Firefox snap releases?

Ubuntu 24.04 How to start Firefox in Startup Application https://askubuntu.com/questions/1560097/ubuntu-24-04-how-to-start-firefox-in-startup-application

When I start Firefox from Application or from Dash, Firefox start as I expect. All my setting are applied. If I start Firefox from "Startup Application" it looks diffrently. From System Monitor I find this command line:

/snap/firefox/7355/usr/lib/firefox/firefox

I put it into Startup Application and Firefox ask me to select one from four profiles and look diffrently from I expect in all four profiles.

When I start Firefox from Application/Dash I see only one profile "Original profile".

How to start Firefox from "Startup Application" to behave the same as start form Application/Dash?

Internal microphone is always detected as a headset microphone https://askubuntu.com/questions/1560092/internal-microphone-is-always-detected-as-a-headset-microphone

I'm using Kubuntu 24.04 and when I first installed the OS everything worked fine with the microphone, when I plug my headset it detected the microphone without any problem, I could switch between the internal and the headset microphone and it correctly eliminated the headset mic when unplugged leaving the internal mic working.

I don't know when this happened, but one day I noticed that the sound picked up from the "headset mic" wasn't right and was instead the internal. Now even when the headset is unplugged it still appears the "headset mic", but it is really the internal and when I switch to the real internal it doesn't pick up any sound. The audio works fine though. Can this be a fix or do I need to reinstall all the sound drivers?

My disk has a new 918MB Recovery partition after installing ubuntu [closed] https://askubuntu.com/questions/1560078/my-disk-has-a-new-918mb-recovery-partition-after-installing-ubuntu

I reinstalled Ubuntu several times. The first 3 times, everything was normal. But on the 4th installation, a new 918 MB “Healthy (Recovery Partition)” appeared in Windows Disk Management.

I already have:

260 MB EFI System Partition

Windows C:

100 GB Ubuntu partition

260 MB recovery partition (original)

NEW 918 MB recovery partition

I’m worried because earlier when i want to install ubuntu I unplugged my USB during a stuck boot and got a kernel panic. Did that create the 918 MB partition? Why do I suddenly have 2 recovery partitions when other people usually have only 1?

Slow to no 5 GHz wifi since Linux 6.14 and 6.17 with Qualcomm FastConnect 7800 WCN785x https://askubuntu.com/questions/1560028/slow-to-no-5-ghz-wifi-since-linux-6-14-and-6-17-with-qualcomm-fastconnect-7800-w

Since Ubuntu 25.04, I have issues the wifi connection. My motherboard has a Qualcomm FastConnect 7800 WCN785x card. Three cases (appears random to me)

  1. No Wifi "5 GHz" when listing available networks, but the 2.4 GHz appears. In such case, iw reg get returns
phy#0 (self-managed)
country 00: DFS-UNSET
  1. Wifi 5 GHz looks fine, but the bandwidth is slow, right now, for example, 144 Mb/s (5.2 GHz). In such case, iw reg get returns
phy#0 (self-managed)
country FR: DFS-ETSI
  1. Wifi 5 GHz works fine with good bandwidth (about 800 Mb/s). In such case, iw reg get returns
phy#0 (self-managed)
country FR: DFS-ETSI

The 3rd case seems to appear only when it's not working in the beginning and I do iw reg set FR (I'm in France), although it affects only global and not phy#0. It also appears that if I start the computer in Power Mode: Power Saver (or Performance?), I am more likely to be in case #1 and if I start in Balanced, I am more likely to be in case #2.

For sure, case #1 didn't happened prior to Ubuntu 25.10 upgrade but it's not clear when bandwidth issues started, but it's been few months. I first thought I changed something at home, so I put the wifi access point closer to this computer, but it didn't change anything.

If I boot with the previous kernel, 6.14, instead of the 6.17, I always end up in case #2.

iw reg get gives different output between Linux kernel 6.14 and 6.17

Linux 6.17
$ iw reg get
global
country 00: DFS-UNSET
    (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country FR: DFS-ETSI
    (2402 - 2482 @ 40), (N/A, 20), (N/A), NO-80MHZ, NO-160MHZ, NO-320MHZ
    (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW, NO-320MHZ
    (5250 - 5330 @ 80), (N/A, 23), (0 ms), NO-OUTDOOR, DFS, AUTO-BW, NO-320MHZ
    (5490 - 5590 @ 80), (N/A, 30), (0 ms), DFS, AUTO-BW, NO-320MHZ
    (5590 - 5650 @ 40), (N/A, 30), (600000 ms), DFS, AUTO-BW, NO-320MHZ
    (5650 - 5710 @ 40), (N/A, 30), (0 ms), DFS, AUTO-BW, NO-320MHZ
    (5735 - 5855 @ 80), (N/A, 14), (N/A), AUTO-BW, NO-320MHZ
    (5855 - 5875 @ 20), (N/A, 14), (N/A), AUTO-BW, NO-320MHZ
    (5945 - 6425 @ 320), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
Linux 6.14
$ iw reg get
global
country 00: DFS-UNSET
    (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), PASSIVE-SCAN
    (5170 - 5330 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5735 - 5895 @ 160), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN

The report from the script wireless-info (I stripped data from my 2 other Ethernet card as there are not relevant to this issue) in the case #1 with Linux kernel 6.17


########## wireless info START ##########

Report from: 24 Nov 2025 22:08 CET +0100

Booted last: 24 Nov 2025 22:07 CET +0100

Script from: 27 Aug 2024 10:55 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description:    Ubuntu 25.10
Release:    25.10
Codename:   questing

##### kernel ############################

Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct  7 13:34:17 UTC 2025 x86_64 unknown unknown GNU/Linux

Parameters: ro, quiet, splash, crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M, vt.handoff=7

##### desktop ###########################

ubuntu

##### lspci #############################

0e:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
    Subsystem: Foxconn International, Inc. High Band Simultaneous Wireless Network Adapter [105b:e0f7]
    Kernel driver in use: ath12k_pci
    Kernel modules: ath12k

##### rfkill ############################

1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

ath12k                987136  0
qmi_helpers            28672  1 ath12k
mac80211             1884160  1 ath12k
cfg80211             1474560  2 ath12k,mac80211
libarc4                12288  1 mac80211
wmi_bmof               12288  0
qcom_scm               53248  1 ath12k
mhi                   139264  2 ath12k,qrtr_mhi
wmi                    28672  2 video,wmi_bmof

##### dkms #############################

nvidia/580.95.05, 6.14.0-35-generic, x86_64: installed (Differences between built and installed modules)
nvidia/580.95.05, 6.17.0-6-generic, x86_64: installed (Differences between built and installed modules)
xone/v0.3-92-gaa6374a, 6.11.0-18-generic, x86_64: installed
xone/v0.3-92-gaa6374a, 6.11.0-19-generic, x86_64: installed
xone/v0.3-92-gaa6374a, 6.14.0-35-generic, x86_64: installed

##### interfaces ########################

##### ifconfig ##########################

4: wlp14s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether <MAC 'wlp14s0' [IF3]> brd <MAC address>
    altname wlx3c0af358f77d

##### iwconfig ##########################

./wireless-info: line 233: iwconfig: command not found

##### route #############################

##### resolv.conf #######################

[777 root "/etc/resolv.conf" -> "../run/systemd/resolve/stub-resolv.conf"]

nameserver 127.0.0.53
options edns0 trust-ad
search .

##### network managers ##################

Installed:

    NetworkManager

Running:

root        4654       1  0 22:07 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         wlp14s0
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/4
GENERAL.VENDOR:                         Qualcomm Technologies, Inc
GENERAL.PRODUCT:                        WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (High Band Simultaneous Wireless Network Adapter)
GENERAL.DRIVER:                         ath12k_pci
GENERAL.DRIVER-VERSION:                 6.17.0-6-generic
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.HWADDR:                         <MAC 'wlp14s0' [IF3]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         42 (The supplicant is now available)
GENERAL.IP4-CONNECTIVITY:               1 (none)
GENERAL.IP6-CONNECTIVITY:               1 (none)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:08.0/0000:0a:00.0/0000:0b:06.0/0000:0e:00.0/net/wlp14s0
GENERAL.PATH:                           pci-0000:0e:00.0
GENERAL.IP-IFACE:                       --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
INTERFACE-FLAGS.UP:                     yes
INTERFACE-FLAGS.LOWER-UP:               no
INTERFACE-FLAGS.CARRIER:                no
INTERFACE-FLAGS.PROMISC:                no
WIFI-PROPERTIES.WEP:                    no
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  no
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
WIFI-PROPERTIES.6GHZ:                   yes
WIFI-PROPERTIES.MESH:                   no
WIFI-PROPERTIES.IBSS-RSN:               yes
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

GENERAL.DEVICE:                         p2p-dev-wlp14s0
GENERAL.TYPE:                           wifi-p2p
GENERAL.NM-TYPE:                        NMDeviceWifiP2P
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/Devices/5
GENERAL.VENDOR:                         --
GENERAL.PRODUCT:                        --
GENERAL.DRIVER:                         (unknown)
GENERAL.DRIVER-VERSION:                 --
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         (unknown)
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               1 (none)
GENERAL.IP6-CONNECTIVITY:               1 (none)
GENERAL.UDI:                            /virtual/device/placeholder/1
GENERAL.PATH:                           --
GENERAL.IP-IFACE:                       --
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
INTERFACE-FLAGS.UP:                     no
INTERFACE-FLAGS.LOWER-UP:               no
INTERFACE-FLAGS.CARRIER:                no
INTERFACE-FLAGS.PROMISC:                no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --

SSID              BSSID              MODE   CHAN  FREQ      RATE        SIGNAL  BARS  SECURITY   ACTIVE  IN-USE 
SFR-9d60          <MAC 'SFR-9d60' [AN1]>  Infra  1     2412 MHz  195 Mbit/s  84      ▂▄▆█  WPA1 WPA2  no             
Ateş              <MAC 'Ateş' [AN2]>  Infra  1     2412 MHz  260 Mbit/s  50      ▂▄__  WPA2       no             
Bbox-30E842F3     <MAC 'Bbox-30E842F3' [AN3]>  Infra  6     2437 MHz  195 Mbit/s  44      ▂▄__  WPA2       no             
Freebox_LolaMatt  <MAC 'Freebox_LolaMatt' [AN4]>  Infra  11    2462 MHz  270 Mbit/s  32      ▂▄__  WPA1       no             
--                <MAC '--' [AN5]>  Infra  11    2462 MHz  270 Mbit/s  30      ▂___  WPA2       no             

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/conf.d/wgpia.conf]]
[keyfile]
unmanaged-devices=interface-name:wgpia*

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com./

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-31-mac-addr-change]
match-device=driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no

##### NetworkManager profiles ###########

##### Netplan config ####################

grep: /etc/netplan/90-NM-0e5c3e07-eddb-4fd0-9c29-cc72accaea7d.yaml: Permission denied
grep: /etc/netplan/90-NM-1c284d4b-f412-4dcf-8444-86c54be02d1d.yaml: Permission denied
grep: /etc/netplan/90-NM-996659f1-e6e3-419f-9374-3c97cf115122.yaml: Permission denied
grep: /etc/netplan/90-NM-9cc06dd5-a783-42e6-bec2-76a277d3813b.yaml: Permission denied
grep: /etc/netplan/90-NM-add72843-8b69-370f-b749-f841554c5bf9.yaml: Permission denied
grep: /lib/netplan/00-network-manager-all.yaml: Permission denied

##### iw reg get ########################

global
country 00: DFS-UNSET
    (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
    (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
    (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A), NO-80MHZ, NO-160MHZ, NO-320MHZ
    (2457 - 2482 @ 20), (N/A, 20), (N/A), NO-80MHZ, NO-160MHZ, NO-320MHZ, PASSIVE-SCAN
    (5170 - 5330 @ 160), (N/A, 20), (N/A), AUTO-BW, NO-320MHZ, PASSIVE-SCAN
    (5490 - 5730 @ 160), (N/A, 20), (N/A), AUTO-BW, NO-320MHZ, PASSIVE-SCAN
    (5735 - 5895 @ 160), (N/A, 20), (N/A), AUTO-BW, NO-320MHZ, PASSIVE-SCAN

##### iwlist channels ###################

'iwlist' is not installed (package "wireless-tools").

##### iwlist scan #######################

'iwlist' is not installed (package "wireless-tools").

##### module infos ######################

[ath12k]
filename:       /lib/modules/6.17.0-6-generic/kernel/drivers/net/wireless/ath/ath12k/ath12k.ko.zst
license:        Dual BSD/GPL
description:    Driver support for Qualcomm Technologies 802.11be WLAN devices
depends:        mac80211,cfg80211,qmi_helpers,mhi,qcom-scm
intree:         Y
name:           ath12k
retpoline:      Y
vermagic:       6.17.0-6-generic SMP preempt mod_unload modversions 
parm:           debug_mask:Debugging mask (uint)
parm:           ftm_mode:Boots up in factory test mode (bool)

[mac80211]
filename:       /lib/modules/6.17.0-6-generic/kernel/net/mac80211/mac80211.ko.zst
license:        GPL
description:    IEEE 802.11 subsystem
depends:        cfg80211,libarc4
intree:         Y
name:           mac80211
retpoline:      Y
vermagic:       6.17.0-6-generic SMP preempt mod_unload modversions 
parm:           minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/6.17.0-6-generic/kernel/net/wireless/cfg80211.ko.zst
description:    wireless configuration support
license:        GPL
depends:        
intree:         Y
name:           cfg80211
retpoline:      Y
vermagic:       6.17.0-6-generic SMP preempt mod_unload modversions 
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[ath12k]
debug_mask: 0
ftm_mode: N

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mdadm.conf]
options md_mod start_ro=1

[/etc/modprobe.d/xone-blacklist.conf]
blacklist xpad
blacklist mt76x2u

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[   11.949528] r8169 0000:06:00.0 enp6s0: Link is Down
[   12.330527] r8169 0000:07:00.0 enp7s0: Link is Down

########## wireless info END ############

The report from the script wireless-info in the case #2 with Linux kernel 6.17 is the same excepted the dmesg part


##### dmesg #############################

[ 1142.309879] wlp14s0: deauthenticating from <MAC 'SFR-9d60_5GHz' [AN2]> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1145.925007] ath12k_pci 0000:0e:00.0: Timeout while waiting for regulatory update (repeated 2 times)
[ 1151.431875] wlp14s0: authenticate with <MAC 'SFR-9d60_5GHz' [AN2]> (local address=<MAC 'wlp14s0' [IF3]>)
[ 1151.431883] wlp14s0: send auth to <MAC 'SFR-9d60_5GHz' [AN2]> (try 1/3)
[ 1151.436228] wlp14s0: authenticated
[ 1151.437965] wlp14s0: associate with <MAC 'SFR-9d60_5GHz' [AN2]> (try 1/3)
[ 1151.442337] wlp14s0: RX AssocResp from <MAC 'SFR-9d60_5GHz' [AN2]> (capab=0x1011 status=0 aid=2)
[ 1151.455852] wlp14s0: associated
[ 1151.521634] wlp14s0: Limiting TX power to 23 (23 - 0) dBm as advertised by <MAC 'SFR-9d60_5GHz' [AN2]>
[ 1154.820927] ath12k_pci 0000:0e:00.0: Timeout while waiting for regulatory update

########## wireless info END ############

As reported in the topic On Ubuntu 24.04, Qualcomm FastConnect 7800, which supports Wi-Fi 7 and Bluetooth 5.3, has Bluetooth working, but Wi-Fi is not or here Install Qualcomm Wifi Driver this card was not working with the latest LTS Ubuntu 24.04, hence the update to minor versions. It was working fine with Ubuntu 24.10. I cannot pin point the time this issue started, but I think with Ubuntu 25.04, as the first symptom was a slow bandwidth, which I did not notice immediately.

There is at least an issue with regulatory (allowed frequencies), but it's difficult to investigate since wifi management changed recently and existing topic looks obsolete (no more iwconfig nor iwlist, crda seems outdated as well).

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.

Struggling to get ubuntu 24.04 LTS working as dual boot with windows 10 on Asus Laptop https://askubuntu.com/questions/1559001/struggling-to-get-ubuntu-24-04-lts-working-as-dual-boot-with-windows-10-on-asus

I am trying to run ubuntu 24.04 LTS on a (65 GB) partition alongside windows 10. I am doing this on an Asus UX530UQ (intel core i7, NVIDIA GeForce 940mx). I have tried many things and have attempted to use AI to assist in solving this issue. I will do my best to summarise everything. I created a bootable USB once with balenaetcher and another time with rufus. with rufus I selected GPT and UEFI. Every attempt to install ends with "something went wrong"

Beyond this point I have tried to use AI to help but have failed many times. Most of the stuff I tried was from within a live USB 'Try Ubuntu' terminal window or within the bios. Below are details of what has been attempted: disabling secure boot and fast boot. checked boot order (was already prioritising Ubuntu) updated bios (now 312, which is the latest) have tried Grub reinstallation several times verified mounts in chroot. used efibootmgr have tried MOK and got through to MOK menu but still resulted in the same outcomes.

regardless of what I have tried so far I end up either with "prohibited by secure boot policy", "bad shim signature" and "tried both default and fallback boot entries" or it boots directly into memtest.

I can still access windows and can access the 'try ubuntu' through the USB.In both cases I can access the internet. It does seem that ubuntu is installed I just cant get it to boot properly. I know AI has its limitations and was not necessarily the best course of action but I wanted to give it a go. Alas I have not been able to resolve the problem. If possible I would like to get it to work with secure boot and fast boot enabled. It is my first time posting, if there is anything I can improve in my query or any extra information I can add please let me know. Thanks in advance for your help.

Ubuntu 22.04 randomly freezes when I close the lid of the laptop https://askubuntu.com/questions/1557237/ubuntu-22-04-randomly-freezes-when-i-close-the-lid-of-the-laptop

I really have this problem since long ago, but despite extensive research I did not find any satisfactory solution.

The main issue is the laptop randomly freezes after I close the lid (sometimes it works, sometimes it doesn't).

I suspected it was an update issue, so I started doing sudo apt update && sudo apt upgrade every time before closing the lid, and checking if I was asked to reboot, but it didn't change much.

Sometimes after, updates were all ok, but after leaving (closing the lid) and coming back I funded the laptop freezed. Or not...

When I come back and open the lid, I see the light that indicate that the laptop is still on, but it doesn't respond to any keyboard key, and I'm forced to shut it down to turn it on.

After going on it shows the "Software Center" indicating the last updates and actualization it have done. Some times it have something to do with important system actualization, but not allays.

My system specs:

  • (Linux 6.8.0-85-generic #85~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 16:18:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux)
  • GNU/Linux Ubuntu 22.04 X86_64 Laptop Exo SmartPro Q3
  • Intel® Core™ i3-7100U CPU @ 2.40GHz × 4
  • Mesa Intel® HD Graphics 620 (KBL GT2)
  • RAM 12,0 GiB SODIMM DDR4 2400
  • HD 1,0 TB

In /var/log I have really a lot of lines, but I really don't know what I can post here that can help... Does someone may have any idea what can I do, or what I should check? gracias!

MediaTek MT7902 WiFi not working on Ubuntu 24.04 https://askubuntu.com/questions/1536725/mediatek-mt7902-wifi-not-working-on-ubuntu-24-04

I’m having trouble getting my MediaTek MT7902 WiFi card to work on Ubuntu 24.04 the last version of Ubuntu with kernel 6.8.0-51. The card works fine on Windows, but on Ubuntu, no networks are detected.

Details:

  1. The card shows up in lspci:

00:02.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7902]

  1. ip link output:

2: enx022376651f09: <BROADCAST,MULTICAST,UP> mtu 65536 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000

  1. Firmware (linux-firmware) is up to date.

  2. I loaded the mt76 driver (modprobe mt76), but it doesn’t seem to work.

  3. dmesg gives:

read kernel buffer failed: Operation not permitted

What I’ve tried:

  • Updated linux-firmware.
  • Loaded the mt76 module.
  • Restarted NetworkManager.
  • Unblocked WiFi using rfkill unblock all.

Question:

How can I get this WiFi card to work on Ubuntu? Do I need a specific driver, firmware, or kernel version?

Thanks for your help!

how to hide warp-cli top bar icon https://askubuntu.com/questions/1430250/how-to-hide-warp-cli-top-bar-icon

i have this annoying warp-cli top bar icon on the Dash to Panel (normally on top bar) warp-cli icon

it indicates warp-cli status but i want to hide it. how i can do it? please help me.

Using Ubuntu 22.04.01 LTS, Gnome 42 for Extensions.

additional info (https://community.cloudflare.com/t/warp-taskbar-icon-on-a-linux-desktop/377862)

getattrib: NT_STATUS_NOT_SUPPORTED https://askubuntu.com/questions/1374514/getattrib-nt-status-not-supported

This used to work but after a samba server upgrade anything that I am trying to "get" via an smbclient is returning "getattrib: NT_STATUS_NOT_SUPPORTED"

In my client, I simply execute smbclient //mypc//sharename -Uusername and then I key in the password. This works ok and I can see directory listing and traverse into the directories.

As soon as I try to pull a file using smb's get command, it gives me this error

getattrib: NT_STATUS_NOT_SUPPORTED

The only thing that changed was an updated Samba server. My smbclient is up to date and I am sure it should be some configuration in smb.conf

PS: Before this problem I wasn't able to connect, and had to add client max protocol = SMB3 not sure if this helps.

I am trying to use smbclient in my Ubuntu to get a file from a Samba share into this ubuntu server. However, it gives me the mentioned error instead.

Any insight would be appreciated.

How to change the webcam aspect ratio and zoom for MS Teams video conferencing https://askubuntu.com/questions/1343961/how-to-change-the-webcam-aspect-ratio-and-zoom-for-ms-teams-video-conferencing
  • System: Ubuntu 18.04
  • Webcam: Logitech C920 / C922

I use mostly the Microsoft Teams Ubuntu app (v1.4) to join work video calls. I also make Zoom and Meet work video calls on occasion.

The webcam resolution during Microsoft Teams (and also Zoom and Meet) work video calls seems to be something like 16:9, which shows a lot more of my (messy working from home) background than I want.

I would like to set the aspect ratio as 4:3 and zoom in a bit so that my profile is centred on the screen. How can I do this in Ubuntu?

I installed V4L2 Test Bench from Ubuntu software and this allows me to set the aspect ratio for video within that app, but these settings do not apply to the video conferencing apps.

Unmet dependencies. Try 'apt --fix-broken install' https://askubuntu.com/questions/1223066/unmet-dependencies-try-apt-fix-broken-install

So I have upgraded from Disco to Eoan, so far quite 'interesting' I needed to rebuild Grub to get a GUI - took a while but finished and I'm using the PC. Today I've been getting numerous browser crashes so my first thought is to run both sudo apt update sudo apt upgrade. That was a disappointing exercise. here's the output from update "3 packages can be upgraded. Run 'apt list --upgradable' to see them."

so cool, I don't care what the packages are, just upgrade them so after I type in apt upgrade I see this in the terminal

Reading package lists... Done Building dependency tree        Reading
state information... Done You might want to run 'apt --fix-broken
install' to correct these. The following packages have unmet
dependencies:  linux-image-generic : Depends:
linux-modules-extra-5.3.0-45-generic but it is not installed E: Unmet
dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).

This was unexpected so I did run apt --fix-broken install and lo !

The following packages were automatically installed and are no longer
required:   chromium-browser-l10n command-not-found-data diffstat
g++-8 gir1.2-mutter-4   intltool-debian libapt-inst2.0 libapt-pkg-perl
libapt-pkg5.0   libarchive-zip-perl libasync-mergepoint-perl
libb-hooks-op-check-perl   libcapture-tiny-perl libcgi-fast-perl
libcgi-pm-perl libclass-accessor-perl   libclass-method-modifiers-perl
libclass-xsaccessor-perl libclone-perl   libcrystalhd3
libdevel-callchecker-perl libdevel-globaldestruction-perl  
libdigest-bubblebabble-perl libdouble-conversion1  
libdynaloader-functions-perl libebook-contacts-1.2-2 libecal-1.2-19  
libemail-valid-perl libexporter-tiny-perl libfcgi-perl  
libfile-find-rule-perl libfuture-perl libgle3 libgnome-desktop-3-17  
libgssdp-1.0-3 libgtkspell3-3-0 libgupnp-1.0-4 libigdgmm5  
libimport-into-perl libio-async-loop-epoll-perl libio-async-perl  
libio-pty-perl libio-string-perl libip4tc0 libip6tc0 libipc-run-perl  
libisl19 libjpeg-turbo-progs libjson-c3 liblinux-epoll-perl  
liblist-compare-perl liblist-moreutils-perl libllvm8 liblouisutdml8  
libmodule-runtime-perl libmoo-perl libmutter-4-0 libmysqlclient20  
libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl
libnet-ip-perl   libnumber-compare-perl libparams-classify-perl
libparse-debianchangelog-perl   libpath-tiny-perl libperlio-gzip-perl
libpoppler85 libreadonly-perl   libref-util-perl libref-util-xs-perl
libreoffice-avmedia-backend-gstreamer   librole-tiny-perl librsync1
libsereal-decoder-perl libsereal-encoder-perl   libsereal-perl
libstdc++-8-dev libstrictures-perl libstruct-dumb-perl  
libsub-exporter-progressive-perl libsub-quote-perl libtagc0  
libtest-fatal-perl libtest-refcount-perl libtext-glob-perl  
libtext-levenshtein-perl libtype-tiny-perl libtype-tiny-xs-perl  
libunicode-utf8-perl libvpx5 libx265-165 libxml-simple-perl  
libyaml-libyaml-perl lintian multiarch-support patchutils
python-fasteners   python-lockfile python-monotonic python-six t1utils
xscreensaver-data   xscreensaver-data-extra xscreensaver-gl
xscreensaver-gl-extra Use 'sudo apt autoremove' to remove them. The
following additional packages will be installed:  
linux-modules-extra-5.3.0-45-generic The following NEW packages will
be installed:   linux-modules-extra-5.3.0-45-generic 0 to upgrade, 1
to newly install, 0 to remove and 3 not to upgrade. 7 not fully
installed or removed. Need to get 0 B/38.3 MB of archives. After this
operation, 188 MB of additional disk space will be used. Do you want

to continue? [Y/n]

Of course I enter "Y" and here's what happened next

(Reading database ... 277005 files and directories currently
installed.) Preparing to unpack
.../linux-modules-extra-5.3.0-45-generic_5.3.0-45.37_amd64.d eb ...
Unpacking linux-modules-extra-5.3.0-45-generic (5.3.0-45.37) ...
dpkg-deb (subprocess): decompressing archive member: lzma error:
compressed data  is corrupt dpkg-deb: error: <decompress> subprocess
returned error exit status 2 dpkg: error processing archive
/var/cache/apt/archives/linux-modules-extra-5.3.0
-45-generic_5.3.0-45.37_amd64.deb (--unpack):  cannot copy extracted data for './lib/modules/5.3.0-45-generic/kernel/drivers/m
edia/dvb-frontends/cx24120.ko' to
'/lib/modules/5.3.0-45-generic/kernel/drivers/
media/dvb-frontends/cx24120.ko.dpkg-new': unexpected end of file or
stream Errors were encountered while processing: 
/var/cache/apt/archives/linux-modules-extra-5.3.0-45-generic_5.3.0-45.37_amd64.
deb E: Sub-process /usr/bin/dpkg returned an error code (1)

So it would seem that I cannot update or upgrade because of some dpkg problem

Any tips or clues ?

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
 The following packages have unmet dependencies:

linux-image-generic: Depends: linux-modules-extra-5.3.0-45-generic but it is not installed

I have no 3rd party repositories

  1. What a mess indeed !

    sudo apt install ubuntu-desktop --fix-missing [sudo] password for ****: Reading package lists... Done Building dependency tree
    Reading state information... Done ubuntu-desktop is already the newest version (1.440.1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: linux-image-generic : Depends: linux-modules-extra-5.3.0-45-generic but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)

.

  1. sudo apt install linux-modules-extra-5.3.0-45-generic

and we're back to

Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: chromium-browser-l10n command-not-found-data diffstat g++-8 gir1.2-mutter-4
intltool-debian libapt-inst2.0 libapt-pkg-perl libapt-pkg5.0
libarchive-zip-perl libasync-mergepoint-perl libb-hooks-op-check-perl libcapture-tiny-perl libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libcrystalhd3 libdevel-callchecker-perl libdevel-globaldestruction-perl
libdigest-bubblebabble-perl libdouble-conversion1
libdynaloader-functions-perl libebook-contacts-1.2-2 libecal-1.2-19
libemail-valid-perl libexporter-tiny-perl libfcgi-perl
libfile-find-rule-perl libfuture-perl libgle3 libgnome-desktop-3-17
libgssdp-1.0-3 libgtkspell3-3-0 libgupnp-1.0-4 libigdgmm5
libimport-into-perl libio-async-loop-epoll-perl libio-async-perl
libio-pty-perl libio-string-perl libip4tc0 libip6tc0 libipc-run-perl
libisl19 libjpeg-turbo-progs libjson-c3 liblinux-epoll-perl
liblist-compare-perl liblist-moreutils-perl libllvm8 liblouisutdml8
libmodule-runtime-perl libmoo-perl libmutter-4-0 libmysqlclient20
libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libnumber-compare-perl libparams-classify-perl libparse-debianchangelog-perl libpath-tiny-perl libperlio-gzip-perl libpoppler85 libreadonly-perl libref-util-perl libref-util-xs-perl libreoffice-avmedia-backend-gstreamer librole-tiny-perl librsync1 libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libstdc++-8-dev libstrictures-perl libstruct-dumb-perl
libsub-exporter-progressive-perl libsub-quote-perl libtagc0
libtest-fatal-perl libtest-refcount-perl libtext-glob-perl
libtext-levenshtein-perl libtype-tiny-perl libtype-tiny-xs-perl
libunicode-utf8-perl libvpx5 libx265-165 libxml-simple-perl
libyaml-libyaml-perl lintian multiarch-support patchutils python-fasteners python-lockfile python-monotonic python-six t1utils xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed:
linux-modules-extra-5.3.0-45-generic 0 to upgrade, 1 to newly install, 0 to remove and 3 not to upgrade. 7 not fully installed or removed. Need to get 0 B/38.3 MB of archives. After this operation, 188 MB of additional disk space will be used. (Reading database ... 277005 files and directories currently installed.) Preparing to unpack .../linux-modules-extra-5.3.0-45-generic_5.3.0-45.37_amd64.d eb ... Unpacking linux-modules-extra-5.3.0-45-generic (5.3.0-45.37) ... dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt dpkg-deb: error: subprocess returned error exit status 2 dpkg: error processing archive /var/cache/apt/archives/linux-modules-extra-5.3.0 -45-generic_5.3.0-45.37_amd64.deb (--unpack): cannot copy extracted data for './lib/modules/5.3.0-45-generic/kernel/drivers/m edia/dvb-frontends/cx24120.ko' to '/lib/modules/5.3.0-45-generic/kernel/drivers/ media/dvb-frontends/cx24120.ko.dpkg-new': unexpected end of file or stream Errors were encountered while processing: /var/cache/apt/archives/linux-modules-extra-5.3.0-45-generic_5.3.0-45.37_amd64. deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Ubuntu 16.04 FTDI Usb To Serial does not show /dev/ttyUSB* https://askubuntu.com/questions/1083016/ubuntu-16-04-ftdi-usb-to-serial-does-not-show-dev-ttyusb

I am connecting a USB to Serial FTDI converter to Laptop running native Ubuntu 16.04,I don't see the /dev/ttyUSB* entry. If I connect the same to Oracle Virtual Box running Ubuntu 14.04 on Windows host, it shows /dev/ttyUSB*, please help what could be the issue with native Ubuntu 16.04

uname -a

Linux Precision-M4800 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a

LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:   xenial

dmesg | tail output:

*

[4168693.886387] usb 3-2: New USB device found, idVendor=0403, idProduct=6010
[4168693.886389] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[4168693.886391] usb 3-2: Product: Dual RS232-HS
[4168693.886392] usb 3-2: Manufacturer: FTDI
[4169130.482430] usb 3-2: USB disconnect, device number 35
[4169134.326181] usb 3-2: new high-speed USB device number 36 using xhci_hcd
[4169134.474575] usb 3-2: New USB device found, idVendor=0403, idProduct=6010
[4169134.474577] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[4169134.474603] usb 3-2: Product: Dual RS232-HS
[4169134.474605] usb 3-2: Manufacturer: FTDI*

journalctl --follow output when USB is connected:

kernel: usb 3-2: new high-speed USB device number 36 using xhci_hcd
kernel: usb 3-2: New USB device found, idVendor=0403, idProduct=6010
kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 3-2: Product: Dual RS232-HS
kernel: usb 3-2: Manufacturer: FTDI
mtp-probe[25796]: checking bus 3, device 36: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
mtp-probe[25796]: bus: 3, device: 36 was not an MTP device

**lsmod | grep usb output:**
usb_storage            69632  1 uas
btusb                  45056  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             557056  31 btrtl,btintel,bnep,btbcm,rfcomm,btusb

tree /sys/bus/usb/drivers/

├── btusb
│   ├── 2-1.5:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0
│   ├── 2-1.5:1.1 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1
│   ├── bind
│   ├── module -> ../../../../module/btusb
│   ├── new_id
│   ├── remove_id
│   ├── uevent
│   └── unbind
├── hub
│   ├── 1-0:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0
│   ├── 1-1:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0
│   ├── 2-0:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0
│   ├── 2-1:1.0 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
│   ├── 3-0:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0
│   ├── 4-0:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0
│   ├── bind
│   ├── module -> ../../../../module/usbcore
│   ├── new_id
│   ├── remove_id
│   ├── uevent
│   └── unbind
├── uas
│   ├── bind
│   ├── module -> ../../../../module/uas
│   ├── new_id
│   ├── remove_id
│   ├── uevent
│   └── unbind
├── usb
│   ├── 1-1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1
│   ├── 1-1.5 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5
│   ├── 2-1 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1
│   ├── 2-1.5 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5
│   ├── 2-1.8 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8
│   ├── 3-2 -> ../../../../devices/pci0000:00/0000:00:14.0/usb3/3-2
│   ├── bind
│   ├── uevent
│   ├── unbind
│   ├── usb1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1
│   ├── usb2 -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2
│   ├── usb3 -> ../../../../devices/pci0000:00/0000:00:14.0/usb3
│   └── usb4 -> ../../../../devices/pci0000:00/0000:00:14.0/usb4
├── usbfs
│   ├── bind
│   ├── module -> ../../../../module/usbcore
│   ├── new_id
│   ├── remove_id
│   ├── uevent
│   └── unbind
├── usb-storage
│   ├── bind
│   ├── module -> ../../../../module/usb_storage
│   ├── new_id
│   ├── remove_id
│   ├── uevent
│   └── unbind
└── uvcvideo
    ├── 1-1.5:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0
    ├── 1-1.5:1.1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1
    ├── bind
    ├── module -> ../../../../module/uvcvideo
    ├── new_id
    ├── remove_id
    ├── uevent
    └── unbind

33 directories, 33 files
How can I install both curl (depending on libcurl4) and mongodb (depending on libcurl3)? https://askubuntu.com/questions/1063003/how-can-i-install-both-curl-depending-on-libcurl4-and-mongodb-depending-on-li

On Lubuntu 18.04, I have installed mongodb, by following https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition

sudo apt install -y mongodb-org mongodb-org-server libcurl3

and now want to install curl

$ sudo apt install curl
Reading package lists... Done
Building dependency tree       
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:
 curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I followed https://askubuntu.com/a/1051988/1471

you can use apt downgrade mechanism (thus, is not necessary to uninstall packages that depend of libcurl4).

apt install -y libcurl4=7.58.0-2ubuntu3
apt install -y curl

But then libcurl3 and mongodb were removed

$ sudo apt install -y libcurl4=7.58.0-2ubuntu3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  calibre-bin fonts-mathjax geoclue-2.0 iio-sensor-proxy libbrotli1 libchm1 libgeoclue-2-0 libjs-coffeescript libjs-mathjax libpodofo0.9.5 libqt5designer5 libqt5help5
  libqt5positioning5 libqt5sensors5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5webchannel5 libqt5webkit5 libqt5xml5 libwoff1 mongodb-org-mongos mongodb-org-shell
  mongodb-org-tools python-apsw python-asn1crypto python-bs4 python-cffi-backend python-chardet python-cherrypy3 python-cryptography python-cssselect python-cssutils
  python-dateutil python-dbus python-dnspython python-enum34 python-feedparser python-html5-parser python-html5lib python-idna python-ipaddress python-libxml2 python-lxml
  python-markdown python-mechanize python-msgpack python-netifaces python-olefile python-openssl python-pil python-pygments python-pyparsing python-pyqt5 python-pyqt5.qtsvg
  python-pyqt5.qtwebkit python-regex python-repoze.lru python-routes python-simplejson python-sip python-six python-utidylib python-webencodings python-webob python-yaml
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libcurl3 mongodb-org mongodb-org-server
The following NEW packages will be installed:
  libcurl4
0 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 214 kB of archives.
After this operation, 61.6 MB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libcurl4 amd64 7.58.0-2ubuntu3 [214 kB]
Fetched 214 kB in 1s (419 kB/s)
(Reading database ... 235089 files and directories currently installed.)
Removing mongodb-org (4.0.0) ...
Removing mongodb-org-server (4.0.0) ...
Removing libcurl3:amd64 (7.58.0-2ubuntu2) ...
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 235068 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...

When I tried to install mongodb, then libcurl4 will be removed

$ sudo apt install -y mongodb-org mongodb-org-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  calibre-bin fonts-mathjax geoclue-2.0 iio-sensor-proxy libbrotli1 libchm1 libgeoclue-2-0 libjs-coffeescript libjs-mathjax libpodofo0.9.5 libqt5designer5 libqt5help5
  libqt5positioning5 libqt5sensors5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5webchannel5 libqt5webkit5 libqt5xml5 libwoff1 python-apsw python-asn1crypto python-bs4
  python-cffi-backend python-chardet python-cherrypy3 python-cryptography python-cssselect python-cssutils python-dateutil python-dbus python-dnspython python-enum34
  python-feedparser python-html5-parser python-html5lib python-idna python-ipaddress python-libxml2 python-lxml python-markdown python-mechanize python-msgpack python-netifaces
  python-olefile python-openssl python-pil python-pygments python-pyparsing python-pyqt5 python-pyqt5.qtsvg python-pyqt5.qtwebkit python-regex python-repoze.lru python-routes
  python-simplejson python-sip python-six python-utidylib python-webencodings python-webob python-yaml
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libcurl3
The following packages will be REMOVED:
  libcurl4
The following NEW packages will be installed:
  libcurl3 mongodb-org mongodb-org-server
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 61.6 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libcurl3 amd64 7.58.0-2ubuntu2 [214 kB]
Get:2 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0/multiverse amd64 mongodb-org-server amd64 4.0.0 [15.5 MB]
Get:3 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0/multiverse amd64 mongodb-org amd64 4.0.0 [3,518 B]                                                              
Fetched 15.7 MB in 25s (639 kB/s)                                                                                                                                                
(Reading database ... 235073 files and directories currently installed.)
Removing libcurl4:amd64 (7.58.0-2ubuntu3) ...
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 235068 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.58.0-2ubuntu2_amd64.deb ...
Unpacking libcurl3:amd64 (7.58.0-2ubuntu2) ...
Selecting previously unselected package mongodb-org-server.
Preparing to unpack .../mongodb-org-server_4.0.0_amd64.deb ...
Unpacking mongodb-org-server (4.0.0) ...
Selecting previously unselected package mongodb-org.
Preparing to unpack .../mongodb-org_4.0.0_amd64.deb ...
Unpacking mongodb-org (4.0.0) ...
Setting up libcurl3:amd64 (7.58.0-2ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up mongodb-org-server (4.0.0) ...
Setting up mongodb-org (4.0.0) ...

How shall I install both curl and mongodb

How to auto clear cache on ubuntu 17.10? https://askubuntu.com/questions/1023833/how-to-auto-clear-cache-on-ubuntu-17-10

The .cache folder(The folder with cache) is eating up my space most of the time and I always how to clear it. How do I get Ubuntu to automatically delete every cache file, including clearing the recycle bin whenever it deletes it but only files that were in the cache folder not the ones deleted by me?

Cron to delete files https://askubuntu.com/questions/1000981/cron-to-delete-files

In Ubuntu 17.10 the command

find /Home/khemtit/Documents/Tijdelijk/ -mtime +1 -type f -delete>$

delete my files older than 1 day. But I have no result in combination with a cron.

Could you please inform me about my mistake in the line below?

My command is:

15 00  * * * find /home/khemtit/Documents/Tijdelijk/ -mtime +1 -type f -delete>$

By Ctrl+O I do see the text:

File Name to Write: tmpcrontab.OV51lh/crontab

I believe the cron is installed correctly because “service cron status” gives the message:

cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: ena
   Active: active (running) since Mon 2018-01-29 18:29:16 +07; 5min ago
     Docs: man:cron(8)
 Main PID: 861 (cron)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/cron.service
           └─861 /usr/sbin/cron -f
Ubuntu 16.04 stuck on shutdown/reboot with "recovering journal" line https://askubuntu.com/questions/811610/ubuntu-16-04-stuck-on-shutdown-reboot-with-recovering-journal-line

My Problem:

Ubuntu doesn't shutdown/reboot and is stuck on line like this:

/dev/sda: clean, xxx/xxx files, xxx/xxx blocks`

and sometimes with several similiar lines and sometimes with "recovering journal" at the top.

At first the problem was that it stucked with

CPU#X stucked for XXs

but I've managed it somehow from the list below :)

What I've done:

  1. sudo update && upgrade && dist-upgrade and loaded updates with ubuntu-software-center.
  2. sudo purge nvidia* and sudo apt-get install nvidia-361
  3. switched to Intel HD card in "Nvidia settings" (nvidia prime).
  4. fixed grub with GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force
  5. (tried apm=power_off and acpi=noirq too).(tried apm=power_off and acpi=noirq too).
  6. disabled usb 3.0 legacy mode.
  7. disabled swap partition with sudo swapoff /dev/sdaX and commented it's entry in fstab.
  8. I changed something in /etc/modules that I've forgotten

My hardware:

MSI GE62 6QD (Laptop);
i5 6300HQ (4 cores);
intel hd530 + Nvidia gtx 960;
16gb RAM DDR4;
Windows 10 UEFI on default 1TB HDD;
SSD Intel 540s via M.2 (UBUNTU UEFI);
Dualboot via bootmenu (F11) yet..

I just didn't update kernel manually, but I can try if you'll help me a little with right way of doing it.

Installation process didn't go easy too. It got stucked on first "preparing" screen with "Ubuntu" logo. Solved with nomodeset in boot params. I've tried hackintosh OSX El Capitan on this M.2 SSD and it worked rather fine (of course not excellent).

I'm very sorry, cause I'm not a guru in kernels/terminal/bootargs/etc, so I tried almost every solution that helped somebody..

Hope for your help. I need my lovely OS working well on my new monster-laptop.

Error thrown while loading gnu.io.RXTXCommDriver https://askubuntu.com/questions/590118/error-thrown-while-loading-gnu-io-rxtxcommdriver

I am trying to run a java program which list all available ports using Eclipse IDE in Ubuntu 14.04. My program is as follows:

import gnu.io.CommPortIdentifier;

import java.util.Enumeration;


public class ListAvailablePorts {

public void list() {  
    Enumeration ports = CommPortIdentifier.getPortIdentifiers();  

    while(ports.hasMoreElements())  
        System.out.println(((CommPortIdentifier)ports.nextElement()).getName());
}
public static void main(String[] args) {
    new ListAvailablePorts().list(); 

}

}

But it shows the following warning followed by error:

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at ListAvailablePorts.list(ListAvailablePorts.java:11)
at ListAvailablePorts.main(ListAvailablePorts.java:17)
Copy drivers from one Ubuntu to another Ubuntu https://askubuntu.com/questions/501267/copy-drivers-from-one-ubuntu-to-another-ubuntu

Is there any way that drivers installed in one Ubuntu device can be installed in another device? Some type of transfer of drivers from one device to another.

Firefox, "Bus error (core dumped)" https://askubuntu.com/questions/467904/firefox-bus-error-core-dumped

If I try to launch firefox I get:

Bus error (core dumped)

When, until last week, I had Gnome 12.04 it was the same... then, during the upgrade (I now have 14.04) Firefox started working (without Flash Player). I installed Flash Player and Firefox stopped working.

Since I am no expert at all, in this answer I honestly don't understand what does "Simply activate it by going to System Settings>Software Sources>Other Software and check the boxes for Canonical Partners" mean (I have the box for Canonical Patners checked, if that is).

I tried the following things found on the Web:

  • If firefox -safe-mode it's the same

  • Tried sudo dpkg --purge --force-all firefox , then sudo apt-get install firefox , nothing.

  • Disinstalled Flash Player, useless

  • Like suggested here, rm -r ~/.mozilla . Too bad for me.

  • Then nothing removing ~/.config/dconf/user, whatever

Help!