reading “Build Files Exist” seems to suggest the package already exists, but it’s not, I think.

So what is “CleanBuild” and what do the options mean: [N]one [A]ll [Ab]ort [I]nstalled [No]t Installed

And is meant by (1 2 3, 1-3, ^4) ?

  • @[email protected]
    link
    fedilink
    3110 months ago

    lets start with why you are getting this output: If you see a screen like this your app is pulled from the AUR. The AUR works different from the other repos. While the normal repos download standardized arch packages in the form of tar-archives the AUR takes a more radical approach: get the app on your system by (almost) any means necessary. So the AUR doesn’t contain a package but a text file containing instructions. Where to download the necessary files, where to put them, that sort of stuff. In most cases the files is just the source code and your system will compile it according to the instructions in that text file. Compiling means it will turn the human readable programing in to computer readable stuff. In other words, it will create, or build, a standard arch package right then and there, on your system. That’s why the text file is referred to both as “Build Files” or as Pkgbuild.

    If you look at your screenshot, you see, that it first downloads your PKGBUILD and then shows the file as present (it uses the plural, because in exceptions there are additional files such as systemd-files that are downloaded as well).

    When installing apps from the AUR yay will cache stuff to speed up build times. Performing a clean build means not using this cache. In most cases just pressing enter will work just fine.

    And now is the part were I must warn you: Be careful with the AUR:

    1. Every app gets root during install, meaning that it can do everything it wants during that time. It’s generally recommended that you review every Pkgbuild before installing it. Nobody i know actually does that and the AUR is moderated, so there are people that take actions if someone uploads malware, but that’s mostly reactive. To my knowledge there never has been malware in the AUR but it is a possible attack vector.
    2. The official wiki states: “The AUR is unsupported, so any packages you install are your responsibility to update, not pacman’s. If packages in the official repositories are updated, you will need to rebuild any AUR packages that depend on those libraries.” yay will mostly take care of that but there is also [3]
    3. Most impotently: The AUR is a project of Arch Linux. You are not using Arch, you are using Manjaro. Manjaro is build on top of Arch, but the tend to hold updates back a bit while they check them for bugs. The people managing the AUR don’t care about that. So they might push an update assuming your system to have those held back updates and things may break.

    In conclusion. If possible stick with the repos and flatpak. If an app is not available this way you can use the AUR. If you use the AUR you can keep just pressing Enter until the app in question is installed. Just don’t be surprised if the app breaks two months later because of something stupid the Manjaro devs did

  • @[email protected]
    link
    fedilink
    1810 months ago

    Cleanbuild means not to use previous existing files, the numbers are exemples of a selection of which packages to cleanbuild. ^4 means all but number 4, the others I think are self explantory

  • AItoothbrush
    link
    fedilink
    English
    710 months ago

    Im not here to explain it because other people already did but imma point out that manjaro is meant to be beginner friendly and the aur isnt so i wouldnt use it in your place.

    • User
      link
      fedilink
      1310 months ago

      I wouldn’t use manjaro either /s

      Jokes aside, everyone’s a beginner at some point and you only learn by exploring things that you aren’t familiar with

      • AItoothbrush
        link
        fedilink
        English
        -310 months ago

        Yeah manjaro is really good for beginners to learn pacman but i would try to install arch first(as its pretty easy bur it teaches you partitions and boot stuff) and then try the aur.

  • MinekPo1 [She/Her]
    link
    fedilink
    2
    edit-2
    10 months ago

    I would guess that “Build Files Exist” means makepkg successfully downloaded the files it needs to build the package. I assume cleanBuild is referring to the building of packages itself.

    As for the options, my guesses are:

    • N don’t install anything and continue
    • A build and install all the listed packages
    • Ab interrupt everything and exit
    • I rebuild packages which are already installed, but don’t install new ones
    • No build and install packages which are not installed on the system

    I think you can also pick specific packages by referring to their index

    • either listing them all (1 2 3)
    • specifying a range (1-3)
    • or excluding those which you don’t want (^4)

    Note that I don’t use arch btw so I’m only guessing.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      10 months ago
      [N] builds normally.
      [A] deletes the source code from your machine and starts building from scratch.
      [Ab] aborts like you'd expect.
      [I] clean builds only installed packages.
      [No] Idem, but only not installed packages.
      
  • @Falmarri
    link
    English
    -410 months ago

    Why would having the build files exist suggest the package exists?

      • @Falmarri
        link
        English
        110 months ago

        This is a perfectly civil question that is intended to make the author think about what they’re reading in the future, rather than spoon feed pure information

  • @TCB13
    link
    -2410 months ago

    The only possible interpretation is: time to move to Debian. 😜

    • Aatube
      cake
      link
      fedilink
      110 months ago

      Debian doesn’t even have an AUR equivalent does it

      • @TCB13
        link
        English
        110 months ago

        You know, that’s kind of the point. Either way any repository is technically an user repository that can be added to apt.

        • Aatube
          cake
          link
          fedilink
          110 months ago

          Hmm. It’s nowhere near as popular though, the search page only gives 72 pages of 10 results for an empty search.

          • @TCB13
            link
            110 months ago

            Yes, you most likely don’t need it. You can just add whatever apt repository for your favorite tools or use flatpak.