I want to try the new Plasma 6 beta so I followed the instructions on the Arch wiki on how to enable the kde-unstable repo and tried to update the system, but when I try pacman says “plasma-activities and kactivities are in conflict”, both are required by some of the packages that it’s trying to update and there’s no way to ignore the conflict.

Does anyone know how to install it?

  • @KISSmyOS@lemmy.world
    link
    fedilink
    131 year ago

    If you followed the wiki, I’d just try again tomorrow and hope the maintainers have resolved the conflict by then. These are the issues you run into with unstable repos.

  • ayaya
    link
    fedilink
    English
    71 year ago

    You can do sudo pacman -Syudd where the dd is for ignoring dependencies to force it through. But be aware this is basically asking for things to break. Some packages haven’t been updated to the latest versions yet. For example dolphin wouldn’t launch so I had to switch to dolphin-git from the AUR.

      • ayaya
        link
        fedilink
        English
        7
        edit-2
        1 year ago

        As long as you still have access to the cli it should be fixable. If you want to still try to get to plasma 6 make sure you also enabled the core-testing and extra-testing repos in addition to kde-unstable as per the wiki

        If you enable any other testing repository listed in the following subsections, you must also enable both core-testing and extra-testing

        I missed that little snippet when I first swapped over.

        If you do yay kf6 you can install all of the framework-related packages which might also help fill out some missing dependencies. For me it’s 1-71. You can do the same with yay plasma and then choose the ones from kde-unstable (122-194 for me) but you will have to manually avoid the ones with conflicts like plasma-framework.

        But if you want to try and revert theoretically simply removing the testing and unstable repos and doing another sudo pacman -Syu should get you back onto the older versions.

      • Neshura
        link
        fedilink
        English
        3
        edit-2
        1 year ago

        Hopefully helpful:

        you need the following packages for kde-unstable:

        • plasma-activities
        • plasma-activities-stats
        • libplasma

        Your Update likely removed these from your system breaking plasma6

        The following packages are likely to blame (this list is likely incomplete):

        • kweather (I removed it since I don’t use it)
        • dolphin (as suggested above switching to dolphin-git should help, alternatively installing extra/dolphin will install the plasma 5 version bypassing the dependency problems)
        • kio-extras (same fix as for dolphin)
        • sweeper (see above)

        Edit: if you have terminal access you can try the following (no guarantee it’ll work, I think it should but no guarantees):

        • pacman -Rdd kactivites kactivites-stats plasma-framework
        • pacman -Syudd libplasma plasma-activities plasma-activities-stats

        What I did (switch to plasma 5 versions):

        • pacman -Syudd extra/dolphin extra/sweeper extra/kio-extras extra/kweather

        What you could do (switch to git):

        • $AUR_HELPER -Syu dolphin-git sweeper-git kio-extras-git kweather-git
        • Neshura
          link
          fedilink
          English
          41 year ago

          Update: the bad packages got updated, you should be fine just installing them from kde-unstable again

          • ayaya
            link
            fedilink
            English
            31 year ago

            Wow, that is incredibly unfortunate timing.

            • Neshura
              link
              fedilink
              English
              41 year ago

              cosmically unfortunate timing, package maintainer probably just took a nap between updating most packages and fixing the leftovers and the resulting gap caused this mayhem

              • Strit
                link
                fedilink
                21 year ago

                It’s called kde-unstable for a reason! ;) Packaging issues are expected to happen as it’s where the maintainer irons out the issues.

    • Neshura
      link
      fedilink
      English
      41 year ago

      I would definitely recommend against -Syudd with kde-unstable, the packages can change drastically (as was the case here) breaking the entire system if dependencies are ignored (as happened here)