Strona 1 z 1

Ubuntu 18.04 zasmiecone PPA

: 24 mar 2019, 23:33
autor: Lucas39
Dzien dobry
Posiadam U18.04 ale po upgrade z U16.04. Zlinuxem raczkuje ale jakos sobie radze, czasem lepiej czasem gorzej.
Powiedzmy ze do dzis z PPA bylo OK, ale dzis po "sudo apt-get update" zobaczylem jakies wielkie siano i nie potrafie sobie z tym poradzic. posiadam zainstalowane Y-PPA ale w tym nic zlego nie widac.
Co z robic by sie pozbyc bledow w PPA oraz co to za blad?

Kod: Zaznacz cały

tomek@no7acer:~$ sudo apt-get update
Stary:1 http://pl.archive.ubuntu.com/ubuntu bionic InRelease
Stary:2 http://linux.teamviewer.com/deb stable InRelease                         
Stary:3 http://pl.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Stary:4 http://pl.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Stary:5 http://pl.archive.ubuntu.com/ubuntu bionic-security InRelease            
Stary:6 https://repo.skype.com/deb stable InRelease                              
Stary:7 http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu bionic InRelease
Stary:8 http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu bionic InRelease       
Stary:9 http://archive.canonical.com/ubuntu bionic InRelease                     
Stary:10 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease         
Stary:11 http://ppa.launchpad.net/gpredict-team/ppa/ubuntu bionic InRelease
Stary:12 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Stary:13 http://ppa.launchpad.net/myriadrf/gnuradio/ubuntu bionic InRelease  
Czytanie list pakietów... Gotowe
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:45


Re: Ubuntu 18.04 zasmiecone PPA

: 25 mar 2019, 00:09
autor: Spass
Cześć. Nie widzę tu błędów PPA, tylko informacje o zduplikowanych wpisach w /etc/apt/sources.list
Może zobacz co tam masz w tym pliku i wklej na forum:

Kod: Zaznacz cały

cat /etc/apt/sources.list

Re: Ubuntu 18.04 zasmiecone PPA

: 25 mar 2019, 00:19
autor: Lucas39
hmm. sporo tam tego. czy jest mozliwe ze zasmiecilo sie od jakiejs aktualizacji?

Kod: Zaznacz cały

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://pl.archive.ubuntu.com/ubuntu/ bionic universe
deb http://pl.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://pl.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://pl.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://pl.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 xenial partner

deb http://pl.archive.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-security universe
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-security multiverse
# deb http://archive.canonical.com/ bionic partner
# deb-src http://archive.canonical.com/ xenial partner
deb http://pl.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://ubuntu.mirror.cambrium.nl/ubuntu/ bionic main universe

Re: Ubuntu 18.04 zasmiecone PPA

: 25 mar 2019, 01:08
autor: Spass
Ten plik wygląda dobrze. Czyli pewnie musisz wejść w ustawienia Oprogramowanie i aktualizacje (software-properties-gtk) na zakładkę "Inne oprogramowanie" i usunąć (lub odhaczyć) tam zduplikowane wpisy. Domyślam się, że masz tam na liście coś w rodzaju "Ważne aktualizacje bezpieczeństwa" i tak dalej, oprócz swoich PPA. To by wskazywało na duplikat, bo te aktualizacje masz już zaznaczone w zakładce "Aktualizacje".

Jeśli boisz się tam sam mieszać, to wklej zrzut ekranu z widoczną listą PPA i repo z tego okna ustawień, to podpowiem co tam jest teraz zbędne. Też tak miałem przy aktualizacji jakiś czas temu.

EDIT: Dostrzegłem jednak zdublowaną linijkę powodująca problem, czyli przedostatnia w pliku:

Kod: Zaznacz cały

deb http://pl.archive.ubuntu.com/ubuntu/ bionic universe
To ona najpewniej powodowała błąd. Za moją nieuwagę przepraszam użytkowników forum.

Re: Ubuntu 18.04 zasmiecone PPA

: 25 mar 2019, 10:32
autor: Tomfoc
Możesz też poddać edycji plik /etc/apt/sources.list

Kod: Zaznacz cały

sudo gedit /etc/apt/sources.list
i skasować całą jego (niepotrzebnie rozbudowaną) zawartość, a następnie wkleić tam to:

Kod: Zaznacz cały

deb http://pl.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://pl.archive.ubuntu.com/ubuntu/ bionic universe
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://pl.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Po zapisaniu pliku wykonaj

Kod: Zaznacz cały

sudo apt update

Re: Ubuntu 18.04 zasmiecone PPA

: 26 mar 2019, 00:08
autor: Lucas39
Sprobowałem manualnie zedytowac i tymczasowo przed jedna z lina wstawilem znak "#". i to rozwiązalo problem.
W ktorys dzien usiade i zrobie porzadek oraz usunę linie z haszami na poczatku.
Bardzo dziękuje za pomoc.

Re: Ubuntu 18.04 zasmiecone PPA

: 26 mar 2019, 00:30
autor: Spass
Przyjrzałem się jeszcze raz i najprawdopodobniej problemem jest/była ta linijka:

Kod: Zaznacz cały

deb http://pl.archive.ubuntu.com/ubuntu/ bionic universe
Czyli przedostatnia w tym pliku co wklejałeś. Przepraszam, że umknęło mi to wcześniej. Wystarczy ją usunąć lub zakomentować #.

Re: Ubuntu 18.04 zasmiecone PPA

: 26 mar 2019, 17:58
autor: Lucas39
Dokladnie tak uczynilem.
Zawsze mam jakies obawy w kopaniu w tym PPA ze pozniej nie beda sie programy aktualizowaly.
Nierozumiem tez dlaczego Y-PPA nie wylapal ze jest cos zdublowane.
Ale wazne ze sie znalazlo i udalo zrobic.
Dziekuje