24
December
2021
Setting up MX Linux after a clean install: a better way
12:45

Setting up MX Linux after a clean install: a better way

24 December 2021 12:45

I decided to use the method of upgrading a Debian Buster system to Debian Bullseye in one go, using one command.

This is a continuation articles.

When I was installing computer updates at home, I noticed an interesting combination of command options apt:

The command is as follows:

apt full-upgrade -y

I decided to test it in action.
I reinstalled MX 19.4 on the same drive, then followed the steps:

The shortest way to update Linux to the next edition

  1. Specified in the files in the /etc/apt/sources/list.d directory the new repositories for the Debian "'Bullseye" release:
    etc_apt_sources.list.d.zip

  2. Updated update cache

    sudo apt-get update

  3. Updated the system in one action:

    apt full-upgrade -y

Installation of updates lasted about 8 hours (!). As you can see, there are 1797 updates in total.

  1. To all questions about replacing configuration files, this time the answer was “no” (N) - the Enter key, the default option.

After installation, I started removing unnecessary packages, which freed up 420 MB:
sudo apt autoremove

  1. To have a network, I enabled the mode with the SystemD bootloader:
    • Start - MX Tools - MX Boot Options (you will need the root password that you specified when installing the system
    • Kernel parameters:splash init=/lib/systemd/systemd quiet

Clicked "Apply" and "OK".

  1. Rebooted the PC.

The result was the release of MX-10.4 patio feo with the Debian "Bullseye" package base and the Linux 5.10 kernel,
the shortest way:

uname -r

5.10.0-10-amd64

After downloading there is the Internet, other options, no critical errors:

journalctl -b | grep error

Shows only problems ntpd with permission pool 0.debian.pool.ntp.org: Name or service not known.

Solving the problem with ntpd

Editing

sudo nano /etc/ntp.conf

\# pool 0.debian.poolntp.org iburst
\# pool 1.debian.poolntp.org iburst
\# pool 2.debian.poolntp.org iburst
\# pool 3.debian.poolntp.org iburst

pool 0.ru.pool.ntp.org iburst
pool 1.ru.pool.ntp.org iburst
pool 2.ru.pool.ntp.org iburst
pool 3.ru.pool.ntp.org iburst


Restarting the NTP service:
sudo systemctl restart ntp

Check:

ntpq -pn

$ntpq -pn

remote refid st t when poll reach delay offset jitter
\==================================================================================
0.ru.pool.ntp.o .POOL. 16 p - 64 0 0.000 +0.000 0.000
1.ru.pool.ntp.o .POOL. 16 p - 64 0 0.000 +0.000 0.000
2.ru.pool.ntp.o .POOL. 16 p - 64 0 0.000 +0.000 0.000
3.ru.pool.ntp.o .POOL. 16 p - 64 0 0.000 +0.000 0.000
{...}

The exact time service is working.



Related publications