Saturday, November 09, 2024

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.




No comments: