Daily Archives: 28 September 2022

Ubuntu Distribution Upgrade: Not enough free disk space

Recently, we tried to upgrade an Ubuntu 20.04 desktop to a 22.04. At some point in the update, we got the following error:

The upgrade has aborted. The upgrade needs a total of 10,6 G free space on disk '/'. Please free at least an additional 8201 M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'. The upgrade has aborted. The upgrade needs a total of 430 M free space on disk '/boot'. Please free at least an additional 38,4 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove' and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs.

First of all, we tried to use the command apt autoremove to clear up some space, which unfortunately was not enough.

sudo apt autoremove;

Then to clear up some space, we needed to find remnant memories of older versions of the Kernel. To do so, we used the following command. The following command finds the current version of the kernel and shows the user the remaining packages that do not reflect the active kernel.

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d;/^linux-\(headers\|image\)/!d';

Then we removed all the headers and the images that we did not need using the command apt-get purge.

$ dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d;/^linux-\(headers\|image\)/!d'

$ sudo apt-get -y purge linux-headers-5.13.0-52-generic linux-headers-5.15.0-46-generic linux-image-5.15.0-46-generic;

Doing so was enough to clear up the space that was needed for the upgrade to continue.

19th place for Cypriot Hackers in the European Cyber Security Competition. Cyprus won 19th place in the Pan-European Cyber Security Competition

The Cypriot Cybersecurity Team took 19th place in the Pan-European Cybersecurity Competition held in Vienna from September 12th to September 16th.

The competition was attended by 28 countries from Europe and Canada, the United States of America, the United Arab Emirates, Israel, and Serbia, with people aged 14-25 students, students, professionals, hackers, security researchers, and self-taught enthusiasts in the field of cyber security.

The Cypriot team was represented by Vassilis Charalambos (Team Leader), Andreas Tsouloupas, Odysseas Stavrou, Eleni Ioakeim, Christodoulos Sotiriou, Panagiotis Gabriel, Christos Falas, Joseph Modestou, Marios Kailis, and Evangelos Liudakis. The team was accompanied and trained by the coaches: Marios Nicolaidis, Christos Makridis, and Nikolas Markitanis. Simon Loizidis and George Michael represented Cyprus on behalf of the European Coordinating Committee.

The first three places were occupied by Denmark, Germany, and France.

The ECSC competition is an initiative of the European Network and Information Security Agency (ENISA) and aims to identify new talent in the field of cybersecurity, as well as encourage young people to pursue careers in the field.

The organization and the whole effort are supported by the Cyprus Computer Society, the Cypriot Cybersecurity Community CYberMouflons, and the organization is under the auspices of the Ministry of Defence, the Ministry of Education, Culture, Sports and Youth, the Cyprus Police, and the Digital Security Authority through the Office of the Communications Commissioner.

The participation of our National team would not be possible without the support of the sponsors: Adacom Cyber Security, Defense.com, Deloitte, European University Cyprus, Exness, Frederick University, Grant Thornton, KPMG, Odyssey Cybersecurity, Oracle Academy, Try Hack Me, University of Central Lancashire (UCLan) Cyprus and XM as well as supporters HostingB2B, MVPS.net, ICSI, Offensive Security, RedPoint, Robo Cy and SCP Academy, Silensec and Cyber Ranges.

More information on the websites, https://ecsc.eu/, https://www.ccsc.org.cy, and social networks.