• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Outdated SourcesList entry after Opera installation or update (Debian/sid)

    Opera for Linux
    4
    7
    4544
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alexs last edited by alexs

      @Opera Dev: Please update the SourcesList file (e.g. opera-stable.list) in /etc/apt/sources.list.d/ according to the latest Debian specifications. Currently the following notice appears after an Opera update:

      Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
      

      After apt apt modernize-sources the compliant file opera-stable.sources is created with a warning:

      Modernizing /etc/apt/sources.list.d/opera-stable.list...
      - Writing /etc/apt/sources.list.d/opera-stable.sources
      Warnung: Could not determine Signed-By for URIs: https://deb.opera.com/opera-stable/, Suites: stable
      

      I am modifying opera-stable.sources with the following correct opera-stable.sources file in /etc/apt/sources.list.d/:

      Types: deb
      URIs: https://deb.opera.com/opera-stable/
      Suites: stable
      Components: non-free
      Architectures: amd64
      Signed-By: /usr/share/keyrings/opera-browser.gpg
      

      However, after the next Opera update, a non-compliant opera-stable.list is created again, and the following warnings appear because there are now 2 SourcesList files:

      Warning: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Translations (non-free/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Contents-deb (non-free/Contents-amd64) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Translations (non-free/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Contents-deb (non-free/Contents-amd64) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      Warning: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
      

      I currently have to delete the opera-stable.list file after every Opera update.

      Source:
      https://wiki.debian.org/SourcesList#Unstable
      https://deb.opera.com/manual.html

      Reply Quote 0
        Sherlockholmes007 1 Reply Last reply
      • Sherlockholmes007
        Sherlockholmes007 @alexs last edited by

        @alexs thanks ji

        Reply Quote 0
          J 1 Reply Last reply
        • J
          jepjepus @Sherlockholmes007 last edited by

          @Sherlockholmes007 this is still to be solved.
          I get the same issue after upgrading to Debian 13 and modernizing sources for repositories.

          So now you have 2 types of Debian: the modernized one (with .sources file) and the old style (with .list file).

          I think that it is not so difficult checking a condition to act as it corresponds: adding or not the .list or the .sources file.

          Thanks,
          Joep.

          Reply Quote 0
            evilbunny2008 1 Reply Last reply
          • evilbunny2008
            evilbunny2008 @jepjepus last edited by

            I finally got round to modernising all my systems and hit the same problem.

            Has anyone found a solution?

            Making an empty file and using chattr +i on it also doesn't help because then package updates fails.

            While apt in Debian 13 urges people to migrate, .sources files seem to be supported in Ubuntu 24.04 and Debian 12.

            Why does the Opera package always need to create/update an apt config file any way?

            Reply Quote 0
              J 1 Reply Last reply
            • J
              jepjepus @evilbunny2008 last edited by

              @evilbunny2008

              I ended up commenting out the 'deb' line in the opera-stable.list file and left it coexisting with the opera-stable.sources I created.

              jepjepus@debian:/etc/apt/sources.list.d$ cat opera-stable.list
              # This file makes sure that Opera Browser is kept up-to-date
              # as part of regular system upgrades
              
              #deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
              
              
              jepjepus@debian:/etc/apt/sources.list.d$ cat opera-stable.sources 
              Types: deb
              URIs: https://deb.opera.com/opera-stable/
              Suites: stable
              Components: non-free 
              Signed-By: /usr/share/keyrings/opera.gpg
              

              Other browser's developers team already solved this issue.

              Regards,
              Josep

              Reply Quote 0
                evilbunny2008 1 Reply Last reply
              • evilbunny2008
                evilbunny2008 @jepjepus last edited by

                @jepjepus said in Outdated SourcesList entry after Opera installation or update (Debian/sid):

                I ended up commenting out the 'deb' line in the opera-stable.list file and left it coexisting with the opera-stable.sources I created.

                Thanks!

                I hadn't considered doing that as I assumed it'd be blindly overwritten when using chattr failed to work.

                Reply Quote 0
                  1 Reply Last reply
                • evilbunny2008
                  evilbunny2008 last edited by

                  Now if the Opera package could stop grep'ing the /etc/apt/sources.list file that would be nice too, at least there doesn't seem to be any issues with that being a blank file I suppose.

                  Reply Quote 0
                    1 Reply Last reply
                  • First post
                    Last post

                  Computer browsers

                  • Opera for Windows
                  • Opera for Mac
                  • Opera for Linux
                  • Opera beta version
                  • Opera USB

                  Mobile browsers

                  • Opera for Android
                  • Opera Mini
                  • Opera Touch
                  • Opera for basic phones

                  • Add-ons
                  • Opera account
                  • Wallpapers
                  • Opera Ads

                  • Help & support
                  • Opera blogs
                  • Opera forums
                  • Dev.Opera

                  • Security
                  • Privacy
                  • Cookies Policy
                  • EULA
                  • Terms of Service

                  • About Opera
                  • Press info
                  • Jobs
                  • Investors
                  • Become a partner
                  • Contact us

                  Follow Opera

                  • Opera - Facebook
                  • Opera - Twitter
                  • Opera - YouTube
                  • Opera - LinkedIn
                  • Opera - Instagram

                  © Opera Software 1995-