Announcement

Collapse
No announcement yet.

Apt and sources modernization

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Apt and sources modernization

    I've been putting off the request to modernization request for customized (personally added) repositories for some time. With a few extra minutes to spare, I read up on whether the act of non-modernized sources will affect the system moving forward or not. Frankly, it doesn't affect the system but to get rid of that annoyance every time I run updates via the terminal, I finally did it sometime last week. This week, while running updates, I'm presented with a new issue. Some of the entries such as Google Chrome and virtualbox now throw out some warning messages of not supporting i386. I'm certain Virtualbox did specify in the source file
    Code:
    deb [arch=amd64]
    However, it is exempted or removed with the modernized version and I've tried entering it on the first and second line (each try done separately) with NO success. Before modernization, it was on the uri line
    Code:
    deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian oracular contrib​
    (There's no repository for Plucky. Uses the same deb package for Oracular). Apt throws a warning that there's malformed entry and won't update unless I remove the addition.

    Question is, how, with the new modernization of the sources list can the entry be fixed? Here's the modernized version of Virtualbox (Chrome is almost identical of course)
    Types: deb
    URIs: https://download.virtualbox.org/virtualbox/debian/
    Suites: oracular
    Components: contrib
    Signed-By:/usr/share/keyrings/oracle-virtualbox-2016.gpg
    Last edited by Princey; Oct 10, 2025, 09:07 AM.
    Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
    _______________________________________________
    Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

    #2
    Okay, having slept on this, I decided to do a comprehensive search and read-up on apt, sources.list with the new changes brought on over the past year or so. Solution was simpler than I imagined, just had to do some more reading. I'm posting here in case someone has the same issue. The fix is an extra line that needs to be added, in particular, "architectures". Note, it's plural not singular. Example of a sources list using the same virtualbox I had listed earier:
    Code:
    Types: deb
    URIs: [URL]https://download.virtualbox.org/virtualbox/debian/[/URL]
    Suites: oracular
    Components: contrib
    Signed-By:/usr/share/keyrings/oracle-virtualbox-2016.gpg​
    Architectures: amd64
    This works for all sources.list that give the i386 error.
    Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
    _______________________________________________
    Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

    Comment


      #3
      Hello, thanks for providing this information, but I don't understand where I need to go in order to add the line "Architectures: amd64" Any way you could explain? Thanks.
      Last edited by Cincinnatus; Yesterday, 03:52 AM.

      Comment


        #4
        Originally posted by Cincinnatus View Post
        Hello, thanks for providing this information, but I don't understand where I need to go in order to add the line "Architectures: amd64" Any way you could explain? Thanks.
        It depends on which application or source file that has the issue. Hence, I'll post the generic code where you substitute your affected source file instead. To edit via the command line, open up Konsole and type
        Code:
        sudo nano /etc/apt/sources.list.d/nameofsources
        where nameofsources = name of sources file such as google-chrome.sources or steam-stable.sources or whatever the sources name is. You can get the listing of the proper name with the command
        Code:
        cat /etc/apt/sources.list.d/
        Please note that all sources end with the extension ".sources". Hope that helps.
        Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
        _______________________________________________
        Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X