Amateur Linux Hour

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
They won't be making that change, because @FailurePersonifiedV2 would appear to be retarded.

Apt doesn't remove old kernels unless you run autoremove. This is not something that happens automatically on any distribution. You have to wilfully be this retarded.

I assume he's so dumb that he keeps installing kernel images until he runs out of space on a boot partition, then removes all the old kernels, but doesn't rerun 'apt-get install; to install the latest kernel. There is no technical solution to that level of retardation. It's not like it's hard to fix either, literally all you would need to do is start in recovery mode, chroot to the broken install, and run 'apt install'.
I don’t do anything that you claim.

I don’t run out of space on a boot partition, I don’t remove all the old kernels as a fix for it since I don’t like removing old kernels if I can help it, if I do I usually leave the last two-three intact as sometimes they are useful.

I hate to break it to you, but what I’m describing results in a boot failure condition. As in while yes if I could enter into recovery (which may work at times) then yes i have something that could fix the issue, however running ‘apt install’ typically doesn’t work since the files it needs usually aren’t there anymore. The system is usually in a state of severe, “oh fuck”. And no, it’s usually not a path issue, I tend to load my own when I do this kind of recovery so that I don’t have to lean on calling files from the “aether”, plenty of times I use external media to help things along.

I don’t see what you have to gain by telling the whole forum that you are quick to assume, because you haven’t run into this issue it must not exist (probably because you do not work with the OS in question professionally as I have for many years), and that you don’t know what you’re talking about, and somehow you think that will show that I am the retard?

How about you read source code and stop reading guides/tutorials since as I’m sure anyone who isn’t an attention seeking mongoloid (who has some technical skill) will tell you that docs are what SHOULD happen, the source tells you what WILL happen.
I know, advanced concepts we are dealing with here.
 
I hate to break it to you, but what I’m describing results in a boot failure condition. As in while yes if I could enter into recovery (which may work at times) then yes i have something that could fix the issue, however running ‘apt install’ typically doesn’t work since the files it needs usually aren’t there anymore. The system is usually in a state of severe, “oh fuck”. And no, it’s usually not a path issue, I tend to load my own when I do this kind of recovery so that I don’t have to lean on calling files from the “aether”, plenty of times I use external media to help things along.
are you willing to describe the steps to replicate the problem? I'm still not entirely clear how the problem you're describing comes up, and it sounds like it may be related to a janky configuration you had.


Also, did RHEL 9 take out KDE support? There's no mention of KDE in recent documentation and the old documentation refers to features and steps that don't exist or work in this version.
 
Last edited:
I don’t do anything that you claim.

I don’t run out of space on a boot partition, I don’t remove all the old kernels as a fix for it since I don’t like removing old kernels if I can help it, if I do I usually leave the last two-three intact as sometimes they are useful.

I hate to break it to you, but what I’m describing results in a boot failure condition
Having to select a different kernel in the boot menu is not a 'boot failure' to anyone with a brain in their head lol
 
...huh, attempting to install VirtualBox guest editions bricked RedHat. Also seems like KDE is completely removed, and default Gnome 3 is gobshite.
*temporarily bricked, force rebooting fixed it
**Adding KDE seems simple enough
 
Last edited:
are you willing to describe the steps to replicate the problem? I'm still not entirely clear how the problem you're describing comes up, and it sounds like it may be related to a janky configuration you had.


Also, did RHEL 9 take out KDE support? There's no mention of KDE in recent documentation and the old documentation refers to features and steps that don't exist or work in this version.
It’s not down to the jank system. This has happened on fresh ubuntu, on multiple different machines over the span of three to four years.

One was a server that was hosting a docker container and nothing else. Downed, nothing special about it. I mention this one as Grub was being updated on that one during the apt process (I’m not going to engage with the true and honest fag but in this case his “solution” wouldn’t work) so the boot menu (to select another kernel) wasn't there in that instance (and that is a boot failure, your package manager should not send you to a boot manager under any condition).

Had it happen on two VMs that had been running for about 2 years. Though they had expanded boot partitions since the host (when you would configure the VM) typically would not give enough room for the boot partition (something stupid small, I could check since I don’t remember exactly how small). So that would need to be addressed during setup.

Mind you this is a business application for most of the failures I’ve seen, over the span of the last several years. Not like it’s super easy to just replicate on a whim. It’s something to do with a retrieval failure, or timed out apt install, once it just ran into a write error and crashed out, someone running the update (not me) didn’t realize it, issued a reboot and the machine did not come back up. (Until we used the KVM provided by the hosting service to bring it back up after some work)

Im not the only one, talked to a few sysadmins who have had similar issues over IRC.

I use Artix for my daily now, and that’s been pain free when it comes to system updates, been running it for about 6 months now, so we will see how stable it remains.
 
I use Artix for my daily now, and that’s been pain free when it comes to system updates, been running it for about 6 months now, so we will see how stable it remains.
I think I had a the problem you described with apt borking updates causing a no boot. This happened to me with Kubuntu and only that distro. The other ubuntu derived distros I've used for long period stretches are Popos and Mint and neither have had that issue. Maybe it's not specifically an apt thing but something else baked into the distro? Currently on Mint for the past year and it has been solid with no issues even with my weird hardware setup.
 
I'm mad 'cause I upgraded to Mint 21 and now my favorite nightlight program doesn't work. I'm stuck with shitty redshift which is probably the worst program of all time. No gui, no options, just hope that your sleep schedule aligns with the developer, who has been absent for 8 years.
 
I'm mad 'cause I upgraded to Mint 21 and now my favorite nightlight program doesn't work. I'm stuck with shitty redshift which is probably the worst program of all time. No gui, no options, just hope that your sleep schedule aligns with the developer, who has been absent for 8 years.
In your ~/.config/redshift/redshift.conf put
Code:
[redshift]
; Set the day and night screen temperatures
temp-day=4000
temp-night=4000

Code:
[redshift]
; Set the day and night screen temperatures
temp-day=4000
temp-night=4000

; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature
transition=1

; Set the screen brightness. Default is 1.0
;brightness=0.9
; It is also possible to use different settings for day and night since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.9

;gamma=0.8:0.7:0.8
; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
; type 'redshift -l list' to see possible values
; The location provider settings are in a different section.
location-provider=manual

; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values
; 'randr' is the preferred method, 'vidmode' is an older API
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; e.g. 'redshift -l manual:help'
[manual]
lat=43
lon=1

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the second screen.
[randr]
screen=0
 
Was talking to my partner and he pulled out an old gaming laptop that would be perfect for use as a server, when I get back from vacation I'll plug it into the router and throw set it up. Still figuring out what to use as the server OS, but I'm finding that Linux servers aren't as GUI friendly as Windows Servers. in Windows server you can find all of the features and enable or configure them in the gui, but i couldn't find any of that shit in RHEL. Even KDE lets you configure samba in the file manager.
 
Was talking to my partner and he pulled out an old gaming laptop that would be perfect for use as a server, when I get back from vacation I'll plug it into the router and throw set it up. Still figuring out what to use as the server OS, but I'm finding that Linux servers aren't as GUI friendly as Windows Servers. in Windows server you can find all of the features and enable or configure them in the gui, but i couldn't find any of that shit in RHEL. Even KDE lets you configure samba in the file manager.
Let me put this bluntly. If you want a GUI server, use Windows, or maybe an appliance OS. Otherwise learn ssh and config files. Last time I had to use a GUI on Linux as a server was to install an Oracle Database.
 
  • Agree
Reactions: guiltyspark85
Let me put this bluntly. If you want a GUI server, use Windows, or maybe an appliance OS. Otherwise learn ssh and config files. Last time I had to use a GUI on Linux as a server was to install an Oracle Database.
I mean, graphical configuration tools exists for some of the major stuff, but anything more complicated i'd admittedly just use the commandline. But it would be nice to be able to visually see the configurations and status.

Also, i have no idea what the fuck happened with the Debian Server when i tried to set one up to test, but looks like it's borked. It won't even let me install the grub boot loader.
Screenshot from 2023-07-21 00-20-39.png
 
Last edited:
I don't understand how that free domain name service works.
It's probably something like duckDNS.
Basically, you register a subdomain on duckDNS. You can then write a script that regularly pokes duckDNS with your secret key. duckDNS then updates your subdomain to point at the IP you poked them from.
So if my IP is x.x.x.x and I poke duckDNS, snov.duckdns.org will now point at my IP. If I run a http server, typing snov.duckdns.org into your browser will go to my website. If I host a SMB share, //snov.duckdns.org/myshare will mount it. Just make sure you forward the right ports in your router and you can host just about anything from home even without a static IP (the script you wrote will make sure duckDNS stays pointing at you).

Just bear in mind that publicly exposed SMB shares is a bad idea. The same goes for lots of home server stuff. What you should do is set up wireguard (DIY VPN, works excellent with duckDNS) and then do your home server stuff over wireguard.
 
Still figuring out what to use as the server OS, but I'm finding that Linux servers aren't as GUI friendly as Windows Servers. in Windows server you can find all of the features and enable or configure them in the gui, but i couldn't find any of that shit in RHEL. Even KDE lets you configure samba in the file manager.
There's Cockpit the web based GUI from Red Hat. It comes pre-installed with Fedora Server, but I think needs to be installed on RHEL. I've only briefly played around with it and my impression was the server software it supports isn't hugely extensive. Eg. there doesn't seem to be an nginx plug-in. But it really comes down to what you want to do. There's a plug-in for configuring Samba file shares.

But as @davids877 said, best to learn to use the terminal if you want to use Linux servers.
 
I'll have a week to think about it. Generally I just want file sharing, a bittorrent interface, and media playback. I can explore adding new features over time, and think about if i really want the server accessible over the internet - if i decide I want to run Plex I need to ensure it's locked down tighter then a nun's knickers.
 
I'll have a week to think about it. Generally I just want file sharing, a bittorrent interface, and media playback. I can explore adding new features over time, and think about if i really want the server accessible over the internet - if i decide I want to run Plex I need to ensure it's locked down tighter then a nun's knickers.
You should look at qBittorrent nox - it's a headless version of qBittorrent and can run in a Docker/Podman container. I don't use a media server, but Jellyfin seems like a popular alternative to Plex.
 
You should look at qBittorrent nox - it's a headless version of qBittorrent and can run in a Docker/Podman container. I don't use a media server, but Jellyfin seems like a popular alternative to Plex.
I did see those... I might try setting up a test bed on my laptop (or copying an existing one) so I can try it out. Probably will use RHEL because if i ever get serious about learning linux that's what companies here use
 
I think I had a the problem you described with apt borking updates causing a no boot. This happened to me with Kubuntu and only that distro. The other ubuntu derived distros I've used for long period stretches are Popos and Mint and neither have had that issue. Maybe it's not specifically an apt thing but something else baked into the distro? Currently on Mint for the past year and it has been solid with no issues even with my weird hardware setup.
You know. I haven’t experienced it with Mint, it wouldn’t surprise me if it was Ubuntu specific.

Reminder that Mint is based on Ubuntu as but more so Debian, so it’s possible whatever gets fucked with apt is Ubuntu specific and Mint isn’t affected. Not sure about PopOS but it’s worth looking into. It wouldn’t surprise me. Kali also did this though, and is based off of Debian
 
I mean, graphical configuration tools exists for some of the major stuff, but anything more complicated i'd admittedly just use the commandline. But it would be nice to be able to visually see the configurations and status.
that's not very cost beneficial tho, you only set it up once and then you're done. if you run a farm you just gonna re-use your existing config (if not whole image) and change some settings, but again only once. there's no need to have a GUI to make it easier to constantly change stuff (which depending who you ask would be slower anyway).

depending on your setup status gets forwarded anyway into it's software or service.
 
Not like it’s super easy to just replicate on a whim. It’s something to do with a retrieval failure, or timed out apt install, once it just ran into a write error and crashed out, someone running the update (not me) didn’t realize it, issued a reboot and the machine did not come back up. (Until we used the KVM provided by the hosting service to bring it back up after some work)
Every package manager will brick your system if it suddenly can't write to disk while performing an update. Apt-get isn't special here.
 
Back