dpkg error: "trying to overwrite file, which is also in..." for two versions of the same library https://askubuntu.com/questions/1564382/dpkg-error-trying-to-overwrite-file-which-is-also-in-for-two-versions-of

Recently, I installed updates on my work desktop computer after not having access to it for a while. After rebooting it, one of the two screens didn't come back on. This one is plugged in via VGA and not HDMI (like the one that still works) or DP, so I figured it's probably a driver issue. After digging through nvidia docs a bit, I am now faced with the current situation.

When running `sudo apt --fix-broken install`, I get this error stack:

After this operation, 307 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 354619 files and directories currently installed.)
Preparing to unpack .../libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-cfg1-535:amd64 (535.288.01-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.1', which is also in package libnvidia-cfg1:amd64 590.48.01-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-cfg1-535_535.288.01-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I found this old question on here, which recommends removing the package where the file is "also" found in. However, this is my nvidia driver... surely that will break some things? Is there another workaround in 2026? Should I contact nvidia support directly?

Downsides to only asking for the unencryption key when logging in Ubuntu? https://askubuntu.com/questions/1564380/downsides-to-only-asking-for-the-unencryption-key-when-logging-in-ubuntu

Because I encrypted the drive and I'm already asked to enter a password at system boot, I wondered what downsides could arise if I check the 'automatic login' option for my user, as this would streamline accessing the computer, having to enter just 1 instead of 2 passwords every single time. Thank you.

USB-C Port Issue Ubuntu 24.04 https://askubuntu.com/questions/1564379/usb-c-port-issue-ubuntu-24-04

The USB-C ports on Asus NUC 14 Pro (BTW...Asus says Ubuntu 24.04 and Windows 11 are 2 supported OS on the NUC 14). Searching and diving into a possible fix I see others with the same configuration have the same problem. I've tried many supposed remedies with no luck. I even sent NUC back (bare bones) for testing and it tested fine. I put my NvMe and memory back in and it still doesn't work on C ports?

Any points to consider and to resolve this pesky problem are appreciated! Thanks

How to install UGREEN AX900 USB WiFi adapter? https://askubuntu.com/questions/1564377/how-to-install-ugreen-ax900-usb-wifi-adapter

I have the same problem as described in previous question when installing the same WiFi adapter. I have followed the instructions exactly, but the driver installation fails.

Here is the output from lsusb.

paul@paul-Lenovo-IdeaPad-Yoga-13:~$ lsusb  
..  
Bus 003 Device 007: ID a69c:8d80 aicsemi AIC Wlan  
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
..  

Here is some of the output the output from the dpkg command:

$ sudo dpkg -i CM762/Linux/linux_driver_package/aic8800d80fdrvpackage.deb >ax900install.txt  
[sudo] password for paul:   
rmmod: ERROR: Module aic8800_fdrv is not currently loaded  
rmmod: ERROR: Module aic_load_fw is not currently loaded  
/bin/sh: 1: test: -lt: unexpected operator  
/bin/sh: 1: test: -lt: unexpected operator  
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.  
warning: the compiler differs from the one used to build the kernel  
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0  
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0  
make[5]: warning: -j4 forced in makefile: resetting jobserver mode.  
aic_load_fw/aicbluetooth.c:259:5: warning: no previous prototype for ‘aic_crc32’ [-Wmissing-prototypes]  
  259 | u32 aic_crc32(u8 *p, u32 len, u32 crc)  
      |     ^~~~~~~~~  
aic_load_fw/aicbluetooth.c: In function ‘rwnx_plat_flash_bin_upload_android’:  
aic_load_fw/aicbluetooth.c:760:15: warning: conversion from ‘long unsigned int’ to ‘u32’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow]   
  760 |     u32 crc = ~0UL;  
      |               ^  
aic_load_fw/aicbluetooth.c: At top level:  
aic_load_fw/aicbluetooth.c:900:6: warning: no previous prototype for ‘get_fw_path’ [-Wmissing-prototypes]  
  900 | void get_fw_path(char* fw_path){  
      |      ^~~~~~~~~~~  
.. 
Lots of Wmissing-prototypes messages.  
..   
aic8800_fdrv/rwnx_wakelock.c:15:12: warning: assignment to ‘struct wakeup_source *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]  
   15 |         ws = wakeup_source_create(name);  
      |            ^  
aic8800_fdrv/rwnx_msg_rx.c: In function ‘rwnx_rx_scanu_result_ind’:  
aic8800_fdrv/rwnx_msg_rx.c:792:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]
  792 |                 if (!bss || !bss->bssid) {  
      |                             ^  
In file included from aic8800_fdrv/rwnx_defs.h:20,  
                 from aic8800_fdrv/rwnx_msg_rx.c:14:  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  
aic8800_fdrv/rwnx_msg_rx.c:797:68: warning: the comparison will always evaluate as ‘true’ for the address of ‘bssid’ will never be NULL [-Waddress]  
  797 |                         if (!scan_re_wext || !scan_re_wext->bss || !scan_re_wext->bss->bssid) {  
      |                                                                    ^  
/usr/src/linux-headers-6.17.0-14-generic/include/net/cfg80211.h:3091:12: note: ‘bssid’ declared here  
 3091 |         u8 bssid[ETH_ALEN];  
      |            ^~~~~  


aic8800_fdrv/rwnx_wakelock.c:25:9: error: implicit declaration of function ‘wakeup_source_destroy’; did you mean ‘wakeup_source_register’? [-Werror=implicit-function-declaration]  
   25 |         wakeup_source_destroy(ws);  
      |         ^~~~~~~~~~~~~~~~~~~~~  
      |         wakeup_source_register  
cc1: some warnings being treated as errors  
make[5]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: aic8800_fdrv/rwnx_wakelock.o] Error 1  
make[5]: *** Waiting for unfinished jobs....  
aic_load_fw/aic_compat_8800d80.c: In function ‘aicfw_download_fw_8800d80’:  
aic_load_fw/aic_compat_8800d80.c:375:31: warning: unused variable ‘patch_info’ [-Wunused-variable]  
  375 |     struct aicbt_patch_info_t patch_info = {    
  
make[4]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:556: aic8800_fdrv] Error 2  
make[4]: *** Waiting for unfinished jobs....  
aic_load_fw/aicwf_txq_prealloc.c:13:7: warning: no previous prototype for ‘aicwf_prealloc_txq_alloc’ [-Wmissing-prototypes]
   13 | void *aicwf_prealloc_txq_alloc(size_t size)  
      |       ^~~~~~~~~~~~~~~~~~~~~~~~  
aic_load_fw/aicwf_txq_prealloc.c:50:6: warning: no previous prototype for ‘aicwf_prealloc_txq_free’ [-Wmissing-prototypes]  
   50 | void aicwf_prealloc_txq_free(void)  
      |      ^~~~~~~~~~~~~~~~~~~~~~~  
make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2  
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: __sub-make] Error 2  
make[1]: *** [Makefile:248: __sub-make] Error 2  
make: *** [Makefile:64: modules] Error 2  
dpkg: error processing package aic8800d80fdrvpackage (--install):  
 installed aic8800d80fdrvpackage package post-installation script subprocess returned error exit status 1  
Errors were encountered while processing:  
 aic8800d80fdrvpackage  
Double clicking a text file in Dolphin opens terminal with vim despite Kate is set for this file type https://askubuntu.com/questions/1564375/double-clicking-a-text-file-in-dolphin-opens-terminal-with-vim-despite-kate-is-s

When I double click a text file, a terminal window with vim opens instead of the assigned app (which is Kate).

I then explicitly added the file extension to the list in the "Change..." dialog, but still I get vim in a terminal window instead of Kate. It says file-type "text/x-csrc".

Apart from blatantly ignoring my setting, it appears stupid to use a text-mode app whilst having much nicer apps in the graphical environment.

enter image description here

Change dialog

Ok, I removed "vim" from the list. Now I get asked every time which app I want to use to open that file.

Ubuntu not powering off Microsoft Surface Pro 9 - screen goes blank but the device stays on and starts warming up https://askubuntu.com/questions/1564371/ubuntu-not-powering-off-microsoft-surface-pro-9-screen-goes-blank-but-the-devi

I've recently installed Ubuntu on my Surface Pro 9 and, while overall it seems to work ok, it won't shutdown. I've also tryed systemctl poweroff with the same result: the device's screen goes blank, but it stays on.

Is there a way to see the shutdown logs and check whether a process is hanging, prohibiting it from shutting down? Or an ACPI incompatibility issue?

Thank you.

P.S.: I've also had the same issue with Linux Mint before.

P.S. 2: I see this same question has been asked over a year ago, but no clear answer was given, so I hope maybe this time around someone can guide me in the right direction.

Kate and Vlc opening dialog delayed by minute https://askubuntu.com/questions/1564368/kate-and-vlc-opening-dialog-delayed-by-minute

When I use Kate editor or Vlc player and I want to open file through program menu, these programs freeze for about 30-60 seconds.

How can I find out what is going on? I was trying journalctl -xe, looking into dmesg log and not found anything.

RESUME or resume variable for initramfs config? https://askubuntu.com/questions/1564358/resume-or-resume-variable-for-initramfs-config

I realize this question may seem trivial, but following my recent experience, I believe it holds relevance for me and potentially for the community as well.

I recently performed a fresh installation of Ubuntu 24.04 on my workstation and configured a swap partition on a secondary SSD. I configured GRUB with the resume variable in lowercase:

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf" 

and initramfs with the RESUME variable in uppercase, as recommended in various wikis and documentation:

/etc/initramfs-tools/conf.d/resume
RESUME=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf

This configuration led to intermittent resume from hibernation failures and overall system instability.

[    6.366929] Hibernate inconsistent memory map detected!
[    6.366933] PM: hibernation: Image mismatch: architecture specific data

[    6.367902] PM: Error -1 resuming
[    6.367906] PM: hibernation: Failed to load image, recovering.
[    6.368582] PM: hibernation: Basic memory bitmaps freed
[    6.369124] PM: hibernation: resume failed (-1)

After troubleshooting potential causes and testing various remedies, I decided to systematically review the entire configuration one final time before abandoning hibernation (at least temporarily). Interestingly, as randomly, I discovered that using lowercase in the initramfs configuration

sudo gedit /etc/initramfs-tools/conf.d/resume
resume=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf

produced the expected correct update:

sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.0-14-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf)
I: Set the RESUME variable to override this.
update-initramfs: Generating /boot/initrd.img-6.14.0-37-generic
I: The initramfs will attempt to resume from /dev/sdc2
I: (UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf)
I: Set the RESUME variable to override this.

After making this change, the hibernation problems and system instability were resolved.

Notably, the uppercase variant RESUME=UUID=fcb43bc3-b6b8-4707-8a23-683bf93bd9bf generated no indication that the system would attempt to resume from the specified device at initramfs update.

Two questions arise: Has there been a change in initramfs behavior? Has it been aligned with GRUB's parameter format? Is it just a coincidence?

Should OneDrive on Ubuntu be used through GNOME Online Accounts or "OneDrive Client for Linux"? https://askubuntu.com/questions/1564355/should-onedrive-on-ubuntu-be-used-through-gnome-online-accounts-or-onedrive-cli

I recently switched my school laptop from Windows to Ubuntu 24.04 LTS since Windows 11 was slowing my computer down. But, of course, my university is heavily integrated with Microsoft 365 so I put all my files on OneDrive. So I was looking for a way to get OneDrive to work properly on Ubuntu and I heard that GNOME Online Accounts is a native method of doing it but I heard there are some issues with syncing typically since it just mounts it as a drive (correct me if I'm wrong) so if I were to switch between devices for a file, it would take a bit for my Ubuntu laptop to catch up.

I heard another solution was to use the project, OneDrive Client for Linux. Though, looking online for videos, I couldn't find any good clues of how it works exactly. But apparently, it does a much better handling of OneDrive on Ubuntu than GNOME Online Accounts. If anyone can give me some advice on which one I should pick, that would be great!

Recent upgrade to 6.17.0-14 yields kernel panic. How do I remove that kernel from GRUB? https://askubuntu.com/questions/1564321/recent-upgrade-to-6-17-0-14-yields-kernel-panic-how-do-i-remove-that-kernel-fro

A recent auto upgrade from 6.14.0-37 to 6.17.0-14 yields a kernel panic at boot: "Unable to mount root fs Unknown Block (0,0)"

To get the machine up I have to select 6.14.0-37 from the GRUB boot menu. I can no longer do a normal boot/reboot because GRUB auto boots the newest (BAD) kernel. I want to remove 6.17.0-14 from the GRUB menu.

All the help articles I've found instruct how to remove OLD kernel versions. How do I remove the NEWEST kernel version and retain the oldest in GRUB?

can traffic be routed out the interface of my SSH connection https://askubuntu.com/questions/1564072/can-traffic-be-routed-out-the-interface-of-my-ssh-connection

I have 6 VLANS and a WiFi connection. None of the networks interact. They can connect to things on their network and the public Internet. I was trying to use iproute2 source based routing and I guess I am not understanding something. The SSH session connects and its traffic flows correctly but anything try goes out the default network. Any assistance or direction to documents would be appreciated.

Setup: Ubuntu 24.04 IPROUTE2 tables I connect to 192.168.202.245 and I need all traffic my session generates to use 192.168.202.1 as a gateway But you will see from the ping it is using the WiFi network. If I down the WiFi, I can still connect and my session works, but I can not send any other traffic out.

testuser@pcr-svr2:~$ echo $SSH_CONNECTION
67.218.213.186 63029 192.168.202.245 22
testuser@pcr-svr2:~$ ping -c 2 -R 67.218.213.161
PING 67.218.213.161 (67.218.213.161) 56(124) bytes of data.
64 bytes from 67.218.213.161: icmp_seq=1 ttl=254 time=13.0 ms
NOP
RR:     192.168.10.101
        67.218.213.186
        67.218.213.161
        192.168.10.1
        192.168.10.101

64 bytes from 67.218.213.161: icmp_seq=2 ttl=254 time=10.0 ms
NOP     (same route)

testuser@pcr-svr2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:        24.04
Codename:       noble

cat /etc/iproute2/rt_tables
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
#1      inr.ruhep
1 enp1s0
2 V2
3 V3
5 V5
10 V10
40 V40
90 WiFi

testuser@pcr-svr2:~$ nmcli
wlp2s0: connected to wlp2s0
        "Realtek RTL8822CE"
        wifi (rtw_8822ce), 48:8F:4C:D4:A9:16, hw, mtu 1500
        ip4 default
        inet4 192.168.10.101/24
        route4 192.168.10.0/24 metric 600
        route4 default via 192.168.10.1 metric 0

enp1s0: connected to enp1s0
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), 00:E0:9D:85:8A:2C, hw, mtu 1500
        inet4 172.27.0.245/16
        route4 default via 172.27.0.1 metric 10
        route4 172.27.0.0/16 metric 100

enp1s0.10: connected to VLAN10
        "enp1s0.10"
        vlan, 12:12:12:02:01:10, sw, mtu 1500
        inet4 172.28.64.245/19
        route4 default via 172.28.64.1 metric 10
        route4 172.28.64.0/19 metric 403

enp1s0.2: connected to VLAN2
        "enp1s0.2"
        vlan, 12:12:12:02:01:02, sw, mtu 1500
        inet4 192.168.202.245/24
        route4 default via 192.168.202.1 metric 10
        route4 192.168.202.0/24 metric 400

enp1s0.3: connected to VLAN3
        "enp1s0.3"
        vlan, 12:12:12:02:01:03, sw, mtu 1500
        inet4 192.168.203.245/24
        route4 default via 192.168.203.1 metric 10
        route4 192.168.203.0/24 metric 401

enp1s0.40: connected to VLAN40
        "enp1s0.40"
        vlan, 12:12:12:02:01:40, sw, mtu 1500
        inet4 172.29.0.245/16
        route4 default via 172.29.0.1 metric 10
        route4 172.29.0.0/16 metric 404

enp1s0.5: connected to VLAN5
        "enp1s0.5"
        vlan, 12:12:12:02:01:05, sw, mtu 1500
        inet4 172.28.32.245/19
        route4 default via 172.28.32.1 metric 10
        route4 172.28.32.0/19 metric 402

lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

DNS configuration:
        servers: 192.168.10.1
        interface: wlp2s0

        servers: 192.168.203.1
        interface: enp1s0.3

        servers: 172.28.64.1
        interface: enp1s0.10

        servers: 172.27.0.1
        interface: enp1s0

        servers: 192.168.202.1
        interface: enp1s0.2

        servers: 172.28.32.1
        interface: enp1s0.5

        servers: 172.29.0.1
        interface: enp1s0.40

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
testuser@pcr-svr2:~$ ip rule list
0:      from all lookup local
10:     from 172.27.0.245 lookup enp1s0 proto static
10:     from 192.168.202.245 lookup V2 proto static
10:     from 192.168.203.245 lookup V3 proto static
10:     from 172.28.32.245 lookup V5 proto static
10:     from 172.28.64.245 lookup V10 proto static
10:     from 172.29.0.245 lookup V40 proto static
32766:  from all lookup main
32767:  from all lookup default
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route
default via 192.168.10.1 dev wlp2s0
172.27.0.0/16 dev enp1s0 proto kernel scope link src 172.27.0.245 metric 100
172.28.32.0/19 dev enp1s0.5 proto kernel scope link src 172.28.32.245 metric 402
172.28.64.0/19 dev enp1s0.10 proto kernel scope link src 172.28.64.245 metric 403
172.29.0.0/16 dev enp1s0.40 proto kernel scope link src 172.29.0.245 metric 404
192.168.10.0/24 dev wlp2s0 proto kernel scope link src 192.168.10.101 metric 600
192.168.202.0/24 dev enp1s0.2 proto kernel scope link src 192.168.202.245 metric 400
192.168.203.0/24 dev enp1s0.3 proto kernel scope link src 192.168.203.245 metric 401
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$
testuser@pcr-svr2:~$ ip route list table 2
default via 192.168.202.1 dev enp1s0.2 proto static metric 10
testuser@pcr-svr2:~$
*****
the other vlans are the same with their gateway and device

I am not sure how local is created.   here it is:
testuser@pcr-svr2:~$ ip route list table local
local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo proto kernel scope link src 127.0.0.1
local 172.27.0.245 dev enp1s0 proto kernel scope host src 172.27.0.245
broadcast 172.27.255.255 dev enp1s0 proto kernel scope link src 172.27.0.245
local 172.28.32.245 dev enp1s0.5 proto kernel scope host src 172.28.32.245
broadcast 172.28.63.255 dev enp1s0.5 proto kernel scope link src 172.28.32.245
local 172.28.64.245 dev enp1s0.10 proto kernel scope host src 172.28.64.245
broadcast 172.28.95.255 dev enp1s0.10 proto kernel scope link src 172.28.64.245
local 172.29.0.245 dev enp1s0.40 proto kernel scope host src 172.29.0.245
broadcast 172.29.255.255 dev enp1s0.40 proto kernel scope link src 172.29.0.245
local 192.168.10.101 dev wlp2s0 proto kernel scope host src 192.168.10.101
broadcast 192.168.10.255 dev wlp2s0 proto kernel scope link src 192.168.10.101
local 192.168.202.245 dev enp1s0.2 proto kernel scope host src 192.168.202.245
broadcast 192.168.202.255 dev enp1s0.2 proto kernel scope link src 192.168.202.245
local 192.168.203.245 dev enp1s0.3 proto kernel scope host src 192.168.203.245
broadcast 192.168.203.255 dev enp1s0.3 proto kernel scope link src 192.168.203.245
testuser@pcr-svr2:~$


I had also tried:
ip route add default via 192.168.202.1 dev enp1s0.2 table V2 src 192.168.202.245
but it did not appear to make any difference

Why do I have to restart my machine every day to stream video on Ubuntu 24.04.3? https://askubuntu.com/questions/1555199/why-do-i-have-to-restart-my-machine-every-day-to-stream-video-on-ubuntu-24-04-3

I just restarted yesterday, and there it goes again. This video is not going to play:

A random YouTube video I was trying to watch

That means my video call at 11 will not work, so I need to restart my machine ASAP. System information:

  ⎿  Linux T14-Gen6 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

● Bash(lsb_release -a)
  ⎿  Distributor ID:    Ubuntu        
     Description:       Ubuntu 24.04.3 LTS
     Release:   24.04
     … +1 line (ctrl+r to expand)

● Bash(lscpu | head -20)
  ⎿  Architecture:                            x86_64                           
     CPU op-mode(s):                          32-bit, 64-bit
     Address sizes:                           48 bits physical, 48 bits virtual
     … +25 lines (ctrl+r to expand)

● Bash(hostnamectl)
  ⎿   Static hostname: T14-Gen6       
            Icon name: computer-laptop
              Chassis: laptop 💻
     … +10 lines (ctrl+r to expand)

● System Diagnostics Summary:

  Ubuntu Version: 24.04.3 LTS (Noble Numbat)
  Kernel: Linux 6.14.0-29-generic
  Architecture: x86_64 (64-bit)
  Hostname: T14-Gen6

  Hardware:
  - Lenovo ThinkPad T14 Gen 6 laptop
  - AMD Ryzen AI 7 PRO 350 processor
  - 8 cores, 16 threads
  - Radeon 860M graphics
  - Max CPU frequency: 5090 MHz

  Firmware: R2XET33W v1.13 (June 2025)

I even used Claude Code to help create an optimized version of Chrome. I've installed drivers, flipped many chrome://flags, and turned off an on hardware acceleration.

During a brief period of trying Firefox, I experienced the same thing.

Restarting daily just cannot be life with Ubuntu! Can someone help me out here?

Ubuntu 24.04 magnfier sucks, is there any option? https://askubuntu.com/questions/1547930/ubuntu-24-04-magnfier-sucks-is-there-any-option

I'm a visually impaired Linux user and I went away from Linux a while back because of it's lack of support for people with disabilities. Yes I said it, Linux has flaws. I've tried the full screen zoom and it really sucks big time. It doesn't even zoom. It shrinks the screen instead and fills the borders with gray areas. I mean it's a complete mess, so not to piss more people off, do you know of any working alternative like Win/Max options?

If you're gonna say go back to Windows, I've been there and done that, so, that's that.

I'm sorry if I sound harsh, normally Linux people get picky when a non-power user asks questions, that's what the 90's and LinuxQuestions and other forums left me with.

After some digging and a full reinstall, I discovered something I want to share because all of you provided a lot of advice so you people deserve to know.

My hardware is an Asus TUF DASH F15 from 2021 with Nvidia 3050 Ti, NVMe drives and 24GB RAM (just for reference)

  • I decided to reinstall Ubuntu after struggling with some configurations, cleared my system drive and did clean install to find that my regular Gnome zoom worked flawlessly, no screwed up display, no echoes or gay edged -- me happy -- just worked out of the box, but my dual monitor was not working, no video on the monitor plugged in to HDMI, so did some research and found that I wasn't using Nvidia drivers (proprietary), I found and issued these commands.

    sudo apt-get purge 'nvidia*'  
    sudo add-apt-repository ppa:graphics-drivers  
    sudo apt-get update   
    sudo ubuntu-drivers autoinstall  
    
  • The other thing is that when I mirror the displays, it works fine, but if I Join (extend) the displays, it's like Ubuntu just takes half of the built-in display and half the external monitor and places it's zoomed are there which makes everything unusable, I took a picture because neither regular screenshot nor Flameshot couldcapture the bug.

Monitor 2 came to life, but it broke zooming, so you may guess that I'm scratching my head over this.

Asus Laptop on the left, HDMI monitor on the right:

Asus Laptop on the left, HDMI monitor on the right

Now I can say it's the Nvidia drivers, and you might say, then stick to xorg-nouveau drivers, but I can't. I record videos on OBS, so I need the GPU.

May you gurus out there suggest any solution? Has anyone come across this weird behavior?. I know there's no way of tampering or investigating Nvidia closed-source drivers, but someone somewhere might be on my same position. And I do not really think you have to decide to break your neck and back as a low vision person using the 15" laptop screen or using a mirror display. Although it's Linux, and I'm supposed to fix that myself, I just can't figure out how to do it.

Dummy output issue https://askubuntu.com/questions/1544732/dummy-output-issue

I am using Ubuntu 24.04.2 on my HP HP 255 15.6 inch G9 Notebook PC. After install I was facing dummy output issue and I tried many fixes from the other posts, but it did not work.

I reinstalled Ubuntu, and it worked for a day. However, after update the dummy output issue is back. I reinstalled but it is still there. I am new to Linux and have no idea how to fix it.

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I tried installing and reinstalling the things asked in other posts like:

sudo apt install --reinstall pulseaudio
sudo apt install --reinstall alsa-base alsa-utils
sudo apt install pulseaudio
sudo apt install pavucontrol
Is the installation of Spamassasin (4.0.0-8ubuntu5) broken in Ubuntu Server 24.04? Or has something changed? https://askubuntu.com/questions/1532343/is-the-installation-of-spamassasin-4-0-0-8ubuntu5-broken-in-ubuntu-server-24-0

I am trying to install Spamassassin (4.0.0-8ubuntu5) on my VPS with Ubuntu Server 24.04.

With the command, sudo apt install spamassassin spamc, the installation is completed without an error message. However, when I run sudo systemctl enable spamassassin I get the following error message:

Failed to enable unit: Unit file spamassassin.service does not exist.

Unfortunately, I don't know what I can do to check what's going on.

In the log file, /var/log/mail.log, you can find the following:

2024-11-07T18:07:39.391194+01:00 crosis spamd[15368]: spamd: server killed by SIGTERM, shutting down
2024-11-07T18:07:40.558418+01:00 crosis spamd[17924]: zoom: able to use 388/388 'body_0' compiled rules (100%)
2024-11-07T18:07:40.974060+01:00 crosis spamd[17924]: spamd: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 4.0.0)
2024-11-07T18:07:40.974334+01:00 crosis spamd[17924]: spamd: server pid: 17924
2024-11-07T18:07:40.978836+01:00 crosis spamd[17924]: spamd: server successfully spawned child process, pid 17954
2024-11-07T18:07:40.982455+01:00 crosis spamd[17924]: spamd: server successfully spawned child process, pid 17955
2024-11-07T18:07:40.983479+01:00 crosis spamd[17924]: prefork: child states: IS
2024-11-07T18:07:40.983857+01:00 crosis spamd[17924]: prefork: child states: II

Has something changed? Does the service spamassassin.service no longer exist and now spamd is the replacement?

How to install driver for DVB-T2 HDTV USB Stick - T230C on Ubuntu 22.04 https://askubuntu.com/questions/1477979/how-to-install-driver-for-dvb-t2-hdtv-usb-stick-t230c-on-ubuntu-22-04

After connecting that USB stick to my PC, I've checked typing lsusb. The output is:

Bus 001 Device 006: ID 0572:c68a Conexant Systems (Rockwell), Inc. EyeTV Stick

Then, I installed typing in terminal sudo apt-get update and sudo apt-get install w-scan. Then typing w_scan, the output is the following:

w_scan 
w_scan version 20170107 (compiled for DVB API 5.11)
guessing country 'ES', use -c <country> to override
using settings for SPAIN
DVB aerial
DVB-T Europe
scan type TERRESTRIAL, channellist 4
output format vdr-2.0
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
/dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Silicon Labs Si2168": very good :-))

Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_ 
Using DVB API 5.11
frontend 'Silicon Labs Si2168' supports
DVB-T2
INVERSION_AUTO
QAM_AUTO
TRANSMISSION_MODE_AUTO
GUARD_INTERVAL_AUTO
HIERARCHY_AUTO
FEC_AUTO
BANDWIDTH_AUTO not supported, trying 6/7/8 MHz.
FREQ (48.00MHz ... 870.00MHz)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 
Scanning DVB-T...
Scanning 8MHz frequencies...
474000: (time: 00:00.051) 
482000: (time: 00:02.059) 
490000: (time: 00:04.063) 
[ so on... ]
Scanning DVB-T2...
474000: (time: 01:38.302) 
482000: (time: 01:40.306) 
490000: (time: 01:42.310)
[ so on... ]

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

Then, I tried the another way: I typed in terminal sudo apt-get install dvb-apps and I installed Kaffeine from Ubuntu Software.

After that, I opened Kaffeine, at the top of the window, I clicked Television and then Configure Television, at the tab Device 1 I set up for the signal of my country. And finally, at the top of the window, clicked Television and Channels, and click the button Start Scan, the output is that it coudn't find any channel, so the list of channels is empty.

I think the driver for the device is missed. Does anyone advice me?

Answering to @chili555 from the comment, I typed lsmod | grep dvb. The output is the following:

dvb_usb_dvbsky         24576  0
dvb_usb_v2             49152  1 dvb_usb_dvbsky
m88ds3103              40960  1 dvb_usb_dvbsky
dvb_core              155648  3 dvb_usb_v2,m88ds3103,dvb_usb_dvbsky
mc                     65536  3 si2157,dvb_usb_v2,dvb_core
rc_core                65536  5 dvb_usb_v2,rc_total_media_in_hand_02,cec,dvb_usb_dvbsky

And sudo dmesg | grep -i dvb, the output is the following:

[40312.264709] usb 1-5: dvb_usb_v2: found a 'MyGica Mini DVB-(T/T2/C) USB Stick T230C v2' in warm state
[40312.265117] usb 1-5: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[40312.265141] dvbdev: DVB: registering new adapter (MyGica Mini DVB-(T/T2/C) USB Stick T230C v2)
[40312.265949] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[40312.281314] usb 1-5: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[40312.281318] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered.
[40312.281705] rc rc0: MyGica Mini DVB-(T/T2/C) USB Stick T230C v2 as /devices/pci0000:00/0000:00:14.0/usb1/1-5/rc/rc0
[40312.281771] rc rc0: lirc_dev: driver dvb_usb_dvbsky registered at minor = 0, scancode receiver, no transmitter
[40312.281804] input: MyGica Mini DVB-(T/T2/C) USB Stick T230C v2 as /devices/pci0000:00/0000:00:14.0/usb1/1-5/rc/rc0/input35
[40312.281876] usb 1-5: dvb_usb_v2: schedule remote query interval to 300 msecs
[40312.281879] usb 1-5: dvb_usb_v2: 'MyGica Mini DVB-(T/T2/C) USB Stick T230C v2' successfully initialized and connected
[40507.244626] si2168 5-0064: Direct firmware load for dvb-demod-si2168-d60-01.fw failed with error -2
[40507.244642] si2168 5-0064: firmware file 'dvb-demod-si2168-d60-01.fw' not found
[40507.272661] si2168 5-0064: Direct firmware load for dvb-demod-si2168-d60-01.fw failed with error -2
[40507.272677] si2168 5-0064: firmware file 'dvb-demod-si2168-d60-01.fw' not found
[40533.546811] si2168 5-0064: Direct firmware load for dvb-demod-si2168-d60-01.fw failed with error -2
[40533.546815] si2168 5-0064: firmware file 'dvb-demod-si2168-d60-01.fw' not found

According to that, the firmware is missed.

Following the steps of @chili555: After rebooting, I typed sudo dmesg | grep -i dvb and the output is the same as the previous output in above but without lines about firmware. Then, I typed w_scan and I got the same error in the output, later I typed again sudo dmesg | grep -i dvb and the output is a little different: "downloading firmware"...

[   11.840947] usb 1-1: dvb_usb_v2: found a 'MyGica Mini DVB-(T/T2/C) USB Stick T230C v2' in warm state
[   11.847400] usb 1-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[   11.847427] dvbdev: DVB: registering new adapter (MyGica Mini DVB-(T/T2/C) USB Stick T230C v2)
[   11.847954] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[   11.915779] usb 1-1: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
[   11.915791] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered.
[   11.953180] rc rc0: MyGica Mini DVB-(T/T2/C) USB Stick T230C v2 as /devices/pci0000:00/0000:00:15.0/usb1/1-1/rc/rc0
[   11.953244] rc rc0: lirc_dev: driver dvb_usb_dvbsky registered at minor = 0, scancode receiver, no transmitter
[   11.953295] input: MyGica Mini DVB-(T/T2/C) USB Stick T230C v2 as /devices/pci0000:00/0000:00:15.0/usb1/1-1/rc/rc0/input10
[   11.953343] usb 1-1: dvb_usb_v2: schedule remote query interval to 300 msecs
[   11.953350] usb 1-1: dvb_usb_v2: 'MyGica Mini DVB-(T/T2/C) USB Stick T230C v2' successfully initialized and connected
[   11.953409] usbcore: registered new interface driver dvb_usb_dvbsky
[  136.163771] si2168 6-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'

After that, I tried with Kaffeine and it couldn't get any channel yet.

Ethernet connection not available (on Ubuntu 22.04.2 LTS dual-boot setup) https://askubuntu.com/questions/1475729/ethernet-connection-not-available-on-ubuntu-22-04-2-lts-dual-boot-setup

Please note that I am a complete beginner to using Ubuntu

I have recently installed Ubuntu 22.04.2 LTS to my Windows desktop in a dual-boot setup.

Problem Statement

After installing Ubuntu, everything seemed to be in working order apart from my ethernet connection. This is what is currently displayed to me in the GUI 'Network' settings area:

enter image description here

In other words, my cable is apparently 'unplugged'. However, when I look inside ifconfig the ethernet device enp1s0 appears to be recognised:

johnny@johnnyb1694-Ubuntu:~$ sudo ifconfig
enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 68:1d:ef:33:00:6f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 82  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1956  bytes 165100 (165.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1956  bytes 165100 (165.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.33  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 2a02:8011:ee20:0:2d7f:835f:2f06:564e  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::c4f8:ab8f:6cd8:926c  prefixlen 64  scopeid 0x20<link>
        inet6 2a02:8011:ee20:0:bad5:c122:b248:29f9  prefixlen 64  scopeid 0x0<global>
        ether 78:8a:86:26:b7:e4  txqueuelen 1000  (Ethernet)
        RX packets 9329  bytes 7275533 (7.2 MB)
        RX errors 0  dropped 815  overruns 0  frame 0
        TX packets 6100  bytes 1222425 (1.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Another interesting observation is that when running dmesg the same device enp1s0 appears to be renamed from eth0 on startup until being momentarily shut down:

johnny@johnnyb1694-Ubuntu:~$ sudo dmesg | grep enp1s0
[    1.453852] r8169 0000:01:00.0 enp1s0: renamed from eth0
[    6.602587] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603179] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603791] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603802] r8169 0000:01:00.0 enp1s0: Link is Down
[    6.617385] r8169 0000:01:00.0 enp1s0: rtl_counters_cond == 1 (loop: 1000, delay: 10).

What I've tried

One solution that I found in a similar answer was to run the following command from the terminal:

sudo ethtool -s enp1s0 speed 100 duplex full autoneg off

After running this statement, things do seem to temporarily improve. For example, reviewing the dmesg log again now shows a change in status:

johnny@johnnyb1694-Ubuntu:~$ sudo dmesg | grep enp1s0
[    1.453852] r8169 0000:01:00.0 enp1s0: renamed from eth0
[    6.602587] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603179] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603791] r8169 0000:01:00.0 enp1s0: rtl_ocp_gphy_cond == 1 (loop: 10, delay: 25).
[    6.603802] r8169 0000:01:00.0 enp1s0: Link is Down
[    6.617385] r8169 0000:01:00.0 enp1s0: rtl_counters_cond == 1 (loop: 1000, delay: 10).
[ 2132.644712] r8169 0000:01:00.0 enp1s0: Link is Up - 100Mbps/Full - flow control off
[ 2132.644736] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
[ 2137.957219] NETDEV WATCHDOG: enp1s0 (r8169): transmit queue 0 timed out
[ 2137.971670] r8169 0000:01:00.0 enp1s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).

And the GUI view is also updated:

enter image description here

However, this change in status appears to be fleeting (i.e. it falls off again momentarily afterwards) and, more pressingly, the connection that is established is extremely poor (for example, a request to https://www.google.com/ appears to hang almost indefinitely).

I am pretty sure that this is an issue specific to my Ubuntu setup as when I boot on Windows and access the internet via my wired ethernet connection, everything works perfectly.

Would anybody be able to help me fix this issue with a bit of guidance? I am happy to provide more information if it will be helpful.

Thank you.

How to reduce the machine's power consumption? https://askubuntu.com/questions/1465029/how-to-reduce-the-machines-power-consumption

My machine, Thinkpad X1 extreme Gen 5 running Kubuntu 23.04 seems to have abnormally high power consumption, even in dile. The usual culprit, Nvidia card, seems to be drawing 0% power and some unusual processes and wake-ups seem to be at the top of the list.

Can someone please help me analyze my power consumption?

Here are the screenshots from the results of powertop:

enter image description here
Click image to enlarge it.

enter image description here

And the output of top. (I'm also confused with powertop saying 38% or something, with just 2% CPU load?)

top - 19:13:39 up 20:06,  3 users,  load average: 0.43, 0.64, 0.75
Tasks: 488 total,   2 running, 486 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.6 us,  1.3 sy,  0.1 ni, 95.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  31775.5 total,   9603.4 free,  11656.5 used,  13108.1 buff/cache
MiB Swap:  40000.0 total,  40000.0 free,        0.0 used.  20119.0 avail Mem

Anyway, how should I reduce the power usage?

how to use wget to download shared zip file from google drive? https://askubuntu.com/questions/1321403/how-to-use-wget-to-download-shared-zip-file-from-google-drive

How do I download the zip files here https://drive.google.com/drive/folders/1PYSJLae6m9Bb55NADlFUdtEKH9UHML-l using wget?

/sbin/init splash high CPU usage https://askubuntu.com/questions/1278372/sbin-init-splash-high-cpu-usage

I'm running Ubuntu 20.04 and since a week the fan of my laptop spins constantly. There are also major performance dropouts where the system seems to halt for a few seconds.

Now I had the time to take a closer look at it and noticed, that /sbin/init splash is constantly eating around 25% CPU time. I have an encrypted partition, is that to blame?

OpenGL 4.x support on Ubuntu 18.04.2 using Intel UHD 620 https://askubuntu.com/questions/1157002/opengl-4-x-support-on-ubuntu-18-04-2-using-intel-uhd-620

I am trying to figure out how to get Ubuntu 18.04.2 to support OpenGL 4.x on my Dell Latitude 7300 laptop with Intel UHD 620 graphics.

From this post:

How to upgrade Intel Graphics driver?

I gleaned that I need to upgrade my Intel drivers, and the best way to do this was to add a new repository with up-to-date Intel drivers like so:

sudo add-apt-repository ppa:oibaf/graphics-drivers

However, when I added that repository and did:

sudo apt install xserver-xorg-video-intel

The output suggested I needed additional dependencies:

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:
 xserver-xorg-video-intel : Depends: xorg-video-abi-23
                            Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.

I tried installing the requested dependencies:

sudo apt install xserver-xorg-core

But didn't realize what this was doing:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  intel-gpu-tools libllvm7
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED:
  ubuntu-desktop xorg xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04
  xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04
  xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04
  xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
  xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
  xserver-xorg-video-intel-hwe-18.04-dbg xserver-xorg-video-nouveau-hwe-18.04
  xserver-xorg-video-qxl-hwe-18.04 xserver-xorg-video-radeon-hwe-18.04
  xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed:
  xserver-xorg-core
0 upgraded, 1 newly installed, 18 to remove and 0 not upgraded.

This screwed up my system, since it UNINSTALLED drivers for my trackpad and other critical pieces. I managed to get the critical pieces re-installed, but I am left wondering, what is the correct procedure to get Intel drivers that support OpenGL 4.x installed?

sudo xrandr --addmode LVDS1 1976x1080_60.00 X Error of failed request: BadMatch (invalid parameter attributes) https://askubuntu.com/questions/964796/sudo-xrandr-addmode-lvds1-1976x1080-60-00-x-error-of-failed-request-badmatch

When I try to change resolution this comes:

$ sudo xrandr --addmode LVDS1 1976x1080_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  32
  Current serial number in output stream:  33

Please help me.

ns 2 .35 installation in Ubuntu 16.04 https://askubuntu.com/questions/915969/ns-2-35-installation-in-ubuntu-16-04

While installing I'm getting this error. Can anyone suggest a solution?

            ^~~~
mdart/mdart_adp.cc: In member function ‘void ADP::sendDaup()’:
mdart/mdart_adp.cc:396:21: error: reference to ‘hash’ is ambiguous
  nsaddr_t dstAdd_ = hash(mdart_->id_);
                     ^~~~
In file included from ./mdart/mdart.h:52:0,
                 from ./mdart/mdart_adp.h:51,
                 from mdart/mdart_adp.cc:47:
./mdart/mdart_function.h:230:17: note: candidates are: nsaddr_t hash(nsaddr_t)
 inline nsaddr_t hash(nsaddr_t id) {
                 ^~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5628:0,
                 from /usr/include/c++/6/string:52,
                 from /usr/include/c++/6/bitset:47,
                 from ./mdart/mdart_function.h:62,
                 from ./mdart/mdart.h:52,
                 from ./mdart/mdart_adp.h:51,
                 from mdart/mdart_adp.cc:47:
/usr/include/c++/6/bits/functional_hash.h:58:12: note:                 template<class _Tp> struct std::hash
     struct hash;
            ^~~~
Makefile:93: recipe for target 'mdart/mdart_adp.o' failed
make: *** [mdart/mdart_adp.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
/etc/init.d/rsyslog {start | stop | restart} : Need this to work https://askubuntu.com/questions/674769/etc-init-d-rsyslog-start-stop-restart-need-this-to-work

I have read the answer/comments for the thread Diffrence between /etc/init.d/ssh start and service ssh start.

But I need this /etc/init.d method to be working. I have some auto-generated scripts which invoke /etc/init.d method only. Could you kindly provide me some fix/workaround for this?

Is it possible to upgrade the Evolution mail client to 3.16 in Ubuntu 14.04? https://askubuntu.com/questions/635033/is-it-possible-to-upgrade-the-evolution-mail-client-to-3-16-in-ubuntu-14-04

Is it possible to upgrade the Evolution mail client to v3.16 in Ubuntu 14.04 without having to install the full Gnome stack?

Java Swing JFrame doesn't work in Ubuntu https://askubuntu.com/questions/582721/java-swing-jframe-doesnt-work-in-ubuntu

I wrote the following program in Java:

import javax.swing.*;
import java.awt.*;

public class Main {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Test");
        frame.setSize(new Dimension(800, 600));
        frame.setVisible(true);
    }
}

However when I run it the icon shows up in the bar on the left, but no actual window is displayed. I use the openjdk-8 at the moment, installed via apt-get install openjdk-8-jdk. I also tried this with Oracle Java and it didn't work either.

How can I get my code to display a Frame?

assign driver with wpa_supplicant https://askubuntu.com/questions/573541/assign-driver-with-wpa-supplicant

Ubuntu server. I have a AR93xx wireless network adapter. I'm trying to use wpa_supplicant to connect to my home network. I run this: sudo wpa_supplicant -D ath9k -i wlan0 -c /etc/wpa.conf The device is at wlan0 and the wpa.conf file is located there. Here's the conf file:

network={
    ssid="Enkidu"
    psk="mypasscode"
    #psk=hashed number not sure where it came from commented out
    key_mgmt=WPA-PSK
    #proto=RSN WPA 
    pairwise=CCMP TKIP
    group=CCMP TKIP
}

Message from wpa_supplicant: wlan0: Unsupported driver 'ath9k'

I'm changing my approach as I go. The driver is loaded, iwlist wlan0 scan shows all the local networks.

Next I edited the .conf file, un-commented the hashed password(my network passwords are AES encrypted, I read that in the router GUI). Then I went into the /etc/network/interface file and edited it like this:

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf

Now when I run wpa_supplicant -D ath9k -i wlan0 -c /etc/wpa.conf I get what looks like the correct feedback. Hooray! On to the next step.

So, now I'm stuck. I tried sudo dhclient -r and sudo dhclient wlan0` to see if that was needed to release the previous wired connection. Not sure what to do next. Any help would be appreciated.

I rebooted the system and it connected to the system.

Is there any Java decompiler GUI https://askubuntu.com/questions/491728/is-there-any-java-decompiler-gui

I am using Eclipse, and just lost some important .java files from Ubuntu 14.04. Now I am left out with just .class files. I know about Java Decompiler, but jd-eclipse is not working. I need a Java decompiler for recovering my files or is there any other way to recover deleted files (not like extundelete) to recover my .java files?

If not, is there any easy way to use Java Decompiler?

How do I connect to USB HDD on BT Homehub 3? https://askubuntu.com/questions/302073/how-do-i-connect-to-usb-hdd-on-bt-homehub-3

I have a home network, based around a BT Homehub 3.

My understanding is that whilst the BT Homehub 3 is essentially a Linux machine, it uses Windows (SMB) networking.

I also have an HTPC based on OpenELEC on the network, and a Sony Vaio on which I use Ubuntu (dual boot with Windows 7).

Attached to the BT homehub 3 (via USB) is a 2TB NTFS media storage drive.

The HTPC can see and connect to this just fine, at smb://BTHUB3/USB1, and can stream media from it, as intended.

However I wish to also connect my Ubuntu laptop and the homehub mounted drive. This is proving to be a real pain.

I have tried the following:

  • In the browser (Chromium) navigate to file://192.168.1.254/ (that is the correct IP for the BThomehub, but I get the file list for my laptop.

  • In nautilus - click through HOME group - freezes and fails to access "unable to access location".

  • In terminal: nautilus smb://bthub3/usb1 - nothing happens.

Note that the default workgroup for Ubuntu is WORKGROUP, but I changed this to HOME. I have tried all the above using both variations.

"Failed to set DisplayPort power" - dual head freezes OS https://askubuntu.com/questions/58016/failed-to-set-displayport-power-dual-head-freezes-os

Problem

No picture appears on the second, externally, connected monitor.

All used to work perfectly until a week ago or so. I always used nvidia-settings + TwinView/Clone to clone my laptops view, but now nothing happens and Ubuntu freezes, gets garbled and unresponsive when I try to clone it.

I rely on a dual screen setup on this machine for my work and I really need it to work·

Screenshots

These show some of the settings in nvidia-settings and also how garbled the screen becomes. Notice that the external screen (in this case the Samsung) shows nothing and it's just black all the time. It does however detect it has an attached cable to it since the monitor says "No signal" when I disconnect the cable from my laptop to it.

enter image description here
Click image to enlarge it.

enter image description here

Symptoms

  • External monitors are always detected properly, problem occurs when I try to actually activate them.
  • Upon activation in nvidia-settings (or anything else) the system freezes. A garbled picture is shown on the laptop screen and no picture is shown on external monitor.

Hardware

  • MacBook Air 3,2
  • GeForce 320M (GPU 0)

Software

Already tried

14th of August 2011:

  • List item
  • Reinstalled the nvidia drivers and using the ones Ubuntu chooses in restricted drivers box.
  • Reinstalled xorg.
  • Deleted all GNOME2 settings and got a fresh GNOME2.
  • Connected the computer to several different external monitors, all which used to work, but with same zero result. (This all works in another OS on the same computer, so it's not hardware issues.)
  • Shut off Compiz - no change.

20th of August 2011:

  • Reinstalled ubuntu-desktop and all dependencies for it, I see no change.
  • Installed latest NVIDIA prop dirvers 280.13. Status quo.
  • Tried creating new user accounts and testing other already existing accounts: Same result.
  • Tried disper & xrandr Same freeze occurs.

21th of August 2011:

  • Completely re-installed the whole OS, but this time I went with LinuxMint 11 (Katya, 64). The problem remains.