В моем sources.list
10 репозиториев, но только 4 возвращают результаты. Это нормально?
Я также не могу выполнить apt-get install detect
(возвращает ошибку).
Мой sources.list
:
# deb cdrom:[Kubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171017.1)]/ artful main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://my.archive.ubuntu.com/ubuntu/ artful main restricted
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://my.archive.ubuntu.com/ubuntu/ artful-updates main restricted
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://my.archive.ubuntu.com/ubuntu/ artful universe
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful universe
deb http://my.archive.ubuntu.com/ubuntu/ artful-updates universe
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://my.archive.ubuntu.com/ubuntu/ artful multiverse
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful multiverse
deb http://my.archive.ubuntu.com/ubuntu/ artful-updates multiverse
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://my.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
# deb-src http://my.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu artful partner
# deb-src http://archive.canonical.com/ubuntu artful partner
deb http://security.ubuntu.com/ubuntu artful-security main restricted
# deb-src http://security.ubuntu.com/ubuntu artful-security main restricted
deb http://security.ubuntu.com/ubuntu artful-security universe
# deb-src http://security.ubuntu.com/ubuntu artful-security universe
deb http://security.ubuntu.com/ubuntu artful-security multiverse
## deb https://deb.opera.com/opera-stable/ stable non-free
# deb-src https://deb.opera.com/opera-stable/ stable non-free
# deb-src http://security.ubuntu.com/ubuntu artful-security multiverse
Когда я запускал apt-get update
:
marcus@craetech-dt:~$ sudo apt-get update
[sudo] password for marcus:
Hit:1 http://my.archive.ubuntu.com/ubuntu artful InRelease
Hit:2 http://security.ubuntu.com/ubuntu artful-security InRelease
Hit:3 http://my.archive.ubuntu.com/ubuntu artful-updates InRelease
Hit:4 http://my.archive.ubuntu.com/ubuntu artful-backports InRelease
Reading package lists... Done
, я получал гораздо больше результатов.
Благодарим за любую предоставленную помощь. Спасибо!
наличие "всего 4 результата" это нормально, поскольку у Вас есть много "дублирующихся" URL в Вашем исходном списке.
Например, эти 3 строки:
deb http://security.ubuntu.com/ubuntu artful-security main restricted
deb http://security.ubuntu.com/ubuntu artful-security universe
deb http://security.ubuntu.com/ubuntu artful-security multiverse
считаются как 1 URL, и Вы, возможно, записали им как единственный
deb http://security.ubuntu.com/ubuntu artful-security main restricted universe multiverse
Что касается sudo apt-get install discover
ошибка, необходимо отредактировать вопрос и отправить точную ошибку, которую Вы получаете.