---
title: "Ubuntu 21 (impish) updates unavailable"
url: https://michalasobczak.pl/posts/ubuntu-21-impish-updates-unavailable.html
author: "Michał Sobczak"
description: "I was trying to add some new packages and figured it out that my Ubuntu 21 is out of date. Unfortunately some time ago I unchecked all repositories in Software & Updates so my /etc/apt/sources.list was empty."
published: 2022-08-21T09:16:06.000Z
updated: 2022-09-13T22:03:23.000Z
language: en
categories: ["Technology"]
tags: ["Ubuntu"]
license: CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/)
---
# Ubuntu 21 (impish) updates unavailable

I was trying to add some new packages and figured it out that my Ubuntu 21 is out of date. Unfortunately some time ago I unchecked all repositories in Software & Updates so my /etc/apt/sources.list was empty. But I managed to have it working properly adding this one:

```text
deb http://old-releases.ubuntu.com/ubuntu impish main universe
```

Next

```bash
apt update
```

and I was more or less back on the track. How trivial was it just to be able to install default-jre package as I am trying to learn how to build custom deb packages.
