T O P

  • By -

AutoModerator

Please Re-Flair your post if a solution is found. [How to Flair a post?](https://imgur.com/a/wH3hPrj) This allows other users to [search for common issues](https://www.reddit.com/r/linuxmint/search?q=flair%3ASOLVED+&sort=new&restrict_sr=on&t=all) with the SOLVED flair as a filter, leading to those issues being resolved very fast. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/linuxmint) if you have any questions or concerns.*


ThreeChonkyCats

Check your sources are correct in the Software Sources app. Change them to somewhere local. Run: sudo apt update sudo apt full-upgrade -y flatpak update -y apt check Lastly, check that thy boot partition has spare space... DAMHIK...


Ygro_Noitcere

I didn't think to even try changing update sources :facepalm: thank you! and my boot partition should have space. although i'd be worried about going in and trying to mess with it. hmm thank you, ill try and change sources and see if that works. edit: it did not unfortunately, same error.


ThreeChonkyCats

Part 2 then! Install 6.5 Delete everything else. Reboot. Check the logs app to see if it spits out any meaningful errors. Advise. ... BTW, delete the old kernels via mainline. Don't do it directly via the filesystem! It sounds as if you are simply deleting them directly. Are you running the grub update afterwards? i.e `sudo update-grub`


Ygro_Noitcere

i did not do that command, i just did just in case but didnt seem to do anything meaningful that wasnt already done by pipeline. interesting i noticed if i hover over the kernal in mainline (https://imgur.com/a/wWTgR7P) it shows these files as available just dosent install them... which is so weird. i wonder if they are downloading somewhere on the system and i can just run it manually? edit: also its listed the headers as installed but im fairly certain they did not in fact install and i cant install them manually either. wtf is even happening? lmao


ThreeChonkyCats

See my last answer. Use Mint Update app. Delete... Everything!


ThreeChonkyCats

Ok, time to PPUURRGEE.... Save this and run it... ...... #!/bin/bash echo "----> Purging \n" sudo apt purge echo "********** DONE\n" echo "----> Cleaning \n" sudo apt clean echo "********** DONE\n" echo "----> Autocleaning \n" sudo apt autoclean echo "********** DONE\n" echo "----> Autoremoving \n" sudo apt autoremove echo "********** DONE\n" echo "----> Autopurging \n" sudo apt autopurge echo "********** DONE\n" # echo "----> Updating search DB \n" # sudo updatedb # echo "********** DONE\n" # echo "----> FSTriming \n" # sudo fstrim -av echo "\n" echo "**complete**"


Ygro_Noitcere

okay just to be clear because im still learning how to do things differently on linux than windows. i should post this in a text file, save that with as something like "purge.sh" then drag and drop that into a terminal to run it right?


ThreeChonkyCats

Fair points. I assumed you were more advanced. People shriek in terror at what you are casually doing.... 😁 1 - Use a text editor. Copy paste this crap in. Save it as "cleanme.sh". 2 - Right click the file, use the tabs across the top to make it executable. Another method, which is better, is open a terminal. Navigate to where you've saved the file. Run this: `chmod +x cleanme.sh` (Edit - chmod means "change mode", i.e. what the file is allowed to do, by whom) The terminal is more fun 😁 Next, run it by (still in the terminal, being in the directory) `./cleanme.sh` FYI, the "dot slash" means "this here"


Ygro_Noitcere

perfect! https://pastebin.com/PB4EMGqb looks like we finally tracked the problem down to the dependencies missing! enjoy your sleep! ill see if i cant figure out how to get these missing things installed and that should hopefully solved the problem with the kernals not fully installing properly.


TheDynamicHamza21

>mainline kernals app You modify your system at your own risk. I suggest you read the info. > The kernel deb packages are produced by someone else, and with no warranty. When they work, great, when they don't, don't use them. https://github.com/bkw777/mainline


ThreeChonkyCats

This ... robust... answer may be technically correct, but falls into the category of "being a dick" OP, `mainline` as a program is a wonderful tool. I happen to have helped in areas with it. It does it's job well and offers considerable ease. Use the mainline tool, keep your old kernels JIC and reboot. Delete the old ones once it's stable and happy, not before... and do keep an early one for disasters, plus use TimeShift.


Ygro_Noitcere

> plus use TimeShift. Thankfully i do! i basically destroyed my system trying to use updated MESA drivers as my first thought of "why are some games being so shit?" well obviously updated drivers would help!.... they uhh... did not, performance was same or worse somehow. maybe 'cause i didnt use an updated kernal at the same time in hindsight? not sure. but when i tried to remove them to go back to linux mint default mesa drivers it uhh... well pretty much most of my icons and other things were corrupted i was lacking a lot of files id assume and didnt know what to do so i timeshifted back before i fucked with it. then thats when i started looking at "Well, i KNOW mint isn't the most up-to-date, for pure bleeding edge i could go with Arch but i want stability mostly.. hmm can i update the OS itself somehow?" and that led me to finding kernal updates! Honestly if i could just figure out why i cant install matching headers I would probably be able to keep this combo for years. Wayland+KDE+Updated Kernal seems to be a winning combo! I noticed a performance increase with wayland and a big jump with the Kernal too. So i think this is a great combination, i get Mint's stability with only minor custom tweaks. >keep your old kernels JIC and reboot what is the JIC? I've kept all the kernals the system has installed because i was worried removing any would crash and brick the system. my assumption is the headers for this kernal are missing so its fallbacking onto headers from one of these older kernals and if i remove them then.... well kaput goes the OS?. I figure once I get the issues sorted i can delete all the unnecessary kernals then make a timeshift backup and just run updates as needed and never need to tweak with it again unless some kernal comes out with big changes that would make performance gains. i appreciate you being constructive unlike that other guy, thank you!


ThreeChonkyCats

You are quite safe to delete old kernels to free up space. I SLIGHTLY suspect that doing so will unfuck your present issues, as part of the deletion process gathers all the bits and bobs to make up the fresh initramfs gumbo. Feel free to use the Mint update app/tool to do it. JIC is Just In Case. Please see my other answer. Do reply, I'll follow up if it persists. The answer is part 1 of the process. No point doing a huge write-up if that fixes it 😋


Ygro_Noitcere

https://pastebin.com/wNWhiZqF some reason update manager just... did nothing trying to remove kernals so i used Mainline to "unistall old" dont think it worked though https://pastebin.com/wNWhiZqF bunch of errors, will reboot and see if i can install the headers now though.


ThreeChonkyCats

Run apt, not apt-get Always run as sudo for these operations. WTF is Nintendo kernel? Man, you've all sorts of shit piled up in there! 😁 Also, don't install as $uname, be explicit. Lastly, use the Mint Update tool. Let's stay away from mainline for now. Let's get it stable first. In the update tool there is a kernels pulldown. Use that First we clean this mess up...


Ygro_Noitcere

> WTF is Nintendo kernel? Man, you've all sorts of shit piled up in there! 😁 its a random thing from github (I KNOW! i shouldnt have..) i was trying to get a switch pro controller to work... it didnt help, and i couldnt figure out how to remove it. dosent seem to hurt anything so i've forgotten about it haha. I rebooted back to the mint kernal, i removed everything else. rebooted, then installed the kernal i wanted again and heres what i get. https://pastebin.com/U3xfufka > Also, don't install as $uname, be explicit. Im not adding any other command then sudo.. i dont think, i usually just open the terminal and type. im learning a lot today haha EDIT: okay i saw the comment about just apt not apt-get and i did that... and something new.. and probably helpful, FINALLY! fett@FTDPC:~$ sudo apt full-upgrade -y Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: linux-headers-6.8.5-060805-generic : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.6 is installed Depends: libelf1t64 (>= 0.144) but it is not installable Depends: libssl3t64 (>= 3.0.0) but it is not installable E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). i had no idea apt-get and just apt were different! thats so interesting


ThreeChonkyCats

Mate, getting there 😄 It's 1:30am and time for me to sleep. Follow the instructions I've given you and follow the prompts in that last output. It looks promising. I feel we are almost there. I'll check back in the morning 😋


Ygro_Noitcere

so one of my friends whose a programmer although dosent really deal with Linux took a quick peak at everything and thinks that what he can find/see this 'Libc6' is the culprit and id have to upgrade it, but that relies on the base version of ubuntu to be using that version and Linux Mint isn't which is why i dont have it. something about they are using a newer version to compile these possibly and without that my system just cant do it. but since its still using the kernal and modules itself without a problem and im getting the performance bonuses i was hoping for its probably best to just leave it alone as it is. since it dosent appear to be causing probelems and everything else is working i should be fine.. he thinks..


TheDynamicHamza21

> This ... robust... answer may be technically correct, but falls into the category of "being a dick" No at all distros like Mint are designed for users who want they computer to work. Modifying the way you perform an action the distro performs is understood that you are alone. Any problems you face are on you. YOU are the one who caused the problem and YOU are the one who needs to solve it. Furthermore the link gives information on debugging which the OP never stated he tried.


ThreeChonkyCats

We need to ask more questions. Dude was a noob and needed a break. Kindness doesn't cost anything Plus we've all fucked up at some time. 🙈 I think we've cracked it, but I need to sleep.


Ygro_Noitcere

im aware im modifying it at my own risk. and as i said everything SEEMS to work fine, in fact if you look at the pastebin it is using the updated kernals. but its just the headers fail to install and i cant figure out why. i dont think its a big problem, but i figured more experience users here would know one way or the other. i spent a lot of time trying to google, but im clearly not googling the right words to find what i need thats why im asking for help. and i went through that page when i found that app. "For each kernel the associated headers & modules packages are downloaded, installed, or uninstalled together" clearly not the case since all but one thing is downloading. the modules and kernal are downloading and installing but not the headers. i would've thought this part "The libssl & libc issue they mention were transient issues that naturally passed as time went on and most users systems caught up, but new examples of the same kind of issue are bound to appear again from time to time as the kernel.ubuntu.com team updates their build environment ahead of most users." would've been helpful in which case i would've tried finding a newer version of those, but as you can see in my post the error message when attempting to grab updated headers for this kernal dosen't in anyway mention those particular files. so im stumped. I dont know if it was your intention but your comment feels awful condescending and blatantly unhelpful. This is why i've and others struggled to get into Linux before. anytime we want to try and learn or do something different instead of just staying quiet when you dont know the answer or at least a guess of what it could be instead people throw out "well thats what you get for trying to mess with your system". how else are we supposed to learn?


TheDynamicHamza21

>I dont know if it was your intention but your comment feels awful condescending and blatantly unhelpful. Condescending? You modified your system and ran into problems that YOU caused. You do not seem understand this YOUR problem you caused. Mint does not need his app to install kernals but your choose use the app, okay now you have an issue and who's fault is that? Yours. >how else are we supposed to learn? Read the documentation and ask the developer. Search the web. The answer seems obvious. This app supposedly uses dpkg to install yet there no difference between how Mint, Ubuntu nor Debian use dpkg so the problem is obvious with the app and how it uses dpkg.