Closed JFLim1 closed 2 years ago
The maximum size of the persistent journal can be controlled by uncommenting and changing the following:
vi /etc/systemd/journald.conf
SystemMaxUse=50M
Create relevant directories to store journal logs, modify permissions, and restart systemd-journal services
mkdir -p /var/log/journal
chgrp systemd-journal /var/log/journal
chmod g+s /var/log/journal
systemctl restart systemd-journald
Clean journal files manually
# Remove archived journal files until the disk space they use falls below 10M:
journalctl --vacuum-size=10M
# Make all journal files contain no data older than 1 weeks.
journalctl --vacuum-time=1weeks
Update Software source Install Package Regarding the problem of changing the software source and installing the personalized software package, please try it yourself. Some software sources may not be suitable for your network, and some software packages may not be suitable for your system. Some commands are not necessarily executable on your system. You can search and solve specific problems by yourself.
Remove archived journal files until the disk space they use falls below 10M:
journalctl --vacuum-size=10M
Make all journal files contain no data older than 1 weeks.
journalctl --vacuum-time=1weeks
Just check there are only 4 files /media/jfl/ROOTFS/var/log/journal/195fae7165cf4e08808dd386e9f6e991. with a total size of less than 12 MB.
- Update Software source Install Package Regarding the problem of changing the software source and installing the personalized software package, please try it yourself. Some software sources may not be suitable for your network, and some software packages may not be suitable for your system. Some commands are not necessarily executable on your system. You can search and solve specific problems by yourself.
I have done this a few times, installing minimal gnome desktop or gnome on Bullseye. It had be documented here: https://www.linuxcapable.com/how-to-install-gnome-41-desktop-unstable-on-debian-11-bullseye/
As mentioned earlier, with your earlier image (Armbian_22.02.0_Aml_s922x_bullseye_5.15.15_2022.01.16.2138.img.gz) using the same method, I have successfully install gnome desktop from Debian Unstable without issue.
The issue now seems to be either the edited /etc/apt/sources.list is NOT being recognized or I does not understand the APT Error message.
I am NOT trying to installed personalized source list. Trying to install minimal gnome desktop. I also tried to install full gnome desktop with:
sudo apt -t unstable install gnome
also have the same APT Error!
the following commands can be installed
sudo apt update
sudo apt upgrade -y
sudo nano /etc/apt/sources.list
# add
deb http://deb.debian.org/debian experimental main
sudo apt update
sudo apt -t experimental install gnome-session gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs
just installed the desktop on jammy yesterday, the following 2 commands can be installed
sudo apt install ubuntu-desktop
Also install desktop on Jammy a week or 2 weeks ago using
sudo apt install ubuntu-desktop
No issue. Current using your Armbian Jammy with Ubuntu-Desktop to edit this message.
jfl@armbian:~$ cat /etc/ophub-release
VERSION_CODEID='ubuntu'
VERSION_CODENAME='jammy'
FDTFILE='meson-g12b-gtking-pro.dtb'
UBOOT_OVERLOAD='u-boot-gtkingpro-rev-a.bin'
MAINLINE_UBOOT='/usr/lib/u-boot/'
ANDROID_UBOOT='/usr/lib/u-boot/'
KERNEL_VERSION='5.15.36'
SOC='s922x-reva'
K510='0'
PACKAGED_DATE='2022-04-30'
jfl@armbian:~$
It is puzzling why in the new Armbian-Bullseye image, I cannot install Debian Unstable packages eventhough the sources.list include the reference to Debian Unstable. As far as i know this is normal way of getting Unstable packages on Bullseye with the correct pin to avoid installing all other Debian Unstable packages.
sudo apt update sudo apt upgrade -y sudo apt install gnome-tweaks apt-cache policy gnome-tweaks
Can you try
sudo apt -t unstable install gnome
On your Many 16 2022 Bullseye image?
Install Gnome on Debian 11 Bullseye
sudo apt update
sudo apt upgrade -y
sudo nano /etc/apt/sources.list
# add
deb http://deb.debian.org/debian experimental main
sudo apt update
sudo apt -t experimental install gnome-session gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs
sync && reboot
I just deleted all the /var/log/journal files and will retry again and report later.
Hi @ophub
Just to feedback.
sudo apt -t unstable install gnome
Works. Most likely my error. Did not perform sudo apt update after editing the /etc/apt/sources.list to include Debian Unstable.
Sorry to have troubled you. Thank you for your support and great works.
Hi @ophub
Just install Armbian_22.05.0_Aml_s922x-reva_bullseye_5.15.40_2022.05.16.1430.img.gz on a USB Flash Drive successful and also successfully expand the USB with armbian-tf.
During boot up there is an error:
[29.337593] systemd-journald[832]: Failed to read journal file /var/log/journal/....
Updated/Edited the /etc/apt/sources.list to include debian unstable repo as follows:
also had create a /etc/apt/preferences
and when I try to install Debian Unstable packages it give an Error:
On your older Bullseye image (Armbian_22.02.0_Aml_s922x_bullseye_5.15.15_2022.01.16.2138.img.gz) I have NO issue systemd-journald error and NO issue on install Debian Unstable Repo packages on Bullseye.