Installation by pip or pip3 or pipx to beware a consistant system https://askubuntu.com/questions/1562785/installation-by-pip-or-pip3-or-pipx-to-beware-a-consistant-system

Ubuntu-Mate, Ubuntu 24.04.3 LTS

An example :

pip install curl-ffi

error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.

My understanding : curl-ffi must be installed global, but with the risk of breaking the Python installation I can not do it. What can I do to beware my system but also to have curl-ffi global ?

Trying to USB tether Visible data from my iPhone (iOS 26.2) to Thinkpad X230 (Ubuntu 24.04.3) https://askubuntu.com/questions/1562784/trying-to-usb-tether-visible-data-from-my-iphone-ios-26-2-to-thinkpad-x230-ub

I've installed ipheth-utils, libimobiledevice6, ifuse, idevicepair, usbmuxd, ifupdown. Worked fine for a time, then not, then worked, now nothing. Checking lsusb in terminal sometimes shows my iPhone, but idevicepair shows 'No device found.' The iPhone itself is finally stable with Personal Hotspot: On.

My iPhone is mostly not detected by Ubuntu now, same cable, same USB port. I've tried other cables, ports, other suggestions on here, even disabling USB autosuspend. Regular use of systemctl restart NetworkManager, nmcli networking off/on, others I don't remember. Sorry if this is poorly explained. Any guidance toward a stable fix would be greatly appreciated.

ThinkPad E14 Gen 7 (Intel) – Headphones detected but no sound on Ubuntu 24.04 https://askubuntu.com/questions/1562782/thinkpad-e14-gen-7-intel-headphones-detected-but-no-sound-on-ubuntu-24-04

I am facing an audio issue on Lenovo ThinkPad E14 Gen 7 (Intel) running Ubuntu 24.04.

When I plug in wired headphones Ubuntu detects them correctly, but no sound is heard through the headphones. Audio either continues playing through the laptop speakers or becomes silent.

This appears to be a jack routing / Realtek audio issue.

System information:

  • Laptop: Lenovo ThinkPad E14 Gen 7 (Intel)
  • CPU: Intel
  • Audio: Intel HDA + Realtek codec
  • OS: Ubuntu 24.04 LTS (fresh + fully updated)
  • Audio stack: PipeWire (default)
Packages kept back for unknown reason [duplicate] https://askubuntu.com/questions/1562781/packages-kept-back-for-unknown-reason

I'm trying update the software on my Ubuntu 22.04.5 LTS installation. I am getting this message:

$ sudo apt-get upgrade
``
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  grub-gfxpayload-lists libebml5 libmatroska7 libprotobuf-lite23
  libxcb-composite0 vlc-plugin-access-extra
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  dbus dbus-user-session dbus-x11 grub-efi-amd64-bin libauthen-pam-perl
  libb-hooks-op-check-perl libclass-xsaccessor-perl libdbus-1-3
  libdevel-caller-perl libdevel-lexalias-perl libencode-detect-perl
  libfile-fcntllock-perl libparams-classify-perl libref-util-xs-perl
  libsocket6-perl libsub-identify-perl libvariable-magic-perl
  ubuntu-drivers-common webmin
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.

Yes, I know that people have asked about this error before, but this is becoming more frequent in the past year or two. Why is APT written to give this kind of headache? If there are new packages, then install them! Is this being caused by a misconfigured system? Does Canonical intend for these packages to get held back on my install? All I want is a quick, proper solution to make this go away and make it work as intended.

Nvidia 570 drivers conflict / deps issues in 24.04 why's it so hard :\ https://askubuntu.com/questions/1562776/nvidia-570-drivers-conflict-deps-issues-in-24-04-whys-it-so-hard

I have recently set up a new 24.04LTS machine with the 3rd party 570 open drivers (from software&updates) and Cuda 12.8 on a 3060 and spent a while getting it how I had it in 22.04 and now it all works fine.

Then I made the mistake of running apt upgrade and now its a world of strange issues and and the usual stuff I have tried just doesn't work. (fix-broken install etc). I think its started an upgrade (0ubuntu0 to 0ubuntu1??) and stopped half way and now doesn't know which way to turn. Every suggestion I have tried comes back to this error.

At this stage I just want to remove all NVIDIA drivers and start again but even that is failing!trying in safe mode: sudo apt-get remove --purge '^nvidia-.*' and similar just dumps back to this!

I read somewhere I should be trying on something newer than LTS but even an upgrade wouldn't work with deps issues. Just trying to avoid having to rebuild everything yet again!

n@am-inet2:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  dkms libllvm19 libntfs-3g89t64 libnvidia-common-570 libnvidia-encode-570 libnvidia-extra-570 libnvidia-fbc1-570 libnvidia-gl-570 libpkgconf3
  libxnvctrl0 nvidia-dkms-570-open nvidia-firmware-570-570.195.03 nvidia-kernel-source-570-open nvidia-settings pkg-config pkgconf pkgconf-bin
  screen-resolution-extra xserver-xorg-video-nvidia-570
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnvidia-cfg1-570 libnvidia-compute-570 libnvidia-decode-570 nvidia-firmware-570 nvidia-persistenced xserver-xorg-video-nvidia-570
The following packages will be REMOVED:
  nvidia-compute-utils-570 nvidia-utils-570
The following NEW packages will be installed:
  nvidia-firmware-570 nvidia-persistenced
The following packages will be upgraded:
  libnvidia-cfg1-570 libnvidia-compute-570 libnvidia-decode-570 xserver-xorg-video-nvidia-570
4 upgraded, 2 newly installed, 2 to remove and 2 not upgraded.
170 not fully installed or removed.
Need to get 0 B/114 MB of archives.
After this operation, 92.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 172801 files and directories currently installed.)
Preparing to unpack .../nvidia-firmware-570_570.195.03-0ubuntu1_amd64.deb ...
Unpacking nvidia-firmware-570 (570.195.03-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-firmware-570_570.195.03-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/lib/firmware/nvidia/570.195.03/gsp_ga10x.bin', which is also in package nvidia-firmware-570-570.195.03 570.195.03-0ubuntu0.24.
04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-firmware-570_570.195.03-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am guessing I want to upgrade all of the below but I haven't found a command to just do it without mithering on about the above; need a --force-yes-really type thing.

n@am-inet2:~$ apt list -i | grep 0ubuntu0 | grep nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libnvidia-cfg1-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
libnvidia-compute-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
libnvidia-decode-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
libnvidia-encode-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
libnvidia-fbc1-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
nvidia-compute-utils-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
nvidia-firmware-570-570.195.03/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,auto-removable]
nvidia-utils-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]
xserver-xorg-video-nvidia-570/noble-updates,noble-security,now 570.195.03-0ubuntu0.24.04.1 amd64 [installed,upgradable to: 570.195.03-0ubuntu1]

Odd thing is despite all this everything works fine (not a big gamer but heavy graphics apps).

Any thoughts that might help?

cheers

A

How can I enable the audio via the HP G5 dock from my HP Elitebook running Ubuntu? https://askubuntu.com/questions/1562774/how-can-i-enable-the-audio-via-the-hp-g5-dock-from-my-hp-elitebook-running-ubunt

I've been very pleased with the amount of out-of-the-downloaded-box functionality working on my Ubuntu system; I've been a Windows user for decades, have used Linux to some extent in some jobs and at school, but finally decided I could not handle the intrusions of Microsoft, Edge, CoPilot, advertisements, and whatever else they had planned for my data in Windows 11. (Win11 sits in another partition on the disk, I'm finding I haven't needed it at all for weeks.)

The thing I'd like to make work next is the audio on the HP USB Dock into which I plug the Elitebook laptop. The dock is working ok to use the monitor and USB hub, but the speakers are plugged into the headphone jack on the dock and do not appear as an option on the Ubuntu Sound Settings drop-down.

Ubuntu version 24.04.3 LTS
HP USB C Dock G5

When I expand the "Output Device" drop-down in the Sound Settings, I see the following:
* Speakers - Family 17h/19h HD Audio Controller
* HDMI / DisplayPort3 Rembrandt Radeon High Definition Audio Controller
* Analog Output - USB Audio
* Digital Output (S/PDIF) - USB Audio

The first one is selected, and uses the laptop speakers. I have tried the other ones (by selecting then testing with the 'test' button in the settings app), and none of them use the speakers in the dock.

I've gotten some suggestions about the lsusb command, and gotten enough detailed info and hex numbers to fill a couple of pages, but don't know what's significant.

Here is the 'lsusb -v' output for the audio port (I assume):

    Bus 007 Device 003: ID 03f0:056b HP, Inc USB Audio
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 [unknown]
      bDeviceSubClass         0 [unknown]
      bDeviceProtocol         0
      bMaxPacketSize0        64
      idVendor           0x03f0 HP, Inc
      idProduct          0x056b USB Audio
      bcdDevice            0.06
      iManufacturer           3 Generic
      iProduct                1 USB Audio
      iSerial                 2 201604140001
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength       0x00f9
        bNumInterfaces          4
        bConfigurationValue     1
        iConfiguration          4
        bmAttributes         0x80
          (Bus Powered)
        MaxPower              100mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         1 Audio
          bInterfaceSubClass      1 Control Device
          bInterfaceProtocol      0
          iInterface              5
          AudioControl Interface Descriptor:
            bLength                10
            bDescriptorType        36
            bDescriptorSubtype      1 (HEADER)
            bcdADC               1.00
            wTotalLength       0x005d
            bInCollection           2
            baInterfaceNr(0)        1
            baInterfaceNr(1)        2
          AudioControl Interface Descriptor:
            bLength                12
            bDescriptorType        36
            bDescriptorSubtype      2 (INPUT_TERMINAL)
            bTerminalID             1
            wTerminalType      0x0201 Microphone
            bAssocTerminal          0
            bNrChannels             2
            wChannelConfig     0x0003
              Left Front (L)
              Right Front (R)
            iChannelNames           0
            iTerminal               0
          AudioControl Interface Descriptor:
            bLength                13
            bDescriptorType        36
            bDescriptorSubtype      6 (FEATURE_UNIT)
            bUnitID                 3
            bSourceID               1
            bControlSize            2
            bmaControls(0)     0x0001
              Mute Control
            bmaControls(1)     0x0002
              Volume Control
            bmaControls(2)     0x0002
              Volume Control
            iFeature                0
          AudioControl Interface Descriptor:
            bLength                 9
            bDescriptorType        36
            bDescriptorSubtype      3 (OUTPUT_TERMINAL)
            bTerminalID             2
            wTerminalType      0x0101 USB Streaming
            bAssocTerminal          1
            bSourceID               4
            iTerminal               0
          AudioControl Interface Descriptor:
            bLength                15
            bDescriptorType        36
            bDescriptorSubtype      8 (EXTENSION_UNIT)
            bUnitID                 4
            wExtensionCode     0x0bda
            bNrInPins               1
            baSourceID(0)           3
            bNrChannels             2
            wChannelConfig     0x0003
              Left Front (L)
              Right Front (R)
            iChannelNames           0
            bControlSize            1
            bmControls(0)        0x01
            iExtension              0
          AudioControl Interface Descriptor:
            bLength                12
            bDescriptorType        36
            bDescriptorSubtype      2 (INPUT_TERMINAL)
            bTerminalID            14
            wTerminalType      0x0101 USB Streaming
            bAssocTerminal          0
            bNrChannels             2
            wChannelConfig     0x0003
              Left Front (L)
              Right Front (R)
            iChannelNames           0
            iTerminal              21
          AudioControl Interface Descriptor:
            bLength                 9
            bDescriptorType        36
            bDescriptorSubtype      3 (OUTPUT_TERMINAL)
            bTerminalID            15
            wTerminalType      0x0302 Headphones
            bAssocTerminal         14
            bSourceID              16
            iTerminal               0
          AudioControl Interface Descriptor:
            bLength                13
            bDescriptorType        36
            bDescriptorSubtype      6 (FEATURE_UNIT)
            bUnitID                16
            bSourceID              14
            bControlSize            2
            bmaControls(0)     0x0001
              Mute Control
            bmaControls(1)     0x0002
              Volume Control
            bmaControls(2)     0x0002
              Volume Control
            iFeature                0
          Endpoint Descriptor:
            bLength                 9
            bDescriptorType         5
            bEndpointAddress     0x87  EP 7 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0010  1x 16 bytes
            bInterval               8
            bRefresh                0
            bSynchAddress           0
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           0
          bInterfaceClass         1 Audio
          bInterfaceSubClass      2 Streaming
          bInterfaceProtocol      0
          iInterface             18
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       1
          bNumEndpoints           1
          bInterfaceClass         1 Audio
          bInterfaceSubClass      2 Streaming
          bInterfaceProtocol      0
          iInterface              0
          AudioStreaming Interface Descriptor:
            bLength                 7
            bDescriptorType        36
            bDescriptorSubtype      1 (AS_GENERAL)
            bTerminalLink           2
            bDelay                  1 frames
            wFormatTag         0x0001 PCM
          AudioStreaming Interface Descriptor:
            bLength                11
            bDescriptorType        36
            bDescriptorSubtype      2 (FORMAT_TYPE)
            bFormatType             1 (FORMAT_TYPE_I)
            bNrChannels             2
            bSubframeSize           2
            bBitResolution         16
            bSamFreqType            1 Discrete
            tSamFreq[ 0]        48000
          Endpoint Descriptor:
            bLength                 9
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            5
              Transfer Type            Isochronous
              Synch Type               Asynchronous
              Usage Type               Data
            wMaxPacketSize     0x00f8  1x 248 bytes
            bInterval               4
            bRefresh                0
            bSynchAddress           0
            AudioStreaming Endpoint Descriptor:
              bLength                 7
              bDescriptorType        37
              bDescriptorSubtype      1 (EP_GENERAL)
              bmAttributes         0x01
                Sampling Frequency
              bLockDelayUnits         0 Undefined

It appears the driver in use is 'snd-usb-audio'. The following is the output I get from 'modinfo snd-usb-audtio':

    ralph@Harry:~$ modinfo snd-usb-audio
    filename:       /lib/modules/6.14.0-37-generic/kernel/sound/usb/snd-usb-audio.ko.zst
    license:        GPL
    description:    USB Audio
    author:         Takashi Iwai <tiwai@suse.de>
    srcversion:     C9234511504DDBA76B676FC
    alias:          usb:v*p*d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v2A39p3FA0d*dc*dsc*dp*icFFisc*ip*in00*
    alias:          usb:v2A39p3F8Cd*dc*dsc*dp*icFFisc*ip*in00*
    alias:          usb:vFFADpA001d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B53p0031d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v2B53p0024d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v2B53p0023d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1395p0300d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v2B73p0013d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v08E4p0163d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p001Bd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v08E4p017Fd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v534Dp2109d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v534Dp0021d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v2B73p003Cd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p0029d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p000Ad*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p001Ed*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p000Dd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p000Ed*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p0017d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v2B73p0023d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v07FDp0004d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v19B5p0021d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v13E5p0001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v*p*d*dc*dsc*dp*ic01isc03ip*in*
    alias:          usb:v1686p00DDd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v200Cp100Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v045Ep0283d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v154Ep500Ed*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v0644p8021d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0DBAp5000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0DBAp3000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0DBAp1000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v7104p2202d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v4752p0011d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1F38p0001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1A86p752Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v17CCp1020d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v17CCp1010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v17CCp1000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v133Ep0815d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v1235p4661d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v1235p0018d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1235p0010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1235p000Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1235p000Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v1235p0002d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v1235p0001d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v103Dp0101d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v103Dp0100d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CCDp0035d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0CCDp0014d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0CCDp0013d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0CCDp0012d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0A4Ep4040d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0A4Ep2040d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v09E8p0021d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v09E8p0062d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0944p0204d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0944p0201d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0944p0200d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v086Ap0003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v086Ap0002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v086Ap0001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v07FDp0001d*dc*dsc02dp*ic*isc*ip*in*
    alias:          usb:v07CFp6802d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v07CFp6801d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0763p2081d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2080d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2031d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2030d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p201Ad*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2019d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0763p200Dd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2008d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2003d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p2001d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1041d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1033d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1031d010dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0763p1021d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1015d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1011d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0763p1002d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v06F8pB000d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p*d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p008Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p007Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0044d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0159d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p012Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0120d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0113d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0108d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p00E6d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p00C4d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p00A3d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p008Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0080d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p007Ad*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p0075d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0074d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p006Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0065d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0064d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0060d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0052d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0050d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p004Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p004Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0048d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0047d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0042d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0040d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p003Bd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p0037d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0033d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p002Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p002Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p002Bd*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0582p0029d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0027d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0025d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0023d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p001Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p001Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0016d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0014d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0012d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p000Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p000Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0009d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0008d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0007d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0005d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0004d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0582p0000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p*d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0499p7010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p7000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p500Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5009d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5008d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5007d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5006d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5005d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5004d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p5000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p2003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p2002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p2001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p2000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1718d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p150Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p150Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1509d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1507d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1503d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p105Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p105Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p105Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p105Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1059d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1058d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1057d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1056d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1055d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1054d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0499p1053d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0499p1052d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1051d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1050d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p104Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p104Ed*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0499p1045d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1044d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1043d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1042d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1041d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1040d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p103Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1039d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1038d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1037d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1036d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1035d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1034d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1033d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1032d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1031d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1030d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p102Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p102Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p102Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1029d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1028d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1027d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1026d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1025d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1024d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1023d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1022d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1021d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1020d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Dd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Cd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Bd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p101Ad*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1019d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1018d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1017d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1016d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1015d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1014d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1013d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1012d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1011d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1010d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p100Fd*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p100Ed*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1009d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1008d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1007d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1006d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1005d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1004d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v0499p1003d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1002d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1001d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0499p1000d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v046Dp0990d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp08F6d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp08F5d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp08F0d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp08C6d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp08AEd*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v046Dp0850d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v0424pB832d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v041Ep4095d*dc*dsc*dp*ic01isc01ip*in*
    alias:          usb:v31B2p0011d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v041Ep3F19d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v041Ep3F0Ad*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v041Ep3F04d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v041Ep3F02d*dc*dsc*dp*icFFisc*ip*in*
    alias:          usb:v041Ep0005d*dc*dsc*dp*ic*isc*ip*in*
    alias:          usb:v0403pB8D8d*dc*dsc*dp*ic*isc*ip*in*
    depends:        mc,snd,snd-pcm,snd-ump,snd-usbmidi-lib,snd-hwdep
    intree:         Y
    name:           snd_usb_audio
    retpoline:      Y
    vermagic:       6.14.0-37-generic SMP preempt mod_unload modversions
    sig_id:         PKCS#7
    signer:         Build time autogenerated kernel key
    sig_key:        1E:D4:CC:DF:F3:2A:D3:7C:B5:68:B6:72:F3:90:D9:67:06:F8:7D:EB
    sig_hashalgo:   sha512
    signature:      44:9E:D8:75:00:...
                3D:01:26:20:26:...
                39:5C:A6:5F:C8:...
                51:F6:0C:3E:73:...
                3F:7D:12:8A:02:...
                8A:80:5E:53:C8:...
                3D:E3:63:52:39:...
                B0:A9:5F:2F:3C:...
                5A:70:D9:19:07:...
                AF:8E:E4:09:29:...
                8D:84:C0:1A:67:...
                7E:56:C5:09:DF:...
                04:1E:EA:4D:2D:...
                12:C9:44:8D:4E:...
                80:C5:FB:DF:DE:...
                B3:66:CC:1E:2B:...
                D9:FC:DD:C7:CE:...
                95:F1:82:79:8D:...
                0B:EC:76:40:58:...
                51:08:82:69:16:...
                8E:40:C6:4E:4F:...
                A6:3F:CA:47:D8:...
                05:FB:7C:ED:22:...
                96:FB:B5:67:DF:...
                F2:64:EA:37:E2:...
                73:A8:45:92:EC:...
    parm:           midi2_enable:Enable MIDI 2.0 support. (bool)
    parm:           midi2_ump_probe:Probe UMP v1.1 support at first. (bool)
    parm:           index:Index value for the USB audio adapter. (array of int)
    parm:           id:ID string for the USB audio adapter. (array of charp)
    parm:           enable:Enable USB audio adapter. (array of bool)
    parm:           vid:Vendor ID for the USB audio device. (array of int)
    parm:           pid:Product ID for the USB audio device. (array of int)
    parm:           device_setup:Specific device setup (if needed). (array of int)
    parm:           ignore_ctl_error:Ignore errors from USB controller for mixer interfaces. (bool)
    parm:           autoclock:Enable auto-clock selection for UAC2 devices (default: yes). (bool)
    parm:           lowlatency:Enable low latency playback (default: yes). (bool)
    parm:           quirk_alias:Quirk aliases, e.g. 0123abcd:5678beef. (array of charp)
    parm:           delayed_register:Quirk for delayed registration, given by id:iface, e.g. 0123abcd:4. (array of charp)
    parm:           implicit_fb:Apply generic implicit feedback sync mode. (array of bool)
    parm:           quirk_flags:Driver quirk bit flags. (array of uint)
    parm:           use_vmalloc:Use vmalloc for PCM intermediate buffers (default: yes). (bool)
    parm:           skip_validation:Skip unit descriptor validation (default: no). (bool)
:
Ubuntu 24.04.3 on Thinkpad P16s gen 4 with 32GB RAM sees only 24GB RAM https://askubuntu.com/questions/1562773/ubuntu-24-04-3-on-thinkpad-p16s-gen-4-with-32gb-ram-sees-only-24gb-ram

The BIOS reports 32GB RAM and lshw -C memory reports 2 x 16GB = 32GB RAM. However the system reports 24GB usable RAM. I have tried to add mem=32G to the grub boot commandline but that did not make any difference. The thinkpad is this certified one: https://ubuntu.com/certified/202504-36705

output cat /proc/meminfo
MemTotal: 24236688 kB

output lshw

*-memory
       description: System Memory
       physical id: 6
       slot: System board or motherboard
       size: 32GiB
     *-bank:0
          description: SODIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
          product: M425R2GA3EB0-CWMOL
          vendor: Samsung
          physical id: 0
          serial: 33408978
          slot: DIMM 0
          size: 16GiB
          width: 64 bits
          clock: 1305MHz (0.8ns)
     *-bank:1
          description: SODIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
          product: M425R2GA3EB0-CWMOL
          vendor: Samsung
          physical id: 1
          serial: 33408E75
          slot: DIMM 0
          size: 16GiB
          width: 64 bits
          clock: 1305MHz (0.8ns)

Thx. Marcel

How do I hide the grub boot menu when my settings are as indicated below? https://askubuntu.com/questions/1562770/how-do-i-hide-the-grub-boot-menu-when-my-settings-are-as-indicated-below

I know this has been answered here before, but my grub options are different from the samples in the other answers. My grub options are as follows:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

I am afraid of experimenting with grub so I ask here what I need to change or add. I am running 25.10 single boot on btrfs

After I boot back in to Windows, PC starts booting straight to Windows & skips GRUB boot menu https://askubuntu.com/questions/1562768/after-i-boot-back-in-to-windows-pc-starts-booting-straight-to-windows-skips-g

I got a Dell Latitude 5450 (release year 2024), refurbished from ebay. AFAIK, these should be able to work. Ubuntu certifies 3 hardware configurations. Mine doesn't match exactly, but it has Intel Wi-Fi. In fact lspci shows all devices from Intel, except the NVME drive :-). CPU is Intel Core Ultra 5 125U.

I tried to set up dual-boot. I used ubuntu-24.04.3-desktop-amd64.iso.

After install, Ubuntu boots OK. But something went wrong. To start with, the GRUB boot menu did not list Windows.

I add Windows to the GRUB boot menu. Running update-grub does not add Windows, despite os-prober being installed. This part is expected: on an existing system, os-prober does not enable itself. So I edit /etc/default/grub, remove the # in front of the line GRUB_DISABLE_OS_PROBER=false. I run update-grub, and now I have an entry for Windows Boot Manager. On to the next problem.

Windows BitLocker gets anxious, and asks for Bitlocker recovery key. I saved the recovery key properly, so this is fine. I reboot to check Windows is happy now. But something went wrong. Now my laptop boots straight into Windows, instead of GRUB boot menu.

I can revert this. Boot back into the Ubuntu installer / live USB, and reinstall grub manually. mount /dev/nvme0n1p8 /mnt; for fs in dev proc sys; do mount --rbind /$dev /mnt/$dev; done; chroot /mnt; mount -a; grub-install. But it just gets me back to the same place. Ubuntu boots. Windows boots from GRUB. After booting Windows from GRUB, the laptop doesn't boot to GRUB; it boots to Windows.

I can get the Dell UEFI boot menu instead. Just hit F12 before it boots Windows or GRUB. It runs in graphics mode, not text-console mode like GRUB. There is a "Ubuntu" boot option I can select. But it stays in the Dell UEFI graphics, and it shows a "Not found" error box. (Or maybe sometimes it boots straight into into a "Dell SupportAssist On-board Diagnostics"? But it doesn't boot GRUB).

It's not a Secure Boot error. The system arrived with Secure Boot turned off. I have also tried turning Secure Boot on, rebooting, and turning Secure Boot back off again :-).

I think it's very unlikely that Windows deletes the EFI/Ubuntu directory from the EFI System Partition (ESP). Especially, because I had to create a second ESP specifically for Ubuntu! The original ESP was 100MB, with only 3MB free. My first install attempt had failed, with the error messages showing no free space on /boot/efi. (I removed the partial EFI/Ubuntu directory. After a "successful" install, I also had to manually remove the original ESP from /etc/fstab, because the installer had added both ESPs, and the old ESP was taking priority for the mount point /boot/efi).

What is the problem?

If there's a solution, the Ubuntu is unused and can be re-installed. But if I have to sort out a fresh install of Windows, that would be slightly more annoying for me.

How to implement pam_faillock.so on ssh login attempts https://askubuntu.com/questions/1562766/how-to-implement-pam-faillock-so-on-ssh-login-attempts

Following this answer I need my Ubuntu 22.04 Profiles to lock after 20 unsuccessful attempts for a duration of 15 minutes

I added the three lines with pam_faillock as follows into /etc/pam.d/common-auth

# here are the per-package modules (the "Primary" block)
auth    required            pam_faillock.so preauth audit 
auth    [success=1 default=ignore]  pam_unix.so nullok

# here's the fallback if no module succeeds
auth    [default=die]           pam_faillock.so authfail audit
auth    sufficient              pam_faillock.so authsucc audit 
auth    requisite           pam_deny.so

# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth    required            pam_permit.so

# and here are more per-package modules (the "Additional" block)
auth    optional            pam_cap.so 
# end of pam-auth-update config

I also updated the file /etc/security/faillock.conf with the line deny=4

I was able to replicate account lockout on an Ubuntu 22 server VM. It works as expected when I login locally through VNC. VNC Lockout working.

However when I try to ssh in using the t1 account, the failures are not logged in the faillock count and a lock is not triggered. Below is the output of SSH test

$ ssh t1@192.168.0.100
t1@192.168.0.100's password: 
Permission denied, please try again.
t1@192.168.0.100's password: 
Permission denied, please try again.
t1@192.168.0.100's password: 
Permission denied, please try again.
t1@192.168.0.100's password: 
Permission denied, please try again.
t1@192.168.0.100's password: 
Received disconnect from 192.168.0.100 port 22:2: Too many authentication failures
Disconnected from 192.168.0.100 port 22

The line UsePAM yes is present in /etc/sshd_config

What else do I need to do so that when a user attempts to ssh into the VM and fails password 4 times, they are locked out and it is shown with command sudo faillock --user t1 ?

Nothing in install folder [duplicate] https://askubuntu.com/questions/1562764/nothing-in-install-folder

What I download Ubuntu and try to open the flash drive it wants to be reformatted it's overwrite protected, however it opens in my Chromebook, but the install folder is empty. This is also on a microSD card. I'm using Aura and Brave browser.

Grub problem with dual boot https://askubuntu.com/questions/1562762/grub-problem-with-dual-boot

I had a computer for a number of years working with a dual boot. I have recently updated my computer motherboard and video card. The Windows boot was present on the old system originally starting with Windows 8 to Windows 10 and currently to Windows 11.

I have 4 hard drives total. One is dedicated to Linux Mint 22.2 (sdb). Another drive is dedicated to Windows 11 Pro (sdd). The other two drives are for storage and have no boot partitions. CSM mode is set to off in the bios. I am able to boot to Mint through grub. If I change the bios setting, I can boot to the windows drive. When using the Windows entry in grub, I get an error stating the device is not found. The UUID specified appears to be correct.

I have tried reinstalling Mint, the grub-repair app, rebuilding the BCD in the Windows repair and I still can't get a consistent Windows boot through grub. It has been done once or twice after a repair, but goes back to not being able to be found. The Boot-Repair log has been pasted to https://paste.ubuntu.com/p/WW7YcXhkXQ/

Xorg segmentation fault after 10 minutes idle since 24.04.3 ideas please? https://askubuntu.com/questions/1562761/xorg-segmentation-fault-after-10-minutes-idle-since-24-04-3-ideas-please

Since the upgrade to Ubuntu 24.04.3 I get logged out after exactly 10 minutes idle time.

I have done a complete reinstall to eliminate any leftovers from previous use and still get the same issue.

Screensaver is disabled (because it prevented login), power management is disabled and TMOUT is not set.

Hardware is an old Dell XPS One (A2010), Intel hardware.

At each forced logout I get a crash dump from Xorg in /var/crash.

I'd appreciate any help to investigate further.

gdb shows this:

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".  
Core was generated by \`/usr/lib/xorg/Xorg -nolisten tcp -background none -seat seat0 vt2 -auth /run/sd'.  
Program terminated with signal SIGSEGV, Segmentation fault.  
#0  0x000078061e44f4b7 in pci_device_vgaarb_set_target () from /lib/x86_64-linux-gnu/libpciaccess.so.0  
\[Current thread is 1 (Thread 0x78061dbb2ac0 (LWP 29565))\]  
(gdb) bt full  
#0  0x000078061e44f4b7 in pci_device_vgaarb_set_target () at /lib/x86_64-linux-gnu/libpciaccess.so.0  
#1  0x000056fe58578190 in ??? ()  
#2  0x000056fe5855af08 in ??? ()  
#3  0x000056fe585d256e in ??? ()  
#4  0x000056fe5855db83 in ddxGiveUp ()  
#5  0x000056fe586a1ad6 in ??? ()  
#6  0x000056fe586a2b77 in FatalError ()  
#7  0x000056fe5869912b in ??? ()  
#8  0x000078061de45330 in \<signal handler called\> () at /lib/x86_64-linux-gnu/libc.so.6  
#9  0x000078061e44f4b7 in pci_device_vgaarb_set_target () at /lib/x86_64-linux-gnu/libpciaccess.so.0  
#10 0x000056fe58578190 in ??? ()  
#11 0x000056fe5855af08 in ??? ()  
#12 0x000056fe585d256e in ??? ()  
#13 0x000056fe5869211c in ??? ()  
#14 0x000056fe5869233d in ??? ()  
#15 0x000056fe586925aa in WaitForSomething ()  
#16 0x000056fe5851986a in ??? ()  
#17 0x000056fe5851deda in ??? ()  
#18 0x000078061de2a1ca in \__libc_start_call_main  
    (main=main@entry=0x56fe58506360, argc=argc@entry=13, argv=argv@entry=0x7ffe5dbcd2f8)  
    at ../sysdeps/nptl/libc_start_call_main.h:58  
        self = \<optimised out\>  
        result = \<optimised out\>  
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140730471076600, 4422252990731496477, 13, 0, 95650405495128, 131967675547648, 4422252990746176541, 3651996084010986525}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xd, 0x7ffe5dbcd2f0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 13}}}  
        not_first_call = \<optimised out\>  
#19 0x000078061de2a28b in \__libc_start_main_impl  
    (main=0x56fe58506360, argc=13, argv=0x7ffe5dbcd2f8, init=\<optimised out\>, fini=\<optimised out\>, rtld_fini=\<optimised out\>, stack_end=0x7ffe5dbcd2e8) at ../csu/libc-start.c:360  
#20 0x000056fe58506395 in \_start ()  
(gdb) 
spd-say in bash script does not work when called from crontab but works from terminal https://askubuntu.com/questions/1562735/spd-say-in-bash-script-does-not-work-when-called-from-crontab-but-works-from-ter

My system is Lubuntu 22.04.5 LTS on a laptop.

Because I would like to keep my battery as healthy as possible, I want to make sure that the charging level stays between certain boundaries, but the hardware in my laptop does not support battery charge limits, so I turned to make use of a bash script (which I found at Github and modified it to my needs) which is called via crontab every 5 minutes. It then gives me a notification which tells me the battery charge in %, with a message warning me when it becomes to low (when the charger is not connected) or when it is too high (when the charger is plugged in), the third possibility in the notification text is that it just tells me the charge when it is between the given boundaries in the script. This works okay, but the trouble started when I added a spoken message to the script by using a line in the script that is meant to do just that.

The spoken message uses spd-say and the bash script works fine with spd-say giving the audio only when I call the script from terminal. But when the script is called from crontab it also makes the notification text appear alright, but then there is no sound at all to be heard.

I also tried aplay, which plays soundfiles and this gives a similar result, when the script is called from terminal it works, but not when called from crontab.

Here is the script, it is located at /usr/local/bin and it is called battmon.sh:

# ------------------------------------------------------------------
# Script Name:   battmon.sh
# Description:   A Simple Bash Script for Battery Level Charge 
#                Notifications
# Website:       https://gist.github.com/ostechnix
# ------------------------------------------------------------------
# Define thresholds
HIGH_THRESHOLD=80
LOW_THRESHOLD=40
LOGFILE="/tmp/battmon.log"
# Get the battery level
LEVEL=$(acpi -b | awk -F', ' '{print $2}' | tr -d '%,')
# Ensure LEVEL is a valid number
if [[ "$LEVEL" =~ ^[0-9]+$ ]]; then
    # Check for high battery level
    if [ "$LEVEL" -ge "$HIGH_THRESHOLD" ]; then
        echo "$(date) - Battery at $LEVEL%. Sending high battery notification..." >> "$LOGFILE"
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 notify-send -t 0 "Accu is vol" "De accu is nu opgeladen tot boven het ingestelde maximale niveau van $HIGH_THRESHOLD % en is nu $LEVEL % , ontkoppel de lader !" >> "$LOGFILE" 2>&1
        spd-say -t female1 -w "stop direct met opladen ! de accu is vol, stop meteen met opladen, want de accu is meer dan $LEVEL% procent vol!"
    fi
    # Check for low battery level
    if [ "$LEVEL" -le "$LOW_THRESHOLD" ]; then
        echo "$(date) - Battery at $LEVEL%. Sending low battery warning..." >> "$LOGFILE"
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 notify-send -t 0 "Accu is laag" "De accu is nu ontladen tot onder het ingestelde minimale niveau van $LOW_THRESHOLD % en is $LEVEL %. Sluit nu de lader aan!" >> "$LOGFILE" 2>&1
        spd-say -t female1 -w "begin nu direct met opladen ! de accu is leeg, begin  meteen met opladen, want de accu heeft nog maar $LEVEL% procent lading !"
    fi 
    # Check for good battery level
    if [ "$LEVEL" -ge "$LOW_THRESHOLD" ] && [ "$LEVEL" -le "$HIGH_THRESHOLD" ]   ; then
        echo "$(date) - Battery at $LEVEL%. Sending normal battery level message..." >> "$LOGFILE"
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 notify-send -t 10000 "De accu is geladen op een veilig niveau en is nu $LEVEL% procent" >> "$LOGFILE" 2>&1
        aplay /home/paul/Muziek/spraak/ttsmaker-file-2026-1-10-21-23-47-accuniveau-test-2.wav
        spd-say -t female1 -w "de accu heeft nog steeds een goede lading van op dit moment $LEVEL% procent"
    fi
fi

I used

crontab -e

and entered this line:

*/5 * * * * /usr/local/bin/battmon.sh >> /tmp/battmon.log 2>&1

I also tried to use the cron in another way, as I understood that there is the difference in cron for the user and the system, so to try it in the system way and I did:

sudo nano /etc/crontab

and added the same line there:

*/5 * * * * /usr/local/bin/battmon.sh >> /tmp/battmon.log 2>&1

But to no avail...

At this moment I have no clue how to fix this, maybe it is not possible at all to call these sound outputting programs from crontab, but maybe someone does know how to do it right. In either case I am very curious about the why and how.

EDIT-1:

The answer knu gave seems to do a great deal of the trick, i.e. when I followed his answer and called the script from terminal everything worked, notification and sounds (I must add that strangely enough it was the notification that worked yesterday and not the sounds, but this morning it was the other way around, which I could and still can not get my head around, but after adding the line:

export XAUTHORITY=/run/user/1000/gdm/Xauthority

that was fixed (called from terminal). But in the log there was an error message "Cannot autolaunch D-Bus without X11 $DISPLAY" which was only resolved after adding the line:

export DISPLAY=:0.0

but I also saw another error in the log, note that this error only occurs when the script is called from cron, not from terminal: " GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files " for which I found a solution here

But still things are not going as wished:

  1. although everything works when called from terminal, when called from cron the script does not work! (my fault: I accepted the answer as the solution, but this is still not the case...) No notification, no sound.
  2. the log now shows another error (again only when the script is called from cron): "Error calling StartServiceByName for org.freedesktop.Notifications: Failed to execute program org.freedesktop.Notifications: No such file or directory"
  3. After searching for a solution for the error mentioned under 2 above, I found the exact same suggestion as a solution that resolved the previous error, but of course it is clear that this does not work for this second error, because after following the solution for the first error this second one still exists !

So I was too fast in thinking this question has been resolved. I still am looking for a solution...

EDIT-2:

The missing notification has been solved by installing notification-daemon:

sudo apt-get install notification-daemon

Altough the sound output is still missing, the log now does not show any error messages after the installing of the daemon.

EDIT-3:

I did not mention this before, but I do now: I did removed the:

DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000

that stood in front of the notification lines like in:

DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 notify-send -t 0 "Accu is vol" "De accu is nu opgeladen tot boven het ingestelde maximale niveau van $HIGH_THRESHOLD % en is nu $LEVEL % , ontkoppel de lader !" >> "$LOGFILE" 2>&1

because at the time I noticed that after adding

export XAUTHORITY=/run/paul/1000/gdm/Xauthority
export DISPLAY=:0.0

this was not necessary anymore, but I just found out that the suggestion that steeldriver gave in the comments was right, it was still needed before the statements that gives the speech output. So now it reads for instance:

DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 spd-say -t female1 -w "de accu heeft nog steeds een goede lading van op dit moment $LEVEL% procent"

Concluding:

The script that is functioning alright now on my system looks this way:

#!/usr/bin/env bash

# ------------------------------------------------------------------
# Script Name:   battmon.sh
# Description:   A Simple Bash Script for Battery Level Charge 
#                Notifications, modified from the website below.
# Website:       https://gist.github.com/ostechnix
# ------------------------------------------------------------------

# Define thresholds
HIGH_THRESHOLD=80
LOW_THRESHOLD=40
LOGFILE="/tmp/battmon.log"

# Get the battery level
LEVEL=$(acpi -b | awk -F', ' '{print $2}' | tr -d '%,')

export XAUTHORITY=/run/user/1000/gdm/Xauthority
export DISPLAY=:0.0

# Ensure LEVEL is a valid number
if [[ "$LEVEL" =~ ^[0-9]+$ ]]; then
    # Check for high battery level
    if [ "$LEVEL" -ge "$HIGH_THRESHOLD" ]; then
        echo "$(date) - Battery at $LEVEL%. Sending high battery notification..." >> "$LOGFILE"
        notify-send -t 0 "Accu is vol" "De accu is nu opgeladen tot boven het ingestelde maximale niveau van $HIGH_THRESHOLD % en is nu $LEVEL % , ontkoppel de lader !" >> "$LOGFILE" 2>&1
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 spd-say -t female1 -w "stop direct met opladen ! de accu is vol, stop meteen met opladen, want de accu is meer dan $LEVEL% procent vol!"
    fi
    
    # Check for low battery level
    if [ "$LEVEL" -le "$LOW_THRESHOLD" ]; then
        echo "$(date) - Battery at $LEVEL%. Sending low battery warning..." >> "$LOGFILE"
        notify-send -t 0 "Accu is laag" "De accu is nu ontladen tot onder het ingestelde minimale niveau van $LOW_THRESHOLD % en is $LEVEL %. Sluit nu de lader aan!" >> "$LOGFILE" 2>&1
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 spd-say -t female1 -w "begin nu direct met opladen ! de accu is leeg, begin  meteen met opladen, want de accu heeft nog maar $LEVEL% procent lading !"
    fi
    
    # Check for good battery level
    if [ "$LEVEL" -ge "$LOW_THRESHOLD" ] && [ "$LEVEL" -le "$HIGH_THRESHOLD" ]; then
        echo "$(date) - Battery at $LEVEL%. Sending normal battery level message..." >> "$LOGFILE"
        notify-send -t 10000 "De accu is geladen op een veilig niveau en is nu $LEVEL% procent" >> "$LOGFILE" 2>&1
        DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 spd-say -t female1 -w "de accu heeft nog steeds een goede lading van op dit moment $LEVEL% procent"
    fi
fi
No IPv4 after fresh Ubuntu Server 24.04.3 LTS install via DHCP https://askubuntu.com/questions/1562701/no-ipv4-after-fresh-ubuntu-server-24-04-3-lts-install-via-dhcp

I have made a fresh Ubuntu Server 24.04.3 LTS installation on a Raspberry Pi 4.
When I boot the first time, I don't get an IPv4 address (but an IPv6).

Like a lot of other systems, the Raspberry Pi is also via LAN connected to my router with a dhcp server, but the fresh Ubuntu Server installation on the Raspberry Pi seems to ignore that. I have access to very few "internet" resources. e.g. sudo apt update && sudo apt upgrade is working. ping google.com is also working, but ping 192.168.101.100 (which is my router) does not work.

I wanted to give it a try with a static IP address, but the problem is that I do not have any yaml file in /etc/netplan.

Something is very strange, but I don't see it. What can I provide you with for better analysis?

Dual boot issue when coming from Windows to Linux https://askubuntu.com/questions/1562483/dual-boot-issue-when-coming-from-windows-to-linux

I have installed Windows 11 and Ubuntu 24.04.3 LTS. Both systems work properly. Switching from Ubuntu to Windows is no problem, but when switching from Windows to Ubuntu the boot process stops. The splash screen shows 'Ubuntu' and a spinning wheel that stops spinning. After switching the computer off and on again Ubuntu boots without any problems.

Here are my system details.

Hardware information:

  • Hardware Model: Gigabyte Technology Co., Ltd. B760 DS3H DDR4
  • Memory: 16,0 GiB
  • Processor: 12th Gen Intel® Core™ i5-12400F × 12
  • Graphics: NVIDIA GeForce RTX™ 4070
  • Disk Capacity: 3,3 TB

Software information:

  • Firmware Version: F8b
  • OS Name: Ubuntu 24.04.3 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: X11
  • Kernel Version: Linux 6.8.0-90-generic

What I found about this issue in other messages is that it seems to be related to the GPU being left in bad power state by Windows. They recommended to disable Windows Fast Startup (powercfg.cpl → Choose what the power buttons do → Change settings that are currently unavailable → uncheck "Turn on fast startup", but this didn’t solve the problem.

To find out what’s going wrong I switched to verbose boot: in GRUB menu I selected Ubuntu, pressed "e" and removed "quiet splash" in the line starting with linux, then Ctrl+X. By this I found out the boot process stops right after "Started nvidia-persistenced.service - NVIDIA Persistence Deamon.". According to other messages this is a known NVIDIA + systemd boot deadlock after a Windows boot and on RTX 40-series. The system does not crash — it waits forever for NVIDIA userspace ↔ kernel GPU initialization.

CM5 boot with Ubuntu 24.04 https://askubuntu.com/questions/1560361/cm5-boot-with-ubuntu-24-04

I just bought a CM5 along with the CM5 Dev Kit.

I flashed it using rpiboot and installed Ubuntu 24.04. Everything went well during the installation, but when I tried to use it, the LED error pattern indicated a fatal firmware error.

Has anyone successfully booted a CM5 with Ubuntu 24.04?

Constant hardware connect/disconnect sound after upgrading to Ubuntu 25.10 https://askubuntu.com/questions/1560076/constant-hardware-connect-disconnect-sound-after-upgrading-to-ubuntu-25-10

Since I upgraded to Ubuntu 25.10, once I connected my Bluetooth headphones, it just keeps making the hardware connect/disconnect sounds repeatedly.

I checked dmesg, journalctl, etc - no unusual activity, nothing connecting or disconnecting.

Any idea what could be happening? The only "solution" I've found is to turn off system sounds altogether.

Dell 14 Premium DA14250 touchpad does not move pointer https://askubuntu.com/questions/1560042/dell-14-premium-da14250-touchpad-does-not-move-pointer

I'm installing Ubuntu 25.10 on a Dell 14 Premium DA14250. Most things work, but the touchpad doesn't cause the cursor to move at all, meaning all control has to be via the keyboard. Behaviour is the same during initial installation and after rebooting.

An attached USB mouse works fine. Behaviour is the same when using 24.04.03 LTS.

My apps seem to have multiplied for unknown reasons. How do I remove all the duplicate apps? https://askubuntu.com/questions/1559931/my-apps-seem-to-have-multiplied-for-unknown-reasons-how-do-i-remove-all-the-dup

A select few apps seem to have multiplied. Going from 1 instance, to 41, including the original.

I'm running Ubuntu 24.04.3 LTS, 64bit, Kernel: Linux 6.14.0-36-generic, gnome version 46.

I checked my downloads, recent files, and found no evidence of me having downloaded these apps. I did however use steam's proton function for game compatibility just recently. However I've used it before and never had this happen. I left my computer on after working on some college stuff, only to come back, open my app dashboard and see a TON of duplicate apps. I seen some posts about two different apps because of file type, but that doesn't seem applicable here.

The applications duplicated are:

  • All Steam based games.
  • Steam Linux Runtime 1.0,2.0,3.0
  • Proton Hotfix
  • Itch (app/web service client?)

How do I delete all these duplicates?

I tried uninstalling one of the duplicated applications (from the steam library) and it appears to have removed all the related apps. So that's a scorched earth solution. (one I would like to avoid if possible.)

A screen shot of my dashboard app page and the many windows/apps it has created

jenkins.service: Failed with result 'exit-code' https://askubuntu.com/questions/1390149/jenkins-service-failed-with-result-exit-code

I'm trying to install Jenkins using this tutorial:

https://phoenixnap.com/kb/install-jenkins-ubuntu

but I get:

root@server:~# sudo apt install jenkins
Reading package lists... Done
Building dependency tree
Reading state information... Done
jenkins is already the newest version (2.319.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up jenkins (2.319.2) ...
Job for jenkins.service failed because the control process exited with error code.
See "systemctl status jenkins.service" and "journalctl -xe" for details.
invoke-rc.d: initscript jenkins, action "start" failed.
● jenkins.service - LSB: Start Jenkins at boot time
     Loaded: loaded (/etc/init.d/jenkins; generated)
     Active: failed (Result: exit-code) since Sun 2022-01-30 16:41:35 UTC; 16ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 1457069 ExecStart=/etc/init.d/jenkins start (code=exited, status=1/FAILURE)

Jan 30 16:41:35 datalis systemd[1]: Starting LSB: Start Jenkins at boot time...
Jan 30 16:41:35 datalis jenkins[1457069]: Found an incorrect Java version
Jan 30 16:41:35 datalis jenkins[1457069]: Java version found:
Jan 30 16:41:35 datalis jenkins[1457091]: java version "17.0.1" 2021-10-19 LTS
Jan 30 16:41:35 datalis jenkins[1457091]: Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Jan 30 16:41:35 datalis jenkins[1457091]: Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
Jan 30 16:41:35 datalis jenkins[1457069]: Aborting
Jan 30 16:41:35 datalis systemd[1]: jenkins.service: Control process exited, code=exited, status=1/FAILURE
Jan 30 16:41:35 datalis systemd[1]: jenkins.service: Failed with result 'exit-code'.
Jan 30 16:41:35 datalis systemd[1]: Failed to start LSB: Start Jenkins at boot time.
dpkg: error processing package jenkins (--configure):
 installed jenkins package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@server:~# ^C
root@server:~#

Do you know how I can fix this?

Ubuntu 20.04 is stuck at a black screen before login https://askubuntu.com/questions/1343877/ubuntu-20-04-is-stuck-at-a-black-screen-before-login

My computer is stuck at a black screen with cursor before logging in. After booting into Ubuntu 20.04 nothing is working, even the cursor is not moving. It's freezing. I also tried Ctrl+Alt+F4, but it's not opening the terminal. When I restart the system and in grub menu select Advanced options for Ubuntu and select Recovery mode, the recovery mode is not working either. It's stuck. Only the old recovery mode is working. How to fix this problem?

During the OS installation I think I have selected the option to install third-party drivers, firmware, codecs, etc., but I'm not sure.

Hardware specs:

  • Intel Core i7
  • Nvidia Gtx 1060
  • 16 GB RAM
  • 1TB NVMe SSD

enter image description here

enter image description here

Recursively convert Apple .pages files to .docx or .odt https://askubuntu.com/questions/1327632/recursively-convert-apple-pages-files-to-docx-or-odt

I have a bunch of Apple .pages files stored in a directory structure that I want to convert to .docx or .odt formats. I want some kind of command line script, program, etc which will recursively search the directory structure and convert any .pages files to .docx or .odt formats. Any suggestions? Thanks.

Postgresql refusing TCP/IP connection after ubuntu restart https://askubuntu.com/questions/958703/postgresql-refusing-tcp-ip-connection-after-ubuntu-restart

This one has me baffled.

I rebooted my ubuntu server and now I try to connect with pgadmin and I get the following:

could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "<ip.address>" and accepting
TCP/IP connections on port 5432?

In my postgresql.conf file

listen_addresses = '*'

In my pg_hba.conf

# DO NOT DISABLE!
# If you change this first entry you will need to make sure that the
# database superuser can access the database using some other method.
# Noninteractive access to all databases is required during automatic
# maintenance (custom daily cronjobs, replication, and similar tasks).
#
# Database administrative login by Unix domain socket
local   all             postgres                                peer

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local   replication     postgres                                peer
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5



host    all     all     129.125.179.201/32      trust
host    all     all     86.81.139.21/24         trust

I added the following line to the end

host    all     all     0.0.0.0/0       md5

Still can't connect

I've restarted postgresql after every change.

I can log in to postgresql via the command line via shh.

I'm out of ideas!

Edit

iptables

sudo iptables -S
-P INPUT ACCEPT
-P FORWARD DROP
-P OUTPUT ACCEPT
-N DOCKER
-N DOCKER-ISOLATION
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7
-A INPUT -j DROP
-A FORWARD -j DOCKER-ISOLATION
-A FORWARD -o docker0 -j DOCKER
-A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A FORWARD -j DROP
-A OUTPUT -j ACCEPT
-A DOCKER-ISOLATION -j RETURN

Netstat results

netstat -lt4
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:mysql         *:*                     LISTEN
tcp        0      0 *:8787                  *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp        0      0 *:postgresql            *:*                     LISTEN

iptables-save

sudo iptables-save
# Generated by iptables-save v1.6.0 on Sat Sep 23 18:23:36 2017
*nat
:PREROUTING ACCEPT [48958:12725477]
:INPUT ACCEPT [2847:159736]
:OUTPUT ACCEPT [70:6309]
:POSTROUTING ACCEPT [70:6309]
:DOCKER - [0:0]
-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
-A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER
-A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE
-A DOCKER -i docker0 -j RETURN
COMMIT
# Completed on Sat Sep 23 18:23:36 2017
# Generated by iptables-save v1.6.0 on Sat Sep 23 18:23:36 2017
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:DOCKER - [0:0]
:DOCKER-ISOLATION - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 -j REJECT --reject-with icmp-port-unreachable
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables denied: " --log-level 7
-A INPUT -j DROP
-A FORWARD -j DOCKER-ISOLATION
-A FORWARD -o docker0 -j DOCKER
-A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A FORWARD -j DROP
-A OUTPUT -j ACCEPT
-A DOCKER-ISOLATION -j RETURN
COMMIT
# Completed on Sat Sep 23 18:23:36 2017
Getting 'No carrier' with connman on Ubuntu 17.04 https://askubuntu.com/questions/926561/getting-no-carrier-with-connman-on-ubuntu-17-04

I'm using connman 1.33 on Ubuntu 17.04.

I've just installed it by running sudo apt install connman. This command also removes NetworkManager. Right after installing, I was able to connect to my WPA2 protected wifi network and get an IP address by running:

connmanctl
> scan wifi
> services
> agent on
> connect wifi_<hash>

This was 3 minutes ago. I then rebooted, and executed the commands again.

Now, connmanctl shows me an error after entering scan wifi:

Error /net/connman/technology/wifi: No carrier

How can I resolve this problem?

Failed to start Raise network interfaces https://askubuntu.com/questions/795592/failed-to-start-raise-network-interfaces

Ubuntu 16.04 (VM)
Added one virtual NIC ens160, working fine.
Added a second physical NIC ens192 creating the error message.

systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
   Active: failed (Result: exit-code) since Wed 2016-07-06 11:19:04 EDT; 8s ago
     Docs: man:interfaces(5)
  Process: 14290 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
  Process: 14284 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
 Main PID: 14290 (code=exited, status=1/FAILURE)

Jul 06 11:19:03 gbsnort systemd[1]: Starting Raise network interfaces...
Jul 06 11:19:04 gbsnort ifup[14290]: RTNETLINK answers: File exists
Jul 06 11:19:04 gbsnort ifup[14290]: Failed to bring up ens192.
Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jul 06 11:19:04 gbsnort systemd[1]: Failed to start Raise network interfaces.
Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Unit entered failed state.
Jul 06 11:19:04 gbsnort systemd[1]: networking.service: Failed with result 'exit-code'.


  6 # The loopback network interface
  7 auto lo
  8 iface lo inet loopback
  9 
 10 # The primary network interface
 11 auto ens160
 12 iface ens160 inet static
 13         address 192.168.2.17
 14         netmask 255.255.255.0
 15         network 192.168.2.0
 16         broadcast 192.168.2.255
 17         gateway 192.168.2.40
 18         # dns-* options are implemented by the resolvconf package, if installed
 19         dns-nameservers 192.168.2.13
 20         dns-search mydomain.com
 21 
 22 # The monitoring interface
 23 auto ens192
 24 iface ens192 inet static
 25         address 192.168.2.12
 26         netmask 255.255.255.0
 27 #       network 192.168.2.0
 28 #       broadcast 192.168.2.255
 29         gateway 192.168.2.40
 30 #       dns-nameservers 192.168.2.13
 31 #       dns-search mydomain.com
 32 
 33 post-up ethtool -K ens192 gro off
 34 post-up ethtool -K ens192 lro off
Cleared and Unformatted partitions in GParted https://askubuntu.com/questions/686526/cleared-and-unformatted-partitions-in-gparted

I was formatting my drive and found a partition system named cleared and unformatted. What are those partitions and why they are in GParted app ?

Different text scaling factors for different displays? https://askubuntu.com/questions/414934/different-text-scaling-factors-for-different-displays

I just purchased a new laptop, which has a much higher DPI than my prior one did; in fact, its resolution (in a 14" form) is roughly the same as that of my 23" second monitor.

I'd like the text on each display to be roughly equivalent. Adjusting the window-manager-wide text scaling factor (via e.g. gnome-tweak-tool) yields either too-small text on the laptop screen, or too large text on the second monitor.

Is there any way to have different text scaling apply to different displays? I suspect not, but I would very much like to avoid replacing my current (perfectly good) external monitor just to compensate for the DPI increase in the laptop.

How can I enable bonded network interfaces in Ubuntu 13.04/13.10/14.04 using NetworkManager https://askubuntu.com/questions/382577/how-can-i-enable-bonded-network-interfaces-in-ubuntu-13-04-13-10-14-04-using-net

This question is about network interface bonding in Ubuntu 12.04 Precise and newer (12.10 Quantal/13.04 Raring/13.10 Saucy/14.04 Trusty). Bonding is also known as network interface teaming, link aggregation, and port trunking.

There are instructions out there for setting up bonding by modifying /etc/network/interfaces (help.ubuntu.com, serverlab.ca) however I can't find any instructions or a tutorial on how to set it up using NetworkManager in Ubuntu.

NetworkManager bond menu

How do I bond my wired (eth0) and wireless (wlan0) network interfaces together using NetworkManager?

Additional Info

As of NetworkManager 0.9.4 bonding is supported and NetworkManager 0.9.4 is included in Ubuntu 12.04 LTS Precise. NetworkManager is then updated in Ubuntu 12.10 Quantal to 0.9.6 and "slaves" were added in Ubuntu 13.04 Raring with NetworkManager 0.9.8

What terminal-based network speed tests are available? https://askubuntu.com/questions/14910/what-terminal-based-network-speed-tests-are-available

I'm looking to find a way to test my internet speed at home through ssh. Does anyone know a terminal app that can give me calculations similar info to speedtest.net?

It would also be really cool if there was something that would do tests based on common internet ports too (i.e. web, torrent, etc) so you can see if you're getting throttled by your ISP.