VirtualBox Debug Build - NS_ERROR_FAILURE (0x80004005) https://askubuntu.com/questions/1561826/virtualbox-debug-build-ns-error-failure-0x80004005

I manually built a debug build of Oracle VirtualBox on Linux 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 24.04)

It starts up correctly but doing:

make 
sudo make install 
./VirtualBox

leads to:

VirtualBox kernel driver not Installed. 
The vboxdrv kernel module was either not loaded, /dev/vboxdrv is not set up properly, 
or you are using EFI Secure Boot and the module is not signed in the right way for your system. 
If necessary, try setting up the kernel module again by executing '/sbin/vboxconfig' as root (VERR_VM_DRIVER_NOT_INSTALLED).

Resulting code:

NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
  • Secure Boot is disabled.
  • I tried insmod to load them manually and give myself rights to access the devices in /dev, but this resulted in
VirtualBox kernel driver is not accessible, permission problem. 
If you have built VirtualBox yourself, 
make sure that you do not have the vboxdrv kernel module from a different build or installation loaded. 
Also, make sure the vboxdrv udev rule gives you the permission you need to access the device. 
(VERR_VM_DRIVER_NOT_ACCESSIBLE).

Resulting code:

NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

If anybody has an idea how to resolve this to get my debug build to boot a guest let me know. VirtualBox otherwise works correctly. It's just the kernel drivers that are irritating my nerves.

HP laptop 14-dq0054dx no REboot after install https://askubuntu.com/questions/1561822/hp-laptop-14-dq0054dx-no-reboot-after-install

I just got Ubuntu 24.04 installed and set up, working great on my wife's HP laptop. It is about 2 years old. The only problem I have is it will not reboot after an update. It will not restart. It hangs at the HP and Ubuntu splash screen.

I can force power it off and wait a good bit then power it back on and I get to the login screen and it works perfectly again. I have done a small bit of research but found none where the Linux works but it just won't restart. There's AI slop that I have seen but I don't trust the first results in google. Thanks for any help!

Mac

laptop model 14-dq0054dx

i do the sudo apt-get update but this i got this error [duplicate] https://askubuntu.com/questions/1561821/i-do-the-sudo-apt-get-update-but-this-i-got-this-error
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu questing InRelease' doesn't support architecture 'i386'
E: The repository 'https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu questing Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Some sources can be modernized. Run 'apt modernize-sources' to do so.

is there a way to fix it?

im using kubuntu 25.10

My laptop is dying and i need to alive for atleast minimum 6-8 months max without spending any penny(because i cant,#i dont have any) [closed] https://askubuntu.com/questions/1561820/my-laptop-is-dying-and-i-need-to-alive-for-atleast-minimum-6-8-months-max-withou

Please help me i need my notebook to run for atleast 6 more months before i get my first job and i thought windows is eating it update by update which it is but i need some help with my problem which is wifi appears and dissapears out of no where and only works after i hit hard reset , and last night when i logged in back to winnddows and then back to my ubuntu setup the screen frozzed and the caps button's light kept blinking thats when i gave up and went to sleep but now its back to normal but idk until when . to be moreprecise all of this including screen froze happens when i leave my notebook unattended without locking the screen orr switching off it and also i have turned the power option to set screen off to never . i am really worried guys please i have already set the power option to back normal if anyone can please suggest anything(my notebook is Asus tuff f15 rtx2050 16/512 intell 11th )

No networking after I failed upgrade from 25.04 to 25.10 https://askubuntu.com/questions/1561812/no-networking-after-i-failed-upgrade-from-25-04-to-25-10

I had set up Ubuntu on a Dell Latitude 5431 in July — it's my first serious attempt at making use of a Linux box in ~20 years, so I'm relatively green, but not entirely, and not afraid of some downtime and troubleshooting.

A few weeks ago, I attempted to upgrade via the GUI notification, prompting me to move from 25.04 to 25.10 — it failed, and the machine would no longer take updates for anything afterwards. I attempted the commands apt update, apt upgrade, apt full-upgrade, and now it's lost networking entirely.

I had it working well for ~5 months, long enough to get a good number of packages installed, and everything configured to my liking — thus a little reluctant to abandon it and start over. Is it a lost cause?

Priority would be to get networking back, I still have a windows machine I can use to retrieve files, but is this even viable? I don't know where to start...

If/when networking is restored, I'll then of course need to repair the install so that it can upgrade properly. Just hoping someone here can provide some guidance on where to start...

Image permissions https://askubuntu.com/questions/1561805/image-permissions

After a hard drive failure I have transferred over 10000 personally taken railway images to an SSD which is working through a Tooq hard drive reader. On attempting to edit one of these images I find that although I have read and write permissions, Group (also shown as me) is read only, as are other users - there are none. The upshot is it will not allow me to open my own image (on Gimp) but strangely it will allow me to middle about with it on XNView, as well as opening it of course. This appears to apply to all of the images.Is there a path that I can use to rectify this across the drive?. The images in folders are all that is on it.

How can I troubleshoot a non-running CUPS? (snap 1130 or /usr/sbin) https://askubuntu.com/questions/1561802/how-can-i-troubleshoot-a-non-running-cups-snap-1130-or-usr-sbin

Ubuntu 20.04 (and 22.04) on an older laptop. Stopped printing about two weeks ago. Trouble was first reported on 29 Nov; not exactly sure when last successful print was produced; it was printing when I last logged a change (change from ppd to ipp on 14 Nov). It appears that there is a conflict between the snap CUPS and the /usr/sbin CUPS and I'm failing to get one or the other, but not both, to run. (Though on my laptop, both seem to be running happily together.)

Details:

CUPS is non-responsive at localhost:631 ("Unable to connect; Firefox can't establish a connection to the server at localhost:631"). Settings->Printers displays a frowny face with "Sorry! The system printing service doesn't seem to be available"

Laptop is an older System 76 kudu running Ubuntu 20.04 patched up-to-date; printing was working fine with the wireless-connected HP Deskjet 2700 printer until about two weeks ago; I added the printer (again), this time with ipp (rather than the ppd) and all worked for several days; printer itself is still working -- my laptop (Clevo PD70; Ubu 24.04) prints on it just fine; for the record, it is also running the /usr/sbin/cupsd

Upgraded machine to Ubuntu 22.04 with no change in behaviour -- "similar" cups processes running, but no printing; no localhost:631; etc.; a number of CUPS-related processes are running, though not the same as on my laptop (which works).

syslog has fairly regular occurrences of:

<timestamp> <machinename> cupsd[<PID>]: Unable to open log file "/var/log/error_log" - Permission denied

and

<timestamp> <machinename> cupsd[<PID>]: Unable to open log file "/var/log/access_log" - Permission denied

as well as

<timestamp> <machinename> cups.cups-browsed[<PID>]: + true
<timestamp> <machinename> cups.cups-browsed[<PID>]: + sleep 3600

Diagnostics I've tried:

$ /etc/init.d/cups status
cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2025-12-13 04:56:51 EST; 1h 32min ago
TriggeredBy: ● cups.socket [green dot]
             ○ cups.path   [blank/black dot]
...
$  snap services cups |& less
djlocker@DJL-Kudu:/var/log$  snap services cups
Service            Startup  Current  Notes
cups.cups-browsed  enabled  active   -
cups.cupsd         enabled  active   -
$ fps cups ## fps is an ancient bash function I use to "find" "process status"
  PPID     PID  NI USER     EGROUP   %CPU %MEM     ELAPSED COMMAND
      1   42145   0 root     root      0.0  0.0    10:40:37 /bin/sh /snap/cups/1130/scripts/run-cups-browsed
  42145   42199   0 root     root      0.0  0.0    10:40:36 /bin/sh /snap/cups/1130/scripts/run-cups-browsed
      1   42203   0 root     root      0.0  0.0    10:40:36 /bin/sh /snap/cups/1130/scripts/run-cupsd
  42203   42279   0 root     root      0.0  0.0    10:40:36 cupsd -f -s /var/snap/cups/common/etc/cups/cups-files.conf -c /var/snap/cups/common/etc/cups/cupsd.conf
  42203   42280   0 root     root      0.0  0.0    10:40:36 cups-proxyd /var/snap/cups/common/run/cups.sock /run/cups/cups.sock -l --logdir /var/snap/cups/1130/var/log
      1   43052   0 root     root      0.0  0.1    01:36:44 /usr/sbin/cupsd -l
  43052   43077   0 lp       lp        0.0  0.0    01:36:44 /usr/lib/cups/notifier/dbus dbus://
  43052   43078   0 lp       lp        0.0  0.0    01:36:44 /usr/lib/cups/notifier/dbus dbus://
  43052   43079   0 lp       lp        0.0  0.0    01:36:44 /usr/lib/cups/notifier/dbus dbus://
  43052   43301   0 lp       lp        0.0  0.0    01:36:30 /usr/lib/cups/notifier/dbus dbus://
$ systemctl list-dependencies cups.service
cups.service
○ ├─cups.path
● ├─cups.socket
...

The list-dependencies shows black dot for cups.path, systemd-{ask-password-console.path,boot-system-token.service,machine-id-commit.service,pstore.service, timesyncd.service}, local-fs.target/systemd-fsck-root.service; all others green

$  sudo /snap/cups/1130/sbin/cupsd -t
[sudo] password for <username>: 
Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
"/var/snap/cups/common/etc/cups/cups-files.conf" is OK.
"/var/snap/cups/common/etc/cups/cupsd.conf" is OK.

Various restart attempts (snap restart cups or /etc/init.d/cups restart) have failed to change ill behaviour.

Per comment, additional info:

$  systemctl status cups.path
○ cups.path - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.path; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2025-12-12 19:48:17 EST; 12h ago
   Triggers: ● cups.service

Dec 12 12:54:15 <machinename> systemd[1]: Started CUPS Scheduler.
Dec 12 19:48:17 <machinename> systemd[1]: cups.path: Deactivated successfully.
Dec 12 19:48:17 <machinename> systemd[1]: Stopped CUPS Scheduler.
$  journalctl -b -xu cups.path
Dec 12 12:54:15 <machinename> systemd[1]: Started CUPS Scheduler.
░░ Subject: A start job for unit cups.path has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit cups.path has finished successfully.
░░ 
░░ The job identifier is 184.
Dec 12 19:48:17 <machinename> systemd[1]: cups.path: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit cups.path has successfully entered the 'dead' state.
Dec 12 19:48:17 <machinename> systemd[1]: Stopped CUPS Scheduler.
░░ Subject: A stop job for unit cups.path has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A stop job for unit cups.path has finished.
░░ 
░░ The job identifier is 6713 and the job result is done.
`kvm_intel` and VirtualBox https://askubuntu.com/questions/1560789/kvm-intel-and-virtualbox

What is the downside of permanently disabling or evening uninstalling kvm_intel?

VirtualBox will not work if it is running.

Trouble detecting WiFi adaptor in Ubuntu 24.04 https://askubuntu.com/questions/1560783/trouble-detecting-wifi-adaptor-in-ubuntu-24-04

I recently encountered an issue with my computer’s drivers, primarily relating to wifi detection. I didn’t actively apply any updates or anything, just left my computer running idle for 5 mins and came back to a black screen requiring a reboot. Upon restart, I noticed my computer no longer detects a wifi adapter.

I later realized other issues, for example I cannot change the screen brightness, the audio dial is labeled “dummy output”, and there was suddenly a dependency issue (confirmed with sudo apt-get check) that my linux-tools-6.14.0-37-generic depended on (but could not find) linux-tools-6.14.0- 37.

Note that I cannot connect to the internet in any manner from my laptop, ip link show reveals only a lo connection but no eth0 or anything else. When I run sudo lshw -c network I see network UNCLAIMED for two connections, the network controller and the ethernet controller. Here’s an excerpt: network UNCLAIMED description: Ethernet controller product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd.

I tried to fix this dependency issue by downloading linux-tools-6.14.0-37 from ubuntuupdates.org (note the only “linux-tools-6.14.0-37” file I could fine was listed for 25.04 Plucky not 24.04 Noble but it seemed to work nonetheless) and then running sudo dpkg -i <file.deb>, after which the dependency issue seems to be resolved. I also tried reinstalling the linux-modules-extra drivers following the advice of 22.04.1 Network Unclaimed (this fixed a similar issue I had a month previously), but saw no changes after rebooting.

I have run the wireless-info script and put the output in https://pastebin.com/1c7RZYKL.

##### release ###########################
 
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:    24.04
Codename:   noble
 
##### kernel ############################
 
Linux 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
 
Parameters: ro, amdgpu.backlight=0, quiet, splash, loglevel=3, vt.handoff=7
 
##### desktop ###########################
 
Ubuntu
 
##### lspci #############################
 
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Dual Band Wi-Fi 6(802.11ax) AX201 160MHz 2x2 [Harrison Peak] [8086:0074]
    Kernel modules: iwlwifi
 
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:12a7]
    Kernel modules: r8169
 
##### lsusb #############################
 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 1038:1122 SteelSeries ApS SteelSeries KLC
Bus 001 Device 005: ID 5986:211c Bison Electronics Inc. HD Webcam
Bus 001 Device 006: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 011: ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 
##### PCMCIA card info ##################
 
##### rfkill ############################
 
##### secure boot #######################
 
SecureBoot disabled
 
##### lsmod #############################
 
wmi                    28672  1 video
 
##### dkms #############################
 
./wireless-info: line 206: dkms: command not found
 
##### interfaces ########################
 
##### ifconfig ##########################
 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
 
##### iwconfig ##########################
 
lo        no wireless extensions.
 
##### 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        1582       1  0 13:13 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon
 
##### NetworkManager info ###############
 
##### NetworkManager.state ##############
 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
 
##### NetworkManager config #############
 
[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3
 
[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
 
[[/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-0743eca1-812b-4ce3-b8e1-6ba37143d0cb.yaml: Permission denied
grep: /etc/netplan/90-NM-127f2d2e-6a85-4945-ac65-5b70d4e371f6.yaml: Permission denied
grep: /etc/netplan/90-NM-29d5cf0a-c47e-44f3-997c-f4dc3f16f10a.yaml: Permission denied
grep: /etc/netplan/90-NM-39d0880f-456d-42c2-a8e4-a8e4c4fa5e58.yaml: Permission denied
grep: /etc/netplan/90-NM-572dc3d8-4ab7-4e89-8cb0-fb54caf48ce1.yaml: Permission denied
grep: /etc/netplan/90-NM-6bbcb812-4cff-4f4c-b387-14e2b79fe509.yaml: Permission denied
grep: /etc/netplan/90-NM-7ac69f4c-17ca-4321-985d-1ac22e009a03.yaml: Permission denied
grep: /etc/netplan/90-NM-7d2e5125-e7ab-429e-93b6-b68a637b58df.yaml: Permission denied
grep: /etc/netplan/90-NM-8095af92-6c55-4496-a5d6-d3dfdc36239b.yaml: Permission denied
grep: /etc/netplan/90-NM-84f2977c-66d3-4875-b531-449cd88f3ba1.yaml: Permission denied
grep: /etc/netplan/90-NM-9cf857a5-c76f-4d79-a857-1e1b17c09c9e.yaml: Permission denied
grep: /etc/netplan/90-NM-a654e30a-80be-4d7a-bf3d-6d7022ef3b6b.yaml: Permission denied
grep: /etc/netplan/90-NM-af6a8520-d94a-469f-9398-2262f78640dd.yaml: Permission denied
grep: /etc/netplan/90-NM-f4d6fa90-fef6-401c-b638-544e37d5100e.yaml: Permission denied
grep: /etc/netplan/90-NM-f7b8d3ef-b3f6-4215-9ec8-cd20eb93e642.yaml: Permission denied
grep: /lib/netplan/00-network-manager-all.yaml: Permission denied
 
##### iw reg get ########################
 
'iw' is not installed (package "iw").
 
##### iwlist channels ###################
 
lo        no frequency information.
 
##### iwlist scan #######################
 
lo        Interface doesn't support scanning.
 
##### module infos ######################
 
##### module parameters #################
 
##### /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.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/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/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
 
##### rc.local ##########################
 
grep: /etc/rc.local: No such file or directory
 
##### pm-utils ##########################
 
##### udev rules ########################
 
##### dmesg #############################
Ubuntu 25.10 - Keyboard problems https://askubuntu.com/questions/1560722/ubuntu-25-10-keyboard-problems

I am having trouble with generic US keyboards in Ubuntu Studio 25.10 (questing) using Konsole in Plasma on Wayland. I have updated my packages today using apt.

The uppercase and lowercase letters often are the wrong case, despite what the caps-lock indicator shows. The Shift key does not seem to be coordinated with my typing. It frequently does not seem to update the status of the shift key when I type fast.

The plus sign on the keypad has been remapped to an equal sign. Pressing Shift on the main keyboard and plus on the keypad sends a plus sign, although the keyboards have a plus sign painted on them.

I tried System Settings > Keyboard to change the Model to "Logitech | Logitech", since that is the closest match to my external keyboard. I also tried reset to "Defaults" in "Keyboard - System Settings".

Under Accessibility, I only have "Audible Bell" and "Shake cursor to find it" enabled.

Problem persists.

HID device managing from a custom BLE service in Ubuntu 18.04 [closed] https://askubuntu.com/questions/1560663/hid-device-managing-from-a-custom-ble-service-in-ubuntu-18-04

I am trying to add a remote controller with only a single button to my Ubuntu 18.04 LTS device.

The controller advertises itself over BLE as an HID device. I am using a custom BLE service to manage BLE connections.

The problem is that after I connect to the controller for the first time using my custom BLE service, on subsequent connections BlueZ immediately hijacks the connection when the controller is powered on. As a result, my custom BLE service cannot even detect that the remote controller is available for connection.

Is there a way to disable this BlueZ feature that it automatically connects to HID devices on its own?

Ubuntu 24.04.3 install any AMD driver https://askubuntu.com/questions/1560432/ubuntu-24-04-3-install-any-amd-driver

After years I had problem with the AMD driver. Discord crashed while I was sharing my webcam. I tried to update or change to the Ubuntu driver, but I am stuck.

$dpkg -l | grep amdgpu
ii  libdrm-amdgpu1:amd64                                     2.4.122-1~ubuntu0.24.04.2                   amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  libdrm-amdgpu1:i386                                      2.4.122-1~ubuntu0.24.04.2                   i386         Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  xserver-xorg-video-amdgpu                                23.0.0-1ubuntu0.24.04.1                     amd64        X.Org X server -- AMDGPU display driver
$dpkg -l | grep mesa
ii  libegl-mesa0:amd64                                       25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl-mesa0:i386                                        25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the EGL API -- Mesa vendor library
ii  libgl1-mesa-dev:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the OpenGL API -- DRI modules
ii  libglu1-mesa:amd64                                       9.0.2-1.1build1                             amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa-dev:amd64                                   9.0.2-1.1build1                             amd64        Mesa OpenGL utility library -- development files
ii  libglw1-mesa-dev:amd64                                   8.0.0-3                                     amd64        GL widget library for Athena and Motif -- development files
ii  libglw1t64-mesa:amd64                                    8.0.0-3                                     amd64        GL widget library for Athena and Motif -- runtime
ii  libglx-mesa0:amd64                                       25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                                        25.0.7-0ubuntu0.24.04.2                     i386         free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:amd64                                         25.0.7-0ubuntu0.24.04.2                     amd64        Mesa Off-screen rendering extension
ii  libosmesa6:i386                                          25.0.7-0ubuntu0.24.04.2                     i386         Mesa Off-screen rendering extension
ii  mesa-common-dev:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        Developer documentation for Mesa
ii  mesa-drm-shim:amd64                                      25.0.7-0ubuntu0.24.04.2                     amd64        DRM shim libraries
ii  mesa-libgallium:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        shared infrastructure for Mesa drivers
ii  mesa-libgallium:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         shared infrastructure for Mesa drivers
ii  mesa-opencl-icd:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        free implementation of the OpenCL API -- ICD runtime
ii  mesa-utils                                               9.0.0-2                                     amd64        Miscellaneous Mesa utilities -- symlinks
ii  mesa-utils-bin:amd64                                     9.0.0-2                                     amd64        Miscellaneous Mesa utilities -- native applications
ii  mesa-va-drivers:amd64                                    25.0.7-0ubuntu0.24.04.2                     amd64        Mesa VA-API video acceleration drivers
ii  mesa-va-drivers:i386                                     25.0.7-0ubuntu0.24.04.2                     i386         Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                                 25.0.7-0ubuntu0.24.04.2                     amd64        Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers:i386                                  25.0.7-0ubuntu0.24.04.2                     i386         Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:amd64                                25.0.7-0ubuntu0.24.04.2                     amd64        Mesa Vulkan graphics drivers
ii  mesa-vulkan-drivers:i386                                 25.0.7-0ubuntu0.24.04.2                     i386         Mesa Vulkan graphics drivers
ii  mesaflash                                                3.4.6-1                                     amd64        Mesa Electronics utility tool

ls /etc/modprobe.d/
alsa-base.conf                      blacklist-ath_pci.conf  blacklist-firewire.conf     blacklist-modem.conf  blacklist-rare-network.conf  intel-microcode-blacklist.conf
amd64-microcode-blacklist.conf.bak  blacklist.conf          blacklist-framebuffer.conf  blacklist-oss.conf    dkms.conf.bak                iwlwifi.conf
ls /etc/apt/sources.list.d/
spotify.list.distUpgrade  spotify.list.save  spotify.sources  third-party.sources  ubuntu-esm-apps.sources  ubuntu-esm-infra.sources  ubuntu.sources

vulkaninfo --summary
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file amd_icd64.json
WARNING: [Loader Message] Code 0 : loader_parse_icd_manifest: Can not find 'ICD' object in ICD JSON file /etc/vulkan/icd.d/amd_icd64.json. Skipping ICD JSON
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.275


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 7
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.4.303  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.4.303  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.4.305
        driverVersion      = 25.0.7
        vendorID           = 0x1002
        deviceID           = 0x67df
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = Radeon RX 580 Series (RADV POLARIS10)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 25.0.7-0ubuntu0.24.04.2
        conformanceVersion = 1.4.0.0
        deviceUUID         = 00000000-2d00-0000-0000-000000000000
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU1:
        apiVersion         = 1.4.305
        driverVersion      = 0.0.1
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 20.1.2, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 25.0.7-0ubuntu0.24.04.2 (LLVM 20.1.2)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3235-2e30-2e37-2d3075627500
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000
$vkcube
Selected GPU 0: Radeon RX 580 Series (RADV POLARIS10), type: DiscreteGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues

glxgears is working, but makes a noise on the speaker (tested this with the old driver, was not so intense. I'm not sure if it's related.)

At the moment the aim is to be able to use Discord, Steam, and Lutris again. The main window does not launch, just frees the display until I close it.

I tried to uninstall all packages, remove the PPAs that I do not need, and reboot and update and install the packages for AMD support, but that did not work too well. What have I missed? I would like to continue using Ubuntu until Ubuntu 26.04 before doing a clean install.

Edit: The Ask output, I checked the motherboard GPU, should not be configured to be used, as far as I can tell. @user7215 or what are you looking for?

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
21:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
26:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
27:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
2a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2a:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2b:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
2d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Ubuntu Server can't change timezone https://askubuntu.com/questions/1556048/ubuntu-server-cant-change-timezone

New install of Server 25.04 the timezone is currently UTC. timedatectl list-timezones shows US/Pacific as a valid choice (and is what I want :-). However this command: sudo timedatectl set-timezone US/Pacific gets this result: Failed to set time zone: Invalid or not installed time zone 'US/Pacific'.

What could cause this? Seems like any timezone listed in list-timezones should work. I've seen posts about some issue with the tzdata stuff in recent releases, but no direct matches.

Thanks in advance for any help.

Install yfinance using apt-get https://askubuntu.com/questions/1547457/install-yfinance-using-apt-get

I'm trying to install "yfinance" on Ubuntu 24.04. Everyone on the web says to use "pip" to install, but Ubuntu gives a long message saying that's not a good idea, to use the equivalent of "apt install python3-xyz" instead.

That much is ok, but running

sudo apt-get -y install python3-yfinance

can't find anything

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-yfinance

How do I point to the right repo for this?

"Can't mark 'ubuntu-desktop' for upgrade" while trying to upgrade to LTS 22.04 https://askubuntu.com/questions/1428922/cant-mark-ubuntu-desktop-for-upgrade-while-trying-to-upgrade-to-lts-22-04

When I do sudo do-release-upgrade to update to the next LTS, I get

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

The cause seems to be this (from /var/log/dist-upgrade/main.log):

WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'

How do I resolve this problem? /var/log/dist-upgrade/apt.log displays too many broken packages, and I am lost on how to proceed. I know I should not delete ubuntu-desktop, what should I do?

Note, I did sudo apt update and sudo apt upgrade. Nothing reports broken packages other than do-release-upgrade. I do not think I have broken package in current version, it seems more like upgrading would cause some broken links.

Optimize thermal daemon https://askubuntu.com/questions/1400361/optimize-thermal-daemon

I just discovered thermald for preventing machines from overheating. I'd like some basic suggestions on how to modify the xml configuration file. Below is the one I have at /etc/thermald/thermal-conf.xml. From some examples I have skimmed online, it seems it is set to start preventing overheating at 55 C (if I am reading the <Temperature>55000</Temperature> line correctly), but my cores reach even 94 C with fans going on.

I am using a Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz machine.

<?xml version="1.0"?>

<!--
use "man thermal-conf.xml" for details
-->

<!-- BEGIN -->
<ThermalConfiguration>
<Platform>
    <Name>Generic X86 Laptop Device</Name>
    <ProductName>EXAMPLE_SYSTEM</ProductName>
    <Preference>QUIET</Preference>
    <ThermalSensors>
        <ThermalSensor>
            <Type>TSKN</Type>
            <AsyncCapable>1</AsyncCapable>
        </ThermalSensor>
    </ThermalSensors>
    <ThermalZones>
        <ThermalZone>
            <Type>SKIN</Type>
            <TripPoints>
                <TripPoint>
                    <SensorType>TSKN</SensorType>
                    <Temperature>55000</Temperature>
                    <type>passive</type>
                    <ControlType>SEQUENTIAL</ControlType>
                    <CoolingDevice>
                        <index>1</index>
                        <type>rapl_controller</type>
                        <influence> 100 </influence>
                        <SamplingPeriod> 16 </SamplingPeriod>
                    </CoolingDevice>
                    <CoolingDevice>
                        <index>2</index>
                        <type>intel_powerclamp</type>
                        <influence> 100 </influence>
                        <SamplingPeriod> 12 </SamplingPeriod>
                    </CoolingDevice>
                </TripPoint>
            </TripPoints>
        </ThermalZone>
    </ThermalZones>
</Platform>

<!-- Thermal configuration example only -->
<Platform>
    <Name>Example Platform Name</Name>
    <!--UUID is optional, if present this will be matched -->
    <!-- Both product name and UUID can contain
        wild card "*", which matches any platform
     -->
    <UUID>Example UUID</UUID>
    <ProductName>Example Product Name</ProductName>
    <Preference>QUIET</Preference>
    <ThermalSensors>
        <ThermalSensor>
            <!-- New Sensor with a type and path -->
            <Type>example_sensor_1</Type>
            <Path>/some_path</Path>
            <AsyncCapable>0</AsyncCapable>
        </ThermalSensor>
        <ThermalSensor>
            <!-- Already present in thermal sysfs,
                enable this or add/change config
                For example, here we are indicating that
                sensor can do async events to avoid polling
            -->
            <Type>example_thermal_sysfs_sensor</Type>
            <!-- If async capable, then we don't need to poll -->
            <AsyncCapable>1</AsyncCapable>
        </ThermalSensor>
        <ThermalSensor>
            <!-- Examle of a virtual sensor. This sensor
                depends on other real sensor or
                virtual sensor.
                E.g. here the temp will be
                 temp of example_sensor_1 * 0.5 + 10
            -->
            <Type>example_virtual_sensor</Type>
            <Virtual>1</Virtual>
            <SensorLink>
                <SensorType>example_sensor_1</SensorType>
                <Multiplier> 0.5 </Multiplier>
                <Offset> 10 </Offset>
            </SensorLink>
        </ThermalSensor>

    </ThermalSensors>
    <ThermalZones>
        <ThermalZone>
            <Type>Example Zone type</Type>
            <TripPoints>
                <TripPoint>
                    <SensorType>example_sensor_1</SensorType>
                    <!-- Temperature at which to take action -->
                    <Temperature> 75000 </Temperature>
                    <!-- max/passive/active
                        If a MAX type is specified, then
                        daemon will use PID control
                        to aggresively throttle to avoid
                        reaching this temp.
                     -->
                    <type>max</type>
                    <!-- SEQUENTIAL | PARALLEL
                    When a trip point temp is violated, then
                    number of cooling device can be activated.
                    If control type is SEQUENTIAL then
                    It will exhaust first cooling device before trying
                    next.
                    -->
                    <ControlType>SEQUENTIAL</ControlType>
                    <CoolingDevice>
                        <index>1</index>
                        <type>example_cooling_device</type>
                        <!-- Influence will be used order cooling devices.
                            First cooling device will be used, which has
                            highest influence.
                        -->
                        <influence> 100 </influence>
                        <!-- Delay in using this cdev, this takes some time
                        too actually cool a zone
                        -->
                        <SamplingPeriod> 12 </SamplingPeriod>
                    </CoolingDevice>
                </TripPoint>

            </TripPoints>
        </ThermalZone>
    </ThermalZones>
    <CoolingDevices>
        <CoolingDevice>
            <!--
                Cooling device can be specified
                by a type and optionally a sysfs path
                If the type already present in thermal sysfs
                no need of a path.
                Compensation can use min/max and step size
                to increasing cool the system.
                Debounce period can be used to force
                a waiting period for action
            -->
            <Type>example_cooling_device</Type>
            <MinState>0</MinState>
            <IncDecStep>10</IncDecStep>
            <ReadBack> 0 </ReadBack>
            <MaxState>50</MaxState>
            <DebouncePeriod>5000</DebouncePeriod>
            <!--
                If there are no PID parameter
                compensation increase step wise and exponentaially
                if single step is not able to change trend.
                Alternatively a PID parameters can be specified
                then next step will use PID calculation using
                provided PID constants.
            -->>
            <PidControl>
                <kp>0.001</kp>
                <kd>0.0001</kd>
                <ki>0.0001</ki>
            </PidControl>
        </CoolingDevice>
    </CoolingDevices>
</Platform>
</ThermalConfiguration>
<!-- END -->

Following the suggestion from @heynnema, I have deleted the configuration file, stopped thermald, and ran sudo thermald --no-daemon --loglevel=info. Following is the output, but how is this supposed to help me construct a new, more efficient configuration file?

$ sudo thermald --no-daemon --loglevel=info
[1649408071][INFO]RAPL domain count 1
[1649408071][INFO]RAPL domain count 1
[1649408071][MSG]22 CPUID levels; family:model:stepping 0x6:a5:2 (6:165:2)
[1649408071][INFO]Running on a vanilla kernel
[1649408071][MSG]Polling mode is enabled: 4
[1649408071][INFO]sensor_update: type TSKN
[1649408071][INFO]sensor_update: type acpitz
[1649408071][INFO]sensor_update: type x86_pkg_temp
[1649408071][INFO]sensor_update: type pch_cometlake
[1649408071][INFO]sensor_update: type NGFF
[1649408071][INFO]sensor_update: type TMEM
[1649408071][INFO]sensor_update: type B0D4
[1649408071][INFO]sensor_update: type TVGA
[1649408071][INFO]thd_read_default_thermal_sensors loaded 8 sensors 
[1649408071][INFO]dts /sys/devices/platform/coretemp.0/name doesn't exist
[1649408071][WARN]sensor id 11 : No temp sysfs for reading raw temp
[1649408071][WARN]sensor id 11 : No temp sysfs for reading raw temp
[1649408071][WARN]sensor id 11 : No temp sysfs for reading raw temp
[1649408071][INFO]INT3400 Base path is 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]TRT/ART read failed
[1649408071][INFO]Using config file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[1649408071][WARN]error: could not parse file /etc/thermald/thermal-conf.xml
[1649408071][INFO]sensor index:2 TSKN /sys/class/thermal/thermal_zone2/ Async:0 
[1649408071][INFO]sensor index:0 acpitz /sys/class/thermal/thermal_zone0/ Async:0 
[1649408071][INFO]sensor index:7 x86_pkg_temp /sys/class/thermal/thermal_zone7/ Async:1 
[1649408071][INFO]sensor index:5 pch_cometlake /sys/class/thermal/thermal_zone5/ Async:0 
[1649408071][INFO]sensor index:3 NGFF /sys/class/thermal/thermal_zone3/ Async:0 
[1649408071][INFO]sensor index:1 TMEM /sys/class/thermal/thermal_zone1/ Async:0 
[1649408071][INFO]sensor index:6 B0D4 /sys/class/thermal/thermal_zone6/ Async:0 
[1649408071][INFO]sensor index:4 TVGA /sys/class/thermal/thermal_zone4/ Async:0 
[1649408071][INFO]sensor index:8 hwmon /sys/class/hwmon/hwmon5/temp1_input Async:0 
[1649408071][INFO]sensor index:9 hwmon /sys/class/hwmon/hwmon5/temp2_input Async:0 
[1649408071][INFO]sensor index:10 hwmon /sys/class/hwmon/hwmon5/temp3_input Async:0 
[1649408071][INFO]thd_read_default_cooling devices loaded 14 cdevs 
[1649408071][INFO]ppcc limits max:47000000 min:10000000  min_win:28000000 step:1000000
[1649408071][INFO]set_pid_param 14 [-1000.100,10]
[1649408071][INFO]Use Default pstate drv settings
[1649408071][INFO]sysfs create failed 
[1649408071][INFO]INT3400 Base path is 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]TRT/ART read failed
[1649408071][INFO]Using config file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[1649408071][WARN]error: could not parse file /etc/thermald/thermal-conf.xml
[1649408071][INFO]name = package-0
[1649408071][INFO]name = dram
[1649408071][INFO]sysfs read failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/constraint_0_max_power_uw
[1649408071][INFO]:powercap RAPL invalid max power limit range 
[1649408071][INFO]Calculate dynamically phy_max 
[1649408071][INFO]set_pid_param 18 [-0.4.0,0]
[1649408071][INFO]13: ath10k_thermal, C:0 MN: 0 MX:100 ST:1 pt:/sys/class/thermal/ rd_bk 1 
[1649408071][INFO]1: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]11: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]8: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]6: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]4: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]2: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]12: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]0: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]10: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]9: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]7: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]5: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]3: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 
[1649408071][INFO]14: rapl_controller, C:47000000 MN: 47000000 MX:10000000 Inc ST:-2000000 Dec ST:-1000000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/ rd_bk 1 
[1649408071][INFO]15: intel_pstate, C:0 MN: 0 MX:10 ST:1 pt:/sys/devices/system/cpu/intel_pstate/ rd_bk 1 
[1649408071][INFO]16: rapl_controller_dram, C:100000000 MN: 100000000 MX:0 ST:-500000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/ rd_bk 1 
[1649408071][INFO]17: LCD, C:0 MN: 0 MX:120000 ST:12000 pt:/sys/class/backlight/intel_backlight/ rd_bk 1 
[1649408071][INFO]18: amdgpu, C:0 MN: 0 MX:0 ST:0 pt: rd_bk 1 
[1649408071][INFO]thd_read_default_thermal_zones loaded 7 zones 
[1649408071][INFO]INT3400 Base path is 
[1649408071][INFO]zone cpu will be created 
[1649408071][INFO]dts zone /sys/devices/platform/coretemp.0/name doesn't exist
[1649408071][INFO]/sys/class/hwmon/hwmon6/name->dell_smm
[1649408071][INFO]/sys/class/hwmon/hwmon4/name->pch_cometlake
[1649408071][INFO]/sys/class/hwmon/hwmon2/name->BAT0
[1649408071][INFO]/sys/class/hwmon/hwmon0/name->AC
[1649408071][INFO]/sys/class/hwmon/hwmon7/name->ath10k_hwmon
[1649408071][INFO]/sys/class/hwmon/hwmon5/name->coretemp
[1649408071][INFO]Buggy max temp: to close to critical 90000
[1649408071][INFO]Core temp DTS :critical 100000, max 90000, psv 95000
[1649408071][INFO]node type: Element, name: CoolingDevice value: rapl_controller
[1649408071][INFO]node type: Element, name: CoolingDevice value: intel_pstate
[1649408071][INFO]node type: Element, name: CoolingDevice value: intel_powerclamp
[1649408071][INFO]node type: Element, name: CoolingDevice value: cpufreq
[1649408071][INFO]node type: Element, name: CoolingDevice value: Processor
[1649408071][INFO]CDEVS order specified in thermal-cpu-cdev-order.xml
[1649408071][INFO]/sys/class/hwmon/hwmon3/name->nouveau
[1649408071][INFO]/sys/class/hwmon/hwmon1/name->acpitz
[1649408071][INFO]INT3400 Base path is 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]failed to open /dev/acpi_thermal_rel 
[1649408071][INFO]TRT/ART read failed
[1649408071][INFO]Using config file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[1649408071][WARN]error: could not parse file /etc/thermald/thermal-conf.xml
[1649408071][INFO]

 ZONE DUMP BEGIN
[1649408071][INFO]
[1649408071][INFO]Zone 8: cpu, Active:1 Bind:0 Sensor_cnt:1
[1649408071][INFO]..sensors.. 
[1649408071][INFO]sensor index:7 x86_pkg_temp /sys/class/thermal/thermal_zone7/ Async:1 
[1649408071][INFO]..trips.. 
[1649408071][INFO]index 0: type:passive temp:95000 hyst:0 zone id:8 sensor id:65535 control_type:1 cdev size:4
[1649408071][INFO]cdev[0] rapl_controller, Sampling period: 0
[1649408071][INFO]   target_state:not defined
[1649408071][INFO]cdev[1] intel_pstate, Sampling period: 0
[1649408071][INFO]   target_state:not defined
[1649408071][INFO]cdev[2] intel_powerclamp, Sampling period: 0
[1649408071][INFO]   target_state:not defined
[1649408071][INFO]cdev[3] Processor, Sampling period: 0
[1649408071][INFO]   target_state:not defined
[1649408071][INFO]index 1: type:polling temp:85500 hyst:0 zone id:8 sensor id:7 control_type:0 cdev size:0
[1649408071][INFO]
[1649408071][INFO]

 ZONE DUMP END
[1649408071][INFO]Current user preference is 0
[1649408071][INFO]thd_engine_thread begin

After the edit, this is my configuration file, yet cores temp goes up to 90 C:

~$ cat /etc/thermald/thermal-conf.xml
<?xml version="1.0"?>
<ThermalConfiguration>
<Platform>
        <Name>Generic X86 Laptop Device</Name>
        <ProductName>*</ProductName>
        <Preference>QUIET</Preference>
        <ThermalZones>
                <ThermalZone>
                        <Type>cpu</Type>
                        <TripPoints>
                                <TripPoint>
                                        <SensorType>x86_pkg_temp</SensorType>
                                        <Temperature>55000</Temperature>
                                        <type>passive</type>
                                        <ControlType>PARALLEL</ControlType>
                                </TripPoint>
                        </TripPoints>
                </ThermalZone>
        </ThermalZones>
</Platform>
</ThermalConfiguration>

Additional info:

~$ ls -al /etc/thermald
total 32
drwxr-xr-x   2 root      root       4096 Apr  8 16:32 .
drwxr-xr-x 159 root      root      12288 Apr  5 09:03 ..
-rw-r--r--   1 root      root       4605 Jan 15  2019 backup
-rw-rw-r--   1 username username   816 Apr  8 16:32 thermal-conf.xml
-rw-r--r--   1 root      root        508 Jan 15  2019 thermal-cpu-cdev-order.xml

And also this seems relevant (thermald inactive?):

$ sudo systemctl status thermald
● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Fri 2022-04-08 10:54:28 CEST; 1 weeks 0 days ago
   Main PID: 1328 (code=exited, status=0/SUCCESS)

Apr 07 11:51:51 Precision-3551 thermald[1328]: error: could not parse file /etc/thermald/thermal-conf.xml
Apr 07 11:51:51 Precision-3551 thermald[1328]: I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
Apr 07 11:51:51 Precision-3551 thermald[1328]: error: could not parse file /etc/thermald/thermal-conf.xml
Apr 07 11:51:51 Precision-3551 thermald[1328]: I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
Apr 07 11:51:51 Precision-3551 thermald[1328]: error: could not parse file /etc/thermald/thermal-conf.xml
Apr 08 10:54:26 Precision-3551 systemd[1]: Stopping Thermal Daemon Service...
Apr 08 10:54:26 Precision-3551 thermald[1328]: Terminating ...
Apr 08 10:54:27 Precision-3551 thermald[1328]: terminating on user request ..
Apr 08 10:54:28 Precision-3551 systemd[1]: thermald.service: Succeeded.
Apr 08 10:54:28 Precision-3551 systemd[1]: Stopped Thermal Daemon Service.

I have now reactivated it with sudo service thermald restart and now:

$ sudo systemctl status thermald
● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-15 22:26:23 CEST; 2s ago
   Main PID: 609438 (thermald)
      Tasks: 2 (limit: 18622)
     Memory: 1.3M
     CGroup: /system.slice/thermald.service
             └─609438 /usr/sbin/thermald --systemd --dbus-enable --adaptive

Apr 15 22:26:23 Precision-3551 systemd[1]: Starting Thermal Daemon Service...
Apr 15 22:26:23 Precision-3551 systemd[1]: Started Thermal Daemon Service.
Apr 15 22:26:23 Precision-3551 thermald[609438]: 22 CPUID levels; family:model:stepping 0x6:a5:2 (6:165:2)
Apr 15 22:26:23 Precision-3551 thermald[609438]: 22 CPUID levels; family:model:stepping 0x6:a5:2 (6:165:2)
Apr 15 22:26:23 Precision-3551 thermald[609438]: Polling mode is enabled: 4
Apr 15 22:26:23 Precision-3551 thermald[609438]: sensor id 11 : No temp sysfs for reading raw temp
Apr 15 22:26:23 Precision-3551 thermald[609438]: sensor id 11 : No temp sysfs for reading raw temp
Apr 15 22:26:23 Precision-3551 thermald[609438]: sensor id 11 : No temp sysfs for reading raw temp
rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot https://askubuntu.com/questions/1347996/rpi4-ubuntu-20-04-2-lts-nfs-drive-not-mounting-on-boot

I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.

If I run a sudo mount -a the drive successfully mounts with no issues.

I have tried a variety of fstab options with no success. Below is the current config:

192.168.1.100:/mnt/media /mnt/media nfs _netdev,auto,nfsvers=4 0 0

Running sudo cat /var/log/syslog | grep nfs returns the following:

Jun 24 18:59:01 test-01 kernel: [ 7.865019] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

Jun 24 18:59:01 test-01 systemd[1]: nfs-config.service: Succeeded.

Jun 24 18:59:03 test-01 kernel: [ 18.820306] FS-Cache: Netfs 'nfs' registered for caching

Jun 24 18:59:03 test-01 mount[1754]: mount.nfs: Network is unreachable

I am not sure if it is trying to mount before the network is online, but i thought the _netdev option prevented this.

Ubuntu 20.04 KVM, netplan with bonding, vlan and bridges https://askubuntu.com/questions/1290879/ubuntu-20-04-kvm-netplan-with-bonding-vlan-and-bridges

I am preparing migration of an UBUNTU 16.04.7 server with 5 NIC's to 20.04. My testing server has 4 NIC's: 2 onboard and 2 as Intel Pro NIC. Configured in 00-installer-config.yaml. The first NIC is configured as:

  version: 2
  renderer: networkd
  ethernets:
    enp65s0f0:
      addresses: [10.1.11.230/24]
      gateway4: 10.1.11.11
      nameservers:
        addresses: [10.1.11.11, 1.1.1.1]
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f1:
      optional: true

This part works. The next 3 NIC's are going to be bond0, with vlans on top and bridges:

  bonds:
    bond0:
      interfaces: [enp193s0f0, enp193s0f1, enp65s0f1]
      parameters:
        mode: 802.3ad
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  bridges:
    br100:
      interfaces: [vlan1]
    br11:
      interfaces: [vlan11]
    br240:
      interfaces: [vlan240]

The bond0 does not work. I have searched and tried all kinds of variations with ordering of NIC's, dhcp4: false, dhcp6: false, optional:true only using the IntelPro NIC's for the bonding. I have reviewed answers on this and other forums, but no solution so far yet.

  • What's wrong with my configuration? Anything missing?
  • Is the architecture I am aiming at still supported? I want my KVM guests to use a bridge so they can communicate with each other without needing the physical switch and without needing VLAN to be configured in the guests. This worked perfectly in Ub16.04.

My switch is a HP V1910-24G and has 4 other working trunks (LACP/802.3ad), with the Ub16.04 (4 NIC's)server and 3 QNAP NAS's with each a double NIC.

See the following outputs on my Ubuntu 20.04 with the above netplan config:

networkctl list
IDX LINK       TYPE     OPERATIONAL SETUP     
  1 lo         loopback carrier     unmanaged 
  2 enp65s0f0  ether    routable    configured
  3 enp65s0f1  ether    enslaved    configured
  4 enp193s0f0 ether    enslaved    configured
  5 enp193s0f1 ether    enslaved    configured
  6 bond0      bond     degraded    configured
  7 br100      bridge   degraded    configured
  8 br11       bridge   degraded    configured
  9 br240      bridge   degraded    configured
 10 vlan.240   vlan     carrier     unmanaged 
 11 vlan.11    vlan     carrier     unmanaged 
 12 vlan.1     vlan     carrier     unmanaged 
 13 virbr0     bridge   no-carrier  unmanaged 
 14 virbr0-nic ether    off         unmanaged 
 17 vnet0      ether    degraded    unmanaged 

 ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp65s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether d0:50:99:d4:bc:e3 brd ff:ff:ff:ff:ff:ff
3: enp65s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
4: enp193s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
5: enp193s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc fq_codel master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
7: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
8: br11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
9: br240: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
10: vlan.240@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br240 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
11: vlan.11@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br11 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
12: vlan.1@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br100 state UP mode DEFAULT group default qlen 1000
    link/ether 16:3d:9c:75:6b:c5 brd ff:ff:ff:ff:ff:ff
13: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:f4:49:5c brd ff:ff:ff:ff:ff:ff
14: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:f4:49:5c brd ff:ff:ff:ff:ff:ff
17: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br11 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:d2:56:7d brd ff:ff:ff:ff:ff:ff

 netplan --debug apply
** (generate:11473): DEBUG: 13:54:31.627: Processing input file /etc/netplan/00-installer-config.yaml..
** (generate:11473): DEBUG: 13:54:31.628: starting new processing pass
** (generate:11473): DEBUG: 13:54:31.628: We have some netdefs, pass them through a final round of validation
** (generate:11473): DEBUG: 13:54:31.628: vlan240: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: bond0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br11: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp65s0f1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp65s0f0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: vlan11: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp193s0f1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br100: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: vlan1: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: enp193s0f0: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: br240: setting default backend to 1
** (generate:11473): DEBUG: 13:54:31.628: Configuration is valid
** (generate:11473): DEBUG: 13:54:31.628: Generating output files..
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp65s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp65s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp193s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp193s0f0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp193s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp193s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition enp65s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition enp65s0f1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition bond0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition bond0 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan1 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition vlan240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition vlan240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br100 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br100 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br11 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: openvswitch: definition br240 is not for us (backend 1)
** (generate:11473): DEBUG: 13:54:31.629: NetworkManager: definition br240 is not for us (backend 1)
(generate:11473): GLib-DEBUG: 13:54:31.629: posix_spawn avoided (fd close requested) 
(generate:11473): GLib-DEBUG: 13:54:31.630: posix_spawn avoided (fd close requested) 
DEBUG:netplan generated networkd configuration changed, restarting networkd
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}

DEBUG:no netplan generated NM configuration exists
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}

DEBUG:Skipping non-physical interface: lo
DEBUG:device enp65s0f0 operstate is up, not changing
DEBUG:Skipping composite member enp65s0f1
DEBUG:Skipping composite member enp193s0f0
DEBUG:Skipping composite member enp193s0f1
DEBUG:Skipping non-physical interface: bond0
DEBUG:Skipping non-physical interface: br100
DEBUG:Skipping non-physical interface: br11
DEBUG:Skipping non-physical interface: br240
DEBUG:Skipping non-physical interface: vlan.240
DEBUG:Skipping non-physical interface: vlan.11
DEBUG:Skipping non-physical interface: vlan.1
DEBUG:Skipping non-physical interface: virbr0
DEBUG:Skipping non-physical interface: virbr0-nic
DEBUG:Skipping non-physical interface: vnet0
DEBUG:{}
DEBUG:netplan triggering .link rules for lo
DEBUG:netplan triggering .link rules for enp65s0f0
DEBUG:netplan triggering .link rules for enp65s0f1
DEBUG:netplan triggering .link rules for enp193s0f0
DEBUG:netplan triggering .link rules for enp193s0f1
DEBUG:netplan triggering .link rules for bond0
DEBUG:netplan triggering .link rules for br100
DEBUG:netplan triggering .link rules for br11
DEBUG:netplan triggering .link rules for br240
DEBUG:netplan triggering .link rules for vlan.240
DEBUG:netplan triggering .link rules for vlan.11
DEBUG:netplan triggering .link rules for vlan.1
DEBUG:netplan triggering .link rules for virbr0
DEBUG:netplan triggering .link rules for virbr0-nic
DEBUG:netplan triggering .link rules for vnet0
DEBUG:enp65s0f0 not found in {}
DEBUG:enp193s0f0 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}}
DEBUG:enp193s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}}
DEBUG:enp65s0f1 not found in {'enp65s0f0': {'addresses': ['10.1.11.230/24'], 'gateway4': '10.1.11.11', 'nameservers': {'addresses': ['10.1.11.11', '1.1.1.1']}}, 'enp193s0f0': {'optional': True}, 'enp193s0f1': {'optional': True}}
DEBUG:br100 not found in {}
DEBUG:br11 not found in {'br100': {'interfaces': ['vlan1']}}
DEBUG:br240 not found in {'br100': {'interfaces': ['vlan1']}, 'br11': {'interfaces': ['vlan11']}}
DEBUG:bond0 not found in {}
DEBUG:vlan1 not found in {}
DEBUG:vlan11 not found in {'vlan1': {'id': 1, 'link': 'bond0'}}
DEBUG:vlan240 not found in {'vlan1': {'id': 1, 'link': 'bond0'}, 'vlan11': {'id': 11, 'link': 'bond0'}}
DEBUG:Merged config:
network:
  bonds:
    bond0:
      interfaces:
      - enp193s0f0
      - enp193s0f1
      - enp65s0f1
      parameters:
        lacp-rate: fast
        mii-monitor-interval: 100
        min-links: 1
        mode: 802.3ad
  bridges:
    br100:
      interfaces:
      - vlan1
    br11:
      interfaces:
      - vlan11
    br240:
      interfaces:
      - vlan240
  ethernets:
    enp193s0f0:
      optional: true
    enp193s0f1:
      optional: true
    enp65s0f0:
      addresses:
      - 10.1.11.230/24
      gateway4: 10.1.11.11
      nameservers:
        addresses:
        - 10.1.11.11
        - 1.1.1.1
    enp65s0f1:
      optional: true
  ovs_ports: {}
  vlans:
    vlan1:
      id: 1
      link: bond0
    vlan11:
      id: 11
      link: bond0
    vlan240:
      id: 240
      link: bond0
  wifis: {}


I am at the end of my options and ready to remove cloud-init/netplan and revert to the working configuration I had in 16.04. Thanks for reading this far.

Frank

nano command has a problem https://askubuntu.com/questions/1205298/nano-command-has-a-problem

The command

nano /etc/bind/named.conf.local

produces the error message:

The 'nano' application is not installed. You can 
install it by typing: apt-get install nano

If I type apt-get install nano the nano app still isn't installed. What should I do?

python installed in another directory https://askubuntu.com/questions/1176214/python-installed-in-another-directory

I am using ubuntu 16.04. Ubuntu 16.04 comes with python2 and python3.5 and I wanted python3.7 so I followed some instructions from a site and installed python3.7 manually by compiling its files and installing its dependencies.

It's working fine. The problem is that it is installed in usr/local/bin while I wanted it to be in usr/bin. besides I wanted python3 to point to python3.7 so I ran the following command

sudo update-alternatives --config python3

and it said that there is no alternative for python3. Besides, when I downloaded python3.7, I unknowingly unzipped it in the home directory. Now the whole python directory is in my home directory, so does that mean, whenever I make any changes like installing a library (eg. matplotlib) it will be installed directly in home/python3.7/lib?

Fan constantly running at full speed https://askubuntu.com/questions/1166057/fan-constantly-running-at-full-speed

On my ThinkPad T470 which is a dual boot with Ubuntu 18.04 and Windows 10, everything was working fine in Ubuntu until after a while I needed to boot Windows. Since then, the fan on the laptop runs constantly at full speed on Ubuntu.

I have tried the common solutions such as setting acpi_osi=!Windows 2012 in the grub setting according to this answer or setting fan speed using thinkfan according to this answer.

I have also checked my BIOS setting, but every thing looks normal as some options are set for performance and some set to be balanced between performance, energy consumption, and fan noise. The problem is Ubuntu seems to not recognize the BIOS settings or any other settings for that matter.

None of the solutions above made any difference in the fan noise.

Any help would be appreciated.

EDIT: I am suspicious about ACPI not doing its job for some reason.

EDIT 2: One observation that may be worth mentioning is that the fan runs at normal/low speed when I boot the laptop and the grub menu prompts me to choose an operating system (Ubuntu or Windows) to continue with. Then the fan takes off to full speed as I choose Ubuntu. I think this means that BIOS settings work fine.

EDIT 3: Trying to use fancontrol according to this answer, after running sudo pwmconfig, I get the following message:

hwmon3/pwm1_enable stuck to 2
Manual control mode not supported, skipping hwmon3/pwm1.
There are no usable PWM outputs.
fatal error: Python.h: No such file or directory (Unsolved with python-devel) https://askubuntu.com/questions/1007459/fatal-error-python-h-no-such-file-or-directory-unsolved-with-python-devel

When trying to compile pycaffe on Ubuntu 16.04, with Anaconda 3.6 installed I get the following error:

python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory

I have tried to install the python-devel packages with

sudo apt-get install python3-dev 
sudo apt-get install python3.5-dev
sudo apt-get install python3.6-dev 

But even after trying with each of those separately the same error occurs.

The correct PATH seems to be added in .bashrc

export PATH="home/jdevezas/anaconda/bin:$PATH"

And in Caffe's makefile.config I have

# NOTE: this is required only if you will compile the python interface.
# We need to be able to find Python.h and numpy/arrayobject.h.
#PYTHON_INCLUDE := /usr/include/python2.7 \
        /usr/lib/python2.7/dist-packages/numpy/core/include
# Anaconda Python distribution is quite popular. Include path:
# Verify anaconda location, sometimes it's in root.

ANACONDA_HOME := /home/jdevezas/anaconda

#PYTHON_INCLUDE := $(ANACONDA_HOME)/include \
#            $(ANACONDA_HOME)/include/python2.7 \
#            $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include

# Uncomment to use Python 3 (default is Python 2)
 PYTHON_LIBRARIES := boost_python3 python3.5m
 PYTHON_INCLUDE := /usr/include/python3.5m \
                 /usr/lib/python3.5/dist-packages/numpy/core/include

I have also tried with Python 2.7 with no results. I have checked the /usr/include/python3.5m and Python.h is there. Suggestions?

WiFi device is hard blocked https://askubuntu.com/questions/956734/wifi-device-is-hard-blocked

My WiFi is hard blocked according to rfkill list. I have tried rfkill unblock all (although it's used for soft block/unblock).

I have checked my BIOS settings, and WiFi is not disabled there. I am not even able to turn on the WiFi service through the function key when the OS is loaded. I believe the device is working fine because all indicators blink on boot.

I am using Lenovo Thinkpad. If anyone has any solution, please suggest.

Output of lspci -knn | grep Net -A3:

project-mach@projectmach-ThinkPad-T430s:~$ lspci -knn | grep Net -A3
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
    Subsystem: Lenovo 82579LM Gigabit Network Connection [17aa:21f3]
    Kernel driver in use: e1000e
    Kernel modules: e1000e
0:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series 
Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)

--

03:00.0 Network controller [02800]: Intel Corporation Centrino Ultimate-N 
6300 [8086:4238] (rev 3e)
    Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1111]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

Ouptut of rfkill list:

project-mach@projectmach-ThinkPad-T430s:~$ rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: yes
    Hard blocked: yes
1: tpacpi_wwan_sw: Wireless WAN
    Soft blocked: no
    Hard blocked: yes
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
Uninstall boost library https://askubuntu.com/questions/916155/uninstall-boost-library

I'm trying to uninstall boost library:

sudo apt-get purge libboost-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'libboost-all-dev' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 219 not upgraded.

But apt list --installed | grep boost command shows me it still here.

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libboost-atomic1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-atomic1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-chrono1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-chrono1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-context1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-context1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-date-time1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-date-time1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-exception1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-filesystem1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-filesystem1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph-parallel1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph-parallel1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-graph1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-iostreams1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-iostreams1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-locale1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-locale1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-math1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-math1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi-python1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi-python1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-mpi1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-program-options1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-program-options1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-python1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed]
libboost-python1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-random1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-random1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-regex1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-regex1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-serialization1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-serialization1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-signals1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-signals1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-system1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-system1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-test1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-test1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-thread1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed]
libboost-thread1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-timer1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-timer1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-wave1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost-wave1.54.0/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost1.54-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]
libboost1.54-tools-dev/trusty-updates,now 1.54.0-4ubuntu3.1 amd64 [installed,automatic]

This command shows nothing:

dpkg -L libboost-dev
dpkg-query: package 'libboost-dev' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

And one more method:

ldconfig -p | grep boost
    libboost_wserialization.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_wserialization.so.1.56.0
    libboost_wserialization.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wserialization.so.1.54.0
    libboost_wserialization.so (libc6,x86-64) => /usr/local/lib/libboost_wserialization.so
    libboost_wserialization.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wserialization.so
    libboost_wave.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_wave.so.1.56.0
    libboost_wave.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wave.so.1.54.0
    libboost_wave.so (libc6,x86-64) => /usr/local/lib/libboost_wave.so
    libboost_wave.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_wave.so
    libboost_unit_test_framework.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_unit_test_framework.so.1.56.0
    libboost_unit_test_framework.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.54.0
    libboost_unit_test_framework.so (libc6,x86-64) => /usr/local/lib/libboost_unit_test_framework.so
    libboost_unit_test_framework.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so
    libboost_timer.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_timer.so.1.56.0
    libboost_timer.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_timer.so.1.54.0
    libboost_timer.so (libc6,x86-64) => /usr/local/lib/libboost_timer.so
    libboost_timer.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_timer.so
    libboost_thread.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_thread.so.1.56.0
    libboost_thread.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
    libboost_thread.so (libc6,x86-64) => /usr/local/lib/libboost_thread.so
    libboost_thread.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_thread.so
    libboost_system.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_system.so.1.56.0
    libboost_system.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0
    libboost_system.so (libc6,x86-64) => /usr/local/lib/libboost_system.so
    libboost_system.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_system.so
    libboost_signals.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_signals.so.1.56.0
    libboost_signals.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_signals.so.1.54.0
    libboost_signals.so (libc6,x86-64) => /usr/local/lib/libboost_signals.so
    libboost_signals.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_signals.so
    libboost_serialization.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_serialization.so.1.56.0
    libboost_serialization.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.54.0
    libboost_serialization.so (libc6,x86-64) => /usr/local/lib/libboost_serialization.so
    libboost_serialization.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_serialization.so
    libboost_regex.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_regex.so.1.56.0
    libboost_regex.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0
    libboost_regex.so (libc6,x86-64) => /usr/local/lib/libboost_regex.so
    libboost_regex.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_regex.so
    libboost_random.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_random.so.1.56.0
    libboost_random.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_random.so.1.54.0
    libboost_random.so (libc6,x86-64) => /usr/local/lib/libboost_random.so
    libboost_random.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_random.so
    libboost_python.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_python.so.1.56.0
    libboost_python.so (libc6,x86-64) => /usr/local/lib/libboost_python.so
    libboost_python-py34.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py34.so.1.54.0
    libboost_python-py34.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py34.so
    libboost_python-py27.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0
    libboost_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so
    libboost_program_options.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_program_options.so.1.56.0
    libboost_program_options.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0
    libboost_program_options.so (libc6,x86-64) => /usr/local/lib/libboost_program_options.so
    libboost_program_options.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_program_options.so
    libboost_prg_exec_monitor.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_prg_exec_monitor.so.1.56.0
    libboost_prg_exec_monitor.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_prg_exec_monitor.so.1.54.0
    libboost_prg_exec_monitor.so (libc6,x86-64) => /usr/local/lib/libboost_prg_exec_monitor.so
    libboost_prg_exec_monitor.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_prg_exec_monitor.so
    libboost_mpi_python-py34.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py34.so.1.54.0
    libboost_mpi_python-py34.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py34.so
    libboost_mpi_python-py27.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py27.so.1.54.0
    libboost_mpi_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi_python-py27.so
    libboost_mpi.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi.so.1.54.0
    libboost_mpi.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_mpi.so
    libboost_math_tr1l.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1l.so.1.56.0
    libboost_math_tr1l.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1l.so.1.54.0
    libboost_math_tr1l.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1l.so
    libboost_math_tr1l.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1l.so
    libboost_math_tr1f.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1f.so.1.56.0
    libboost_math_tr1f.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1f.so.1.54.0
    libboost_math_tr1f.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1f.so
    libboost_math_tr1f.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1f.so
    libboost_math_tr1.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_tr1.so.1.56.0
    libboost_math_tr1.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1.so.1.54.0
    libboost_math_tr1.so (libc6,x86-64) => /usr/local/lib/libboost_math_tr1.so
    libboost_math_tr1.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_tr1.so
    libboost_math_c99l.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99l.so.1.56.0
    libboost_math_c99l.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99l.so.1.54.0
    libboost_math_c99l.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99l.so
    libboost_math_c99l.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99l.so
    libboost_math_c99f.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99f.so.1.56.0
    libboost_math_c99f.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99f.so.1.54.0
    libboost_math_c99f.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99f.so
    libboost_math_c99f.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99f.so
    libboost_math_c99.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_math_c99.so.1.56.0
    libboost_math_c99.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99.so.1.54.0
    libboost_math_c99.so (libc6,x86-64) => /usr/local/lib/libboost_math_c99.so
    libboost_math_c99.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_math_c99.so
    libboost_log_setup.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_log_setup.so.1.56.0
    libboost_log_setup.so (libc6,x86-64) => /usr/local/lib/libboost_log_setup.so
    libboost_log.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_log.so.1.56.0
    libboost_log.so (libc6,x86-64) => /usr/local/lib/libboost_log.so
    libboost_locale.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_locale.so.1.56.0
    libboost_locale.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.54.0
    libboost_locale.so (libc6,x86-64) => /usr/local/lib/libboost_locale.so
    libboost_locale.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_locale.so
    libboost_iostreams.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_iostreams.so.1.56.0
    libboost_iostreams.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0
    libboost_iostreams.so (libc6,x86-64) => /usr/local/lib/libboost_iostreams.so
    libboost_iostreams.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so
    libboost_graph_parallel.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph_parallel.so.1.54.0
    libboost_graph_parallel.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph_parallel.so
    libboost_graph.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_graph.so.1.56.0
    libboost_graph.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph.so.1.54.0
    libboost_graph.so (libc6,x86-64) => /usr/local/lib/libboost_graph.so
    libboost_graph.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_graph.so
    libboost_filesystem.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_filesystem.so.1.56.0
    libboost_filesystem.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0
    libboost_filesystem.so (libc6,x86-64) => /usr/local/lib/libboost_filesystem.so
    libboost_filesystem.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
    libboost_date_time.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_date_time.so.1.56.0
    libboost_date_time.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.54.0
    libboost_date_time.so (libc6,x86-64) => /usr/local/lib/libboost_date_time.so
    libboost_date_time.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_date_time.so
    libboost_coroutine.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_coroutine.so.1.56.0
    libboost_coroutine.so (libc6,x86-64) => /usr/local/lib/libboost_coroutine.so
    libboost_context.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_context.so.1.56.0
    libboost_context.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so.1.54.0
    libboost_context.so (libc6,x86-64) => /usr/local/lib/libboost_context.so
    libboost_context.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_context.so
    libboost_container.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_container.so.1.56.0
    libboost_container.so (libc6,x86-64) => /usr/local/lib/libboost_container.so
    libboost_chrono.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_chrono.so.1.56.0
    libboost_chrono.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.54.0
    libboost_chrono.so (libc6,x86-64) => /usr/local/lib/libboost_chrono.so
    libboost_chrono.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_chrono.so
    libboost_atomic.so.1.56.0 (libc6,x86-64) => /usr/local/lib/libboost_atomic.so.1.56.0
    libboost_atomic.so.1.54.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.54.0
    libboost_atomic.so (libc6,x86-64) => /usr/local/lib/libboost_atomic.so
    libboost_atomic.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_atomic.so

I don't remembe how boost was installed and my OS is Ubuntu 14.04.

So my questions are:

  1. What method should be used to detect presence of library in the system?

  2. How to completely remove boost library?

UPDATE:

Seems I managed to do it like here, but not sure if it's good way and apt list --installed | grep boost, ldconfig -p | grep boost still show presence of boost:

rm /usr/local/lib/libboost*
sudo rm -r /usr/local/include/boost
Unity 3d installation error https://askubuntu.com/questions/905108/unity-3d-installation-error

I am using Ubuntu 17.04 and I am trying to install unity 3d on it but after finishing the process it's not in Applicatons. I search for it but I can't find it.

I also tried with GDEBI Package Installer but it show error Dependency is not satisfiable: libpng 12-0

$ sudo dpkg -i Downloads/FlareGet/Applications/unity-editor-5.1.0f3+2015082501_amd64.deb
Selecting previously unselected package unity-editor.
(Reading database ... 175908 files and directories currently installed.)
Preparing to unpack .../unity-editor-5.1.0f3+2015082501_amd64.deb ...
Unpacking unity-editor (5.1.0f3) ...
dpkg: dependency problems prevent configuration of unity-editor:
 unity-editor depends on lib32gcc1 (>= 1:4.1.1); however:
  Package lib32gcc1 is not installed.
 unity-editor depends on lib32stdc++6 (>= 4.6); however:
  Package lib32stdc++6 is not installed.
 unity-editor depends on libc6-i386 (>= 2.15); however:
  Package libc6-i386 is not installed.
 unity-editor depends on libpango1.0-0 (>= 1.22.0); however:
  Package libpango1.0-0 is not installed.
 unity-editor depends on libpng12-0; however:
  Package libpng12-0 is not installed.

dpkg: error processing package unity-editor (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 unity-editor

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  unity-editor
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 2,991 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 182828 files and directories currently installed.)
Removing unity-editor (5.1.0f3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Can't install PHP 5.5 on Ubuntu 12.04 (and 16.04) with ondrej PPA https://askubuntu.com/questions/871867/cant-install-php-5-5-on-ubuntu-12-04-and-16-04-with-ondrej-ppa

I've got a problem trying to install PHP5.5 (I need such version, because my job requires that) on Ubuntu 12.04 or 16.04 and on others Unix like operating systems such as (Mint, Xubuntu, Lubuntu).
My Ubuntu is absolutely clean, I have just installed it and tried to perform commands as all instructions say:

sudo apt-get install apache2
sudo apt-get install mysql-server mysql-client
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.5

But after the last command I get a conflict (in any Ubuntu like OS - Ubuntu, Xubuntu ...), and I don't know how to solve it:
Unmet dependencies during installing php 5.5 on Ubuntu

I tried to install PHP7.0 first, but that didn't help. Ondrej/php PPA should provide valid version of PHP as I thought, but what to do with that unmet dependencies?
Did anybody try to install PHP 5.5 on Ubuntu and have such conflicts with php-apcu and php-yac?

Or maybe after a New year 2016 PHP5.5 is no more supported by PPA?

How to set up OneDrive on Ubuntu 16.04LTS? https://askubuntu.com/questions/836234/how-to-set-up-onedrive-on-ubuntu-16-04lts

I tried the guides but a window never popped up prompting me to sign in, so I continued with the command 'onedrive-pref'. That did nothing, so now I have a OneDrive folder and a .onedrive folder.

I checked my OneDrive account online; there was no new files/folders. I'm trying to get it to where I have a folder in my home folder that will sync with OneDrive online.

How to disable apt key checking for private repositories under Ubuntu 14.04? https://askubuntu.com/questions/708902/how-to-disable-apt-key-checking-for-private-repositories-under-ubuntu-14-04

Under Ubuntu 14.04 I cannot get this to work.

Our PCI auditor told us we can not have direct outbound access to the Ubuntu repo's, so I mirror them with reprepro. Likewise, we do not have outbound access to keyserver.ubuntu.com.

I have tried adding each of the following to /etc/apt/apt.conf.d/99local:

APT::Get::AllowUnauthenticated "true";
APT{Ignore {"gpg-pubkey"; }};
APT { Get { AllowUnauthenticated "1"; }; };

And an "apt-get update" still returns, after reading the packages:

W: GPG error: hkp://sa1.dal.some-company.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68

How can get this to work? Nothing I've found in the documentation on how to disable key checking works.

wlan0 after reboot not working - but works fine every time if manually setup https://askubuntu.com/questions/558522/wlan0-after-reboot-not-working-but-works-fine-every-time-if-manually-setup

A lot of related posts seem to be hardware specific or due to hardware issues, which I don't appear to be having, since everything works fine so long as I setup wlan0 after boot and after logging in.

I'm a n00b to ubuntu server, so I'm hoping there's just a configuration issue at play here.

I simply want the wireless to connect after boot so I can ssh into the box and work remotely all the time.

If I setup /etc/network/interfaces with wlan0, either with static settings or dhcp, then the card appears to be setup with an IP address (according to ifconfig), but ip addr says wlan0 is DOWN, and commands to ask it to come up don't seem to do anything.

If I rem out the settings in /etc/network/interfaces, reboot, login on the actual machine, ip addr shows wlan0 to be UP, then I run sudo dhclient wlan0 then everything is fine.

An answer here: No Wi-Fi after system reboot implied there could be timing issues during boot that are at play, and that seems to fit, but I'm not sure how to troubleshoot that.

Here's /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.1.13
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
pre-up  /etc/init.d/wpa.sh start
post-down /etc/init.d/wpa.sh stop

I tried chili555's suggestions. The changes to /etc/network/interfaces didn't affect anything. After boot, ip addr shows wlan0 to be DOWN, and various commands listed here to try and bring it up don't work.

I couldn't capture all of the output from sudo ifup -v wlan0 even with various 2>&1 >file redirects, the parts not captured was from wpa_supplicant. It didn't indicate any errors that I could tell, here's the rest from the sudo ifup command (the sudo ifdown seemed to work fine with little output):

OK
ip addr add 192.168.1.13/255.255.255.0 broadcast 192.168.1.255    dev wlan0 label wlan0
ip link set dev wlan0   up
 ip route add default via 192.168.1.1  dev wlan0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant

But ip addr afterwards is still DOWN and I'm unable to connect. I tried sudo ip link set wlan0 up (with and without the dev bit), also sudo ifconfig wlan0 up - nothing seemed to change anything.

Running sudo dhclient ip just hangs a while then times out. There's already a static ip assigned, dunno if that would matter.

When I leave wlan0 unconfigured in /etc/network/interfaces then restart, here's what ip addr shows after boot:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p12p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f0:4d:a2:4c:6a:c4 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:21:6a:c7:12:38 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::221:6aff:fec7:1238/64 scope link
       valid_lft forever preferred_lft forever

then running sudo dhclient wlan0 connects everything and here's the subsequent ip addr output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p12p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f0:4d:a2:4c:6a:c4 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:21:6a:c7:12:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.13/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::221:6aff:fec7:1238/64 scope link
       valid_lft forever preferred_lft forever
How do I manually partition my hard drive correctly? https://askubuntu.com/questions/493865/how-do-i-manually-partition-my-hard-drive-correctly

I'm trying to install Ubuntu 14.04 on my desktop I built. I am not an advanced user by any means so I just want to do the simple installation of "Install Ubuntu alongside Windows" but when I do I get the error "partition length of 5599212891 sectors exceeds the msdos-partition-table-imposed maximum of 4294967295" which I've looked around and it's the size is the problem so I then went to the option of "Something Else" and I'm not knowledgeable enough as to what types of partitions to make and how large to make them or anything. I'm looking for some help because I really want to have my desktop have both Windows and Ubuntu.