Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
root@localhost:~# apt install synaptic Reading package lists... DoneBuilding dependency treeReading state information... DonePackage synaptic is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'synaptic' has no installation candidate
Как должен выглядеть sources. List?
zg_nico@Thunderobot-G150T-S50:~$ cat /etc/apt/sources.list# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://archive.ubuntu.com/ubuntu bionic main restricted# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic main restricted## Major bug fix updates produced after the final release of the## distribution.deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu bionic universe# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic universedeb http://archive.ubuntu.com/ubuntu bionic-updates universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu bionic multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner # deb-src http://archive.canonical.com/ubuntu bionic partner deb http://archive.ubuntu.com/ubuntu bionic-security main restricted# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricteddeb http://archive.ubuntu.com/ubuntu bionic-security universe# deb-src http://security.ubuntu.com/ubuntu bionic-security universedeb http://archive.ubuntu.com/ubuntu bionic-security multiverse
cat /etc/apt/sources.list
add-apt-repository: command not found
Ощущение, что apt какой-то кастрированный
root@localhost:~# cat /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricteddeb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
add-apt-repository Нет cur~gen│14K│ 31 2016││~X11 │ 1│ 19 2018││*xcutsel │15K│ 31 2016││*.l2s~001│ 2M│ 10 2018││*xdg-~con│20K│ 10 2018││*.l2s~002│ 2M│ 10 2018││*xdg-~enu│42K│ 10 2018││*.l2s~001│45K│ 10 2018││*xdg-~ail│27K│ 10 2018││*.l2s~002│45K│ 10 2018││*xdg-~rce│29K│ 10 2018││*.l2s~001│ 4M│ 1 2018││*xdg-mime│41K│ 10 2018││*.l2s~002│ 4M│ 1 2018││*xdg-open│24K│ 10 2018││*.l2s~001│ ~K│ 28 2017││*xdg-~ver│37K│ 10 2018││*.l2s~002│ ~K│ 28 2017││*xdg-~ngs│37K│ 10 2018││*7z │ 39│ 5 2018││*xdg-~dir│234│ 23 2018││*7za │ 40│ 5 2018││*xdg-~ate│18K│ 23 2018││*7zr │ 40│ 5 2018││*xditview│84K│ 31 2016││@GET │ 11│ 26 2017││*xdpyinfo│31K│ 21 2017││@HEAD │ 11│ 26 2017││*xdriinfo│10K│ 21 2017││@POST │ 11│ 26 2017││*xedit │ 1M│ 31 2016││@Thunar │ 6│ 5 2018│├───────────
Кали удалил
echo -e "deb http://archive.ubuntu.com/ubuntu bionic universe\ndeb http://archive.ubuntu.com/ubuntu bionic multiverse" >> /etc/apt/sources.listapt updateapt install python2.7-minimal
echo -e "deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted\ndeb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted" > /etc/apt/sources.listapt update
root@localhost:~# apt install python2.7-minimalReading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package python2.7-minimalE: Couldn't find any package by glob 'python2.7-minimal'E: Couldn't find any package by regex 'python2.7-minimal'
root@localhost:~# apt updateErr:1 http://archive.canonical.com/ubuntu bionic InRelease Temporary failure resolving 'archive.canonical.com'Err:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'us.archive.ubuntu.com'Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'archive.ubuntu.com'Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'archive.ubuntu.com'Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]Ign:7 http://archive.ubuntu.com/ubuntu bionic-backports/main arm64 PackagesGet:8 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [1644 B]Ign:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe arm64 PackagesIgn:11 http://archive.ubuntu.com/ubuntu bionic-security/main arm64 PackagesIgn:13 http://archive.ubuntu.com/ubuntu bionic-security/restricted arm64 PackagesIgn:15 http://archive.ubuntu.com/ubuntu bionic-security/universe arm64 PackagesErr:7 http://archive.ubuntu.com/ubuntu bionic-backports/main arm64 Packages 404 Not Found [IP: 91.189.88.162 80]Ign:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe arm64 PackagesIgn:11 http://archive.ubuntu.com/ubuntu bionic-security/main arm64 PackagesIgn:13 http://archive.ubuntu.com/ubuntu bionic-security/restricted arm64 PackagesIgn:15 http://archive.ubuntu.com/ubuntu bionic-security/universe arm64 PackagesErr:11 http://archive.ubuntu.com/ubuntu bionic-security/main arm64 Packages 404 Not Found [IP: 91.189.88.162 80]Ign:13 http://archive.ubuntu.com/ubuntu bionic-security/restricted arm64 PackagesIgn:15 http://archive.ubuntu.com/ubuntu bionic-security/universe arm64 PackagesFetched 163 kB in 2min 5s (1305 B/s)Reading package lists... DoneW: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42W: Skipping acquire of configured file 'multiversedeb/binary-arm64/Packages' as repository 'http://archive.ubuntu.com/ubuntu bionic-security InRelease' doesn't have the component 'multiversedeb' (component misspelt in sources.list?)W: Skipping acquire of configured file 'multiversedeb/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu bionic-security InRelease' doesn't have the component 'multiversedeb' (com: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.162 80]E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.88.162 80]W: Some index files failed to download. They have been ignored, or old ones used instead.W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list:43W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list:43W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list:43W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:42
Страница сгенерирована за 0.058 секунд. Запросов: 23.