J
J
Jourloy2018-05-02 15:37:55
linux
Jourloy, 2018-05-02 15:37:55

How to restore the work of the Application Center and apt-get?

I installed kali linux from the official site via a flash drive on a dos-laptop
. Everything seems to be super, but not all.
The app center starts but gives an error
. Installing/updating via apt-get gives this:

[email protected]:~# apt-get update
Игн:1 http://security.kali.org/kali-security sana/updates InRelease            
Игн:2 http://http.kali.org/kali sana InRelease                                 
Ошк:3 http://security.kali.org/kali-security sana/updates Release
  404  Not Found [IP: 192.99.200.113 80]
Ошк:4 http://http.kali.org/kali sana Release
  404  Not Found [IP: 192.99.200.113 80]
Чтение списков пакетов… Готово
E: Репозиторий «http://security.kali.org/kali-security sana/updates Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, и поэтому по умолчанию он отключён.
N: Смотрите справочную страницу apt-secure(8) о создании репозитория и настройке пользователя.
E: Репозиторий «http://http.kali.org/kali sana Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, и поэтому по умолчанию он отключён.
N: Смотрите справочную страницу apt-secure(8) о создании репозитория и настройке пользователя.

How can this be fixed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Jourloy, 2018-05-02
@Jourloy

/etc/apt/sources.list should have only one line left:
Now apt-get will update and install everything fine

P
Pavel Gruznykh, 2018-05-02
@pavelcarcass

Probably like this .

A
Alexander, 2018-05-02
@NeiroNx

you need to update the lists of repositories /etc/apt/sources.list most likely the hosting has changed or it is under the blocking of the rkn. You need to register new links to replace the outdated ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question