Saturday, November 09, 2024

Ubuntu 24.04.1 AppImages Not Working

I upgraded from 22.04 to 24.04.1 on my Ubuntu box and some of my AppImages stopped working. Not all of them just a few.  First to get AppImages working at all, you have to install libfuse2t64, which is different from what you need on 22.04.

To install libfuse2t64 open a Terminal Windows and run the following command:

 sudo apt install libfuse2t64

Even after this, some AppImages still won't work.  They give an error something like this:

[:FATAL:setuid_sandbox_host.cc(158)]

The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_ObsidiOpBPaM/chrome-sandbox is owned by root and has mode 4755.

This is a known issue with no time frame listed for a fix.  The only work around for this I could find is to run your AppImage with the  "--no-sandbox" option like this:

./Appimage_File_Name.AppImage --no-sandbox

This allows your appimages to run but they will NOT BE SANDBOXEDKnow that this could be a problem if you get a rouge appimage so only use this solution if you really need the app and are aware of the risks you are taking.

Fixing Virtualbox after upgrading to 24.04.1

 After I did an upgrade from Ubuntu 22.04 to 24.04.1 I received an Error when trying to run my Windows 10 install in Virtual Box.  The fix was easy:

1.  Open a Terminal Window.

2.  Navigate to \sbin\  (in the root directory)

3.  Run the command:

     sudo vboxconfig

After the command completes, you should be good to go now.


 


Error when using sudo apt-get update: N Skipping acquire of configured file 'main/binary-i386/Packages'

I upgraded from 22.04 to 24.04.1 and while fixing some of source files and running a "sudo apt-get update" to make sure my 24.04.1 system files were up to date I received the following "Error" (really not an "error" just a NOTE):

"N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/repos/edge stable InRelease' doesn't support architecture 'i386'"

The "N" at the beginning means NOTE not ERROR (that would be an "E").  Anyway if you want to make this NOTE go away, do the following:

1.  Open a terminal window and type:

     sudo gedit

2.  Use the OPEN Button in Gedit and navigate to the following directory:

     \etc\apt\sources.list.d

3.  Once in that directory, find the .sources file you are getting the NOTE about:
     In my case it was these two .sources:

          google-chrome.sources
          microsoft-edge.sources

4.  Open the offending .sources file in Gedit and ADD the following line:

     Architectures: amd64

     Your .sources file will look like this when done:

         Types: deb
         Architectures: amd64
         URIs: https://packages.microsoft.com/repos/edge/
         Suites: stable
         Components: main
         Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----
       
        (Your encoded PGP Key{looks like a block of random letters})


5.  Once you're done editing the .sources files in Gedit save it, run "sudo update" and you should be good to go, no more NOTEs (errors) when updating your system files.


What this NOTE is telling you is that there is no 32 bit version (i386) of the app you are trying to update so it's proving you with a NOTE to tell you this.  Adding the Architectures: amd64 tells update to only check for 64 bit versions of your app.