Solved! See comments below for the solution.
我正在尝試在Debian buster上安裝i3,但找不到軟體包.我不確定缺少什麼,因此可以安裝此軟體包。
這些是我得到的錯誤:
> 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
這是我的天才 檔案
/etc/apt/sources.list
我尝試執行
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
和
apt update
,然後尝試安裝軟體包,但出現相同的錯誤。
這是Debian仓庫:https://packages.debian.org/sid/i3
和跟蹤器:https://tracker.debian.org/pkg/i3-wm
如果有帮助,我尝試安裝zeal,但出現相同的錯誤. / p>
我是否缺少設置或安裝這些軟體包的东西?
apt-get update
最新回復
- 5月前1 #
- 5月前2 #
您目前仅具有LTS和更新儲存庫.這些仅具有更新,而不是所有軟體包.您缺少基本的Debian儲存庫,即:
deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main
相似問題
- ubuntu:如何配置add-apt-repository以自動更新debian上的packages索引?debianubuntuapt2021-01-05 00:55
- apt:Debian等效於dnf --installrootdebianaptdebootstrap2020-12-30 07:24
- domain name system:繫結专用VM?domainnamesystemdebianbinddebianbuster2020-12-29 14:55
- debian:如何按照我们的意圖通過Apt安裝軟體包?debianaptsoftwareinstallationdependencies2020-12-29 13:26
- apt:如何获得旧的Debian軟體包元資料?debianaptpackagemanagement2020-12-19 11:28
您的
/etc/apt/sources.list
缺少這些行:然後
apt-get update
,apt-get upgrade
和apt install i3