Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
125
views
Difference between security and LTS support in Debian
Total newbie here so please bear with me. I have a laptop on which I have installed Debian 11.6 I want to check if my OS has reached EOL. In the official Debian webpage, I see [the following list][1] (screenshot below). My question is "does 11.6 fall into LTS category"? How can I make sure my OS rec...
Total newbie here so please bear with me.
I have a laptop on which I have installed Debian 11.6
I want to check if my OS has reached EOL.
In the official Debian webpage, I see the following list (screenshot below).
My question is "does 11.6 fall into LTS category"?
How can I make sure my OS receiving security updates?

PhantomMenace
(27 rep)
Jan 14, 2025, 12:13 PM
• Last activity: Jan 14, 2025, 12:27 PM
3
votes
1
answers
1414
views
Pop os 22.04 LTS freezing randomly
edit: I'm guessing its the new NVIDIA version 555 that rolled out yesterday, I reverted it back to 550 and I'll be testing it for full day to see if it solves this. it's Pop os 22.04 LTS, Gnome version 42.9. (I really don't know what info is needed to help me here. If it keeps happening, I will upda...
edit: I'm guessing its the new NVIDIA version 555 that rolled out yesterday, I reverted it back to 550 and I'll be testing it for full day to see if it solves this.
it's Pop os 22.04 LTS, Gnome version 42.9.
(I really don't know what info is needed to help me here. If it keeps happening, I will update and keep this post up.)
I have been having this issue for some time now, ever since I fully updated my system with Cosmic Store. My whole screen plus mouse would freeze, but whatever was playing before the freeze still could be heard. It seems to freeze after 7 minutes from login.
I keep having to use the old kernel version, but it will freeze after 3+ hours or so.
The first time it froze, I used ctrl+alt+f3 to delete the gnome shell, which seemed to work... then it froze again after some minutes.
I installed smartmontools and my hard drive overall health is good, no errors logs.
used "dmesg" command, everything in kernel(?) seems fine.
doing the "journalctl -xe" command, the logs are all green.
Here's the result of the "journalctl -e | grep ERROR" command:
Jul 26 05:24:54 pop-os vesktop.desktop: [5169:0726/052454.161121:ERROR:vaapi_wrapper.cc(1585)] Could not get a valid VA display
Jul 26 05:24:54 pop-os vesktop.desktop: [5169:0726/052454.161217:ERROR:vaapi_video_decoder.cc(1212)] failed initializing VaapiWrapper for profile h264 high,
S SS
(51 rep)
Jul 26, 2024, 02:01 AM
• Last activity: Jul 28, 2024, 05:56 PM
3
votes
2
answers
7713
views
Ubuntu 18.04 Release Upgrade problem
Upon reading [this question](https://unix.stackexchange.com/questions/748500/ubuntu-18-04-python-update-problem) and its answer, I signed up for an Ubuntu Pro account and attached my machine using `sudo pro attach TOKEN` I then ran `sudo apt update`, followed by `sudo apt upgrade` and continue to ge...
Upon reading [this question](https://unix.stackexchange.com/questions/748500/ubuntu-18-04-python-update-problem) and its answer, I signed up for an Ubuntu Pro account and attached my machine using
sudo pro attach TOKEN
I then ran sudo apt update
, followed by sudo apt upgrade
and continue to get the following unauthorized errors for all Python packages. Still getting the error message below:
package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libnghttp2-14 libpython2.7 libpython2.7-dev libpython2.7-minimal
libpython2.7-stdlib libpython3.6 libpython3.6-minimal libpython3.6-stdlib
python2.7 python2.7-dev python2.7-minimal python3.6 python3.6-minimal
13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
13 esm-infra security updates
Need to get 38.9 MB of archives.
After this operation, 79.9 kB disk space will be freed.
Err:1 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7-dev amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:2 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-dev amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:3 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7 amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:4 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:5 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:6 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:7 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:8 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:9 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:10 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:11 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:12 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.13
401 Unauthorized [IP: 185.125.190.24 443]
Err:13 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 libnghttp2-14 amd64 1.30.0-1ubuntu1+esm1
401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7-dev_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-dev_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-stdlib_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python2.7/libpython2.7-minimal_2.7.17-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/python3.6_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/python3.6-minimal_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/p/python3.6/libpython3.6-minimal_3.6.9-1~18.04ubuntu1.13_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/n/nghttp2/libnghttp2-14_1.30.0-1ubuntu1+esm1_amd64.deb 401 Unauthorized [IP: 185.125.190.24 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I know 18.04 has reached End of Life (EoL), but this is an older desktop that doesn't get used or upgraded regularly, so it slipped by.
Any ideas on how to work around this so I can upgrade to the latest LTS release?
Drake
(33 rep)
Jun 10, 2023, 04:10 PM
• Last activity: Feb 7, 2024, 08:02 AM
41
votes
5
answers
100217
views
How to switch arch linux to lts kernel?
I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the [lts kernel][1]. I already installed the `linux-lts` and `linux-lts-headers` packages. Now, I got both kernels installed but I'm a bit...
I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the lts kernel .
I already installed the
linux-lts
and linux-lts-headers
packages. Now, I got both kernels installed but I'm a bit clueless how to continue from here. The docs explain :
> [...] you will need to update your bootloader's configuration file to use the LTS kernel and ram disk: vmlinuz-linux-lts
and initramfs-linux-lts.img
.
I already located them in the boot section:
0 ✓ root@host ~ $ ll /boot/
total 85M
4,0K drwxr-xr-x 4 root root 4,0K 21. Mai 13:46 ./
4,0K drwxr-xr-x 17 root root 4,0K 4. Apr 15:08 ../
4,0K drwxr-xr-x 6 root root 4,0K 4. Apr 14:50 grub/
27M -rw-r--r-- 1 root root 27M 20. Mai 17:01 initramfs-linux-fallback.img
12M -rw-r--r-- 1 root root 12M 20. Mai 17:01 initramfs-linux.img
27M -rw-r--r-- 1 root root 27M 21. Mai 13:46 initramfs-linux-lts-fallback.img
12M -rw-r--r-- 1 root root 12M 21. Mai 13:46 initramfs-linux-lts.img
16K drwx------ 2 root root 16K 4. Apr 14:47 lost+found/
4,3M -rw-r--r-- 1 root root 4,3M 11. Mai 22:23 vmlinuz-linux
4,2M -rw-r--r-- 1 root root 4,2M 19. Mai 21:05 vmlinuz-linux-lts
Now, I already found entries pointing to the non-lts kernel in the grub.cfg
but the header tells me not to edit this file. It points me to the utility grub-mkconfig
instead but I can not figure out how to use this tool to tell grub which kernel and ramdisk to use.
How to switch archlinux with grub to the lts kernel? What else do I have to be cautious about when switching the kernel?
q9f
(2418 rep)
May 21, 2016, 12:01 PM
• Last activity: Nov 13, 2023, 06:04 AM
-1
votes
1
answers
198
views
Why Debian requires manual edit of /etc/apt/source.list to receive LTS updates?
Why in Debian, you must manually edit your `/etc/apt/source.list` in order to receive LTS updates as explained in the [official Debian LTS Wiki](https://wiki.debian.org/LTS/Using)? Why it's not like Ubuntu where LTS updates arrive without the need of this manual change on `/etc/apt/source.list`? thi...
Why in Debian, you must manually edit your
/etc/apt/source.list
in order to receive LTS updates as explained in the [official Debian LTS Wiki](https://wiki.debian.org/LTS/Using) ?
Why it's not like Ubuntu where LTS updates arrive without the need of this manual change on /etc/apt/source.list
?
this is the an original /etc/apt/source.list
after the install
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
and this is the one from [official Debian LTS Wiki](https://wiki.debian.org/LTS/Using)
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
nulll
(235 rep)
Jul 31, 2023, 03:50 PM
• Last activity: Jul 31, 2023, 05:15 PM
0
votes
1
answers
1206
views
Debian testing + LTS kernel
Is there a way to run **debian testing** (actual is bookworm) but with **LTS kernel**, something like in arch linux there is a `linux-lts` package. I want to avoid constantly jumping to very new kernel.
Is there a way to run **debian testing** (actual is bookworm) but with **LTS kernel**, something like in arch linux there is a
linux-lts
package. I want to avoid constantly jumping to very new kernel.
EdiD
(342 rep)
Jun 15, 2022, 10:08 AM
• Last activity: Jun 28, 2022, 12:19 AM
2
votes
0
answers
2531
views
How to switch Void Linux to "linux-lts" kernel?
I already installed the "linux-lts" and "linux-lts-headers" but can't see it as an option to pick up in Grub login screen. Yes I've visited the page: https://docs.voidlinux.org/config/kernel.html And already run "sudo xbps-reconfigure linux-lts" in a terminal. What am I missing? Thank you.
I already installed the "linux-lts" and "linux-lts-headers" but can't see it as an option to pick up in Grub login screen. Yes I've visited the page: https://docs.voidlinux.org/config/kernel.html And already run "sudo xbps-reconfigure linux-lts" in a terminal.
What am I missing?
Thank you.
Bave Sherko
(21 rep)
Apr 26, 2022, 08:24 PM
0
votes
1
answers
1022
views
How to do math in If-Statement
I have a Bash script which should only execute in a specific time window (from midnight to 00:15 AM). But if I execute the function, I get `[: too many arguments` as an error message. How do I solve it? I still want to use Bash. I'm using Ubuntu Server 20.04 LTS. Script: currTime=`date +%H%M` check_...
I have a Bash script which should only execute in a specific time window (from midnight to 00:15 AM). But if I execute the function, I get
[: too many arguments
as an error message. How do I solve it? I still want to use Bash. I'm using Ubuntu Server 20.04 LTS.
Script:
currTime=date +%H%M
check_time_to_run() {
tempTime=$1
if [ $tempTime -gt 0 -a $tempTime -lt 015 ]; then
echo "Time is after 0 AM and before 0:10 AM. Restarting Server."
else
echo "Time is not between 0 AM and 0:15 AM. Aborting restart."
exit 1
fi
}
Niklas
(103 rep)
Dec 23, 2021, 04:17 PM
• Last activity: Dec 23, 2021, 07:41 PM
1
votes
1
answers
817
views
Create own package repo for an offline Ubuntu machine
I have some offline Ubuntu 18.04 LTS amd64 machines for sw development and I need to create a package repository for them. (or in worst case a directory containing the packages). How can I solve this? I need a collection of common c++ and python related packages (standard c++ libs, pip, numpy, ...)...
I have some offline Ubuntu 18.04 LTS amd64 machines for sw development and I need to create a package repository for them. (or in worst case a directory containing the packages).
How can I solve this?
I need a collection of common c++ and python related packages (standard c++ libs, pip, numpy, ...)
with all dependencies.
Appreciate every answer
Edit: the point is how to get the packages on another (type of) system.
RobertSzili
(121 rep)
Nov 3, 2020, 12:16 PM
• Last activity: Nov 3, 2020, 08:23 PM
0
votes
1
answers
98
views
Best Practice for long term Linux/Ubuntu laptop usability
I have been using several Linux distros for about 20 years, and Linux as my main laptop OS for about 10. Several times, after installing software (notably different python or perl versions) or upgrading (`apt-get upgrade`) I run into incompatibility issues and instabilities which some times led me t...
I have been using several Linux distros for about 20 years, and Linux as my main laptop OS for about 10.
Several times, after installing software (notably different python or perl versions) or upgrading (
apt-get upgrade
) I run into incompatibility issues and instabilities which some times led me to reinstall the system afresh.
I currently use Lubuntu (LTS version), and various Virtual Machines / Docker Containers to keep my critical applications running independently of my base system.
Is there any *accepted best practice* about how to keep a properly functioning system for long term use, while having access to the latest version of installed software?
RafDouglas C. Tommasi
(473 rep)
Mar 12, 2020, 11:31 AM
• Last activity: Mar 14, 2020, 10:52 PM
2
votes
1
answers
466
views
Does KDE Neon use Ubunu LTS point releases?
The KDE Neon [FAQ][1] mentions it's build on Ubuntu LTS 18.04. It doesn't mention which point release of Ubuntu LTS it's using. I would like to try out KDE Neon, but I know my laptop doesn't work well (or at all) on kernel versions before 4.19. Default LTS comes with kernel 4.5 and is not an option....
The KDE Neon FAQ mentions it's build on Ubuntu LTS 18.04. It doesn't mention which point release of Ubuntu LTS it's using.
I would like to try out KDE Neon, but I know my laptop doesn't work well (or at all) on kernel versions before 4.19. Default LTS comes with kernel 4.5 and is not an option. According to the Ubuntu kernel overview , Ubuntu 18.04.3 would be the first version that would work for me.
1. Does KDE Neon follow Ubuntu point releases?
2. Alternatively, is it possible to manually enable the HWE as described on the Ubuntu wiki ? With:
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
Or would that break the KDE Neon update system?
Tim
(1104 rep)
Feb 14, 2020, 10:50 AM
• Last activity: Feb 16, 2020, 01:17 PM
1
votes
2
answers
2134
views
I can't make a GRUB config
A few weeks ago, I accidentally updated my kernel, and out of nowhere I got these strange pixelated lines all over my screen. So, I decided to try and use the linux-lts kernel. But, when I tried to chroot into my root directory run `grub-mkconfig /dev/sda` I got `/usr/bin/grub-probe: error: cannot f...
A few weeks ago, I accidentally updated my kernel, and out of nowhere I got these strange pixelated lines all over my screen. So, I decided to try and use the linux-lts kernel. But, when I tried to chroot into my root directory run
grub-mkconfig /dev/sda
I got
/usr/bin/grub-probe: error: cannot find a device for / (is /dev mounted?)
I am running 32 bit Void.
Gosh Darn
(11 rep)
Dec 21, 2018, 11:17 PM
• Last activity: Feb 15, 2019, 02:41 PM
0
votes
1
answers
385
views
Ubuntu Server 18.04.1 LTS dual boot with Windows 7 on separate Hard Drives
I'm trying to make dual boot (Ubuntu server and Windows 7), installed on separated hard drives. But GRUB don't recognize Windows 7 boot. I've tried "sudo grub-update" along with "sudo os-prober". The "os-prober" finds the Windows 7, but when I update GRUB configuration, the Windows entry don't show...
I'm trying to make dual boot (Ubuntu server and Windows 7), installed on separated hard drives. But GRUB don't recognize Windows 7 boot.
I've tried "sudo grub-update" along with "sudo os-prober". The "os-prober" finds the Windows 7, but when I update GRUB configuration, the Windows entry don't show up. I've tried so hard to find a solution, but I can't find one.
Elias Santos
(1 rep)
Oct 3, 2018, 03:13 PM
• Last activity: Oct 10, 2018, 05:06 PM
6
votes
2
answers
3925
views
What are linux long term support kernels?
I'm running an arch linux server and recently switched to an `lts` kernel from the repositories. Since I'm not rebooting the server very often, I want a stable kernel that is supported for a very long time. However, I noticed this specific [arch linux lts kernel][1] keeps getting updates. Some weeks...
I'm running an arch linux server and recently switched to an
lts
kernel from the repositories.
Since I'm not rebooting the server very often, I want a stable kernel that is supported for a very long time. However, I noticed this specific arch linux lts kernel keeps getting updates. Some weeks ago I had installed the kernel 4.4.11 and now already a 4.4.12 update comes in.
Being surprised about the 'high' update rate on the lts kernel track, I checked kernel.org and it states the latest longterm kernel is already 4.4.13, so I guess I have to update soon again on my server.
The linux.com blog states , that the 4.4 kernel will be maintained for at least 2 years. But since there are already 13 updates (as in 4.4.13) in the last 5 months I don't really see the benefit of the long term support kernel.
With such a high update frequency I could also run my server on the latest stable kernel and I would be not much more busy with updates than on the lts track.
So, please explain me, what is the LTS kernel exactly designed for?
q9f
(2418 rep)
Jun 8, 2016, 03:08 PM
• Last activity: May 2, 2018, 07:40 PM
0
votes
1
answers
194
views
Can I move from Lubuntu to LXLE?
It looks like there's a new LTS release of Lubuntu coming soon, and I would like to switch to LTS for the stability. While I'm at it, though, I'm curious to try LXLE. Is it possible to make a shift from the current/latest Lubuntu over to LXLE without losing existing apps, settings, themes etc.? Or w...
It looks like there's a new LTS release of Lubuntu coming soon, and I would like to switch to LTS for the stability. While I'm at it, though, I'm curious to try LXLE. Is it possible to make a shift from the current/latest Lubuntu over to LXLE without losing existing apps, settings, themes etc.? Or would it be better to do a clean install?
Also, I couldn't find anything about the release schedule for LXLE. Will there be a new release of it at the same time as the LTS version of Lubuntu?
Dylan Kinnett
(157 rep)
Apr 15, 2018, 07:01 PM
• Last activity: Apr 15, 2018, 08:09 PM
Showing page 1 of 15 total questions