The real reason was a boring one and seemingly unrelated to that file. I just ran out of disk space. Still though, that’s not exactly a helpful error is it

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    15 days ago

    What does it matter what came before or after the offending command? Clearly, /usr/bin/ar says it’s unable to copy a file because of Success, which is a bullshit error message whithin or without [Edit: a pipe &&].

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      In C/C++, it’s very common for a function to return an integer corresponding to any errors that occured within the function, including a “success” error code, because it has to return something, otherwise it’s undefined.

      I’m not sure that’s what happened here but that’s why “successful” errors are a thing. Somewhere it got misinterpreted maybe.