• 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
    7
    12
    7418
    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.
    • 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
                • I
                  i5513 last edited by

                  Hello, How can we report a bug about this? Seems like I cannot create an account at https://bugs.opera.com

                  This change to opera-stable.postinst would solve the problem:

                  --- /tmp/opera-stable.postinst.current	2026-09-24 23:36:55.706764023 +0200
                  +++ /tmp/opera-stable.postinst.proposed	2026-09-24 23:44:53.964246904 +0200
                  @@ -3,6 +3,7 @@
                   
                   . /usr/share/debconf/confmodule
                   
                  +APT_SOURCES_FILE="/etc/apt/sources.list.d/opera-stable.sources"
                   APT_FILE="/etc/apt/sources.list.d/opera-stable.list"
                   OPERA_REPO="deb.opera.com\/opera-stable\/"
                   
                  @@ -17,7 +18,7 @@
                           chmod 4755 /usr/lib/x86_64-linux-gnu/opera-stable/opera_sandbox
                           db_get opera-stable/add-deb-source
                           if [ "$RET" = true ]; then
                  -            if [ ! -f $APT_FILE ]; then
                  +            if [ ! -f $APT_FILE ] && [ ! -f $APT_SOURCES_FILE ]; then
                                   cat > $APT_FILE <<EOF
                   # This file makes sure that Opera Browser is kept up-to-date
                   # as part of regular system upgrades
                  
                  Reply Quote 0
                    leocg 1 Reply Last reply
                  • leocg
                    leocg Moderator Volunteer @i5513 last edited by

                    @i5513 Menu - Help - Report a problem

                    Reply Quote 0
                      1 Reply Last reply
                    • burnout426
                      burnout426 Volunteer last edited by

                      This issue is being tracked as DNA-125850 now.

                      Reply Quote 0
                        I 1 Reply Last reply
                      • I
                        i5513 @burnout426 last edited by

                        @burnout426 do you have the link yo the issue ?

                        Reply Quote 0
                          burnout426 1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer @i5513 last edited by

                          @i5513 It's not public.

                          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-