UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snaps vs apt? 20.04

    Scheduled Pinned Locked Moved Off topic
    8 Posts 6 Posters 685 Views 2 Watching
    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.
      • P Offline
        pixelated
        last edited by pixelated

        I thought i would give 20.04 a try on my macbook, mostly it works - but i am havingvery strange issues using apt/apt-get

        it keeps telling me i have held broken packages - i do not; dpkg --get-selections | grep hold, confirms this

        (i still ran the usual update/upgrade/autoremove, just incase)

        But when i try to install, for eg, libasound2-dev (for mycroft), apt insists i have held broken packages - running dev_setup for mycroft (from github) gives me the same error

        It also tells me i need libasound2, which is already installed

        I get this with allot of packages i try to install, and i am starting to wonder if snaps is the cause? I dont see how it should be, but perhaps canonical has done something which is breaking apt, in favour of snaps?

        installing mycroft via snaps works ... until you run it, then it breaks trying to install dependencies lol

        not sure what further options there are in regards apt believing there are broken packages, dpkg telling me there are not, and synaptic claiming to have fixed dependencies / broken packages but the issue remaing..

        guessing there are some Ubuntu 20.04 users out there, any ideas?

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          Keneda
          last edited by Keneda

          Here is support forum for Ubuntu Touch mobile OS from ubports community.

          You should ask support for Ubuntu PC OS from Canonical company on their forums, as it will be more efficient.

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          1 Reply Last reply Reply Quote 1
          • LakotaubpL Offline
            Lakotaubp @pixelated
            last edited by Lakotaubp

            @pixelated If you are talking about standard Ubuntu then this is not the correct Forum. You need a dedicated Ubuntu Forum or help site (see above answer). This one is specifically for Ubuntu Touch on mobile devices. So I will move this to Off Topic.Thanks

            KenedaK 1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @Lakotaubp
              last edited by Keneda

              @Lakotaubp
              uTouch stable is 16.04, 18.04 not even in edge i believe, so 20.04 on macbook is definetly not uTouch related :beaming_face_with_smiling_eyes:

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
              🇲🇫🇬🇧

              1 Reply Last reply Reply Quote 0
              • arubislanderA Offline
                arubislander
                last edited by

                Others have commented about the 'on-topicness' of this question, but I still wanted to pitch in and say that issues with apt have nothing whatsoever to do with snaps. Canonical has definitely not 'broken apt in favor of snaps'.
                I cannot speak as to your motivation, but the way the question is worded might plant this seed in people's mind that something like this might be the case. And in the interest of combating the FUD that I see being spread online I felt compelled to react.

                🇦🇼 🇳🇱 🇺🇸 🇪🇸
                Happily running Ubuntu Touch
                Google Pixel 3a (20.04 DEV)
                JingPad (24.04 preview)
                Meizu Pro 5 (16.04 DEV)

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pixelated
                  last edited by

                  this is the off topic section of forum

                  i feel like it was a fair assumption that the UT forum would have people on it who use ubuntu on a computer, and may have some useful information to share with me

                  i get tired of copy and paste responses on dedicated forums, by people who dont read posts, dont understand what they are copying, or who want to insist that the OP has no right to do something

                  ...i miss the days when forum where full of informative and helpful people. so thanks for the useful replies.

                  alan_gA 1 Reply Last reply Reply Quote 0
                  • alan_gA Away
                    alan_g @pixelated
                    last edited by

                    @pixelated I agree that this is the OT section, but that isn't "anything else" it is "other stuff of interest to the community".

                    FWIW I use 20.04 and develop both debs and snaps. There's no incompatibility between the packaging technologies.

                    Snaps don't normally install deb packages. (Only "classic" snaps are able to do that, but even they probably won't as they could be installed on a largely incompatible distro. E.g. Fedora and Arch don't understand apt.)

                    Any apt problems you have are apt problems and you are better off searching for help on a site that supports apt.

                    1 Reply Last reply Reply Quote 0
                    • dobeyD Offline
                      dobey
                      last edited by

                      Well, did you try to do apt-get -f install at all?

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