this post was submitted on 15 Aug 2023
102 points (96.4% liked)

Linux

48035 readers
733 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

I'm not sure what fixed it because I tried multiple things yesterday, but it shutdown normally last night.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (2 children)

How would I reinstall it? I tried to look it up but I couldn't find anything.

[–] [email protected] 8 points 1 year ago (2 children)

apt install --reinstall PKG_NAME

Is the command to reinstall a package, replace PKG_NAME with the name of the package you want to reinstall.

You should use apt instead of apt-get. It is newer, more user friendly and supposedly handles dependency resolution better.

[–] [email protected] 2 points 1 year ago

I've already done that but thanks anyways.

[–] [email protected] 1 points 1 year ago

This command (could have) saved me lots of times, had I known it earlier. So far it has saved me once.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

sudo apt-get install --reinstall

https://duckduckgo.com/?q=apt+reinstall+package&t=fpas&ia=qa&iax=qa

Not sure how you searched but I assume you didn't use or know apt? How do you install packages in the first place? Through GUI or Terminal?

EDIT: I assume you use the Linux Mint GUI package manager. I can't find how to do this too, would need to search more detailed but I don't have enough time for this now, need sleep, don't have enough sleep.

[–] [email protected] 1 points 1 year ago (1 children)

I know about and have used apt, I install pretty much everything through the terminal. What I searched for was "how to reinstall libpcre" because I thought that it required a specific method or something due to the fact that it's a system library.

Anyways, it reinstalled it but I wont know if it fixed the issue until tonight.

[–] [email protected] 1 points 1 year ago

Sometimes we think a little bit too complicated