That seems easy enough but how would you get the exact version number? Which old versions are supported? You can get that detail with:
```
sudo apt-cache policy package_name
```
Let me explain all this with a real-life example.
### Downgrading apt package
Recently, I was updating the Ubuntu server that hosts It's FOSS Community forum.
I did the usual apt update && apt upgrade and things went bonkers by the time updates were installed.
Apparently, the latest version of Docker didn't support the aufs storage driver. To reduce the downtime, I opted to downgrade to the previous Docker version.
Check the currently installed package version
![Installed Docker version][1]
Then check for the available versions that could be installed:
```
sudo apt-cache policy package_name
```
It may throw a huge list or just a small one:
![All installable versions of an apt package][2]
If it shows at least one older version than the current one, you are in luck.
Now, you may think that the version number of a package would be composed of just the numbers. But that may not always be the case.
Basically, you copy the entire stuff before 500 (the priority number).