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)

7 points

You joke but one time after a fresh install I genuinely forgot to update (the linux header files or something) and some of the device drivers weren’t working

permalink
report
reply
1 point
Deleted by creator
permalink
report
reply
12 points

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.

permalink
report
reply
2 points

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

SFC has worked numerous times for me, usually for botched updates. Haven’t used it in a long time after leaving tech support

permalink
report
parent
reply
5 points

I’ve tried using SFC multiple times and had it work zero times. One time after SFC failed to find anything wrong, I ended up fixing the machine by replacing the system file with a copy from a working machine.

permalink
report
parent
reply
8 points

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

permalink
report
reply
71 points
sudo: apt: command not found
permalink
report
reply
62 points
*

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
permalink
report
parent
reply
5 points
sudo: dnf: command not found
permalink
report
parent
reply
4 points
*

Ah you seem to be missing dnf. No worries! Just do pacman -S dnf

Then you can run

dnf install apt

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 3.4K

    Posts

  • 40K

    Comments