1. Synaptic package manager history
( history of manually installed packages does not exist )
1.1 From Terminal
1.2 From Synaptic
### 1.1 From terminal
Display only the history files and the date of their creation.
```
ls -lt /var/log/apt/history* | awk '{print $6,$7,$8,$9}'
```
For example.
```
$ ls -lt /var/log/apt/history* | awk '{print $6,$7,$8,$9}'
Oct 1 00:00 /var/log/apt/history.log
Sep 30 03:56 /var/log/apt/history.log.1.gz
Aug 31 14:11 /var/log/apt/history.log.2.gz
Jul 30 20:24 /var/log/apt/history.log.3.gz
Jun 29 11:47 /var/log/apt/history.log.4.gz
May 27 03:41 /var/log/apt/history.log.5.gz
Apr 30 20:17 /var/log/apt/history.log.6.gz
Mar 26 2021 /var/log/apt/history.log.7.gz
Feb 20 2021 /var/log/apt/history.log.8.gz
Jan 31 2021 /var/log/apt/history.log.9.gz
Dec 29 2020 /var/log/apt/history.log.10.gz
Nov 30 2020 /var/log/apt/history.log.11.gz
Oct 25 2020 /var/log/apt/history.log.12.gz
```
----
Displaying all logs at once.
```
ls -lt /var/log/apt/history* | awk '{print $9}' | xargs zcat -f
```
Displaying all logs at once with file name in red.
```
while read -r LINE ; do \
echo -e "\e[01;31m $LINE \e[0m" ; zcat $LINE ; \
done <<< $(ls -lt /var/log/apt/history* | awk '{print $9}')
```
----
Filtration.
From these files, display only lines containing the words "Purge" and "Remove" and "Start-Date".
```
ls -lt /var/log/apt/history* | awk '{print $9}' | xargs zgrep "Purge\|Remove\|Start-Date"
```
From these files, display only lines containing the words "Install" , "Upgrade" , "Start-Date".
```
ls -lt /var/log/apt/history* | awk '{print $9}' | xargs zgrep "Install\|Upgrade\|Start-Date"
```
### 1.2 From Synaptic
Open Synaptic ( package manager )
Inside from menu choose
** "File" --> "History"**
and check what you did last time.
sudo su -
apt-get update
apt-get dist-upgrade
apt-get install plasma-nm
Nie znam dobrze KDE 5, ale na początku bym sprawdził czy aplet NM masz dodany do autostartu podczas logowania KDE.
Z pobieżnych poszukiwań wygląda na to, że wrąbało pakiet plasma-nm. Zainstaluj, ale sprawdziłbym jeszcze czy system jest w pełni zaktualizowany:
Powodzenie zależy od tego ile PPA jest nalepione w systemie i czy był w miarę na bieżąco aktualizowany.