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 ?

Any way for easy-to-see package upgrades in terminal https://askubuntu.com/questions/1562765/any-way-for-easy-to-see-package-upgrades-in-terminal

I'm wondering if there is a way to change the format of the terminal wrt visual aids. For instance, using the Proxmox Backup Server shell and running an apt update, then apt upgrade shows the packages that are being touched in bright green color and very easy to spot. Is there a way to implement that sort of format to other Linux systems such as Ubuntu? Thanks!

Hard to see: Hard-to-see example vs Easy to see: Easy-to-see example

My Ubuntu machine is apt 2.8.3 (amd64) and my PVE is apt 2.6.1 (amd64) (both of which have "hard-to-read" formats. And my PBS is apt 3.0.3 (amd64) (which has the "easy-to-read" format).

Nothing in install folder 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) 
Wi fi problem with Linux Ubuntu 22.04 https://askubuntu.com/questions/1562759/wi-fi-problem-with-linux-ubuntu-22-04

I installed Linux Ubuntu 22.04 on an ASUS VivoBook, but the Wi-Fi interface is not detected.
The laptop uses a MediaTek Wi-Fi chipset.

Ethernet connection not working (Ubuntu 24.04.2) https://askubuntu.com/questions/1562758/ethernet-connection-not-working-ubuntu-24-04-2

I have just upgraded my server computer with a new chassi and a new CPU (R7 3700x -> R9 5900xt) and after moving everything into the new chassi and booting it up, everything works as normal except for the ethernet interface not showing up (ip a) nor is it working except for in BIOS. So I am certain that there is a problem with Ubuntu.

I have tried updating drivers, I tried to google what the problem is but couldn't understand/find anything to help me. Also tried checking the ethernet cable but there was no problem, and it worked flawlessly before switching chassi and CPU. The BIOS are also updated to the newest version. The led indicator where the ethernet cable is plugged in is also showing nothing (not blinking in orange nor green)

Do any of you have any ideas on what the problem is? Any help would be appreciated!

Nvidia GPU (RTX 5080 FE) not detected and no additional drivers availible https://askubuntu.com/questions/1562757/nvidia-gpu-rtx-5080-fe-not-detected-and-no-additional-drivers-availible

I recently purchased and build a new PC. I initially started with Ubuntu 24.04 but have upgraded to 25.10 because I have not been able to get Nvidia drivers to recognize the GPU.

All the other hardware is recognized and appears to work correctly (one exception is the audio jack, but I think that has to do with the outdated PC case).

I have been following guides through other help sites and questions. None have answered my problem. This isn't to say that I ran their scripts 100% correctly, but there was no improvement afterward.

So, I need assistance identifying the issues and working through possible solutions.

Info Dump

System Information

Hardware

  • MB: MSI MPG X870E Carbon WIFI
  • GPU: GeForce RTX 5080 Founders Edition
  • CPU: AMD Ryzen 9 7900X

Current Reports (Clean Slate, I can update as progress is made)

lshw -C display

  *-display                 
       description: VGA compatible controller
       product: Raphael
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:77:00.0
       logical name: /dev/fb0
       version: c2
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=3840,2160
       resources: iomemory:f80-f7f iomemory:f80-f7f irq:83 memory:f800000000-f80fffffff memory:f810000000-f8101fffff ioport:f000(size=256) memory:dd700000-dd77ffff

lsmod | grep nvidia

--> none found

inxi -G

Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Raphael driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
    compositor: gnome-shell v: 49.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
    resolution: 3440x1440~85Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.3-1ubuntu1
    renderer: AMD Ryzen 9 7900X 12-Core Processor (radeonsi raphael_mendocino
    LLVM 20.1.8 DRM 3.64 6.17.0-8-generic)
  Info: Tools: api: eglinfo,glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr

lspci

--> no sign of Nvidia devices

Previous Threads attempted

Why does KDE Wallet (I think?) pop up when I add a key to an ssh agent? https://askubuntu.com/questions/1562743/why-does-kde-wallet-i-think-pop-up-when-i-add-a-key-to-an-ssh-agent

When I add a key to an SSH agent (using ssh-add, for example), I get a dialog that pops up asking me to "Please enter a passphrase to protect the received secret key ... within gpg-agent's key storage". I don't understand what the point of this is supposed to be. I'm attempting to load this key into ssh-agent's memory and I don't understand what this dialog is proposing to do or what the purpose of its interference is meant to be. If the dialog times out, the key doesn't get retained by ssh-agent. I don't want to store the key anywhere other than where it already lives in ~/.ssh. How do I get this dialog to stop pestering me so I can just add keys to ssh-agent?

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
AC Adapter connection status intermittently toggles on and off https://askubuntu.com/questions/1562730/ac-adapter-connection-status-intermittently-toggles-on-and-off

Newly installed Ubuntu 24.04.3 LTS with GNOME on new machine. (ASUS Vivobook S 14 M3407HA)

When the machine is not connected to an AC power adapter, the icon in the top right showing AC adapter connection state (a lightning bolt style icon) toggles on and off intermittently, every few seconds, making the connection/de-connection noise as it does so.

From other posts I installed acpi and I can see that it always reports the correct info:

$ acpi -a
Adapter 0: off-line

And restarting the upower service...

sudo systemctl restart upower.service

does not fix the issue.

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?

Installing applications on an external drive https://askubuntu.com/questions/1562699/installing-applications-on-an-external-drive

I've been trying to use Ubuntu as a dual boot while having Windows installed, but I was only able to shrink the windows partition to a measly 36 GB. And obviously after installing some applications, I hit the storage limit. By any chance, is it possible to install applications to a different drive instead of the main one with the OS? Any help is appreciated!

Edit: I forgot to add since I'm a little new but I am using Ubuntu Desktop 24.04.3 LTS

How to install GD shared library on Ubuntu 24.04 [duplicate] https://askubuntu.com/questions/1562661/how-to-install-gd-shared-library-on-ubuntu-24-04

I upgraded my installation of Ubuntu from 20.04 to 24.04 several months ago. This seemed to work but I'm now having weird failures trying to install packages using apt or aptitude. For example, trying to install the GD library for PHP 8.4 using the following fails: sudo apt install php8.4-gd

The error message is:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgd3 : Depends: libavif16 (>= 1.0.4) but it is not installable
          Depends: libimagequant0 (>= 2.11.10) but it is not installable
E: Unable to correct problems, you have held broken packages.

I previously added Ondrej Sury's PPA for Noble and that allowed me to install various libraries. However, I can't even run add-apt-repository now. It's reported as "command not found". So I try to add it using sudo apt install software-properties-common but I get another "E: Package 'software-properties-common' has no installation candidate"

So it seems to be there's something screwy with the apt repositories now on my system. And because I can't run add-apt-repository I don't know how to fix it.

Can anyone suggest how to proceed?

EDIT: here's the output of sudo apt-get update as requested by @muru

❯  sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease
Reading package lists... Done

EDIT2: This isn't a duplicate since the issues I'm experiencing are neither mentioned nor addressed by any of the supposed duplicates. It's nothing to do with held packages. Using dpkg filtered to list held packages shows there is none. And the issue, as I clearly stated, is that there's something screwed up because the add-apt-repository command gives a command not found error and trying to install software-properties-common gives a no installation candidate error.

Disable Ubuntu 24.04 updates (i.e. disable Software Updater) https://askubuntu.com/questions/1562655/disable-ubuntu-24-04-updates-i-e-disable-software-updater

On Software Updater's 'Software & Updates', under 'updates', I've selected 'never*' on the 'subscribe to', but security updates still keep popping up and often lock up the computer while I'm in the middle of something processor intensive, requiring holding down the power button.

I made a script to kill packagekitd (sudo systemctl stop packagekit.service), but it will reload itself and I still have to keep launching the script until it finally just quits and I can move on. It seems things like apt-check, etc. keep triggering it.

I would rather just manually do updates say once every week or two, maybe just once a month - all updates - the serious ones, security ones, and all.

Is there any way to just make it do all updates manually, other than uninstall the Software Updater app and just open terminal to use command like apt-get update, apt-get upgrade, etc.?

/etc/apt/apt.conf.d/50unattended-upgrades:

// Automatically upgrade packages from these (origin:archive) pairs
//
// Note that in Ubuntu security updates may pull in new dependencies
// from non-security sources (e.g. chromium). By allowing the release
// pocket these get automatically pulled in.
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
// Extended Security Maintenance; doesn't necessarily exist for
// every release and this system may not have it installed, but if
// available, the policy for updates is such that unattended-upgrades
// should also install from here by default.
"${distro_id}ESMApps: ${distro_codename}-apps-security";
"${distro_id}ESM: ${distro_codename}-infra-security";
//  "${distro_id}:${distro_codename}-updates";
//  "${distro_id}:${distro_codename}-proposed";
//  "${distro_id}:${distro_codename}-backports";
};

// Python regular expressions, matching packages to exclude from upgrading
Unattended-Upgrade::Package-Blacklist {
// The following matches all packages starting with linux-
//  "linux-";

// Use $ to explicitely define the end of a package name. Without
// the $, "libc6" would match all of them.
//  "libc6$";
//  "libc6-dev$";
//  "libc6-i686$";

// Special characters need escaping
//  "libstdc\+\+6$";

// The following matches packages like xen-system-amd64, xen-utils-4.1,
// xenstore-utils and libxenstore3.0
//  "(lib)?xen(store)?";

// For more information about Python regular expressions, see
// https://docs.python.org/3/howto/regex.html};

// This option controls whether the development release of Ubuntu will be
// upgraded automatically. Valid values are "true", "false", and "auto".
Unattended-Upgrade::DevRelease "auto";

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "true";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGTERM. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all updates when the machine is shutting down
// instead of doing it in the background while the machine is running.
// This will (obviously) make shutdown slower.
// Unattended-upgrades increases logind's InhibitDelayMaxSec to 30s.
// This allows more time for unattended-upgrades to shut down gracefully
// or even install a few packages in InstallOnShutdown mode, but is still a
// big step back from the 30 minutes allowed for InstallOnShutdown previously.
// Users enabling InstallOnShutdown mode are advised to increase
// InhibitDelayMaxSec even further, possibly to 30 minutes.
//Unattended-Upgrade::InstallOnShutdown "false";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
//Unattended-Upgrade::Mail "";

// Set this value to one of:
//    "always", "only-on-error" or "on-change"
// If this is not set, then any legacy MailOnlyOnError (boolean) value
// is used to chose between "only-on-error" and "on-change"
//Unattended-Upgrade::MailReport "on-change";

// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";

// Do automatic removal of newly unused dependencies after the upgrade
//Unattended-Upgrade::Remove-New-Unused-Dependencies "true";

// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";

// Enable logging to syslog. Default is False
// Unattended-Upgrade::SyslogEnable "false";

// Specify syslog facility. Default is daemon
// Unattended-Upgrade::SyslogFacility "daemon";

// Download and install upgrades only on AC power
// (i.e. skip or gracefully stop updates on battery)
// Unattended-Upgrade::OnlyOnACPower "true";

// Download and install upgrades only on non-metered connection
// (i.e. skip or gracefully stop updates on a metered connection)
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";

// Verbose logging
// Unattended-Upgrade::Verbose "false";

// Print debugging information both in unattended-upgrades and
// in unattended-upgrade-shutdown
// Unattended-Upgrade::Debug "false";

// Allow package downgrade if Pin-Priority exceeds 1000
// Unattended-Upgrade::Allow-downgrade "false";

// When APT fails to mark a package to be upgraded or installed try adjusting
// candidates of related packages to help APT's resolver in finding a solution
// where the package can be upgraded or installed.
// This is a workaround until APT's resolver is fixed to always find a
// solution if it exists. (See Debian bug #711128.)
// The fallback is enabled by default, except on Debian's sid release because
// uninstallable packages are frequent there.
// Disabling the fallback speeds up unattended-upgrades when there are
// uninstallable packages at the expense of rarely keeping back packages which
// could be upgraded or installed.
// Unattended-Upgrade::Allow-APT-Mark-Fallback "true";

/etc/apt/apt.conf.d/10periodic:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";

/etc/apt/apt.conf.d/20auto-upgrades:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
Can only boot Ubuntu when holding shift during boot logo portion, or by having GRUB first https://askubuntu.com/questions/1562613/can-only-boot-ubuntu-when-holding-shift-during-boot-logo-portion-or-by-having-g

Unlike Can only boot Ubuntu 20.04.1 LTS when holding shift, I have 24.04.3 LTS running on a HDD with the CPU being an AMD Ryzen 5 7600X.

I got GRUB once, went into Recovery Mode, which worked, and then all the times after that, I have to hold Shift to get in, even though it's past the point where it would give me GRUB.

Recovery Mode with black bits

Latest Recovery had black sections before I moved the selected options over them. Maybe it works is also related to how the resolution becomes 1024 x 768.

And even when I get GRUB, just using the "Ubuntu" option boots fine.

And unlike its answer, my sudo nano /etc/default/grub reads:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Is it because I have quad-boot options on my GRUB? Ubuntu, Advanced, Memory Tests, then Win 10, XP, and another XP, spread out over 3 HDDs. They're all on Legacy, but I'm always just trying to boot into Ubuntu.

I bet it's more due to graphics-related stuff that flickers my screen as the boot logo screen adjusts to fit my monitor. My card and monitor are really old, (NVIDIA GT 220 connecting to a Hanns.G HG-216D) but it does that no matter if I go to GRUB, although the screen doesn't tear if I actually get to see the GRUB menu.

But it seems even GRUB isn't a total fix. Did a sudo shutdown -r now from a successful boot to get to GRUB, left it on GRUB for a while while typing most of this out, picked Ubuntu, screen didn't tear, but still black screen after boot logo.

And now I can't even get GRUB to load, I hit it while the cursor is flickering and get "GRUB is Loading", I don't see GRUB, but whatever happens does get me into Ubuntu actually. Is it because I tapped Shift instead of holding it down? Yep, seems like I need to hold for a little instead of just tapping.

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.

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.

How do I turn off active window animation when switching workspaces? Ubuntu 24.04 https://askubuntu.com/questions/1523133/how-do-i-turn-off-active-window-animation-when-switching-workspaces-ubuntu-24-0

When I switch workspaces, a frame animation appears on the active window, how can I disable it? I'm switching workspaces with key combinations (Alt-1, Alt-2, Alt-3, Alt-4).

Orange border

https://drive.google.com/file/d/1uUQcwM6bZiAyRrwndrzu8qx0ly7yCyWl/view?usp=sharing

Desktop shortcut or Add to Favourites 22.04 https://askubuntu.com/questions/1421869/desktop-shortcut-or-add-to-favourites-22-04

I searched a bit but was unable to find a reliable answer. Is there any method to add shortcuts to an AppImage or anything similar to the desktop or the dock? Say, I downloaded Firefox directly from Mozilla, it is neither Snap nor deb, but a " click and use " file to launch. Can we add a shortcut to it on the desktop or to the dock as a favourite?

I am using 22.04. Thanks.

Question about Ubuntu default partitions https://askubuntu.com/questions/1139900/question-about-ubuntu-default-partitions

Background:

  • I'm an Ubuntu noob, although I have used it before and installed it on an old laptop so I am aware of the convenient installation process and options.

  • I'm planning to install Ubuntu 18.04 onto a blank 500GB SSD, and for now I don't plan to dual-boot (might do some hackintoshing at some point).

  • I haven't done this before because in the past I have simply wiped the existing operating system and replaced with Ubuntu (because it was a useless Windows on an old machine).

  • I have read a lot of stuff online about the benefits of manually partitioning the disk upon installation although I haven't done it myself before.

  • Although a noob I'm prepared to go through the effort of doing partitions etc to generally learn more and improve my computer skills as well as optimising my system.

Questions:

  • What does the Ubuntu 18.04 installer do in terms of default partitions if you choose to wipe the whole disk?

  • I am wondering if it would be better to manually create /, home and swap instead?

Thanks! :)

VirtualBox machine window is suddenly very small https://askubuntu.com/questions/986344/virtualbox-machine-window-is-suddenly-very-small

I am running Ubuntu 16.04, and have an Ubuntu 16.04 VM running in VirtualBox. Today when I started up VirtualBox and started the VM, it didnt resize to fit my display. Instead it is stuck at 800x600, and there seems to be no way of increasing it. Auto-resize does nothing, resizing til 1920x1200 does nothing...

I even tried reinstalling VirtualBox, as I had to to do it once earlier because of some weird error. It worked fine after the first reinstall, but now suddenly the VM screen refuses to go above 800x600.

Thanks.

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.