MacBook A1278/A1322 Runtime Charging Not Working on Linux – SMC Override Issue ACPI Conflict https://askubuntu.com/questions/1563714/macbook-a1278-a1322-runtime-charging-not-working-on-linux-smc-override-issue-a

On MacBook A1278/A1322 running Linux, runtime charging (while the OS is on) stops working due to Apple SMC firmware overriding Linux ACPI driver commands (applesmc, sbs). Even with acpi_osi=!, acpi_enforce_resources=lax, and module reloads, charging only briefly boosts for ~10 seconds before stopping. Charging works normally when the system is powered off, but at a reduced current because firmware limits the charge rate.

ase convert the driver to use hwmon_device_register_with_info(). ➜ Desktop sudo dmesg | grep -i acpi [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.17.0-12-generic root=UUID=f1854db4-fe2e-40ec-959e-ce868e9b00bb ro text intel_iommu=on iommu=pt nmi_watchdog=0 clocksource=tsc efi=runtime acpi_osi=darwin button.lid_init_state=open intel_idle.max_cstate=2 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M [ 0.000000] BIOS-e820: [mem 0x000000008ad34000-0x000000008ad5efff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000008ad6d000-0x000000008ad8efff] ACPI data [ 0.000000] efi: ACPI=0x8ad8e000 ACPI 2.0=0x8ad8e014 SMBIOS=0x8ad3b000 MOKvar=0x8ae5c000 INITRD=0x87c29798 [ 0.024888] ACPI: Early table checksum verification disabled [ 0.024892] ACPI: RSDP 0x000000008AD8E014 000024 (v02 APPLE ) [ 0.024898] ACPI: XSDT 0x000000008AD8E1C0 00009C (v01 APPLE Apple00 00000050 01000013) [ 0.024906] ACPI: FACP 0x000000008AD8C000 0000F4 (v04 APPLE Apple00 00000050 Loki 0000005F) [ 0.024914] ACPI: DSDT 0x000000008AD80000 006F12 (v01 APPLE MacBookP 00080001 INTL 20061109) [ 0.024919] ACPI: FACS 0x000000008AD3E000 000040 [ 0.024923] ACPI: FACS 0x000000008AD3E000 000040 [ 0.024926] ACPI: HPET 0x000000008AD8B000 000038 (v01 APPLE Apple00 00000001 Loki 0000005F) [ 0.024931] ACPI: APIC 0x000000008AD8A000 0000BC (v02 APPLE Apple00 00000001 Loki 0000005F) [ 0.024935] ACPI: SBST 0x000000008AD88000 000030 (v01 APPLE Apple00 00000001 Loki 0000005F) [ 0.024939] ACPI: ECDT 0x000000008AD87000 000053 (v01 APPLE Apple00 00000001 Loki 0000005F) [ 0.024943] ACPI: SSDT 0x000000008AD7C000 00020D (v01 APPLE SataOdd 00001000 INTL 20061109) [ 0.024947] ACPI: SSDT 0x000000008AD7B000 000024 (v01 APPLE SmcDppt 00001000 INTL 20061109) [ 0.024952] ACPI: SSDT 0x000000008AD79000 00061A (v01 APPLE UsbNoRmh 00001000 INTL 20061109) [ 0.024956] ACPI: SSDT 0x000000008AD76000 000159 (v02 APPLE IGHda 00001000 INTL 20061109) [ 0.024960] ACPI: SSDT 0x000000008AD74000 000032 (v01 APPLE SsdtS3 00001000 INTL 20061109) [ 0.024964] ACPI: SSDT 0x000000008AD73000 000527 (v01 PmRef Cpu0Ist 00003000 INTL 20061109) [ 0.024968] ACPI: SSDT 0x000000008AD72000 0009B1 (v01 PmRef CpuPm 00003000 INTL 20061109) [ 0.024973] ACPI: SSDT 0x000000008AD71000 000315 (v01 PmRef Cpu0Tst 00003000 INTL 20061109) [ 0.024977] ACPI: SSDT 0x000000008AD70000 00037A (v01 PmRef ApTst 00003000 INTL 20061109) [ 0.024981] ACPI: MCFG 0x000000008AD89000 00003C (v01 APPLE Apple00 00000001 Loki 0000005F) [ 0.024984] ACPI: Reserving FACP table memory at [mem 0x8ad8c000-0x8ad8c0f3] [ 0.024986] ACPI: Reserving DSDT table memory at [mem 0x8ad80000-0x8ad86f11] [ 0.024988] ACPI: Reserving FACS table memory at [mem 0x8ad3e000-0x8ad3e03f] [ 0.024989] ACPI: Reserving FACS table memory at [mem 0x8ad3e000-0x8ad3e03f] [ 0.024990] ACPI: Reserving HPET table memory at [mem 0x8ad8b000-0x8ad8b037] [ 0.024991] ACPI: Reserving APIC table memory at [mem 0x8ad8a000-0x8ad8a0bb] [ 0.024992] ACPI: Reserving SBST table memory at [mem 0x8ad88000-0x8ad8802f] [ 0.024993] ACPI: Reserving ECDT table memory at [mem 0x8ad87000-0x8ad87052] [ 0.024994] ACPI: Reserving SSDT table memory at [mem 0x8ad7c000-0x8ad7c20c] [ 0.024996] ACPI: Reserving SSDT table memory at [mem 0x8ad7b000-0x8ad7b023] [ 0.024997] ACPI: Reserving SSDT table memory at [mem 0x8ad79000-0x8ad79619] [ 0.024998] ACPI: Reserving SSDT table memory at [mem 0x8ad76000-0x8ad76158] [ 0.024999] ACPI: Reserving SSDT table memory at [mem 0x8ad74000-0x8ad74031] [ 0.025000] ACPI: Reserving SSDT table memory at [mem 0x8ad73000-0x8ad73526] [ 0.025001] ACPI: Reserving SSDT table memory at [mem 0x8ad72000-0x8ad729b0] [ 0.025002] ACPI: Reserving SSDT table memory at [mem 0x8ad71000-0x8ad71314] [ 0.025004] ACPI: Reserving SSDT table memory at [mem 0x8ad70000-0x8ad70379] [ 0.025005] ACPI: Reserving MCFG table memory at [mem 0x8ad89000-0x8ad8903b] [ 0.025014] ACPI: DMI detected to setup _OSI("Darwin"): Apple hardware [ 0.053572] ACPI: PM-Timer IO Port: 0x408 [ 0.053586] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.053588] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) [ 0.053589] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) [ 0.053590] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1]) [ 0.053592] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1]) [ 0.053593] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1]) [ 0.053594] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1]) [ 0.053595] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1]) [ 0.053611] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.053614] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.053620] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.053622] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.054070] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.17.0-12-generic root=UUID=f1854db4-fe2e-40ec-959e-ce868e9b00bb ro text intel_iommu=on iommu=pt nmi_watchdog=0 clocksource=tsc efi=runtime acpi_osi=darwin button.lid_init_state=open intel_idle.max_cstate=2 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M [ 0.054277] ACPI: button: Initial lid state set to 'open' [ 0.194687] ACPI: Core revision 20250404 [ 0.263813] ACPI: PM: Registering ACPI NVS region [mem 0x8ad34000-0x8ad5efff] (176128 bytes) [ 0.267242] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.278688] ACPI: Disabled all _OSI OS vendors [ 0.278696] ACPI: Added _OSI(Module Device) [ 0.278703] ACPI: Added _OSI(Processor Device) [ 0.278709] ACPI: Added OSI(Processor Aggregator Device) [ 0.278731] ACPI: Added OSI(Darwin) [ 0.278736] ACPI: Added OSI(darwin) [ 0.290622] ACPI: 10 ACPI AML tables successfully acquired and loaded [ 0.291775] ACPI: EC: EC started [ 0.291781] ACPI: EC: interrupt blocked [ 0.292348] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.292355] ACPI: EC: Boot ECDT EC used to handle transactions [ 0.293299] ACPI: BIOS OSI(Darwin) query honored via DMI [ 0.294478] ACPI: [Firmware Bug]: BIOS OSI(Linux) query ignored [ 0.316590] ACPI: Dynamic OEM Table Load: [ 0.316607] ACPI: SSDT 0xFFFF8DA14183C000 000781 (v01 PmRef Cpu0Cst 00003001 INTL 20061109) [ 0.317616] ACPI: Dynamic OEM Table Load: [ 0.317627] ACPI: SSDT 0xFFFF8DA140DBF800 0003A4 (v01 PmRef ApIst 00003000 INTL 20061109) [ 0.318340] ACPI: Dynamic OEM Table Load: [ 0.318350] ACPI: SSDT 0xFFFF8DA1402F9E00 000119 (v01 PmRef ApCst 00003000 INTL 20061109) [ 0.319513] ACPI: Interpreter enabled [ 0.319543] ACPI: PM: (supports S0 S3 S4 S5) [ 0.319547] ACPI: Using IOAPIC for interrupt routing [ 0.320254] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.320497] ACPI: Enabled 7 GPEs in block 00 to 3F [ 0.330020] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.330034] acpi PNP0A08:00: OSC: OS assumes control of [PCIeHotplug SHPCHotplug AER PCIeCapability LTR DPC] [ 0.330059] acpi PNP0A08:00: [Firmware Info]: ECAM [mem 0xe0000000-0xe9bfffff] for domain 0000 [bus 00-9b] only partially covers this bridge [ 0.335677] acpiphp: Slot [3] registered [ 0.335718] acpiphp: Slot [4] registered [ 0.337319] acpiphp: Slot [1] registered [ 0.348285] ACPI: PCI: Interrupt link LNKA configured for IRQ 0 [ 0.348292] ACPI: PCI: Interrupt link LNKA disabled [ 0.348373] ACPI: PCI: Interrupt link LNKB configured for IRQ 0 [ 0.348378] ACPI: PCI: Interrupt link LNKB disabled [ 0.348461] ACPI: PCI: Interrupt link LNKC configured for IRQ 0 [ 0.348466] ACPI: PCI: Interrupt link LNKC disabled [ 0.348542] ACPI: PCI: Interrupt link LNKD configured for IRQ 0 [ 0.348547] ACPI: PCI: Interrupt link LNKD disabled [ 0.348623] ACPI: PCI: Interrupt link LNKE configured for IRQ 0 [ 0.348628] ACPI: PCI: Interrupt link LNKE disabled [ 0.348704] ACPI: PCI: Interrupt link LNKF configured for IRQ 0 [ 0.348709] ACPI: PCI: Interrupt link LNKF disabled [ 0.348785] ACPI: PCI: Interrupt link LNKG configured for IRQ 0 [ 0.348790] ACPI: PCI: Interrupt link LNKG disabled [ 0.348866] ACPI: PCI: Interrupt link LNKH configured for IRQ 0 [ 0.348870] ACPI: PCI: Interrupt link LNKH disabled [ 0.349257] ACPI: EC: interrupt unblocked [ 0.349262] ACPI: EC: event unblocked [ 0.349270] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.349274] ACPI: EC: GPE=0x17 [ 0.349278] ACPI: _SB.PCI0.LPCB.EC: Boot ECDT EC initialization complete [ 0.349284] ACPI: _SB.PCI0.LPCB.EC: EC: Used to handle transactions and events [ 0.349465] ACPI: bus type USB registered [ 0.351143] PCI: Using ACPI for IRQ routing [ 0.358836] pnp: PnP ACPI init [ 0.360006] pnp: PnP ACPI: found 6 devices [ 0.367020] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.469312] ACPI: AC: AC Adapter [ADP1] (on-line) [ 0.469527] ACPI: button: Lid Switch [LID0] [ 0.469659] ACPI: button: Power Button [PWRB] [ 0.469778] ACPI: button: Sleep Button [SLPB] [ 0.469931] ACPI: button: Power Button [PWRF] [ 0.480698] ACPI: bus type drm_connector registered [ 1.092113] ACPI: bus type thunderbolt registered [ 1.517036] ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out [ 1.523765] ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out [ 11.149383] smbus_hc ACPI0001:00: SBS HC: offset = 0x20, query_bit = 0x10 [ 11.211652] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20250404/utaddress-204) [ 11.211664] ACPI: OSL: Resource conflict; ACPI support missing from driver? [ 11.211668] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20250404/utaddress-204) [ 11.211673] ACPI: OSL: Resource conflict; ACPI support missing from driver? [ 11.211675] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20250404/utaddress-204) [ 11.211680] ACPI: OSL: Resource conflict; ACPI support missing from driver? [ 11.211682] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20250404/utaddress-204) [ 11.211687] ACPI: OSL: Resource conflict; ACPI support missing from driver? [ 11.393105] ACPI: Smart Battery System [SBS0]: Battery Slot [BAT0] (battery present) [ 12.373761] ACPI: video: Video Device [IGPU] (multi-head: yes rom: no post: no) [ 12.374712] acpi device:10: registered as cooling_device6

No sound or microphone detected on Ubuntu 24.04.3 (MacBookPro13,1) pls help https://askubuntu.com/questions/1563712/no-sound-or-microphone-detected-on-ubuntu-24-04-3-macbookpro13-1-pls-help

I’m having an audio issue on Ubuntu and I would really appreciate some help.

Here are my system details:

Hardware:

  • Model: Apple Inc. MacBookPro13,1

  • CPU: Intel Core i7-6660U

  • RAM: 16 GB

  • Graphics: Intel Iris Graphics 540

  • Disk: 251 GB

Software:

  • OS: Ubuntu 24.04.3 LTS (64-bit)

  • GNOME: 46

  • Windowing system: Wayland

  • Kernel: Linux 6.17.0-14-generic

  • Firmware: 529.120.1.0.0

Problem description:

Ubuntu detects the sound card, but I have no audio output and no microphone input.

Before installing Linux, macOS had working sound on this same machine, so I’m confident the speakers and mic are not physically damaged.

Diagnostics output:

$ aplay -l

**** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: CS8409 Analog [CS8409 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0

$ arecord -l

**** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: CS8409 Analog [CS8409 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0

$ pactl list short sinks

1285 alsa_output.pci-0000_00_1f.3.analog-stereo.3 PipeWire s32le 2ch 48000Hz RUNNING

$ pactl list short sources

1285 alsa_output.pci-0000_00_1f.3.analog-stereo.3.monitor PipeWire s32le 2ch 48000Hz RUNNING

also Pulse Audio is installed and pipewier can't be installed for some reason

I’ve been trying to fix this for the last 2–3 days using forum posts and YouTube tutorials, but nothing has worked so far.

Apps running inside Distrobox are not scaled properly according to host OS settings https://askubuntu.com/questions/1563711/apps-running-inside-distrobox-are-not-scaled-properly-according-to-host-os-setti

I’m running Ubuntu 24.04 (GNOME) on a HiDPI laptop (14", 2880×1800) with display scaling set to 200% (2×). Native host applications scale correctly and behave as expected.

My laptop uses an Intel Core Ultra 5 225H processor, and Ubuntu 24.04 appears to be the only Ubuntu version that works reliably with this hardware. However, I need to work with ROS2 Humble, which officially supports Ubuntu 22.04. Since 22.04 does not work well on my hardware (wifi, display, and other hardware failures), I decided to use Distrobox to run Ubuntu 22.04 and ROS2 Humble inside a container.

While this setup works functionally, I’m facing persistent GUI scaling issues with applications launched from inside the container.

IssuesvObserved

  1. All GUI applications launched from the Distrobox container behave as if the system is running at 1× scaling, even though the host is set to 2×:

  2. GUI elements (icons, text, widgets) are extremely small

  3. Cursor visibly shrinks when entering container windows

  4. Happens consistently with ROS2 GUI tools such as:

    a. rqt

    b. rqt_graph

    c. turtlesim

The issue appears to affect all container GUI apps, not just ROS tools

Host GUI applications (Settings, Text Editor, etc.) behave normally.

Environment

  1. Host OS: Ubuntu 24.04 (GNOME)

  2. Hardware: HiDPI laptop (14", 2880×1800), Intel Core Ultra 225H

  3. Display scaling: 200%

  4. Sessions tested: X11 and Xorg

  5. Container: Distrobox running Ubuntu 22.04

  6. Applications tested: rqt, rqt_graph, turtlesim (Qt-based)

Is there a way to make it work reliably? Also, is this a known limitation or behavior when running GUI applications from containers (e.g., Distrobox) on GNOME with HiDPI scaling? Or should I use another method than containerization for my workflow? I am somewhat new to Linux so forgive if I have typed something stupid while describing my issue. I tried solving things using GPT but nothing helped.

Traceback errors with add-apt-repository on 24.04 https://askubuntu.com/questions/1563710/traceback-errors-with-add-apt-repository-on-24-04

I have found other questions about this command not working on the site but the errors emitted are not the same, at least in the several I looked at.

add-apt-repository fails when attempting to add repositories (several different ppas attempted)

The affected system is a virtual machine which started out as a clone of a physical PC. They have diverged over the years, and the physical PC does not have this problem.

$ sudo add-apt-repository ppa:ondrej/apache2
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 452, in <module>
    sys.exit(0 if addaptrepo.main() else 1)
                  ^^^^^^^^^^^^^^^^^
  File "/usr/bin/add-apt-repository", line 435, in main
    shortcut = handler(source, **shortcut_params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
    return handler(shortcut, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 89, in __init__
    if self.lpppa.publish_debug_symbols:
       ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 133, in lpppa
    self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
                  ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpteam
    self._lpteam = self.lp.people(self.teamname)
                   ^^^^^^^
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 111, in lp
    self._lp = login_func("%s.%s" % (self.__module__, self.__class__.__name__),
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 494, in login_anonymously
    return cls(
           ^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 230, in __init__
    super(Launchpad, self).__init__(
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 511, in __init__
    self._wadl = self._browser.get_wadl_application(self._root_uri)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 502, in get_wadl_application
    response, content = self._request(url, media_type=wadl_type)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 441, in _request
    response, content = self._request_and_retry(
                        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 400, in _request_and_retry
    response, content = self._connection.request(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1669, in request
    (response, new_content) = self._request(
                              ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 144, in _request
    response, content = super(LaunchpadOAuthAwareHttp, self)._request(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 204, in _request
    return super(RestfulHttp, self)._request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1421, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1343, in _conn_request
    conn.connect()
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1135, in connect
    self.sock = self._context.wrap_socket(sock, server_hostname=self.host)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1042, in _create
    self.do_handshake()
  File "/usr/lib/python3.12/ssl.py", line 1320, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)
Minimum API version conflict in Ubuntu and Docker Desktop (Minifabric Smart Contract) https://askubuntu.com/questions/1563709/minimum-api-version-conflict-in-ubuntu-and-docker-desktop-minifabric-smart-cont

I searched but couldn't find solution of following:

I intend to deploy smartcontract using Minifabric blockchain (Hyperledger). I installed WSL2 (Windows subsystem for Linux), Ubuntu 22.04.5 LTS and Docker Desktop on windows 10. After installing prerequisites softwares/packages, I get Minimum API version error (its 1.39 and requires minimum 1.44) on Ubuntu Shell.

The installation steps are:

sudo apt update && sudo apt upgrade
sudo apt install curl git ca-certificates gnupg lsb-release
sudo apt install python3 python3-pip git -y
curl -O https://bootstrap.pypa.io/get-pip.py
sudo apt install git python3.10 python3.10-venv python3.10-distutils curl -y

git clone https://github.com/hyperledger-labs/minifabric.git

cd minifabric
chmod +x minifab
export PATH=$PWD:$PATH
minifab --help

On "./minifab cleanup" command even it is again giving following API version error. This means the minimum API version mismatch errors are on both "minifab --help" and "minifab -cleanup". Below is the error and Docker version:

Ubuntu:~/minifabric$ ./minifab cleanup Using spec file: /home/kaami/minifabric/spec.yaml Minifab Execution Context: FABRIC_RELEASE=2.3.0 CHANNEL_NAME=mychannel PEER_DATABASE_TYPE=golevel CHAINCODE_LANGUAGE=node CHAINCODE_NAME=simple CHAINCODE_VERSION=1.0 CHAINCODE_INIT_REQUIRED=true CHAINCODE_PARAMETERS="init","a","200","b","300" CHAINCODE_PRIVATE=false CHAINCODE_POLICY= TRANSIENT_DATA= BLOCK_NUMBER=newest EXPOSE_ENDPOINTS=false CURRENT_ORG=org0.example.com HOST_ADDRESSES=172.30.20.16 TARGET_ENV=DOCKER Error response from daemon: client version 1.39 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version WORKING_DIRECTORY: ..... # Preparing for the following operations: ********************* verify options, shutdown network, cleanup working directory ....... # Running operation: ****************************************** verify options .. # Running operation: ****************************************** shutdown network ... # List all the containers on the network ********************** non-zero return code Error response from daemon: client version 1.39 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version # STATS ******************************************************* minifab: ok=22 failed=1 real 0m19.721s user 0m12.988s sys 0m2.661s 

Ubuntu:~/minifabric$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock hyperledgerlabs/minifab:patched docker version Client: Version: 29.2.1 API version: 1.53 Go version: go1.25.6 Git commit: a5c7197 Built: Mon Feb 2 17:16:41 2026 OS/Arch: linux/amd64 Context: default Server: Docker Desktop 4.59.0 (217644) Engine: Version: 29.2.0 API version: 1.53 (minimum version 1.44) Go version: go1.25.6 Git commit: 9c62384 Built: Mon Jan 26 19:26:07 2026 OS/Arch: linux/amd64 Experimental: false containerd: Version: v2.2.1 GitCommit: dea7da592f5d1d2b7755e3a161be07f43fad8f75 runc: Version: 1.3.4 GitCommit: v1.3.4-0-gd6d73eb8 docker-init: Version: 0.19.0 GitCommit: de40ad0

Need suggestions.

Ubuntu 22.04 crash during software install boot to command line https://askubuntu.com/questions/1563708/ubuntu-22-04-crash-during-software-install-boot-to-command-line

During software install via native gui software installer, crashed. Error message included firmware issue. Reboots to command line. Reboot recovery options did not fix the issue.

This system has run well for several years.

WINE install fail but "missing package" is there? https://askubuntu.com/questions/1563707/wine-install-fail-but-missing-package-is-there

I am unable to install WINE using the standard instructions (https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu). I want WINE for two packages that do not exist on Linux, nor have equivalents.

Since WINE comes in four parts I narrowed it down to:

apt install wine-stable-i386

(Yes I have added the 386 architecture.)

And what I get is this many times for a lot of similarly named but different packages (though required versions change):

The following packages have unmet dependencies.
 kded5 : Depends: libqt5gui5 (>= 5.15.2~) or
                  libqt5gui5-gles (>= 5.15.2~) but it is not going to be installed

But libqt5gui5-gles is installed at the latest version:

root@me:~# apt install libqt5gui5-gles
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libqt5gui5-gles is already the newest version (5.15.13+dfsg-1).
libqt5gui5-gles set to manually installed.
0 to upgrade, 0 to newly install, 0 to remove and 19 not to upgrade.

Note that previously libqt5gui5 was installed but I thought I'd uninstall and then re-install, but when I uninstalled, libqt5gui5-gles was automatically installed in its place (same errors).

For completeness, the 19 not to upgrade were elsewhere described as held due to phasing, which I understand is just slow release, and they are:

root@me:~# apt list --upgradable
Listing... Done
language-pack-en-base/noble-updates,noble-updates 1:24.04+20260127 all [upgradable from: 1:24.04+20250724]
language-pack-en/noble-updates,noble-updates 1:24.04+20260127 all [upgradable from: 1:24.04+20250724]
qemu-block-extra/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-arm/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-common/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-data/noble-updates,noble-updates 1:8.2.2+ds-0ubuntu1.12 all [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-gui/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-mips/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-misc/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-modules-opengl/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-modules-spice/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-ppc/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-s390x/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-sparc/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system-x86/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-system/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
qemu-utils/noble-updates 1:8.2.2+ds-0ubuntu1.12 amd64 [upgradable from: 1:8.2.2+ds-0ubuntu1.11]
uno-libs-private/noble-backports 4:25.2.7-0ubuntu0.25.04.1~bpo24.04.1 amd64 [upgradable from: 4:25.2.7-0ubuntu0.25.04.1~bpo22.04.1]
ure/noble-backports 4:25.2.7-0ubuntu0.25.04.1~bpo24.04.1 amd64 [upgradable from: 4:25.2.7-0ubuntu0.25.04.1~bpo22.04.1]

I know it's feasible to force upgrade but I didn't want to break anything and I don't think they are anything to do with WINE.

Can't minimize or reduce master-pdf-editor5 window https://askubuntu.com/questions/1563706/cant-minimize-or-reduce-master-pdf-editor5-window

The window buttons to minimize or reduce master-pdf-editor 5 are missing.

screenshot

uninstall nautilus, and reinstall https://askubuntu.com/questions/1563705/uninstall-nautilus-and-reinstall

Using TERMINAL, how do I SUCCESSFULLY uninstall nautilus completely, and aferwhich, how do I reinstall it SUCCESSFULLY - dependencies and all...?

Currently, I can copy, edit, etc files using terminal, edit using nano, etc., but nautilus seems to just want to crash so want to reinstall, not repair, it.

Is a Windows 7 scan better than an Ubuntu scan? https://askubuntu.com/questions/1563700/is-a-windows-7-scan-better-than-an-ubuntu-scan

Maybe I have not found a way to get a good scan in Ubuntu. IMHO, a good scan file is high resolution and small. For the same resolution, smaller is better.

I have tried xsane, scanlite and scanpage, but the files are typically ginormous (bigger than a GB). Using Windows Fax and Scan in Windows 7, I set the resolution to 300 dpi and scanned a Windows 7 test printout. I get a nice looking image that weighs in at 132 Mb.

(I have not tried later Windows versions. I need Windows 7 for one application. I do not use Windows 7 for email or surfing.)

Until I find a good way to scan in Ubuntu, I will be dual booting into Windows 7 when I need to scan. Is there a way to scan in Ubuntu that I have not discovered?

Broken kernel could not be fully removed - what to do? https://askubuntu.com/questions/1563699/broken-kernel-could-not-be-fully-removed-what-to-do

I am running Ubuntu 24.04.3 LTS on my Dell XPS-13. After an update and subsequent restart my computer showed kernel panic error, so I booted into the old kernel (6.14.0-37-generic) to fix it.

I used

dpkg --list | grep linux-image

to identify the broken kernel (6.17.0-14-generic) and removed it via

sudo apt purge linux-image-6.17.0-14-generic linux-headers-6.17.0-14-generic

Subsequently I ran

sudo apt autoremove --purge

Here, I got the warning:

warning: while removing linux-modules-6.17.0-14-generic, directory '/lib/modules/6.17.0-14-generic' not empty so not removed

I looked up the directory and it is indeed non-empty.

So my questions are the following:

  • Do I need to remove this directory to guarantee the proper functioning of my system?

  • If yes, how?

  • How can I update to kernel version 6.17.0-14-generic safely?

  • As I removed 6.17.0-14-generic, only kernel version 6.14.0-37-generic is currently installed properly on my system. Does this pose a threat to my system?

Edit: I have since updated my grub and restarted my system.

Thanks for your help!

Unable to copy more than 40 files / totalling 4 gig, from microSD card https://askubuntu.com/questions/1563698/unable-to-copy-more-than-40-files-totalling-4-gig-from-microsd-card

I'm running Ubuntu 25.10 on a notebook with 8 Gig RAM and a 1TB flash drive. After I've been on a long trip I like to keep the dash cam image files for a short while. To do this, I copy the files off the camera's micro SD card onto my notebook. The SD drive is mounted via a USB adapter into a USB port. The latest batch consists of 531 files, totaling 52Gig.

Always, after the copy reaches about 40 files / 4 Gig total, the SD drive goes offline and the last file copied is always unreadable. I've tried copying from the standard file manager, and from a shell using cp and get the same issue. I've also tried copying the files individually using a shell script, but this fails in the same way. To start the copy again, I need to take the SD card out and insert it again, and then I can continue.

Thinking this might be a Linux constraint, I tried the same thing on a Windows 10 machine, and this failed in much the same way, although it did copy a few more files before the failure.

The SD card seems fine, and I can eventually copy all the files after multiple copies.

Does anyone have any idea what the issue could be and if there is a way around it?

Update - I've moved all the files from my computer onto a Samsung Portable SSD T7 device, then tried to copy them back again using the standard Ubuntu file manager, and this worked just fine, so I guess the issue must be related to using an SD card, but I can't understand what it can be.

Boot loop after installing Ubuntu 24.04 LTS on HP ProBook https://askubuntu.com/questions/1563696/boot-loop-after-installing-ubuntu-24-04-lts-on-hp-probook

I did a clean installation of Ubuntu, removing the former Windows 10 OS. However, the laptop is stuck in a loop at booting. Via Esc > F9 I can start up from the EFI files. I checked GRUB and removed the former BOOT folder, but still "OS Boot Manager" keeps being the first option. No possibilities to put "Boot from EFI file" or "Ubuntu" as first option. Any suggestions? I want to get rid of the F9-detour.

How to change the Alt+0 shortcut? It is not at the Keyboard/Shortcut settings https://askubuntu.com/questions/1563693/how-to-change-the-alt0-shortcut-it-is-not-at-the-keyboard-shortcut-settings

I started to test Geforce Now Linux native app and in the game what I play I have an important keybinding on Alt+0 unfortunately I cannot use it, because this is also the shortcut for changing windows. Also unfortunately Alt+0 shortcut does not appear in the Keyboard/View and Customize shortcuts option.

Is there any way to delete or change this shortcut?

Strange tab behavior first occurred in Brave browser in Ubuntu 24.04 https://askubuntu.com/questions/1563681/strange-tab-behavior-first-occurred-in-brave-browser-in-ubuntu-24-04

In Brave, with more than one tab in a window, I cannot select a tab without the selection moving to that to the left and eventually moving to the leftmost tab. Similarly in Ubuntu 24.04 when using "Show Apps," it always returns to the first screen of apps after clicking on the right-pointing arrow.

How do I correct both of these these?

Bash file dialog https://askubuntu.com/questions/1563638/bash-file-dialog

how to check in the bash file dialog existence of the file "File Name", and if not. to open a new file "File Name" (in the w-r mode)?

fixing amdgpu crashing system on ubuntu 24.04 https://askubuntu.com/questions/1563613/fixing-amdgpu-crashing-system-on-ubuntu-24-04

I was trying to use my NPU on ubuntu, but messed something up and now running sudo modprobe amdgpu crashes my system. That is, the following happens: screen turns black -> login screen -> after login, black screen until reboot.

This issue arose after running the amdgpu-install command from this post: Enabling Ryzen-Ai workloads in Ubuntu Servers

which caused a build error related to amdgpu-dkms:

Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.10.5-2119913.24.04/build/make.log for more information.
    dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
 amdgpu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

I suspect that this has to do with amdgpu not being compatible with the kernel version that I have, Which is similar to this github issue: https://github.com/ROCm/ROCm/issues/4619 I am on ubuntu 24.04, kernel version 6.17.0-14-generic. And my cpu/gpu/npu is AMD Ryzen 7 8845HS with Radeon 780M Graphics.

How can I restore amdgpu to a working state? And what did I do wrong that broke this?

Any help would be greatly appreciated.

Sensors-detect is not detecting CPU core temp sensors https://askubuntu.com/questions/1400225/sensors-detect-is-not-detecting-cpu-core-temp-sensors

I have recently started using Ubuntu regularly and wanted a way to monitor my CPU temps.

I did the steps online of installing lm-sensors and doing sensors-detect.

This is the output for sensors-detect ->

# sensors-detect version 3.6.0
# System: Dell Inc. Dell G15 5515 [1.5.0] (laptop)
# Processor: AMD Ryzen 5 5600H with Radeon Graphics (25/80/0)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): 
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): 
/dev/port: Operation not permitted

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): 
/dev/port: Operation not permitted

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Using driver `i2c-piix4' for device 0000:00:14.0: AMD KERNCZ SMBus

Next adapter: Synopsys DesignWare I2C adapter (i2c-0)
Do you want to scan it? (YES/no/selectively): 
Adapter doesn't support all probing functions.
Some addresses won't be probed.
Client at address 0x2c can not be probed - unload all client drivers first!

Next adapter: SMBus PIIX4 adapter port 0 at ff00 (i2c-1)
Do you want to scan it? (YES/no/selectively): 

Next adapter: SMBus PIIX4 adapter port 2 at ff00 (i2c-2)
Do you want to scan it? (YES/no/selectively): 

Next adapter: SMBus PIIX4 adapter port 1 at ff20 (i2c-3)
Do you want to scan it? (YES/no/selectively): 

Next adapter: AMDGPU DM i2c hw bus 0 (i2c-4)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: AMDGPU DM i2c hw bus 1 (i2c-5)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: AMDGPU DM aux hw bus 0 (i2c-6)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: AMDGPU DM aux hw bus 1 (i2c-7)
Do you want to scan it? (yes/NO/selectively): 

Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.**

Even if I type yes for all questions, the end result is the same.

When I run sensors this is the output I get ->

amdgpu-pci-0500
Adapter: PCI adapter
vddgfx:      718.00 mV 
vddnb:       931.00 mV 
edge:         +49.0°C  
power1:      1000.00 uW 

nvme-pci-0200
Adapter: PCI adapter
Composite:    +34.9°C  (low  =  -0.1°C, high = +82.8°C)
                       (crit = +84.8°C)
Sensor 1:     +34.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +44.0°C  

BAT1-acpi-0
Adapter: ACPI interface
in0:          12.38 V  
curr1:         0.00 A**

Is one of the results displayed the CPU temp? Could someone please help me?

My system info ->

System: Dell Inc. Dell G15 5515 [1.5.0] (laptop) Processor: AMD Ryzen 5 5600H with Radeon Graphics (25/80/0) Ubuntu 20.04 LTS

Wine Wow64 with 32bit installation https://askubuntu.com/questions/1318510/wine-wow64-with-32bit-installation

Ubuntu 20.10: wine-6.2 with WOW64 and 32 or 64 bit program installations

When creating a 64 bit wine prefix it creates a directory structure with "Program Files (c86)".

I can launch 32-bit programs into it, but I always get prompts that tell's me it could go wrong because I use a 64-bit prefix. Although there is no apparent error.

At top of that, when I install a 32-bit program into this prefix, should I do it with wine, or wine64? If I do it with wine, will it use the "Program Files (x86)" or the default "Program Files" reserved for 64-bit programs on a 64-bit architecture?

It's not clear at all how to use a 64-bit architecture, with 32-bit applications/installations. The point is, some of the programs I want to install, have a 64-bit installer, but uses 32-bit launchers and are normaly installed into "Program Files (x86)".

My goal is to run a signel Prefix for all the apps I need wone for. This would mostly be used for game purposes.

How do I launch a prefix desktop WOW64, compatible for 32-bit and 64-bit apps as well?

What is the best way to install all I need into this only prefix, without this prompt about 64-bit prefix?

I have no choice to use other than a 64-bit. My prefix should be at HOME/user/wine64/

28/02/21

I've found out that I have to work with wine64 to run an exe within the x64 Prefix I've created. Even is this one is 32-bit Like the Steam setup for exemple.

'WINEARCH=win64 WINEPREFIX=/$HOME/.local/share/wineprefixes/Win64DXVK wine64 explorer'

I'm a newbie, but for me it's like winetricks runs some commands with wine instead of wine64, just because those are 32-bit applications. So my question at this points, if it's so, there a winetricks version that runs everything with wine64 instead of wine?

I'm looking how to work directly trough wine64, because winetricks give me these error prompts about WINEARCH 64.

WINEARCH=win64 WINEPREFIX=/$HOME/.local/share/wineprefixes/Win64 winetricks

When I'm working directly with the prefix, I've getting things to work somehow. But it would be easier for me if I could also use winetricks in full WOW64 environment.

How to move Plank dock vertically https://askubuntu.com/questions/1292103/how-to-move-plank-dock-vertically

I want to know if it's possible, by modifying some configuration files, to change the vertical position of Plank dock. Unfortunately in the settings you can only decide whether to put it at the top, bottom, left or right while I would like to keep it at the bottom but slightly higher than where it is put by default.

Screenshot -

As you can see from the screen, the lower edge of the dock is too attached to the lower edge of the screen, I would like to move it slightly higher.

Ubuntu stuck on boot in after upgrade to 19.10 from 19.04 in VMware [end kernel panic not syncing: VFS: unable to mount root fs on block (0,0)] https://askubuntu.com/questions/1185370/ubuntu-stuck-on-boot-in-after-upgrade-to-19-10-from-19-04-in-vmware-end-kernel

I had Ubuntu 19.04 64-bit virtual machine. I upgraded it to 19.10. After the upgrade finished, the virtual machine got stuck on boot in VMware Workstation 15. I had used a vmdk image for 19.04 available here: www.osboxes.org/Ubuntu

While I was upgrading the virtual machine I followed the instructions here.

What could be the problem here? Why is a fresh upgrade not able to boot? What should I check in here or do to fix this?

This is a fresh upgrade and whatever kept happening I let it happen. I logged in to tty6 and I got the following screen.

Ubuntu 19.10 osboxes tty6

osboxes login: osboxes
Password:
Last login: Sun Sep  8 00:22:09 IST 2019 on tty5
Welcome to Ubuntu 19.10 (GNU/Linux 5.0.0-27-generic x86_64)

 * Documentation:  [https://help.ubuntu.com](https://help.ubuntu.com)
 * Management:     [https://landscape.canonical.com](https://landscape.canonical.com)
 * Support:        [https://ubuntu.com/advantage](https://ubuntu.com/advantage)

927 updates can be installed immediately.
0 of these updates are security updates.

*** System restart required ***
osboxes@osboxes:~$ sudo restart
[sudo] password for osboxes:
sudo: restart: command not found
osboxes@osboxes:~$ _

I have not restarted the system since the upgrade from 19.04 to 19.10 kept happening.

Then while I posted this question here I some how was able to restart the system and now I get:

end kernel panic not syncing :VFS: Unable to mount root fs on unknown block (0,0)

Kernel panic unable to mount root on unknown block 0,0:

[   14.074557] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   14.075002] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.3.0-19-generic #20-Ubuntu
[   14.075227] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop
 Reference Platform, BIOS 6.00 04/13/2018
[   14.075492] Call Trace:
[   14.075628]  dump_stack+0x63/0x8a
[   14.075762]  panic+0x101/0x2d7
[   14.075881]  mount_block_root+0x23f/0x2e8
[   14.076023]  mount_root+0x38/0x3a
[   14.076148]  prepare_namespace+0x13f/0x194
[   14.076295]  kernel_init_freeable+0x231/0x255
[   14.076458]  ? rest_init+0xb0/0xb0
[   14.076629]  kernel_init+0xe/0x100
[   14.076770]  ret_from_fork+0x35/0x40
[   14.076984] Kernel Offset: 0x7a00000 from 0xffffffff81000000 (relocation range:
0xffffffff80000000-0xffffffffbfffffff)
[   14.077291] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0) ]---

Now I don't know what should I do. Why this problem came. How to debug this and fix this. Rather than creating a new VM by downloading a new ISO I am more interested to learn and fix the problem which has caused this.

I seem to have figured out something which might be applicable as mentioned at Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0). The thing is before upgrading I did not note down on a paper and pencil which kernel version was running or to what version the upgrade took place. I have been running defaults only, so it should not be a problem.

Someone in comments mentioned:

"On my Ubuntu 19.10 I've had to run apt install initramfs-tools in order to get update-initramfs command –"

I do not know how to work with the Advanced boot menu. Please see the screenshots I uploaded to understand my situation.

Advanced boot options:

Advanced boot options

Which kernel to boot in Advanced boot options:

Which kernel to boot in Advanced options

Even after booting into one of the kernels in advanced options, I get kernel panic messages.

There is some knowledge gap in my situation. I probably have figured out something which I should try, but I am not able to understand how to proceed from here.

How do I set 5GHz as preferred band? https://askubuntu.com/questions/1080645/how-do-i-set-5ghz-as-preferred-band

In the building where I am living is having a WiFi with two channels and same SSID. Whenever I connect to the WiFi, it always connects to the 2.4GHz band but I want to connect to 5GHz band. I have already tried this but all in vain. Also, I have tried linSSID app but it isn't even launching.

I am using Ubuntu 18.04 LTS and output of lshw -C network:

  *-network                 
       description: Wireless interface
       product: Wireless 3160
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 83
       serial: e4:02:9b:d2:65:c7
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-34-generic firmware=17.948900127.0 ip=172.21.126.136 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:128 memory:df100000-df101fff

Output of iwlist chan:

wlp1s0    26 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
Touchpad is not detected in any Linux distribution https://askubuntu.com/questions/943320/touchpad-is-not-detected-in-any-linux-distribution

I've installed several Linux distributions and my touchpad isn't working in any of them. USB mouse works fine and the touchpad works on Windows 10. I tried many different things I found and none of them got good results. I'm using a Lenovo Ideapad 320 laptop running a Windows 10 and Ubuntu 17.04 dual boot.

My xinput output:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer     (2)]
⎜   ↳ Logitech USB Optical Mouse                id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ EasyCamera                                id=9    [slave  keyboard (3)]
    ↳ Ideapad extra buttons                     id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]

Results of apt-cache policy xserver-xorg-input-synaptics:

Xserver-xorg-input-synaptics:
Installed: (none)
Candidate: 1.9.0-1ubuntu1
Version table:
   1.9.0-1ubuntu1 500
     500 http://br.archive.ubuntu.com/ubuntu zesty/main amd64 Packages

Results of apt-cache policy xserver-xorg-input-libinput:

Xserver-xorg-input-libinput:
   Installed: 0.25.0-0ubuntu1
   Candidate: 0.25.0-0ubuntu1
   Version table:
   *** 0.25.0-0ubuntu1 500
           500 http://br.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
            100 /var/lib/dpkg/status
What does this apt error message ("Download is performed unsandboxed as root...") mean? https://askubuntu.com/questions/908800/what-does-this-apt-error-message-download-is-performed-unsandboxed-as-root

I get it after updating in Synaptic Manager

I recently did a clean install of Ubuntu 17.04 from 16.10.

error message:-

W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/samba-libs_2%3a4.5.8+dfsg-0ubuntu0.17.04.1_i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
USB wireless Netgear adapter Ubuntu 16.04 https://askubuntu.com/questions/814364/usb-wireless-netgear-adapter-ubuntu-16-04

My netgear wireless adapter appears to be the same model as from this thread, but the steps didn't end up working out for me. No errors were given. Note: This is the second attempt, so some files are already installed/updated. I'm on a fresh install of Ubuntu 16.04, I'm not used to the environment.

Here's the terminal after each step:

  1. Note: I can't post more than 2 links, so I delete the http:// in front of the hits/gets.

    $ lsusb
    Bus 001 Device 005: ID 0846:9011 NetGear, Inc. WNDA3100v2 802.11abgn [Broadcom BCM4323]
    
    $ sudo apt-get update 
    Hit:1 us.archive.ubuntu.com/ubuntu xenial InRelease
    Get:2 us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB] 
    Hit:3 us.archive.ubuntu.com/ubuntu xenial-backports InRelease 
    Get:4 us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] 
    Fetched 190 kB in 1s (142 kB/s)
    Reading package lists... Done
    
    $ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
    Reading package lists... Done
    Building dependency tree    
    Reading state information... Done
    Note, selecting 'ndiswrapper' instead of 'ndiswrapper-common'
    ndiswrapper is already the newest version (1.59-6).
    ndiswrapper-utils-1.9 is already the newest version (1.59-6).
    0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
    
  2. Downloaded the files from post #6 and put them onto my desktop.

    $ arch
    x86_64
    $ cd ~/Desktop/Broadcom_bcm43xx_USB_32_64bit_v2
    

    My command line now appears as:

    shawn@shawn-Z68XP-UD3P:~/Desktop/Broadcom_bcm43xx_USB_32_64bit_v2$ 
    
  3. As arch returned x84_64 I issued:

    $ sudo ndiswrapper -i bcmn43xx64.inf
    driver bcmn43xx64 is already installed
    
    $ sudo ndiswrapper -ma
    module configuration information is stored in /etc/modprobe.d/ndiswrapper.conf
    
  4. This step didn't return any information back.

    sudo depmod -a
    
  5. This step also didn't return any information back.

    sudo modprobe ndiswrapper
    

Thanks for any help. I was going to pm Chili555, the author of the answer to the previous thread, but I couldn't find an option. (Maybe I need more rep?)

Edit 1:

$ dmesg | grep ndis
[25668.481615] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[25668.481640] usbcore: registered new interface driver rndis_host
[25668.490912] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0

with the correct adapter in:

$ dmesg | grep ndis
[25668.481615] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[25668.481640] usbcore: registered new interface driver rndis_host
[25668.490912] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[27435.290896] rndis_host 5-2:1.0 enp6s0u2: unregister 'rndis_host' usb-0000:06:00.0-2, RNDIS device
[53404.308888] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[53404.321914] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
[53499.506118] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[53499.507750] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[53499.681200] ndiswrapper: driver bcmn43xx64 (,08/26/2009, 5.10.79.30) loaded
[53499.788872] rndis_host 5-2:1.0 enp6s0u2: unregister 'rndis_host' usb-0000:06:00.0-2, RNDIS device
[53500.230542] usbcore: registered new interface driver ndiswrapper
[53500.236500] ndiswrapper 1-1.4:1.0 enxe0469a00acaa: renamed from wlan0
[53500.261564] ndiswrapper: interface renamed to 'enxe0469a00acaa'
[53522.657592] rndis_host 5-2:1.0 usb0: register 'rndis_host' at usb-0000:06:00.0-2, RNDIS device, 02:06:52:50:34:39
[53522.676968] rndis_host 5-2:1.0 enp6s0u2: renamed from usb0
Problem using GSM modem on Ubuntu 16.04 https://askubuntu.com/questions/769848/problem-using-gsm-modem-on-ubuntu-16-04

I justed upgraded to Ubuntu 16.04 LTS. Everything looks fine except the modem.

First, the modem connects but the icon doesn't change. It still shows 'disconnected icon'. Old computer shows right icon after connecting.

2nd, the connection shows 'EDGE' in bracket. On old computer connection shows 'HSPA'. This means browsing on the upgraded ubuntu in nearly impossible.

Lastly, on old computer when I unplug the modem I get the message "Network - disconnected you are now offline". On new version of ubuntu no message appears.

Not sure whether this is a problem with new hardware or with ubuntu. But it's definitely not a problem with the modem since same modem works perfectly on old computer.

Any idea?

Thanks.

Refresh desktop icons https://askubuntu.com/questions/280538/refresh-desktop-icons

I have used mount --bind to mirror my Windows desktop folder to Ubuntu. I have set it up to mount on boot but the desktop does not refresh the icons so I have to logout and log back in to make the icons appear.

Thanks in advance.


Update:

I am running 12.10 if that changes anything.

Also I have tried killall nautilus.

Why is it possible to convert a file just by renaming its extension? https://askubuntu.com/questions/166602/why-is-it-possible-to-convert-a-file-just-by-renaming-its-extension

When you rename files with a different extension, most of the time it does not work. But, if you have a .png file, you can just rename image.png to image.jpeg or image.gif, and it automatically gets converted to the other format and works perfectly fine. Is there some similarity between these formats which allows this to be done? I noticed this a few years back, and got interested when I was trying to convert a .dvi file to a .pdf file; just renaming it worked!

What exactly is a chroot? Is it similar to a simultaneous dual boot? https://askubuntu.com/questions/162808/what-exactly-is-a-chroot-is-it-similar-to-a-simultaneous-dual-boot

It has been suggested to me that the use of a chroot might solve my problem of building an application that must run on an embedded device. I have inferred from this description that it is somehow similar to creating the embedded environment locally on my machine which I can then use to develop on from my desktop development machine. Is this the right way to look at the functionality or have I totally misunderstood?

In order to get some idea of how it works I read this https://wiki.ubuntu.com/DebootstrapChroot which I will attempt to make a chroot for an old Ubuntu version on my machine. However, as I am a total linux novice, I am a bit concerned that as I do not entirely know what I am doing is there anyway that I could end up with an unusable system?? Is this something that a novice should even attempt???

How to upgrade a single package using apt-get? https://askubuntu.com/questions/44122/how-to-upgrade-a-single-package-using-apt-get

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter:

upgrade

upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.