Jump to content

Linux is giving me PTSD rn...

On my linux mint cinnamon 20.3

I can't update anything using the update manager because it always shows up like malformed entry 8 and even the driver I am trying to install for the wifi is at applying changes stage like for hours...

I search everywhere on the web but the more I try to solve, the deeper the rabbit hole goes... Finally I decided to give up and downloaded windows 8.1 and made a boot drive, even that ain't working... Anyone knows a solution abt this? (PS: I'm new to linux)

IMG20220328223545.jpg

IMG20220328223524.jpg

IMG20220328223417.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

Have you tried checking what is at entry 8 in /etc/apt/sources.list?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

cat /etc/apt/sources.list

then post the output here 🙂

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

As someone who is (mildly) experienced with Mint, my first suggestion is to open Software Sources and revert back to the default sources if you've changed them

Highly knowledgeable in all the obscure 2000s hardware & software you'll never need to ask about

Link to comment
Share on other sites

Link to post
Share on other sites

I read the title first as ‘Linus …’ 😂

 

so I’m reading this post and was really intrigued how Linus is causing this… until I re read the title and saw Linux haha

 

MSI B450 Pro Gaming Pro Carbon AC | AMD Ryzen 2700x  | NZXT  Kraken X52  MSI GeForce RTX2070 Armour | Corsair Vengeance LPX 32GB (4*8) 3200MhZ | Samsung 970 evo M.2nvme 500GB Boot  / Samsung 860 evo 500GB SSD | Corsair RM550X (2018) | Fractal Design Meshify C white | Logitech G pro WirelessGigabyte Aurus AD27QD 

Link to comment
Share on other sites

Link to post
Share on other sites

38 minutes ago, Master Disaster said:
cat /etc/apt/sources.list

then post the output here 🙂

IMG20220328234050.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

32 minutes ago, AudiTTFan said:

As someone who is (mildly) experienced with Mint, my first suggestion is to open Software Sources and revert back to the default sources if you've changed them

After i do that it shows a small window saying update apt cache or something, when I do that, this comes..

IMG20220328234252.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Sauron said:

Have you tried checking what is at entry 8 in /etc/apt/sources.list?

Idk how or where to check it🥲

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, PHNOM said:

Idk how or where to check it🥲

Check in your file explorer under the File System section

Highly knowledgeable in all the obscure 2000s hardware & software you'll never need to ask about

Link to comment
Share on other sites

Link to post
Share on other sites

ok, try this...

 

1)

sudo mv /etc/apt/sources.list /etc/apt/source.backup

which renames the original file

 

2)

sudo nano /etc/apt/sources.list

which creates a new file in place of the old one

 

3) Copy and paste everything from below in the new file

deb http://packages.linuxmint.com una main upstream import backport

deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner

then press "Ctrl+X" followed by "Y" followed by "enter"

 

4) Finally run

sudo apt update && sudo apt upgrade

to sync the repo databases and update.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

41 minutes ago, PHNOM said:

Idk how or where to check it🥲

/etc/apt/sources.list is just the path of a text file, you can open it with any text editor (as superuser if you want to modify anything). It contains the URLs where your package manager looks for packages and if a URL is wrong, corrupt or just outdated (because link rot is a thing). What @Master Disasterindicated will probably solve your issue but I'd be interested in knowing what exactly is going wrong.

 

also running the package manager in the terminal will usually tell you more about the issue.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, Sauron said:

/etc/apt/sources.list is just the path of a text file, you can open it with any text editor (as superuser if you want to modify anything). It contains the URLs where your package manager looks for packages and if a URL is wrong, corrupt or just outdated (because link rot is a thing). What @Master Disasterindicated will probably solve your issue but I'd be interested in knowing what exactly is going wrong.

 

also running the package manager in the terminal will usually tell you more about the issue.

I found it, but this is what appears..

 

IMG20220329075204.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Master Disaster said:

ok, try this...

 

1)

sudo mv /etc/apt/sources.list /etc/apt/source.backup

which renames the original file

 

2)

sudo nano /etc/apt/sources.list

which creates a new file in place of the old one

 

3) Copy and paste everything from below in the new file

deb http://packages.linuxmint.com una main upstream import backport

deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner

then press "Ctrl+X" followed by "Y" followed by "enter"

 

4) Finally run

sudo apt update && sudo apt upgrade

to sync the repo databases and update.

When I try to do the first step, it shows up like this...

IMG20220329080503.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Master Disaster said:

ok, try this...

 

1)

sudo mv /etc/apt/sources.list /etc/apt/source.backup

which renames the original file

 

2)

sudo nano /etc/apt/sources.list

which creates a new file in place of the old one

 

3) Copy and paste everything from below in the new file

deb http://packages.linuxmint.com una main upstream import backport

deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner

then press "Ctrl+X" followed by "Y" followed by "enter"

 

4) Finally run

sudo apt update && sudo apt upgrade

to sync the repo databases and update.

I did the first and 2 step even tho it showed some error messages..

It finally did something but now when I try to update the update manager it shows like this

IMG20220329081728.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Master Disaster said:

ok, try this...

 

1)

sudo mv /etc/apt/sources.list /etc/apt/source.backup

which renames the original file

 

2)

sudo nano /etc/apt/sources.list

which creates a new file in place of the old one

 

3) Copy and paste everything from below in the new file

deb http://packages.linuxmint.com una main upstream import backport

deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ focal partner

then press "Ctrl+X" followed by "Y" followed by "enter"

 

4) Finally run

sudo apt update && sudo apt upgrade

to sync the repo databases and update.

i ignored them and continued with the process... it seems to be working, then i tried to update the update manager, it spat some errors, i ignored it, and it seems like its updating the softwares in it.... thanks man

Link to comment
Share on other sites

Link to post
Share on other sites

You've broken your apt package system by adding software from a different distribution or a different distribution version. (prob something external like Chrome or Discord for a different version of Ubuntu or Debian)

Remember to ONLY use sources for your exact version. The package systems are complex in Linux, and they are excellent.. I wish Windows had one but.. when you force changes from a different distribution on them they go haywire. When you get more familiar with Linux you'll be able to spot problems before installing it in the list of packages it tells you it wants to install but when you are new this just looks like a wall of text. It's ok, we get it and everyone has done this.

 

You are getting good help here from the community so maybe you can back these changes out..

"Only proprietary software vendors want proprietary software." - Dexter's Law

Link to comment
Share on other sites

Link to post
Share on other sites

21 hours ago, jde3 said:

You've broken your apt package system by adding software from a different distribution or a different distribution version. (prob something external like Chrome or Discord for a different version of Ubuntu or Debian)

Remember to ONLY use sources for your exact version. The package systems are complex in Linux, and they are excellent.. I wish Windows had one but.. when you force changes from a different distribution on them they go haywire. When you get more familiar with Linux you'll be able to spot problems before installing it in the list of packages it tells you it wants to install but when you are new this just looks like a wall of text. It's ok, we get it and everyone has done this.

 

You are getting good help here from the community so maybe you can back these changes out..

Yeah i just love how welcoming this community is, you guys are there through all my problems... Thanks a lot 🙂

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×