otrzymuję co raz więcej błędów. Aktualnie wygląda to tak:
Stary:1 http://pl.archive.ubuntu.com/ubuntu xenial InRelease
Stary:2 http://archive.canonical.com/ubuntu xenial InRelease
Stary:3 http://pl.archive.ubuntu.com/ubuntu xenial-updates InRelease
Stary:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Stary:5 http://pl.archive.ubuntu.com/ubuntu xenial-backports InRelease
Stary:6 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease
Stary:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Stary:8 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Stary:9 https://deb.opera.com/opera-stable stable InRelease
Stary:10 http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial InRelease
Stary:11 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Wszystkie pakiety są aktualne.
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/opera-stable.list:4
OK ale jak to zrobić? W linuksach jestem początkujący. No i o co chodzi z tymi wpisami “Stary:1” itd.
W wynikach poleceń niżej widzę że niektóre repo nie są już wspierane, muszę je zmienić na inne albo usunąć?
Wynik polecenia
cat /etc/apt/sources.list
to:
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial-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://pl.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial universe
deb http://pl.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial-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://pl.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial-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://pl.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://pl.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-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 xenial-security multiverse
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial main
deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main
# deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main
deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main
# deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial main
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
# deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
# deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial main
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades
deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades
deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
# deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
# deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu xenial main
deb http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
# deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
deb http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
# deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial main
# deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial main
Z tego, co zauważyłem, to w podanych przez Ciebie plikach jeden wierz - jeden wpis. Wiersze zaczynające się od hasha (’#’) to komentarze, więc nie musisz ich usuwać. Usuwasz powielające się linijki. W konsoli wykonaj sudo su, wprowadź swoje hasło, a potem nano <pełna ścieżka do pliku>. Zapisujesz chyba przez CTRL+W, ale na dole nano podaje skróty klawiszowe. Jeżeli nie dasz rady, to zainstaluj Synaptic i w nim odszukaj opcję zarządzania repozytoriami lub podobną i usuń z jego poziomu powtarzające się wpisy.
Z sources list usuń wpisy dotyczące opery ponieważ powielają się z repozytorium.
Nie używaj ppa, chyba że jest to niezbędne, a widzę że pododawałeś ich sporo.