I am a certified Linux user with almost 10 years of experience.

Please run the following command in a terminal:

sudo apt update && sudo apt upgrade -y

Let me know if this fixes your issue

- certified Linux expert

(I’m making fun of the 25 year Microsoft veterans on the support page that tell users to run SFC /scannow)

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      57
      ·
      edit-2
      6 months ago

      I am a certified Linux user with over 20 years of experience.

      Please run the following command in a terminal:

      sudo dnf install apt
      

      And then try the instructions above. Let me know if this fixes your issue

      • certified Linux expert
  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    ·
    6 months ago

    It’s asking me for a password. OMG why doesn’t it know it’s me and do what I tell it.

    • randomGeneratedUsername
    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      6 months ago

      You joke but ssu is for that (since you are logged in already, why ask for a password).

      Edit: this is for single-user systems. Makes yay (AUR helper) pretty convenient.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        18
        ·
        6 months ago

        Oh no. This is so bad. Who in their right mind would assume that a login user remains the same user throughout the session!?

        Oh wait. Windows.

        • MonkderVierte@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          6 months ago

          Like, editing a /etc/config file or installling a package. You’re ading ssu to <tool> already, you’re aware you’re doing root tasks.

  • Stefano Prenna@lemmy.stefanoprenna.com
    link
    fedilink
    arrow-up
    36
    arrow-down
    1
    ·
    6 months ago

    Very often sfc /scannow will ask for an installation media, which, in a corporate environment, means sending the machine to onsite support for either “fixing” or “reimaging”. It’s basically the command you should try first if you don’t want to help someone fixing the issue. “See? There is something wrong with your installation, you should fix that before doing anything else…”

    I used that trick a few times myself to get rid of poorly behaving people.

  • xylogx@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    6 months ago

    I remember when SFC was first introduced, I excitedly wrote a script to invoke it remotely so I could use it on a user’s pc when they called to fix their problem. To this day I have never run that script. This was in 1998.

    • Possibly linux@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 months ago

      Its useful for fixing a Windows install after fixing a bad ram. Sometimes the utility gets corrupted so you need to fix it first.

      I think it would be a great idea if some of the immutable Linux distros had a integrity checker like sfc

      • KubeRoot@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I think on mutable distros, or at least arch, you can run a command to reinstall all installed packages, which will verify integrity of the package files (signatures) and then ensure the files in the filesystem match package files? And I think it takes minutes at most, at least for typical setups.

        I do think it’s also possible to just verify integrity of all files installed from a package, but I don’t remember if it required an external utility, pretty sure it’s on the arch wiki under pacman/tips and tricks

    • Possibly linux@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      When I was doing tech support I was using it a ton. I had a fleet of machines that issues with SSDs and ram

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    I enjoy red hat’s paid support articles that end by saying this is untested and may not work but it was added to the knowledge base 10 years ago