[[+content_image]]
D
D
DVoropaev2020-12-29 11:40:36
linux
DVoropaev, 2020-12-29 11:40:36

How can I find out why I can't install packages on ALT Linux?

I uploaded the image to a USB flash drive, started in Live mode, and tried to install some package:

[[email protected] ~]$ sudo apt-get update
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
[[email protected] ~]$ sudo apt-get install nmap
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
E: Невозможно найти пакет nmap
[[email protected] ~]$

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
DVoropaev, 2021-06-22
@DVoropaev

nmap is in the repositories. The problem turned out to be that these repositories were commented out in the Live distribution.

A
Alexey Dmitriev, 2020-12-29
@SignFinder

In the connected repositories there is no such package - nmap.
What repositories do you have enabled? Their settings are stored in /etc/apt/sources.list or sources.list.d
. They are enabled through Enabled = 1 in the corresponding files.
apt-cache search nmap shows what?

S
Sanes, 2020-12-29
@Sanes

There they have a graphical settings utility. In live mode, repositories seem to be disabled. Previously, I turned them on manually in this mode.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question