შიგთავსზე გადასვლა

System Update

Task 5 — System Update

რეპოების განახლება

k@devserver:~$ sudo apt update
[sudo] password for k:
Hit:1 http://ge.archive.ubuntu.com/ubuntu noble InRelease
Get:2 http://ge.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:4 http://ge.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]
Get:6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.2 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]
Get:9 http://ge.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,740 kB]
Get:10 http://ge.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [175 kB]
Get:11 http://ge.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:12 http://ge.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB]
Get:13 http://ge.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:14 http://ge.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7,300 B]
Get:15 http://ge.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [212 B]
Get:16 http://ge.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [10.5 kB]
Get:17 http://ge.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Fetched 2,795 kB in 4s (758 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.
k@devserver:~$

სისტემის განახლება

apt upgrade -y

რეპოზიტორების განახლება:

sudo apt update

ინსტალაციები

git: კოდის ვერსიების მართვისთვის.
curl: ფაილების გადმოსაწერად ან API-სთან დასაკავშირებლად ტერმინალიდან.
vim: ტექსტური რედაქტორი (როცა nano აღარ გყოფნის).
htop: რომ ნახო, რამდენ ოპერატიულ მეხსიერებას (RAM) და პროცესორს (CPU) იყენებს შენი VM.
net-tools: ქსელური დიაგნოსტიკისთვის.

Git: sudo apt install -y git
Curl: sudo apt install -y curl
Vim: sudo apt install -y vim
Htop: sudo apt install -y htop
Net-tools: sudo apt install -y net-tools

k@devserver:~$ sudo apt install -y git
GIT უკვე დაყენებულია
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.43.0-1ubuntu7.3).
git set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

curl უკვე დაყენებულია

k@devserver:~$ sudo apt install -y curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (8.5.0-2ubuntu10.6).
curl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

vim უკვე დაყენებულია

k@devserver:~$ sudo apt install -y vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
vim is already the newest version (2:9.1.0016-1ubuntu7.9).
vim set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

htop უკვე დაყენებულია

k@devserver:~$ sudo apt install -y htop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
htop is already the newest version (3.3.0-4build1).
htop set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

net-tools - ის ინსტალაცია

k@devserver:~$ sudo apt install -y net-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  net-tools
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 204 kB of archives.
After this operation, 811 kB of additional disk space will be used.
Get:1 http://ge.archive.ubuntu.com/ubuntu noble-updates/main amd64 net-tools amd64 2.10-0.1ubuntu4.4 [204 kB]
Fetched 204 kB in 1s (192 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 87509 files and directories currently installed.)
Preparing to unpack .../net-tools_2.10-0.1ubuntu4.4_amd64.deb ...
Unpacking net-tools (2.10-0.1ubuntu4.4) ...
Setting up net-tools (2.10-0.1ubuntu4.4) ...
Processing triggers for man-db (2.12.0-4build2) ...
Scanning processes...
Scanning candidates...
Scanning linux images...

Running kernel seems to be up-to-date.

Restarting services...

Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart [email protected]
 systemctl restart systemd-logind.service
 systemctl restart unattended-upgrades.service

No containers need to be restarted.

User sessions running outdated binaries:
 k @ session #10: sshd[6338]
 k @ session #11: sshd[6340]
 k @ session #4: sshd[1039]
 k @ user manager service: systemd[1006]

No VM guests are running outdated hypervisor (qemu) binaries on this host.

ყველას გადამოწმება

git --version && curl --version && vim --version | head -n 1 && htop --version && ifconfig --version

git version 2.43.0
curl 8.5.0 (x86_64-pc-linux-gnu) libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.10
Release-Date: 2023-12-06, security patched: 8.5.0-2ubuntu10.6
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Sep 05 2025 19:44:46)
htop 3.3.0
net-tools 2.10