google chrome update broken https://askubuntu.com/questions/1566925/google-chrome-update-broken

i have isntalled google chrome from googles official page few years ago. It used to work fine, but last few weeks i noticed i don't get updates and the system is complaining about architecture. How ca i fix this?

This is the error message:

Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome-stable/deb stable InRelease' doesn't support architecture 'i386'

The system somehow (without asking me) renamed the old google-chrome.list to a .bak file and created a file called google-chrome.sources. From what i've learned online, the fix should be to add Architectures: amd64 line to that file. When i do the error message dissapears. The thing the line is somehow removed every now and then and i need to put it there every time i spot the error in the update script. What is the 'real' solution so i can rely on updates without checking the logs?

Thanks

Details:

> root:/etc/apt/sources.list.d# cat /etc/issue
> 
> Ubuntu 25.10 \n \l
> 
> root:/etc/apt/sources.list.d# uname -a
> 
> Linux ryzen 6.17.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar
> 13 12:04:44 UTC 2026 x86_64 GNU/Linux

> 
> root:/etc/apt/sources.list.d# ls -la | grep -i google
> 

> -rw-r--r-- 1 root root 190 Mar 29 2025 google-chrome.list.bak
> 
> -rw-r--r-- 1 root root 334 May 18 10:00 google-chrome.sources


> 
> root:/etc/apt/sources.list.d# cat google-chrome.list.bak
> 
> ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
> 
> # You may comment out this entry, but any other modifications may be lost.
> 
> deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
> 


> root:/etc/apt/sources.list.d# cat google-chrome.sources
> 
> ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
> 
> # Changes to this file will not be preserved.
> 
> # This file will not be recreated if removed.
> 
> X-Repolib-Name: Google Chrome
> 
> Types: deb
> 
> URIs: https://dl.google.com/linux/chrome-stable/deb/
> 
> Suites: stable
> 
> Components: main
> 
> Architectures: amd64
> 
> Signed-By: /usr/share/keyrings/google-chrome.gpg
How to reset Ubuntu password if I am not receving reset link? https://askubuntu.com/questions/1566924/how-to-reset-ubuntu-password-if-i-am-not-receving-reset-link

Does anyone know whom to contact at Ubuntu One if I am not getting reset password link to my outlook account? I tried many times but I am not receiving reset link to my outlook email. Now it says you made too many requests pls check your inbox. I checked everywhere in inbox and junk mail also and still no reset link to reset my password for Ubuntu One. Thanks.

Strange variable refresh rate (VRR) behavior after update to 26.04 https://askubuntu.com/questions/1566921/strange-variable-refresh-rate-vrr-behavior-after-update-to-26-04

I have been using the experimental variable refresh rate setting in GNOME on my acer monitor (165hz) since 24.04, I updated to 25.10 and then again to 26.04. Prior to the 26.04 update, VRR was working perfectly on GNOME 49. Now VRR for me is completely bugged, and keeps alternating from 48 to 165hz rapidly with nothing in-between. It appears there were either some regressions in VRR or something didn't install correctly? I would appreciate some insight into this, and possibly who I should file a bug report with. Thanks.

just upgraded to 26.04, and firefox playing youtube videos , black screens from time to time ,, 1 to 2 min spacing https://askubuntu.com/questions/1566920/just-upgraded-to-26-04-and-firefox-playing-youtube-videos-black-screens-from

just upgraded to 26.04,, and all looks good, but "you tube" glitches , repeating black screen and then displays video resolution , video continues until next black screen about 1-2 mins later,.

any help would be helpful as i am sensitive to flicking lghts

firefox loads other pages ok

External monitors USB dock+HDMI misbehave on video fullscreen https://askubuntu.com/questions/1566919/external-monitors-usb-dockhdmi-misbehave-on-video-fullscreen

My Ubuntu 24.04.4 LTS laptop has two external displays connected via an USB dock with HDMI cables:

           27" monitor      27" monitor
              |                 |
             HDMI              HDMI
              |                 |
laptop ==> USB dock ------------+

When I use the laptop as the primary display, a video fullscreen covers the screen and the status icons on the top left show fine. When I try to use the 27" displays as primary display, the status icons disappear off screen. When I try to use fullscreen on a video, one side and bottom of video is off screen.

xrandr --listmonitors list the maximum sizes of the displays correctly, so the error must be in a higher layer somewhere? What do I do to debug this? XDG_SESSION_TYPE is wayland.

How should I build a custom Ubuntu 26.04 Server ISO that installs a custom kernel into the target system? https://askubuntu.com/questions/1566918/how-should-i-build-a-custom-ubuntu-26-04-server-iso-that-installs-a-custom-kerne

Hello Ubuntu community,

I would like to build a custom ISO based on Ubuntu 26.04 Server.

My goal is to create an ISO that installs Ubuntu Server with a custom kernel and a custom root filesystem.

To clarify, I do not necessarily need to replace the kernel used by the installer itself. What I want is for the installed system to boot with my custom kernel after installation. I may also need to customize or replace the root filesystem that gets installed onto the disk.

My first approach was to include my custom kernel .deb packages inside the ISO and install them automatically after Ubuntu 26.04 LTS is installed, probably using autoinstall / late-commands.

I have also tried rebuilding the ISO using xorriso. I have not tried Cubic yet.

Could anyone advise on the recommended way to do this?

In particular, I would like to know:

  1. Is using autoinstall with late-commands the right approach for installing a custom kernel into the target system?

  2. Should I include the custom kernel as .deb packages in the ISO, or should I create a local APT repository inside the ISO?

  3. If I need to customize or replace the root filesystem that gets installed, what is the recommended method?

  4. Are tools like xorriso, Cubic, live-build, or another Ubuntu build system recommended for this use case?

  5. Are there any important things to consider, such as GRUB, initramfs, kernel modules, Secure Boot, or offline installation?

Any guidance, documentation, or examples would be appreciated.

Thank you.

How to Setup Ubuntu 24.04 with best audio driver for Yamaha URX22C? [duplicate] https://askubuntu.com/questions/1566912/how-to-setup-ubuntu-24-04-with-best-audio-driver-for-yamaha-urx22c

The chip set should be the same as a Steinberg UR22C.

I have a new Yamaha URX22C, I want to use 32-bit float with 96kHz Audio Quality in OBS.

Ubuntu 24.04.4 LTS, Kernel version 6.8.0-111-generic

What sound system should I be using for best quality audio: PipeWire, Jack, Pulse, etc...? I now understand that ASIO is on Windows only protocol.

Thanks,

How to have windows frame and/or shades shown on all open application windows in Ubuntu 26.04? https://askubuntu.com/questions/1566910/how-to-have-windows-frame-and-or-shades-shown-on-all-open-application-windows-in

I'm giving Ubuntu a comeback, but something really annoying for someone migrating from Win11 are those apps whose windows are frameless (i.e. no contour) and/or shadeless, giving no visual clue where the window begins/ends when its superposed onto a similar background. Is there a way to force an app to show its window frame contour or to at least give it a shade to differentiate its limits from the background? Thanks, Grohlfer

VPN connection works when password is given on the terminal, but not on the GUI https://askubuntu.com/questions/1566908/vpn-connection-works-when-password-is-given-on-the-terminal-but-not-on-the-gui

I'm on Kubuntu 26.04. I can connect to a VPN with a command line like this:

sudo openconnect --protocol=nc --useragent "Pulse-Secure/22.8.4.38767" <gateway_address>

I created a VPN connection on the GUI matching these settings, and I get that the connection "failed to activate". I then try with nmcli:

nmcli connection up my_VPN_name

I get a GUI to enter the password, then the connection fails. The terminal says "Connection activation failed: Unknown reason" and gives a suggested journalctl line. Running this line I find "dbus: failure: connect-failed (1)".

However, with:

nmcli connection up my_VPN_name --ask

I'm asked username and password on the terminal. I enter them. The connection is activated sucessfully.

So, somehow the GUI username/password is not being correctly handled. Any ideas?

I believe the password is being passed to the gateway alright. Why? Because sometimes I get a message about "Session limit reached" after entering the password (both with and without --ask), with a choice of which active session to kill. It is after that that the connection fails with GUI or succeeds on terminal.

I've borked my Ubuntu 26.04 installation - no desktop https://askubuntu.com/questions/1566904/ive-borked-my-ubuntu-26-04-installation-no-desktop

well I was cleaning up old apps and programs when I deleted a file called colord (I think) something to do with colour management (I was thinking as in managing printer colours, bu I think I was very wrong) and I thought I don't need that. I think? I was looking at flatpaks using "software" or was it a flatpak manager. I don't think it was snap, but could have been. Anyhow as it uninstall my laptop stopped.

I can login to the command line.

I cannot seem to reinstall colord from flatpak and nothing else I've tried restarts gnome. I think most things I've tried refer to x.

Does anyone have any ideas how I can restart the desktop. Pretty please.

It appears that there is an incompatibility between Ubuntu 24.04 and FUSE (file system in user-space) https://askubuntu.com/questions/1566900/it-appears-that-there-is-an-incompatibility-between-ubuntu-24-04-and-fuse-file

I have been using FUSE with Ubuntu for a long time, but with Ubuntu 24.04 I ran into what appears to be a well-known issue. Installing FUSE breaks the Gnome Display Manager (GDM). I would be happy to provide details, but it seems well-documented on the web.

Is there a workaround? Using NFS file server is a possibility, but I would rather stay with FUSE if it can be made to work.

How to automatically load mmc_block during Lubuntu 26.04 live USB boot? https://askubuntu.com/questions/1566899/how-to-automatically-load-mmc-block-during-lubuntu-26-04-live-usb-boot

I'm installing Lubuntu 26.04 on an old Baytrail tablet that uses an eMMC as its main storage. During the live session, the installer cannot detect the eMMC unless I manually load the module:

modprobe mmc_block

I have to do this from an alternate TTY because the installer doesn't see the eMMC otherwise.

After installation, I solved the boot issue by loading the module from the dracut emergency shell:

modprobe mmc_block
Ctrl+D to continue boot

Then I added the driver permanently:

echo 'force_drivers+=" mmc_block "' \> /etc/dracut.conf.d/10-mmc.conf
sudo dracut --force

This works for the installed system.

My question is:
What should I modify in the live USB media so that mmc_block is automatically loaded during the live boot? I need this because using a keyboard on a tablet is very inconvenient.

Any help would be appreciated.

Looking for a translation app https://askubuntu.com/questions/1566888/looking-for-a-translation-app

I am a journalist, and I need a translation tool that works in Ubuntu 24.04 completely offline (without an internet connection). What application can you recommend for this purpose?

Color emojis not working correctly on Kubuntu 26.04 (KDE6) Chrome flatpack after fontconfig changes https://askubuntu.com/questions/1566878/color-emojis-not-working-correctly-on-kubuntu-26-04-kde6-chrome-flatpack-after

I’m on Kubuntu 26.04 with KDE Plasma 6 and I’m having issues with color emoji rendering. Some emojis appear monochrome, render just fine

Chrome screenshot1 Example broken plage chatgpt

These are my command history I ran before the issue started:

sudo apt reinstall fonts-noto-color-emoji
sudo apt reinstall fonts-noto fonts-noto-core fonts-noto-ui-core
sudo apt remove fonts-twemoji-svginot

fc-cache -f -v
rm -rf ~/.cache/fontconfig
rm -rf ~/.cache/fonts

nano ~/.config/fontconfig/conf.d/01-emoji.conf
sudo nano /etc/fonts/local.conf
cat /etc/fonts/local.conf

shopt -s dotglob; mkdir -p ~/.fonts/truetype/noto; ln -s /usr/share/fonts/truetype/noto/* ~/.fonts/truetype/noto
rm -rf ~/.fonts/truetype/noto

fc-match emoji

If needed, I can also share the contents of 01-emoji.conf and /etc/fonts/local.conf.

What is the correct way to restore color emoji support on KDE6 / Kubuntu 26.04?

[EDIT] Here the configuartion files

andygl@hp15s:~$ cat ~/.config/fontconfig/conf.d/01-emoji.conf 
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <alias binding="strong">
  <family>emoji</family>
  <prefer>
   <family>Noto Color Emoji</family>
  </prefer>
 </alias>
 <alias binding="strong">
  <family>sans-serif</family>
  <prefer>
   <family>Noto Color Emoji</family>
  </prefer>
 </alias>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
andygl@hp15s:~$ cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
</fontconfig>
andygl@hp15s:~$ 
Can't Install GCC Adaptor Overclock https://askubuntu.com/questions/1566868/cant-install-gcc-adaptor-overclock

I'm trying to install a kernel module to overclock my gamecube controller adapter, but running make just returns this error:

make -C "/lib/modules/6.12.86+deb13-amd64/build" M="/home/imperium2099/gcadapter-oc-kmod" modules  
make\[1\]: Entering directory '/usr/lib/modules/6.12.86+deb13-amd64/build'  
warning: the compiler differs from the one used to build the kernel  
 The kernel was built by: x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0  
 You are using:           gcc (Debian 14.2.0-19) 14.2.0  
 CC \[M\]  /home/imperium2099/gcadapter-oc-kmod/gcadapter_oc.o  
In file included from \<command-line\>:  
/usr/src/linux-headers-6.12.86+deb13-common/include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory  
   5 | #include \<generated/autoconf.h\>  
|          ^\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~  
compilation terminated.  
make\[3\]: \*\*\* \[/usr/src/linux-headers-6.12.86+deb13-common/scripts/Makefile.build:234: /home/imperium2099/gcadapter-oc-kmod/gcadapter_oc.o\] Error 1  
make\[2\]: \*\*\* \[/usr/src/linux-headers-6.12.86+deb13-common/Makefile:1981: /home/imperium2099/gcadapter-oc-kmod\] Error 2  
make\[1\]: \*\*\* \[/usr/src/linux-headers-6.12.86+deb13-common/Makefile:236: \__sub-make\] Error 2  
make\[1\]: Leaving directory '/usr/lib/modules/6.12.86+deb13-amd64/build'  
make: \*\*\* \[Makefile:6: all\] Error 2  
  
This is the original project: https://github.com/HannesMann/gcadapter-oc-kmod

I'm using Debian Trixie, if that matters.

qtrc config file reported as not writable after upgrade to Kubuntu 26.04LTS https://askubuntu.com/questions/1566847/qtrc-config-file-reported-as-not-writable-after-upgrade-to-kubuntu-26-04lts

After upgrading from Kubuntu 25.10 to 26.04LTS, before login screen the system starts with:
"/var/lib/sddm/,config/sddm-greeter-qt6rc" not writable

I am still able to login following this error.

Will try to delete it to be re-created. Any other comments are welcome!

How can I override the sudo being used by ansible for a given host? https://askubuntu.com/questions/1566824/how-can-i-override-the-sudo-being-used-by-ansible-for-a-given-host

I have a number of hosts running Ubuntu in a lab managed by ansible. Ansible is used to upgrade and install specific deb and apt packages.

I've just upgraded one to 26.04 LTS. The upgrade caused a problem with ansible, triggered by the transition to sudo-rs.

How can I specify for a specific machine a different sudo executable; in this case, /usr/bin/sudo.ws?

Firefox crashes after replacing snap with APT build on Ubuntu 26.04 LTS - Sandbox: CanCreateUserNamespace() EPERM, Wayland bind error, AppArmor denial https://askubuntu.com/questions/1566816/firefox-crashes-after-replacing-snap-with-apt-build-on-ubuntu-26-04-lts-sandbo

edit: my question is detailed enough to see it's not about how to install Firefox with the deb package, I've already edited it to follow someone's advice and have no idea what I should add.

Environment

  • OS: Ubuntu 26.04 LTS (fresh install, last LTS)
  • Hardware: AMD-powered laptop [Lenovo IdeaPad-Slim-5-15ARP1]
  • Session: Wayland
  • Firefox: installed from Mozilla APT repository (removed snap first)
  • Thunderbird: installed from Mozilla APT repository (works, but shows warning)

What I did

  1. Installed Ubuntu 26.04 LTS on a new laptop
  2. Removed the preinstalled Firefox and Thunderbird snaps
  3. Followed the official Mozilla instructions to add the Mozilla APT repository and install the .deb builds
  4. Thunderbird launches normally
  5. Firefox fails to start

Expected behavior

Both Firefox and Thunderbird should start normally from the APT packages, as on previous Ubuntu releases.

Actual behavior

  • Firefox: crashes instantly and sometimes shows the Mozilla Crash Reporter instead of a browser window
  • Thunderbird: starts, but prints a sandbox warning in terminal

Terminal output

Firefox:

[16570] Sandbox: CanCreateUserNamespace() unshare(CLONE_NEWPID): EPERM
[16567] Wayland Proxy [0x7bc5c6587010] Error: StartProxyServer(): bind() error : Permission non accordée
[Parent 16567, Main Thread] WARNING: Error: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.170" (uid=1000 pid=16567 comm="/usr/lib/firefox/firefox" label="firefox (enforce)") interface="org.gtk.vfs.Metadata" member="GetTreeFromDevice" error name="(unset)" requested_reply="0" destination=":1.75" (uid=1000 pid=3497 comm="/usr/libexec/gvfsd-metadata" label="unconfined")
: 'glib warning', file toolkit/xre/nsSigHandlers.cpp:201

Followed by multiple additional warning paragraphs.

Thunderbird:

Sandbox: CanCreateUserNamespace() unshare(CLONE_NEWPID): EPERM

What I've already checked

  • Both applications were installed using the exact steps from the official Mozilla website for Ubuntu
  • Thunderbird works despite the sandbox warning, Firefox does not
  • Errors mention AppArmor (label="firefox (enforce)"), Wayland proxy bind permission, and unshare(CLONE_NEWPID): EPERM

Question

How do I fix the Firefox startup crash on Ubuntu 24.04 after replacing the snap with the Mozilla APT build? Is this caused by the new AppArmor user namespace restrictions, the Wayland sandbox, or a missing permission, and what is the correct way to allow Firefox to create its sandbox without reverting to the snap?

Attempt n°1: create an apparmor profile for the new Firefox installation.

I've looked for an example and copied a profile suggested on Reddit. It did not change the outcome:

sudo systemctl restart apparmor.service
[sudo: authenticate] Mot de passe :    
Warning: The unit file, source configuration file or drop-ins of apparmor.service changed on disk. Run 'systemctl daemon-reload' to reload units.
rei@rei-IdeaPad-Slim-5-15ARP10:~$ systemctl daemon-reload
rei@rei-IdeaPad-Slim-5-15ARP10:~$ firefox
[263254] Sandbox: CanCreateUserNamespace() unshare(CLONE_NEWPID): EPERM
[263251] Wayland Proxy [0x702f53186570] Error: StartProxyServer(): bind() error : Permission non accordée
How can I get Ubuntu to work on a MacBook Pro 13" 2017 https://askubuntu.com/questions/1566766/how-can-i-get-ubuntu-to-work-on-a-macbook-pro-13-2017

Disclaimer, I’m posting this to help out anyone having issues with their intel MacBook no t2 chip cause I went through hours of troubleshooting and don’t want anyone to go through that. Also I’m new to the linux world so Claude was a huge part of this and fixed all of my issues. I installed Ubuntu 26.04 on a MacBook Pro 13" 2017 No Touch Bar (A1708 / MacBookPro14,1). This model does NOT have a T2 chip.

Out of the box I had these problems:

  • Closing the lid appeared to suspend but the machine stayed fully awake (hot, battery draining fast)
  • Manually suspending caused a complete hard freeze requiring a force reboot
  • WiFi, keyboard and trackpad didn't recover after resume
  • Audio showed as "Dummy Output" — no sound at all
  • FaceTime HD webcam not detected

How do I fix suspend, audio and the webcam on this model?

Dirty Frag vs. Copy Fail mitigation - need to understand the difference https://askubuntu.com/questions/1566732/dirty-frag-vs-copy-fail-mitigation-need-to-understand-the-difference

I have been lurking on StackExchange for years, finally made an account a year ago, so this is my first post. I understand that there are standards to be upheld when posting questions, so I hope I will raise to those standards with mine.

Server scope: Azure-deployed VMs
Server versions:
Ubuntu Server 22.04.5 LTS (kernel 6.8.0-1052-azure)
Ubuntu Server 20.04.6 LTS (kernel 5.15.0-1089-azure)

Did I searched for and read relevant articles ? Yes, every single relevant one from vetted sources.

When Copy Fail came out, I was tasked with manual mitigation. According to Ubuntu blog article for Copy Fail, the mitigation was:

# Drop this into /etc/modprobe.d/disable-algif_aead.conf
install algif_aead /bin/false

After that, I was to check if modules are loaded, if yes, remove them, and then I performed a preventative reboot, because I was authorized to do so.

Somehow, with Dirty Frag, this is no longer enough. According to Ubuntu blog article for Dirty Frag, I am to do this:

# Drop this into /etc/modprobe.d/dirty-frag.conf
install esp4 /bin/false
install esp6 /bin/false
install rxrpc /bin/false

And then, additionally, I have to run:

update-initramfs -u -k all

After that, same steps as for Copy Fail.

So my first question here: I would like to understand why is suddenly initramfs update required ? Are ESP4/ESP6/RXRPC that deep in kernel that I have to alter the image from which the server boots ? I understand that if initramfs update fails, I will be in a world of hurt. While backups will be in place, I would rather not kill the server.

Furthermore, according to Mitigation section on Github post for Dirty Frag, simply dropping in the same config, removing mods if active, and then dropping cache is enough. So i.e. the same thing that I did for Copy Fail, except the additional step for cache drop.

Second question here: official article on Github from the person who found Dirty Frag is different from official Ubuntu recommendation. Why ?

I am the Linux admin here, so I should know this stuff, but in this case, I simply don't know or understand, what is the difference, and who do I trust here - do I trust the person who discovered the vulnerability and produced the steps for it, or do I trust the OS distribution vendor with their directions from their blog post ?

Thank you.

Ubuntu 26.04 / GNOME 50 default image-viewer is not closing with esc key https://askubuntu.com/questions/1566728/ubuntu-26-04-gnome-50-default-image-viewer-is-not-closing-with-esc-key

While I understand the Escape key is now reserved for exiting full-screen mode, this change severely disrupts the workflow for users accustomed to Ubuntu 24.04's behavior. Modifying core keyboard shortcuts across releases creates consistency issues. There is any work around to solve it?

apt-offline fails to download requested upgrade files https://askubuntu.com/questions/1566658/apt-offline-fails-to-download-requested-upgrade-files

Background: I am trying to revive a neglected 22.04.4 Ubuntu (Lubuntu, actually) machine that lost its network connectivity, presumably due to an upgrade effecting its Realtek PCIe Gbe network card. That's a common problem, lots of traffic on it. The solution is to downgrade the kernel, or, in my case, probably to upgrade it (most of the solutions written about it were written before there was a widely available patch). The only prior kernel patch I had available (I forget the number) failed to resolve the problem.

I am running apt-offline 1.8.5 on both the online and offline machines.

My problem isn't about the offline machine, but someone is bound to ask. The offline machine a dual boot machine. The network card works fine in Windows, and it also works fine when I boot off a live USB running 24.04, although that may be a generic driver. I'm assuming the problem's been fixed in the past two years.

The best solution seems to be apt-offline. The offline machine generates an update sig just fine, the online machine reads the update sig without issue, downloads a bunch of files and generates the desired update data. The offline machine reads the update data just fine and throws an appropriate number of green messages to the screen saying it has synced various sources. Producing the upgrade sig also looks like it proceeds normally.

The trouble comes when I try to get the data requested by the upgrade sig using the online machine. It cannot access a single file. Every one of them fails with a 403 Forbidden. The machine is connected. I am using it to write this message. It can get to the repos, because I have gone through the cycle s a few times with different options, and it can always get the upDATE information, just never the upGRADE information.

I took a look in in the upgrade sig file, copied all the source URLs into an HTML doc, and used a browser to download all of them (I was tired enough to give up on thinking but not tired enough to give up, so I just right clicked on all 320 odd links and downloaded them). Not a single one failed. It really doesn't look like a permissions issue. The URLs are reachable from the online machine and active. The file sizes are all correct.

I tried setting the cache to the folder I dumped the files to, but some of them (about 60) had names that were different from the downloaded basename and failed. The other 260 or so were zipped up into the target file successfully. I parsed the signature file and renamed all those files with basenames different from their handles in the sig file, but that had no effect (I suspect when the two names in the sig file are different, it uses some combination of the two, but includes only the basename in the verbose error messages, not what is is looking for in the cache).

The simplest thing is to figure out what's going on with the apt-offline download of the upgrade files, instead of trying to hack around it.

The command I used is:
sudo apt-offline get upgrade.sig --threads 5 --bundle upgrade.zip --verbose

A snippet (every single file looks like this) of the verbose output is (I reran it with --threads 1 to stop interleaved messages):

ERROR: Failed to download libatomic1                                                                                        
VERBOSE: Item before split is: 'http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb' libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb 153976 MD5Sum:81479a10a57088dc284c55cbe3a96515                    
                                                                                                                            
VERBOSE: Item after split is: 'http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb' libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb 153976 MD5Sum:81479a10a57088dc284c55cbe3a96515                     
                                                                                                                            
VERBOSE: Stripped item URL is: http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb                                                                                                                    
VERBOSE: Stripped item FILE is: libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb                                              
VERBOSE: Stripped item SIZE is: 153976                                                                                      
VERBOSE: Stripped item CHECKSUM is: MD5Sum:81479a10a57088dc284c55cbe3a96515                                                 
VERBOSE: Thread is Thread-1 (run)                                                                                           
Downloading libquadmath0 - 150 KiB                                                                                          
VERBOSE: http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb - 403 - Forbidden                                                                                                                        
VERBOSE: Will still try with other package uris                                                                             
ERROR: Failed to download libquadmath0               

The procedure I used seemed straightforward, taken straight from many examples. I might be missing something super simple. I do the update and upgrade in separate steps, specifically to avoid the desynchronization issue I've seen mentioned. Obviously, I am copying the files between computers on a USB after each step.

On offline machine: sudo apt-offline set update.sig --update
On online machine: sudo apt-offline get update.sig --threads 5 --bundle update.zip
On offline machine: sudo apt-offline install update.zip
On offline machine: sudo apt-offline set upgrade.sig --upgrade
On online machine: sudo apt-offline get upgrade.sig --thread5 --bundle upgrade.zip

That last line is where it fails, and fails on every single file. The file upgrade.zip is empty (size 0). When I use the manually downloaded results to build a cache, I'm pretty sure it has data, but I don't think a partial update is a great idea.

HP EliteBook x360 1030 G8 — Ubuntu (24.04 and 26.04) installation fails with "could not get path to dev from kname: nvme0n1p5 https://askubuntu.com/questions/1566261/hp-elitebook-x360-1030-g8-ubuntu-24-04-and-26-04-installation-fails-with-co

I'm trying to install Ubuntu 24.04 LTS alongside Windows 11 (dual boot) on a brand new HP EliteBook x360 1030 G8, and the installation consistently fails at the partitioning step.

Hardware:

- HP EliteBook x360 1030 G8

- Samsung MZVLW256HEHP-000L7 NVMe SSD (256GB)

- Windows 11 pre-installed

Disk layout (from sudo parted /dev/nvme0n1 print):

Number  Start   End     Size    File system  Name
1       1049kB  211MB   210MB   fat32        EFI system partition  (boot, esp)
2       211MB   228MB   16.8MB               Microsoft reserved partition (msftres)
3       228MB   42.0GB  41.8GB  ntfs         Basic data partition (msftdata, no_automount)
4       255GB   256GB   826MB   ntfs         (hidden, diag, no_automount)

[213GB free space between partition 3 and 4]

What I did:

  • I first tried the automatic "Install Ubuntu alongside Windows" option, which failed

  • Then I tryed to select "Something else" for manual partitioning, created a new ext4 partition (nvme0n1p5, ~212GB) in the free space, mounted it on `/`, set the bootloader to `/dev/nvme0n1`, then clicked "Install Now".

Error:

In both cases :

OSError: could not get path to dev from kname: nvme0n1p5 could not get path to dev from kname: nvme0n1p5

What I already tried:

- Ubuntu 26.04 and 24.04 — same error on both

- Recreating the USB drive with Balena Etcher

- Disabling wifi during installation

- Minimal installation without updates or third-party drivers

- Checked Secure Boot — already disabled

- Checked Intel VMD in BIOS — "Configure Storage Controller for VMD" is unchecked

- BIOS is up to date according to HP diagnostic tool

Has anyone any idea ?

Thank you

Install GeoGebra 6 in Ubuntu 22.04 https://askubuntu.com/questions/1523589/install-geogebra-6-in-ubuntu-22-04

GeoGebra silently dropped Linux installation support between versions 5 and 6. How to install GeoGebra 6 in Ubuntu 22.04?

How to start a X11 session https://askubuntu.com/questions/1426750/how-to-start-a-x11-session

I get this message when starting SimpleScreenRecorder after upgrade to .04

You are using a non-X11 window system (e.g. Wayland) which is currently not supported by SimpleScreenRecorder. Several features will most likely not work properly. In order to solve this, you should log out, choose a X11/Xorg session at the login screen, and then log back in.

Could someone give the exact command I can paste into the terminal. I am a total noob on this stuff.

How to detect duplicates of photos (even if the duplicate is of lower resolution) and how to keep only the higher-res copy? https://askubuntu.com/questions/1093315/how-to-detect-duplicates-of-photos-even-if-the-duplicate-is-of-lower-resolution

Perusing thousands of photos from my smartphone transferred to my computer is a bit of a challenge. Separating the wheat from the chaff is a time consuming late-night endeavor. What makes this particularly challenging is WhatsApp, as it is configured on my phone (by default) sends/receives compressed, lower-res images, rather than full-res. Sharing a photo taken by one's own smartphone would, to my understanding, leave the full-res photo on the phone and additionally create and save a compressed, lower-res and renamed copy of the sent photo in a WhatsApp directory, effectively creating a lower-res duplicate.

As the first iteration of my envisaged workflow I'd like to select unique photos only (over a range of folders and sub-folders). If a given photo exists more than once (either at the same size (same resolution) or at different sizes (different resolutions), I'd like to select only one copy and explicitly only a copy of the highest available resolution (ignoring all lower-res copies).

Building on these two related questions

How could I accomplish this in a jiffy?


The upshot / meaning of this exercise would be to include in the initial photo selection also photos received in WhatsApp - as long as these are unique and no higher-res copy exists elsewhere (on my phone / computer).


Further related links / resources:

Job for NetworkManager.service failed because the control process exited with error code https://askubuntu.com/questions/1000860/job-for-networkmanager-service-failed-because-the-control-process-exited-with-er

I am Running Ubuntu 16.04 KDE. See this for specifications.

$ uname -a
  Linux ElMaverick 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
  Ubuntu 16.04.1 LTS \n \l

After every suspend, When I wake up my laptop, it never connects to any network and have to restart NetworkManager again. So, out of laziness I wrote this script that worked very well.

I then edited my script as suggested by muru here in an answer to question asked 2 weeks ago. When I executed this script, It shows me this error

Job for NetworkManager.service failed because the control process exited with error code. See "systemctl status NetworkManager.service" and "journalctl -xe" for details.

Output of commands suggested in error is as follows :

systemctl status NetworkManager.service

● NetworkManager.service - Network Manager
  Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
  Active: inactive (dead) (Result: exit-code) since Mon 2018-01-29 10:00:51 IST; 14s ago
  Process: 25388 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=1/FAILURE)
  Main PID: 25388 (code=exited, status=1/FAILURE)

  Jan 29 10:00:51 ElMaverick systemd[1]: Failed to start Network Manager.
  Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Unit entered failed state.
  Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
  Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
  Jan 29 10:00:51 ElMaverick systemd[1]: Stopped Network Manager.
  Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Start request repeated too quickly.
  Jan 29 10:00:51 ElMaverick systemd[1]: Failed to start Network Manager.

journalctl -xe

-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager.service has finished shutting down.
Jan 29 10:00:51 ElMaverick systemd[1]: Starting Network Manager...
-- Subject: Unit NetworkManager.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager.service has begun starting up.
Jan 29 10:00:51 ElMaverick NetworkManager[25388]: NetworkManager is already running (pid 20138)
Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 10:00:51 ElMaverick systemd[1]: Failed to start Network Manager.
-- Subject: Unit NetworkManager.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager.service has failed.
-- 
-- The result is failed.
Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Unit entered failed state.
Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Service hold-off time over, scheduling restart.
Jan 29 10:00:51 ElMaverick systemd[1]: Stopped Network Manager.
-- Subject: Unit NetworkManager.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager.service has finished shutting down.
Jan 29 10:00:51 ElMaverick systemd[1]: NetworkManager.service: Start request repeated too quickly.
Jan 29 10:00:51 ElMaverick systemd[1]: Failed to start Network Manager.
-- Subject: Unit NetworkManager.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit NetworkManager.service has failed.
-- 
-- The result is failed.
lines 1356-1393/1393 (END)

This Question is somewhat similar, but unfortunately it's unanswered.

Similar Question here suggests changing a parameter in the file

/etc/sysconfig/network-scripts/ifcfg-eth0 from BOOTPROTO=dhcp to BOOTPROTO=none.

But I was unable to find that file on my system. So, I tried this in Root directory

$ ls -R | grep -i "BOOTPROTO"

That returned nothing.

As suggested in the comment by muru, click this to see output commands. I didn't write down here as they are too long.

  1. Can anyone tell What is exactly going on and how to solve this ?

  2. Also what change in this and this script caused this error ?

How to share folder with Windows 10 guest using virt-manager (KVM)? https://askubuntu.com/questions/899916/how-to-share-folder-with-windows-10-guest-using-virt-manager-kvm

These instructions for sharing host files with a guest are not working because there is no /usr/bin/qemu-kvm.

How can I open a Microsoft Word document securely? https://askubuntu.com/questions/728312/how-can-i-open-a-microsoft-word-document-securely

I got an email in my spamfilter with an attached Microsoft Word document. How can I view that file securely on Ubuntu. The 'from' email header shows that it is from a copy machine, but it could very well be spoofed. I cannot see the full header in the spamfilter email/webservice, so the file may be genuine or trojan.

I have downloaded the file and used file and strings, which I suppose are usually ok (Update: Not even strings may be ok. There has been vulnerabilities associated with the program, see http://www.ubuntu.com/usn/usn-2496-1/). I suppose that Libreoffice would also generally be ok to use for opening the file as any trojan would likely be targeting vulnerabilities in Microsoft Windows rather than Ubuntu Libreoffice?

What other possibilities are there? Would I need to spin up a virtual machine?


Before I posted this question I came up with another idea: sha256sum and Google. This leads to a positive identification as malware: https://www.virustotal.com/en/file/003837a453ab7dd0dda51804f4208b10009dc33a9a909e9689b82a1b993deea1/analysis/1454322062/

I am, however, still interested in safe ways to handle such documents.

MySQL GUI Tools https://askubuntu.com/questions/8155/mysql-gui-tools

Does anyone have any good ideas as to native MySQL GUI clients for Ubuntu?

So far I've tried MySQL Workbench, which never seemed to work properly, phpMyAdmin which I found a bit slow, and Navicat which is a windows port and runs under wine, but none of these is perfect. In an ideal world, I'm looking for something like a native version of navicat.