Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Do I still get updates if I install from .deb file?

Do I still get updates if I install from .deb file?

Scheduled Pinned Locked Moved Linux
linux
11 Posts 6 Posters 0 Views
  • 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.
  • D This user is from outside of this forum
    D This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited.
    I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo.
    Thank you for your help,

    B M A jjlinux@lemmy.mlJ 4 Replies Last reply
    2
    • D [email protected]

      If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited.
      I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo.
      Thank you for your help,

      B This user is from outside of this forum
      B This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      I’m currently running mint cinnamon (how original, I know), and asking because i can’t seem to add mullvad-vpn stable repo.

      What's the problem? Mint is based on Ubuntu, use the corresponding Ubuntu repo (noble in case of Mint 22.1).

      A 1 Reply Last reply
      0
      • B [email protected]

        I’m currently running mint cinnamon (how original, I know), and asking because i can’t seem to add mullvad-vpn stable repo.

        What's the problem? Mint is based on Ubuntu, use the corresponding Ubuntu repo (noble in case of Mint 22.1).

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        Doesn't always work - for example the mullvad browser won't install on mint with the ubuntu instructions as OS version gets reported as Xia not noble (if I'm recalling the issue correctly it was 6-9 months ago)

        Yes you can amend the commands to get it to work but it's definitely not beginner level, I had to faff around for an hour or so before I worked it out

        B 1 Reply Last reply
        0
        • D [email protected]

          If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited.
          I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo.
          Thank you for your help,

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          Mullvad repo doesn't work in mint. The .deb does not update automatically. You have to download it manually every time you want to update it.

          M 1 Reply Last reply
          0
          • M [email protected]

            Mullvad repo doesn't work in mint. The .deb does not update automatically. You have to download it manually every time you want to update it.

            M This user is from outside of this forum
            M This user is from outside of this forum
            [email protected]
            wrote last edited by
            #5

            I did get to install the Mullvad repo on Mint.
            The thing is they use the "lsb_release -cs" command which give the codename of Mint and not Ubuntu.

            But if you use

            awk -F= '$1=="UBUNTU_CODENAME" { print $2 ;}' /etc/os-release
            

            It will give the codename for Ubuntu used by Mint.

            Try this from the Mullvad instruction with this change :

            # Download the Mullvad signing key
            sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
            
            # Add the Mullvad repository server to apt
            echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(awk -F= '$1=="UBUNTU_CODENAME" { print $2 ;}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
            
            # Install the package
            sudo apt update
            sudo apt install mullvad-vpn
            
            jjlinux@lemmy.mlJ 1 Reply Last reply
            0
            • A [email protected]

              Doesn't always work - for example the mullvad browser won't install on mint with the ubuntu instructions as OS version gets reported as Xia not noble (if I'm recalling the issue correctly it was 6-9 months ago)

              Yes you can amend the commands to get it to work but it's definitely not beginner level, I had to faff around for an hour or so before I worked it out

              B This user is from outside of this forum
              B This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              What do you mean by "won't install"? If you install it with apt from repo, apt doesn't check the distro codename, it just checks if the package dependencies are satisfied.

              A 1 Reply Last reply
              0
              • D [email protected]

                If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited.
                I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo.
                Thank you for your help,

                A This user is from outside of this forum
                A This user is from outside of this forum
                [email protected]
                wrote last edited by
                #7

                Further to this, mullvad vpn and browser are now in the Mint store.

                Download and install from there

                EDIT

                Apols, they're not, I checked on the machine I had faffed around with to get the mullvad repo working. Please ignore

                1 Reply Last reply
                0
                • B [email protected]

                  What do you mean by "won't install"? If you install it with apt from repo, apt doesn't check the distro codename, it just checks if the package dependencies are satisfied.

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #8

                  Really sorry, it's too long ago to remember the exact error,

                  but IIRC

                  when you followed the ubuntu instructions for adding the repository it would kick an error because the command included a reference to noble and mint os name is xia so the contents of the osrelease when checked didnt match and it threw an error.

                  Could be wrong, I didnt document it.

                  The work around was to edit the commands.

                  All a moot point now as

                  a) the instructions now on the mullvad site don't reference noble and

                  b) mullvad now appears to be in the mint store (which is how you should always install if possible

                  Not correct, only true if you've manually added the repo

                  B 1 Reply Last reply
                  0
                  • A [email protected]

                    Really sorry, it's too long ago to remember the exact error,

                    but IIRC

                    when you followed the ubuntu instructions for adding the repository it would kick an error because the command included a reference to noble and mint os name is xia so the contents of the osrelease when checked didnt match and it threw an error.

                    Could be wrong, I didnt document it.

                    The work around was to edit the commands.

                    All a moot point now as

                    a) the instructions now on the mullvad site don't reference noble and

                    b) mullvad now appears to be in the mint store (which is how you should always install if possible

                    Not correct, only true if you've manually added the repo

                    B This user is from outside of this forum
                    B This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #9

                    ::: spoiler disclaimer
                    I'm a Debian user and not a Mullvad user. When installing software, I carefully read instructions and almost never follow them because in most cases I know how to deal with my distro better than developers.
                    :::

                    There is a repo for noble, I've checked this before writing my answer. It is always possible to edit apt sources config manually and specify any repo you want regardless your distro codename. IDK what is Mint Store, isn't it about flatpacks that TS doesn't want to use?

                    1 Reply Last reply
                    0
                    • M [email protected]

                      I did get to install the Mullvad repo on Mint.
                      The thing is they use the "lsb_release -cs" command which give the codename of Mint and not Ubuntu.

                      But if you use

                      awk -F= '$1=="UBUNTU_CODENAME" { print $2 ;}' /etc/os-release
                      

                      It will give the codename for Ubuntu used by Mint.

                      Try this from the Mullvad instruction with this change :

                      # Download the Mullvad signing key
                      sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
                      
                      # Add the Mullvad repository server to apt
                      echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(awk -F= '$1=="UBUNTU_CODENAME" { print $2 ;}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
                      
                      # Install the package
                      sudo apt update
                      sudo apt install mullvad-vpn
                      
                      jjlinux@lemmy.mlJ This user is from outside of this forum
                      jjlinux@lemmy.mlJ This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #10

                      I'm already married, but, would you marry me? I'm guessing you're probably very useful to have around.

                      1 Reply Last reply
                      0
                      • D [email protected]

                        If I install software from .deb file, do I still get the updates & upgrades when I run sudo apt update / upgrade ? Or is flatpak the way to go? I'm not very familiar with flatpak, so I'm trying to avoid, but it seems that cons are limited.
                        I'm currently running mint cinnamon (how original, I know), and asking because i can't seem to add mullvad-vpn stable repo.
                        Thank you for your help,

                        jjlinux@lemmy.mlJ This user is from outside of this forum
                        jjlinux@lemmy.mlJ This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #11

                        I love how this went from ".deb" to "Mullvad VPN repo configuration" 🤣

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups