1

Solved! See comments below for the solution.

I'm trying to install i3 on Debian buster and it can't find the package. I'm not sure what I'm missing so I can install this package.

These are the errors that I'm getting:

> apt install i3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package i3
> apt install i3-wm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package i3-wm

This is my /etc/apt/sources.list file

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

I've tried running apt update and apt-get update, before trying to install the package but got the same error.

Here's the Debian repo: https://packages.debian.org/sid/i3

And the tracker: https://tracker.debian.org/pkg/i3-wm

In case it helps, I tried installing Zeal but am getting the same error.

Am I missing a setting or something to be able to install these packages?

Andrew Schulman
  • 8,811
  • 21
  • 32
  • 47
NoahLE
  • 113
  • 1
  • 6

2 Answers2

2

You currently only have the LTS and updates repositories. These have only updates, not all packages. You're missing the base Debian repositories, i.e.:

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
2

Your /etc/apt/sources.list is missing these lines:

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main 

Then apt-get update, apt-get upgrade and apt install i3.

Esa Jokinen
  • 46,944
  • 3
  • 83
  • 129