install older version of package on ubuntu/debian

Install older version of package on ubuntu/debian Intro I had a problem installing gitlab-ce a newer version, because it was a mayor update you first needed to install a older version. Fixing it [mermaid] flowchart TD start([Start]) –> step1(apt-get update) –> step2(apt-cache show gitlab-ce | grep Version) –> step3(apt-get install gitlab-ce=14.0.12-ce.0) –> step4(apt-get install gitlab-ce) –> finish([Finished]) [/mermaid] So in text apt-get update apt-cache show <package_name> apt-get install <package_name>= apt-get install <package_name> Later,
One minute to read

loop device mount partitions

If you have a disk image with multiple partitions, this type of image is used a lot for the raspberry pi, you can easily mount them using kpartx, you can install kpartx as follows

arch linux / manjaro sudo pacman -S multipath-tools # ubuntu 24.04 sudo apt install kpartx # centos 8 / oracle sudo yum install kpartx Maybe you need to insert the loop module, if so you can do that like this

One minute to read