24.04 + kernel 6.17 + latest linux-firmware => problematic bluetooth and wifi https://askubuntu.com/questions/1564536/24-04-kernel-6-17-latest-linux-firmware-problematic-bluetooth-and-wifi

I have a Lenovo ThinkPad T14s Gen 6 (AMD) running Ubuntu 24.04.4. After upgrading to kernel 6.17 and the latest linux-firmware yesterday, I still have Wifi connection but there are some other Wireless issues.

  1. My laptop can only discover 2.4G networks. At home I have a dual-band router, but only the 2.4G one is listed.

  2. My MX Master 3S becomes super laggy via bluetooth connection. (It works fine with the bolt connector.)

I am staying on 6.14 for now, where all the problems above don't exist. Any ideas on how to solve these issues? Thanks in advance.

> sudo lshw -class network

  *-network
       description: Ethernet interface
       product: WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800]
       vendor: Qualcomm Technologies, Inc
       physical id: 0
       bus info: pci@0000:c2:00.0
       logical name: wlp194s0
       version: 01
       serial: f4:4e:b4:b3:bb:73
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=ath12k_pci driverversion=6.14.0-37-generic firmware=N/A ip=10.130.79.53 latency=0 link=yes multicast=yes
       resources: irq:140 memory:b0600000-b07fffff
  *-network
       description: Ethernet interface
       physical id: f
       bus info: usb@8:1.3.1
       logical name: enx8c47be01dbea
       serial: 8c:47:be:01:db:ea
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.12.13 duplex=half firmware=rtl8153b-2 v2 04/27/23 link=no multicast=yes port=MII
> lspci

c2:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01)
Why is my Settings Menu popping up on it's own? https://askubuntu.com/questions/1564535/why-is-my-settings-menu-popping-up-on-its-own

Ubuntu 25.10 Linux 6.17.0-14-generic Gnome 49

It pops up on it's own at least once an hour now.

I could not find where to send notifications to Ubuntu on this

Touchpad is ghosting and teleporting https://askubuntu.com/questions/1564534/touchpad-is-ghosting-and-teleporting

I have a Dell laptop that I'm trying to run Ubuntu 24.04 or 25.10 on. My cursor is lagging, jumping, ghosting and teleporting all over the screen. There is extreme lagging, and by the time it catches back up with itself it's on the other side of screen or it's completely gone. My laptop has a touchscreen so I can navigate with that, but after I select something I have to "move" the cursor to get the screen to react. I tried Wayland and Xorg, and the same things happened. I've edited several settings, but there was no change.

How do I keep a program from always opening in "always-on-top" mode? [closed] https://askubuntu.com/questions/1564533/how-do-i-keep-a-program-from-always-opening-in-always-on-top-mode

I'm using KeePassXC 2.6.6 on Ubuntu 22.04 Cinnamon.

For the past 6 months or so, when I first start KeePassXC its window always starts in the "Always on top" mode. It blocks other windows until I right-click its title bar and uncheck "Always on top" in its context menu. This is obnoxious, and I want it to stop.

A web search gives nothing but this, Change default "Always on top" setting for a specific application, which has no useful information.

I turn to ChatGPT.

First it suggests checking global window rules in the system settings. Open Menu > Preferences > Windows.

There is nothing here about new windows always being on top, and it only happens with the one program. This is a dead end.

The next step is to check the window state in Muffin. Muffin is Cinnamon's window manager.

First, I try to check for a global Muffin setting /org/cinnamon/muffin/always-on-top. This does not exist, however.

$ dconf read /org/cinnamon/muffin/always-on-top
{no output}

That's not unexpected. Since this happens with only one program, it's unlikely to be a global setting.

Now we check for per-application window states being remembered by Muffin.
I check the following places in order, but they don't exist on my system.

  • ~/.config/cinnamon/window-state.json (~/.config/cinnamon/ does not exist)
  • ~/.config/cinnamon/spices/*.json (~/.config/cinnamon/ does not exist)
  • ~/.config/muffin/ (This whole directory does not exist)

Now we check to see if that rule is stored in dconf, instead. First, the muffin/ subcategory.

$ dconf list /org/cinnamon/muffin/
attach-modal-dialogs
resize-threshold
workspace-cycle

Nothing about windows being always-on-top there.

Check the whole Cinnamon subcategory.

$ dconf list /org/cinnamon/
alttab-switcher-delay
cinnamon-session/
command-history
desktop/
enabled-applets
launcher/
muffin/
next-applet-id
panel-edit-mode
panel-zone-icon-sizes
panel-zone-symbolic-icon-sizes
panel-zone-text-sizes
panels-height
settings-daemon/
show-media-keys-osd
workspace-expo-view-as-grid

Nothing obvious there. Maybe the desktop window manager subcategory.

$ dconf read /org/cinnamon/desktop/wm/preferences/
/org/cinnamon/desktop/wm/preferences/focus-mode 
/org/cinnamon/desktop/wm/preferences/min-window-opacity 

Nothing there. Dead end.

  • Check to see if it's actually Compiz. I have neither Muffin nor Compiz processes:
$ ps aux | grep -E 'muffin|compiz' | grep -v grep
{no output}

So it doesn't appear to be a system setting of any kind, global or application-specific.

Our next guess is that the application itself, in this case KeePassXC, is specifically requesting to be always-on-top. I run $ xprop | grep ABOVE; the cursor turns into a crosshair. I click on KeePassXC. It returns this:

$ xprop | grep ABOVE
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW

Evidently I'm looking for the _NET_WM_STATE_ABOVE directive, which I guess indicates the application is requesting always-on-top. It isn't there.

ChatGPT concludes that KeePassXC itself is requesting the stay-on-top flag at startup via Qt, not via X11 hints. There are no internal KeePassXC settings that control this in any obvious manner. The KeePassXC configuration at ~/.config/keepassxc/keepassxc.ini has no content with any bearing on an always-on-top setting.

I'm not sure what else I can do. I'm still not even certain if this is a Linux problem or a KeePassXC problem. This behavior just started within the past few months. I'm certain it didn't used to do that. This is KeePassXC. How do I get KeePassXC to stop opening itself always-on-top?

Keyboard model on IdeaPad https://askubuntu.com/questions/1564532/keyboard-model-on-ideapad

I have installed LTS 24.04 on IdeaPad 1 15 amn7 and while was setting the computer accidentally lost keyboard model. It was something like 104 key PC or Lenovo something--I don't remember and couldn't determine what was it or, say, what it must be for this computer and system?

Tabs reordering in taskbar on Ubuntu 24.04 https://askubuntu.com/questions/1564531/tabs-reordering-in-taskbar-on-ubuntu-24-04

I have a bunch of Cursor, Chrome and Slack tabs open. When I try reordering the Cursor tabs in the taskbar, after some time there is an animation where the taskbar disappears as if there is a pop-up about to open up, and then the tabs are again arranged to the original random order in the taskbar. I am not sure what could be causing this.

OS information:

kkumargupta@kkumarguptalinux:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
automatic upgrade of kernel caused network problem [closed] https://askubuntu.com/questions/1564528/automatic-upgrade-of-kernel-caused-network-problem

Thank you for your excellent free operating system!

I had the following problem today. I was running Ubuntu with linux kernel version 6.14.0-15 and the system automatically upgraded it to 6.14.0-37.

On reboot, I discovered that I had no network connection. The problem turned out to be that I am using a laptop with no onboard network card, so I have a Realtek USB Ethernet adapter, and the upgrade did not install the kernel module for this hardware.

I was able to reboot into 6.14.0-15 and install the linux-modules-extra-6.14.0-37-generic package, and on reboot, my network was back.

I think that many users would not have the knowledge to do what I did, so it would be much better to include the "extra" modules on any automatic upgrade of the kernel.

Ephraim Yawitz

Stardock Groupy 2 Alternative or something similar? https://askubuntu.com/questions/1564525/stardock-groupy-2-alternative-or-something-similar

I wanted to ask if there was a Stardock Groupy software or something similar that works on Ubuntu 24.04 LTS.

Primarily what I want is the ability to group my windows into one icon on the taskbar while they're open so I have something for example for one subject at school that I'm looking at while another group is dedicated for my worklife, and when I'm done I can just close it. Ideally, if it had browser like tabs, as well, that'd be awesome.

But, looking at some other threads on Reddit, people say that the software is not really needed on Ubuntu because of shortcuts that are used which are favored. I am not exactly sure what they are so if the above doesn't at all exist, I'd be happy to learn to it! ^^

Trying to override haproxy systemd service : [/etc/systemd/system/haproxy.service.d/override.conf:2] Invalid environment assignment, ignoring: - https://askubuntu.com/questions/1564521/trying-to-override-haproxy-systemd-service-etc-systemd-system-haproxy-servic

I'm try to override the haproxy.service Environment line :

Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock"

By this line :

Environment="CONFIG=/etc/haproxy" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock"

Because I want haproxy to read all my .cfg files in the /etc/haproxy/ directory using the haproxy -f <cfgfile|cfgdir> option.

So I ran sudo systemctl edit haproxy.service and it create the /etc/systemd/system/haproxy.service.d/override.conf file with the following content :

[Service]
Environment=-
Environment="CONFIG=/etc/haproxy" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock"

And after a sudo systemctl daemon-reload, I get this error :

mars 03 14:35:34 systemd[1]: [/etc/systemd/system/haproxy.service.d/override.conf:2] Invalid environment assignment, ignoring: -

How can I make this service override work ?

EDIT0 : @Daniel-T In the system haproxy.service, section [Service], I see these 2 EnvironmentFile lines, what do they mean ? :

EnvironmentFile=-/etc/default/haproxy
EnvironmentFile=-/etc/sysconfig/haproxy
Customize output area of pam_fprintd on the lock screen https://askubuntu.com/questions/1564519/customize-output-area-of-pam-fprintd-on-the-lock-screen

I've recently purchased USB fingerprint scanner and configured fprintd for lock screen and some other authorizations.

Here is my /etc/pam.d/kde file

auth    sufficient      pam_fprintd.so max-tries=10 timeout=10
auth    sufficient      pam_unix.so nullok try_first_pass

The issue is that when fprintd fails to recognize my finger, its messages flush password entry line out of the screen, like in the photo below.

enter image description here

Is there any way to customize the area, where messages from fprintd appear? For example, add scroll-bar?

I use KDE, desktop theme is Breeze.

Versions:

Kubuntu: 24.04.4LTS

package kubuntu-desktop: 1.451.2

package sddm-theme-breeze: 4:5.27.12-0ubuntu0.1

UPD. I understand that I can reduce max-tries. However, matching algorithm is still experimental, it gives too much false negatives. Therefore I'd like to enlarge output area.

Reading files in /usr/share/sddm/themes/breeze I've found that this message is accessible in the field root.notificationMessage.

Unfortunately, I'm totally newbie in KDE theme development, therefore, I have no idea how to add style to this component.

UPD2. It also seems that files from /usr/share/sddm/themes/<theme_name> are compiled. I've changed a message string in the part, related to "Capslock is on", however, this didn't have any effect.

Text Editor Spaces per Tab setting is not working https://askubuntu.com/questions/1564516/text-editor-spaces-per-tab-setting-is-not-working

I am using Text Editor 46.3 in Ubuntu 24.04. I prefer to keep the "Spaces per Tab" setting at 4, however even after changing the setting, I still get 2 spaces per tab.

Is this a glitch or am I missing something?

How do I launch Thunderbird in Terminal? https://askubuntu.com/questions/1564505/how-do-i-launch-thunderbird-in-terminal

I can run Thunderbird from the menu. I want to create a shortcut to assign to the mail button on my keyboard. I put in "thunderbird" for the command and pressing the button did nothing. I decided to test the command in Terminal. As you can see from this screen shot, I tried several ways but none launched Thunderbird.

enter image description here

I copied the menu entry to my desktop and opened it with a text editor. I found this in it:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64
--command=thunderbird --file-forwarding org.mozilla.Thunderbird @@u %u @@ Terminal=false Type=Application Icon=org.mozilla.Thunderbird
Categories=Network;Email;

I searched for the executable file (it may be a snap installation) using the "which" command. I got no results: Screenshot of Terminal

Errors when trying to update Ubuntu 24.04.4 https://askubuntu.com/questions/1564469/errors-when-trying-to-update-ubuntu-24-04-4

First time poster looking for help with errors while attempting to update. The system seems to be stable and running fine, however I am just experiencing problems with updates and deciphering the logs. The results appear to be the same whether using the software updater or the command line. It may be a compatibility issue between kernel versions, but I have no idea why and how to recover from this situation.

System details: Ubuntu 24.04.4 LTS, Kernel 6.14.0-37-generic running on an AMD Ryzen 7 8745HS.

Error logs:

$:/var/log/apt$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu noble-updates InRelease                  
Hit:3 http://gb.archive.ubuntu.com/ubuntu noble-backports InRelease                
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease                   
Hit:5 https://repo.protonvpn.com/debian stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
$:/var/log/apt$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
* synosnap dpkg pre hook check
dumping distro info
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BIO_BI_BDEV - not present
performing configure test: HAVE_BIO_ALLOC_BIOSET_5 - not present
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BDEV_OPEN_BY_PATH - not present
performing configure test: HAVE_BDOPS_OPEN_INT - not present
performing configure test: HAVE_BDEVNAME - not present
performing configure test: HAVE_BDEV_STACK_LIMITS - not present
performing configure test: HAVE_ALLOC_DISK - not present
performing configure test: HAVE_BD_HAS_SUBMIT_BIO - not present
performing configure test: HAVE_BIO_BI_BDEV_BD_DISK - not present
performing configure test: HAVE_BD_SUPER - not present
performing configure test: HAVE_BDOPS_OPEN_GENDISK - not present
performing configure test: HAVE_BIO_ALLOC_2 - not present
performing configure test: HAVE_BIO_BI_OPF - not present
performing configure test: HAVE_BDOPS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present
performing configure test: HAVE_BIO_BI_POOL - not present
performing configure test: HAVE_BIO_ENDIO_1 - not present
performing configure test: HAVE_BIO_BLKG - not present
performing configure test: HAVE_BIO_FREE_PAGES - not present
performing configure test: HAVE_BIO_LIST - not present
performing configure test: HAVE_BIO_REMAPPED - not present
performing configure test: HAVE_BIO_FOR_EACH_SEGMENT_ALL_2 - not present
performing configure test: HAVE_BIO_BI_REMAINING - not present
performing configure test: HAVE_BIOSET_INIT - not present
performing configure test: HAVE_BIOSET_NEED_BVECS_FLAG - not present
performing configure test: HAVE_BIO_ENDIO_INT - not present
performing configure test: HAVE_BIO_COPY_DEV - not present
performing configure test: HAVE_BIO_FOR_EACH_SEGMENT_ALL_1 - not present
performing configure test: HAVE_BIO_SET_DEV - not present
performing configure test: HAVE_BIO_SET_OP_ATTRS - not present
performing configure test: HAVE_BIOSET_CREATE_3 - not present
performing configure test: HAVE_BLK_ALLOC_DISK - not present
performing configure test: HAVE_BIO_THROTTLED - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_1 - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_MK_REQ_FN_NODE_ID - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_2 - not present
performing configure test: HAVE_BLKDEV_GET_BY_PATH - not present
performing configure test: HAVE_BLK_ALLOC_QUEUE_RH_2 - not present
performing configure test: HAVE_BLKDEV_GET_BY_PATH_4 - not present
performing configure test: HAVE_BLK_CLEANUP_QUEUE - not present
performing configure test: HAVE_BLK_MQ_MAKE_REQUEST - not present
performing configure test: HAVE_BLK_MQ_SUBMIT_BIO - not present
performing configure test: HAVE_BVEC_ITER_ALL - not present
performing configure test: HAVE_BLKDEV_PUT_1 - not present
performing configure test: HAVE_BLKDEV_PUT_HOLDER - not present
performing configure test: HAVE_BLK_STATUS_T - not present
performing configure test: HAVE_BLK_SET_STACKING_LIMITS - not present
performing configure test: HAVE_BVEC_ITER - not present
performing configure test: HAVE___DENTRY_PATH - not present
performing configure test: HAVE_COMPOUND_HEAD - not present
performing configure test: HAVE_BVEC_MERGE_DATA - not present
performing configure test: HAVE_DENTRY_PATH_RAW - not present
performing configure test: HAVE_ENUM_REQ_OPF - not present
performing configure test: HAVE_FMODE_T - not present
performing configure test: HAVE_D_UNLINKED - not present
performing configure test: HAVE_ENUM_REQ_OP - not present
performing configure test: HAVE_FILE_INODE - not present
performing configure test: HAVE_FTRACE_REGS - not present
performing configure test: HAVE_FREEZE_SB - not present
performing configure test: HAVE_GD_OWNS_QUEUE - not present
performing configure test: HAVE_GENHD_FL_NO_PART_SCAN - not present
performing configure test: HAVE_GENHD_FL_NO_PART - not present
performing configure test: HAVE_FOPS_FALLOCATE - not present
performing configure test: HAVE_IOPS_FALLOCATE - not present
performing configure test: HAVE_INODE_LOCK - not present
performing configure test: HAVE_HD_STRUCT - not present
performing configure test: HAVE_GET_SUPER - not present
performing configure test: HAVE_KERNEL_READ_PPOS - not present
performing configure test: HAVE_MAKE_REQUEST_FN_IN_QUEUE - not present
performing configure test: HAVE_KERNEL_WRITE_PPOS - not present
performing configure test: HAVE_KERN_PATH - not present
performing configure test: HAVE_MERGE_BVEC_FN - not present
performing configure test: HAVE_MAKE_REQUEST_FN_INT - not present
performing configure test: HAVE_MNT_IDMAP_ARGS - not present
performing configure test: HAVE_MAKE_REQUEST_FN_VOID - not present
performing configure test: HAVE_NONVOID_ADD_DISK - not present
performing configure test: HAVE_NOOP_LLSEEK - not present
performing configure test: HAVE_NONVOID_SUBMIT_BIO_1 - not present
performing configure test: HAVE_MNT_WANT_WRITE - not present
performing configure test: HAVE_PATH_PUT - not present
performing configure test: HAVE_PROC_CREATE - not present
performing configure test: HAVE_NOTIFY_CHANGE_2 - not present
performing configure test: HAVE_SB_START_WRITE - not present
performing configure test: HAVE_PROC_OPS - not present
performing configure test: HAVE_PART_NR_SECTS_READ - not present
performing configure test: HAVE_STRSCPY - not present
performing configure test: HAVE_SUBMIT_BIO_WAIT - not present
performing configure test: HAVE_SUBMIT_BIO_1 - not present
performing configure test: HAVE_SYS_OLDUMOUNT - not present
performing configure test: HAVE_THAW_BDEV_INT - not present
performing configure test: HAVE_TASK_STRUCT_TASK_WORKS_CB_HEAD - not present
performing configure test: HAVE_STRUCT_PATH - not present
performing configure test: HAVE_USER_NAMESPACE_ARGS - not present
performing configure test: HAVE_TASK_STRUCT_TASK_WORKS_HLIST - not present
performing configure test: HAVE_UAPI_MOUNT_H - not present
performing configure test: HAVE_VFS_FALLOCATE - not present
performing configure test: HAVE_UUID_H - not present
performing configure test: HAVE_USER_PATH_AT - not present
performing configure test: HAVE_VZALLOC - not present
performing configure test: HAVE_VFS_UNLINK_2 - not present
performing configure test: HAVE_WRITE_ZEROES - not present
performing configure test: HAVE_WITHIN_MODULE - not present
performing sys_mount lookup
performing sys_umount lookup
performing sys_oldumount lookup
performing sys_call_table lookup
performing blk_mq_submit_bio lookup
performing blk_alloc_queue lookup
performing kfree lookup
performing printk lookup
performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
 installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
Setting up linux-headers-6.8.0-101-generic (6.8.0-101.101) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.8.0-101-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Running the pre_build script:
* System map at /boot/System.map-6.8.0-101-generic does not contain valid symbol table, and 
* we are trying to install synosnap driver for a differnt kernel than the one currently running.
* Synosnap driver will encounter error during installation.
* We will try to install/build driver when next booting into new kernel.
* After rebooting into the new kernel, if the backup process still fails,
* please uninstall and reinstall Active Backup for Business Linux Agent.

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.8.0-101-generic -C /lib/modules/6.8.0-101-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.8.0-101-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.8.0-101-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
dkms autoinstall on 6.8.0-101-generic/x86_64 succeeded for virtualbox
dkms autoinstall on 6.8.0-101-generic/x86_64 failed for synosnap(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.8.0-101-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.8.0-101-generic (--configure):
 installed linux-headers-6.8.0-101-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
  Package linux-headers-6.17.0-14-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            No apport report written because MaxReports has already been reached
                                                                                                                                                                                dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-6.8.0-101-generic; however:
  Package linux-headers-6.8.0-101-generic is not configured yet.

dpkg: error processing package linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BDOPS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present
performing configure test: HAVE_BIO_BI_BDEV - not present
performing configure test: HAVE_BDEV_STACK_LIMITS - not present
performing configure test: HAVE_BIO_BI_OPF - not present
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BD_HAS_SUBMIT_BIO - not present
performing configure test: HAVE_BDOPS_OPEN_GENDISK - not present

{some items removed here to get within body character limit}

performing configure test: HAVE_WRITE_ZEROES - not present
performing sys_mount lookup
performing sys_umount lookup
performing sys_oldumount lookup
performing sys_call_table lookup
performing blk_mq_submit_bio lookup
performing blk_alloc_queue lookup
performing kfree lookup
performing printk lookup
performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.17.0-14-generic (--configure):
 installed linux-image-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-headers-6.17.0-14-generic
 linux-headers-6.8.0-101-generic
 linux-headers-generic-hwe-24.04
 linux-headers-generic
 linux-generic-hwe-24.04
 linux-image-6.17.0-14-generic
* synosnap dpkg post hook check
dumping distro info
compare distro info
check for file trigger
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Sub-process /usr/bin/dpkg returned an error code (1)

Update - I have tried to remove the Synology synosnap package but this fails with similar errors:

$ sudo apt-get purge --auto-remove synosnap
[sudo] password for steve: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
  synosnap*
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
5 not fully installed or removed.
After this operation, 1,292 MB disk space will be freed.
N: Ignoring file 'virtualbox.list.temp' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
* synosnap dpkg pre hook check
dumping distro info
(Reading database ... 265747 files and directories currently installed.)
Removing synosnap (0.11.7) ...
removed '/usr/share/initramfs-tools/hooks/synosnap'
removed '/usr/share/initramfs-tools/scripts/init-premount/synosnap'
Found synosnap installed by dkms in the following kernel versions: 6.14.0-37-generic 6.17.0-14-generic 6.8.0-101-generic
Start updating initrd and try to remove backup initrd for these kernel versions...
Configuring update-initramfs for 6.14.0-37-generic, please wait...
update-initramfs: Generating /boot/initrd.img-6.14.0-37-generic
Removing old backup initrd /boot/initrd.img-6.14.0-37-generic.old-syno
removed '/boot/initrd.img-6.14.0-37-generic.old-syno'
Module synosnap-0.11.7 for kernel 6.8.0-101-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

synosnap.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.0-101-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module synosnap-0.11.7 for kernel 6.14.0-37-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

synosnap.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module synosnap-0.11.7 for kernel 6.17.0-14-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

synosnap.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.17.0-14-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module synosnap-0.11.7 completely from the DKMS tree.
Setting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.17.0-14-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Running the pre_build script:
generating configurations for kernel-6.17.0-14-generic
performing configure test: HAVE_BDEV_FREEZE - not present
performing configure test: HAVE_BDOPS_OPEN_INODE - not present

{some items removed here to get within body character limit}

performing x64_sys_call lookup
performing __x64_sys_mount lookup
performing __x64_sys_umount lookup
performing __arm64_sys_mount lookup
performing __arm64_sys_umount lookup
performing __x64_sys_mount_setattr lookup
performing __x64_sys_move_mount lookup
performing __x64_sys_fsconfig lookup
performing __arm64_sys_mount_setattr lookup
performing __arm64_sys_move_mount lookup
performing __arm64_sys_fsconfig lookup
performing namespace_sem lookup

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/synosnap/0.11.6/build KVER=6.17.0-14-generic modules...(bad exit status: 2)
ERROR (dkms apport): binary package for synosnap: 0.11.6 not found
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/synosnap/0.11.6/build/make.log for more information.
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dkms autoinstall on 6.17.0-14-generic/x86_64 failed for synosnap(10) virtualbox(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.17.0-14-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-6.17.0-14-generic (--configure):
 installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however:
  Package linux-headers-6.17.0-14-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                Errors were encountered while processing:
 linux-headers-6.17.0-14-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
sh: 1: /opt/synosnap/hooks/dpkg-post-hook.sh: not found
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Problem executing scripts DPkg::Post-Invoke '/opt/synosnap/hooks/dpkg-post-hook.sh'
E: Sub-process returned an error code
How to uninstall any pre-installed/system app from Ubuntu? https://askubuntu.com/questions/1510485/how-to-uninstall-any-pre-installed-system-app-from-ubuntu

I am new to linux/ubuntu and I intend to use it forever, so I am learning it bit by bit as I come accross a problem or a task. Your help will always be much appreciated, Thanks 😊.

I want to completely remove/uninstall some pre-installed apps from Ubuntu 22.04 that I don't need, to keep my system clean and customized, such as: libreoffice, thunderbird, rhythmbox, videos, and many more.

What are the steps to select and remove a specific system/preinstalled app from Ubuntu? Thank you πŸ™.

Failed to connect to https://changelogs.ubuntu.com/meta-release-development https://askubuntu.com/questions/1412384/failed-to-connect-to-https-changelogs-ubuntu-com-meta-release-development

I carefully read the threads about this error. None of the proposed solutions (truncate /var/lib/ubuntu-release-upgrader/release-upgrade-available or changing from https to http in /etc/update-manager/meta-release) worked for me.

[xavier@imladris ~]$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Failed to connect to https://changelogs.ubuntu.com/meta-release-development. Check your Internet connection or proxy settings
Upgrades to the development release are only
available from the latest supported release.

My network is OK, I can even see the meta-release file in a browser.

Fun fact, it worked yesterday, but I had no time for the upgrade. Furthermore, it worked on n Ubuntu VM I have on a BHve host on the very same network

So it seems to be a transient error. Is there a way to fix it permanently ?

FYI, my motd :

Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-33-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

0 updates can be applied immediately.

Thanks, regards,

Xavier

EDIT : I've activated debug mode, an I get

[xavier@imladris ~]$ sudo do-release-upgrade -d -e DEBUG_UPDATE_MANAGER=1
Checking for a new Ubuntu release
MetaRelease.__init__() useDevel=True useProposed=False
/etc/update-manager/meta-release: http://changelogs.ubuntu.com/meta-release
/etc/update-manager/meta-release: http://changelogs.ubuntu.com/meta-release-lts
/etc/update-manager/meta-release: -development
/etc/update-manager/meta-release: -proposed
metarelease-uri: http://changelogs.ubuntu.com/meta-release-development
MetaRelease.download()
result of meta-release download: '<urlopen error [Errno -2] Name or service not known>'
Failed to connect to http://changelogs.ubuntu.com/meta-release-development. Check your Internet connection or proxy settings
NO self.metarelease_information
Upgrades to the development release are only
available from the latest supported release.
[xavier@imladris ~]$ sudo geany /usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py
[xavier@imladris ~]$ sudo do-release-upgrade -d -e DEBUG_UPDATE_MANAGER=1
Checking for a new Ubuntu release
MetaRelease.__init__() useDevel=True useProposed=False
/etc/update-manager/meta-release: http://changelogs.ubuntu.com/meta-release
/etc/update-manager/meta-release: http://changelogs.ubuntu.com/meta-release-lts
/etc/update-manager/meta-release: -development
/etc/update-manager/meta-release: -proposed
metarelease-uri: http://changelogs.ubuntu.com/meta-release-development
MetaRelease.download()
result of meta-release download: '<urlopen error [Errno -2] Name or service not known>'
Failed to connect to http://changelogs.ubuntu.com/meta-release-development. Check your Internet connection or proxy settings
NO self.metarelease_information
Upgrades to the development release are only
available from the latest supported release.

A DNS problem ? I put changelogs.ubuntu.com in /etc/hosts file with no success

PXE boot timeouts setting https://askubuntu.com/questions/1374560/pxe-boot-timeouts-setting

I trying to set up a PXE boot server. Everything is working, but when the client is booting after the pxelinux.0 is loaded there is a boot: prompt.

BOOT SERVER IP: 192.168.1.4  

PXELINUX 6.04 PXE 20200016 Copyright (C) 1994-2015 H. Peter Anvin et al
NO MESSAGE TO SHOW
boot: _
  1. When I press Enter to the pxelinux.cfg/default enter the next menu where is another Automatic boot in 120s countdown.
  2. If I don't press Enter after 1-2 mins it goes to the same menu as above.

It will be cool if somebody will share with us how to set up these two timeouts.

Automatic boot timeout

PROMPT 0
TIMEOUT 50
# Default boot option to use
DEFAULT menu.c32
How to change the default directory that WSL Ubuntu terminal (on Windows 10) opens with https://askubuntu.com/questions/1372064/how-to-change-the-default-directory-that-wsl-ubuntu-terminal-on-windows-10-ope

I installed the WSL Bash on Windows 10 so it can act as my terminal in VScode, but the default directory is ~/home/USERNAME

I would like it to be /mnt/c/Users/USERNAME (so on my windows domain side)

I've looked at so many different angles on how to change the default from adding a command to .bashrc that manually changes the directory on startup, to going to the registry editor and trying to change the default directory for CMD, (turns out even that's a challenge as the file I needed to alter doesn't even exist but that's a problem for another day)

Any ideas on how I can change the WSL ubuntu18.04 terminal so that the default directory on startup is different?

Ubuntu 18.10, Samba 4.8.4 smb.conf - what are the valid values for fruit:model? https://askubuntu.com/questions/1109810/ubuntu-18-10-samba-4-8-4-smb-conf-what-are-the-valid-values-for-fruitmodel

I'm accessing a fresh install of Ubuntu 18.10 and Samba 4.8.4 from macOS clients running Mojave. When connected via SMB, I want the Finder icon to look like a Mac Mini (because that's what Ubuntu 18.10 is running on).

In /etc/samba/smb.conf ([global] section), these values for fruit:model worked:

  • Xserve
  • MacPro
  • iMac

All of these values also work, but resulted in the default icon (that looks like an Apple Cinema Display):

  • MacBook
  • MacMini
  • MacSamba
  • TimeCapsule
  • RackMac

Saw a post recommending model names from /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist on a Mac. While there are many there, the ones I tried didn't work.

Re: avahi-daemon, Samba 4.8.4 can set the icon for connected macOS clients without avahi-daemon running (worked for the three models above). While having avahi-daemon helps the server be perpetually visible in the Finder, I'm trying to understand only the working values for fruit:model in the smb.conf.

Anyone have any insight?

authentication error ubuntu software center 16.04 LTS https://askubuntu.com/questions/893469/authentication-error-ubuntu-software-center-16-04-lts

Unable to install or uninstall apps in the Ubuntu software center. I get an authentication error, and then a popup says I cannot do this operation since I don't have permission. (Yet i'm administrator.) I do not know what to do. If anyone could please tell me, how can I fix this? (Please explain, i'm still a bit new to Ubuntu. Only starting to figure out new things at a slow pace) Running: Ubuntu 16.04 LTS Toshiba Chromebook 2 Dual-boot (Crouton)

How do I let Ubuntu find the install path for tcl? https://askubuntu.com/questions/844836/how-do-i-let-ubuntu-find-the-install-path-for-tcl

I am running Ubuntu 16.04. I am trying to install the R package tcltk. When I run install.packages('tcltk'), I get the following error:

Installing package into β€˜/home/esander/R/x86_64-pc-linux-gnu-library/3.3’
(as β€˜lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Can't find a usable init.tcl in the following directories: 
    /opt/anaconda1anaconda2anaconda3/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.18/library ./tcl8.5.18/library

My first thought was to uninstall and reinstall tcl. I did so, and now if I run sudo apt-get install tcl, it says that it is at the newest version (8.6.0+9). Ok, so it seems that R is looking for tcl in strange places (and is looking for tcl 8.5), so I want to find the path and somehow link R to it. But when I run whereis tcl, I get:

tcl:

Apparently Ubuntu can't find the install path. I tried to find it the brute-force way, running find / -name tcl 2> /dev/null, and I got:

/usr/share/ruby-rouge/demos/tcl
/usr/share/doc/tcl
/home/esander/anaconda3/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl
/home/esander/anaconda3/pkgs/notebook-4.2.1-py35_0/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl
/home/esander/.conda/envs/my_root/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/tcl

These locations either seem like documentation, or things specific to ipython notebooks. I don't fully understand this, but clearly there are linking/installation problems of some kind. How do I find tcl or install it so that a normal install path appears?

Unlocking LUKS partition with keyfile on USB does not work https://askubuntu.com/questions/839288/unlocking-luks-partition-with-keyfile-on-usb-does-not-work

I partially followed this

What is /lib/cryptsetup/scripts/passdev actually doing?

/etc/crypttab

2tb UUID=... /dev/disk/by-label/STICK:/logfile luks,nofail,keyscript=/lib/cryptsetup/scripts/passdev,tries=2

I have a stick plugged in formatted ext2, label STICK with the logfile with the passphrase in it. I used the "normal" method before reading the passphrase from my first disk that I am description with keyboard input.

2tb UUID=.. /etc/luks-keys/2tb luks,nofail,tries=1

And yes I did sudo update-initramfs -u -k all && systemctl reboot endlessly but this just does not work.

I am trying to get this to work to eventually unlock my entire system with just a USB stick pluged in but its not working.

I am in a UEFI system with secure boot disabled if that matters. I have read something about a module on a related topic. Do I need anything special loaded?

Also where is the log for this?

Enabling VSYNC with Nvidia drivers https://askubuntu.com/questions/774416/enabling-vsync-with-nvidia-drivers

I am running Ubuntu 16.04 with a Nvidia GeForce GT 630M graphics card using the 361.42 Nvidia proprietary driver.

I am trying to enable sync to vblank for OpenGL applications, but to no avail. The output of glxgears runs at about 2000 FPS, for example; more importantly, my OpenGL homework assignment exhibits significant screen tearing :(

Please note that my built-in Intel GPU has vsync enabled by default.

I have looked through the forums, but none of the proposed solutions have worked for me. CompizConfig settings manager already has sync to vblank enabled; nvidia-settings does not have a sync to vblank option; and adding export __GL_YIELD="USLEEP" to /etc/profile did nothing. The output of nvidia-settings --query=SyncToVBlank --verbose is

WARNING: Attribute 'SyncToVBlank' specified in query 'SynctoVBlank' is not available on newton:0.0.

EDIT: It appears that Nvidia drivers do not support vsync when used in a laptop with an Intel GPU. Bumblebee can supposedly help the "cooperation" between the two GPUs, but installing bumblebee-nvidia resulted in very poor graphics rendering.

can't install or update any program, dpkg: error https://askubuntu.com/questions/741838/cant-install-or-update-any-program-dpkg-error

every time I try to install or update anything it gives this error

    dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
    E: Sub-process /usr/bin/dpkg returned an error code (2)
20-nvidia.conf in xorg.conf.d doesnt exist https://askubuntu.com/questions/710390/20-nvidia-conf-in-xorg-conf-d-doesnt-exist

I'm new to GNU/Linux, running xubuntu 15.10 with a GTX 570 graphics card, and am trying to prevent screen tearing in scrolling web pages, videos, and steam games. I get no screen tearing with the PPA version of the nvidia 355.11 drivers, but it requires me to enter the following in the terminal after every boot and during a steam game.

 nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

It seems in order to make the change permanent, I need to add a line to the xorg.conf file (which seems to be deprecated) or the 20-nvidia.conf file in /usr/share/X11/xorg.conf.d/ but neither files exist. In my /usr/share/X11/xorg.conf.d/ directory there are only the following files:

10-evdev.conf         11-evdev-trackpoint.conf  50-wacom.conf
10-quirks.conf        50-synaptics.conf         51-synaptics-quirks.conf
11-evdev-quirks.conf  50-vmmouse.conf           glamoregl.conf

and none of them have a screen section, or serverlayout section. I've tried several workarounds but they either don't fix the tearing or cause lightdm to not start at all. I've made a xorg.conf file with sudo X :1 -configure and placed it in the /etc/X11/ directory then added in the following:

Section "Screen"
Option  "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
EndSection

and tried a shell script in /etc/profile.d/ to run the first terminal command I mentioned earlier. It either doesn't stop the tearing and I have to change the nvidia setting in the terminal to fix it like usual, or lightdm just doesn't display anything and I have to recover through grub loader. If I save the configuration settings in nvidia x server settings it creates a file .nvidia-settings-rc but nowhere in the file can I see it mentioning the current metamode.

Some of this information used to get me where I am seems outdated, but I can't find 20-nvidia.conf or some kind of equivalent on my drive.

Giovanni Toraldo's answer will fix my screen tearing but the permanent solution isn't applicable.

xrandr says that my recently created mode is an unrecognized option when trying to add it to my moniter https://askubuntu.com/questions/707630/xrandr-says-that-my-recently-created-mode-is-an-unrecognized-option-when-trying

my moniter is actually a small tv and does in fact support 1080p although currently uibuntu says that the highest i can go up to is 1360x768. created a mode named 1080p that i can see when using command "xrandr" that does in fact have the correct resolution although im not sure if im just doing some thing stupid cuz this is my first real install not on a vm.

what ive done so far:

1: cvt 1920 1080 60
2: xrandr --newmode "1080p" (I copied the modeline) produced by cvt i can now see my mode when i use xrandr
3: xrandr --addmode Screen 0 1080p OUTPUT: xrandr: unrecognized option '1080p'

Move files preserving symbolic links https://askubuntu.com/questions/663990/move-files-preserving-symbolic-links

I have some files on an external hard drive, to which I keep soft symlinks in my home folder (many links, not just one). I need to move some of the original files to another hard drive, and I want to have the symlinks pointing to their new location.

Is there a way to achieve this, other than re-creating the links after moving the files?

Unity doesn't load, no Launcher, no Dash appears in Ubuntu 14.04 https://askubuntu.com/questions/573312/unity-doesnt-load-no-launcher-no-dash-appears-in-ubuntu-14-04

I shut down Ubuntu 14.04 in my laptop, forgetting I was installing software, and now I can't get to Unity desktop environment after logging in. I just see my background wallpaper.

Logging in as a guest works, so I suspect the session in my account is corrupted.

Set wifi txpower from /etc/network/interfaces https://askubuntu.com/questions/380623/set-wifi-txpower-from-etc-network-interfaces

I am trying to configure my wifi to reliably connect at start-up on a headless device.

I currently have done this with a simple entry in /etc/network/interfaces, along the lines of

auto wlan0
iface wlan0 inet static
    wpa-ssid <my ssid>
    wpa-psk <my psk>
    address <address>
    netmaks <netmask>
    gateway <gateway>

Now I also need to set txpower (which also requires me to set the region (reg) as I understand it).

I can do this from the command line with iw reg set ... and iwconfig wlan0 txpower .... However, what I need is for these values to be reliably set on startup.

I have looked in what I believe is the documentation for configuring wifi in /etc/interfaces, which is /usr/share/doc/wpasupplicant/README.modes.gz, but this does not seem to have any information on setting transmit power.

How can I achieve this?

How do I get an Asound-cm106 (USB) sound card to work? https://askubuntu.com/questions/334757/how-do-i-get-an-asound-cm106-usb-sound-card-to-work

I have a USB sound device asound-cm106 which apparently has the cm6206 chipset.

I want to use it because I give the hell up trying to get my built in soundcard to work with my current setup (it was always fine before) I can sudo modprobe snd-hda-intel to get the refusing-to-do-anything built in card to appear in the sound card list but I have been left feeling like a useless idiot trying to figure out my way around this unity thing to try and make the USB device show up short of virgin sacrifice and prayers to dark gods. Clearly sound is a lot more complicated than, say, running my companies Apache servers and coding OO-PHP.

The forums have been unusually unhelpful with every thread having wildly different answers which all seem to consist of downloading stuff, writing epics scripts in sub-voodoo languages, replacing the entire sound stack, patching the kernel or otherwise doing stuff that is so far over my head as to be incomprehensible.

Threads I've found:

All I want is to plug the silly thing in and get sound out of my speakers. Could someone offer me a solution that any fool could follow. You may collect my geek card on your way through.

I am using Ubuntu 12.04 LTS (64bit) with an AMD Phenom(tm) II X2 555 Processor.

Ubuntu 12.04 & Mac Os X - GRUB Rescue prompt SET commands made permanent? https://askubuntu.com/questions/128780/ubuntu-12-04-mac-os-x-grub-rescue-prompt-set-commands-made-permanent

I recently re-installed my Mac OS X partition. This somehow messed up my entire partition scheme it seems.

First I got dropped to the Grub rescue> prompt when trying to boot Ubuntu. I had never having seen it before and help command was not recognized, so I started googling. I ended up reading most of the grub recovery documentation.

I made it boot by using the set command to set root and prefix variable, then loaded normal mode plugin and ran it. It Presented me with the normal grub boot menu, and I booted Ubuntu just fine. As the documentation also states these changes are not permanent and I have to edit /boot/grub/grub.cfg - more specifically it states that I have to ensure variables search, linux and intrd variables.

My problem is with trying to edit this file, my Ubuntu installation fails to reboot. After some wait time, I shut it down the hard way. When I then try to boot again, i'm back at the grub rescue> prompt again...

So to make ubuntu boot I use these commands:

set prefix=(hd0,gpt6)/boot/grub
set root=(hd0,gpt6)
insmod normal
normal -> select ubuntu

When editing /boot/grub/grub.cfg the section I'm supposed to edit I edit like this (I think it's the search line making the screw up, but i cannot figure out what i may delete):

EDIT: REMOVED LINES TO MAKE THE EDITED LINES MORE READABLE!

Unedited entry :

set root='(hd0,gpt6)'
search --no-floppy --fs-uuid --set=root ebba50e2-d298-4764-afb5-463c47532158
linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=ebba50e2-d298-4764-afb5-463c47532158 ro acpi_backlight=vendor acpi_osi=Linux  quiet splash pcie_aspm=force $vt_handoff
    initrd  /boot/initrd.img-3.2.0-23-generic

EDITED entry:

set root='(hd0,gpt6)'
search --no-floppy --fs-uuid --set=root ebba50e2-d298-4764-afb5-463c47532158
echo    'Loading Linux 3.0.0-14-generic ...'
linux   /boot/vmlinuz-3.0.0-14-generic root=/dev/sda6 ro acpi_backlight=vendor acpi_osi=Linux
echo    'Loading initial ramdisk ...'
initrd  /boot/initrd.img-3.0.0-14-generic

I think that I edited the last section in (the Ubuntu recovery menu entry) correctly. The first entry looks (Ubuntu normal mode) like the grub.cfg file itself wants it to look ? which is correct? My question now is, is this change correct? - And will I have to do the same for every menu entry? ;)

NB. after this not working I tried sudo grub-install /dev/sda6 - but I get an error saying this is a partition, and embedding is not supported - this is noob info since I have not researched this part enough yet, just thought it might bring some useful information..