logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Ubuntu 20.04 LTS Pro – błędy podczas sudo apt-get update, nie pobiera repozytoriów

trade24 29 Sie 2025 00:23 885 18
REKLAMA
  • #1 21647455
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    Witam tak jak w temacie mam Ubuntu 20.04 LTS Pro. Kiedy próbuję zaktualizować pakiety przy pomocy komendy: sudo apt-get update sypie mi następującymi błędami:

    sudo apt-get update
    Stary:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease
    Stary:2 http://pl.archive.ubuntu.com/ubuntu focal InRelease
    Stary:3 http://archive.canonical.com/ubuntu focal InRelease
    Stary:4 https://linux.teamviewer.com/deb stable InRelease
    Stary:5 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease
    Stary:6 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease
    Stary:7 http://pl.archive.ubuntu.com/ubuntu focal-updates InRelease
    Stary:8 https://brave-browser-apt-beta.s3.brave.com stable InRelease
    Stary:9 http://dl.google.com/linux/chrome/deb stable InRelease
    Pobieranie:10 https://deb.opera.com/opera-stable stable InRelease [2 416 B]
    Stary:11 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease
    Stary:12 http://dl.google.com/linux/earth/deb stable InRelease
    Stary:13 http://pl.archive.ubuntu.com/ubuntu focal-backports InRelease
    Stary:14 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease
    Ign.:15 https://repo.vivaldi.com/archive/deb stable InRelease
    Ign.:16 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal InRelease
    Stary:17 https://packages.microsoft.com/repos/ms-teams stable InRelease
    Ign.:18 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal InRelease
    Stary:19 http://security.ubuntu.com/ubuntu focal-security InRelease
    Stary:20 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease
    Stary:21 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease
    Ign.:22 https://repo.vivaldi.com/stable/deb stable InRelease
    Stary:23 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease
    Stary:24 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease
    Stary:25 https://repo.vivaldi.com/archive/deb stable Release
    Stary:26 https://repo.vivaldi.com/stable/deb stable Release
    Stary:27 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
    Błąd:28 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release
    404 Not Found [IP: 185.125.190.80 80]
    Błąd:29 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release
    404 Not Found [IP: 185.125.190.80 80]
    Stary:30 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
    Stary:31 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Błąd:10 https://deb.opera.com/opera-stable stable InRelease
    Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 11EE8C00B693A745
    Czytanie list pakietów... Gotowe
    E: The repository 'http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-stable stable InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 11EE8C00B693A745
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'


    Poproszę o jakąś poradę
  • REKLAMA
  • #2 21647564
    raks0
    Poziom 31  
    Posty: 787
    Pomógł: 255
    Ocena: 447
    Wykonaj w terminalu poniższe polecenia
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 11EE8C00B693A745
    sudo apt-get update
  • #3 21647565
    kemot55
    Poziom 31  
    Posty: 1304
    Pomógł: 183
    Ocena: 146
    sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list


    Polecenie modyfikuje plik /etc/apt/sources.list (może warto zrobić kopię), zastępując wszystkie wystąpienia archive.ubuntu.com i security.ubuntu.com (z opcjonalnym dwuliterowym prefiksem, np. pl.archive.ubuntu.com) na old-releases.ubuntu.com. Używane, aby przekierować system do korzystania z archiwalnych repozytoriów Ubuntu, gdy wsparcie dla danej wersji Ubuntu zostało zakończone.
    Ale pewnie lepiej byłoby zaktualizować system (o ile nie ma czegoś co wymaga "20" i na nowszym nie będzie działać).
  • REKLAMA
  • #4 21647769
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    kemot55 napisał:
    Ale pewnie lepiej byłoby zaktualizować system (o ile nie ma czegoś co wymaga "20" i na nowszym nie będzie działać).


    Witam, na wstępie dzięki za odpowiedź, zanim wprowadzę kod kilka pytań i wyjaśnień. Potrzebuje 20.04 LTS z uwagi na kilka programów i dlatego że się do niego przyzwyczaiłem - do jego niezawodności. Mam skonfigurowany 20.04 pod siebie włącznie z pulpitami w stylu MacOS itp. Sporo mi to zajęło, więc nie chciałbym aktualizować systemu do nowszej wersji. Nawet wczoraj zrobiłem subskrypcję PRO i mam teraz wsparcie do 2030 roku. Słyszałem też że 24.04 LTS ma sporo błędów.

    Tak przy okazji jak najprościej zrobić tą kopie sources.list? Po prostu kopię katalogu /ect/apt/sources.list czy jakoś z terminala poleceniem?
  • REKLAMA
  • #5 21647771
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    trade24 napisał:
    Tak przy okazji jak najprościej zrobić tą kopie sources.list? Po prostu kopię katalogu /ect/apt/sources.list czy jakoś z terminala poleceniem?


    Kopia całego katalogu /etc/apt:
    tar -cvf apt.tar /etc/apt/


    Przed aktualizacją wyłącz w Synapticu, w opcjach lub w innym graficznym menedżerze oprogramowania, repozytoria PPA dla LibreOffice oraz Stacer. Co do PPA Opery - trzeba importować klucz publiczny.

    Potem możesz zaktualizować system:
    1. Podniesienie uprawnień:

    2. Aktualizacja:
    apt-get udpate

    apt-get dist-upgrade

    3. Wyjście z "konta roota":


    Jeśli będą jakieś błędy, to pokaż na forum.
  • REKLAMA
  • #6 21648003
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    madmarmot napisał:
    LibreOffice

    >>21647771

    Zrobiłem zgodnie ze wskazówkami, ale niestety ciągle sypie błędami

    root@hp-pavilion-15:~# apt-get update
    Stary:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Stary:2 http://archive.canonical.com/ubuntu focal InRelease
    Stary:3 http://dl.google.com/linux/earth/deb stable InRelease
    Stary:4 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease
    Ign.:5 http://old-releases.ubuntu.com/ubuntu focal InRelease
    Stary:6 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease
    Ign.:7 http://old-releases.ubuntu.com/ubuntu focal-updates InRelease
    Stary:8 https://linux.teamviewer.com/deb stable InRelease
    Stary:9 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease
    Stary:10 https://brave-browser-apt-beta.s3.brave.com stable InRelease
    Ign.:11 http://old-releases.ubuntu.com/ubuntu focal-backports InRelease
    Ign.:12 https://repo.vivaldi.com/archive/deb stable InRelease
    Stary:13 https://deb.opera.com/opera-stable stable InRelease
    Stary:14 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease
    Ign.:15 http://old-releases.ubuntu.com/ubuntu focal-security InRelease
    Stary:16 https://packages.microsoft.com/repos/ms-teams stable InRelease
    Stary:17 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease
    Błąd:18 http://old-releases.ubuntu.com/ubuntu focal Release
    404 Not Found [IP: 185.125.190.40 80]
    Ign.:19 https://repo.vivaldi.com/stable/deb stable InRelease
    Ign.:20 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal InRelease
    Błąd:21 http://old-releases.ubuntu.com/ubuntu focal-updates Release
    404 Not Found [IP: 185.125.190.40 80]
    Stary:22 https://repo.vivaldi.com/archive/deb stable Release
    Błąd:23 http://old-releases.ubuntu.com/ubuntu focal-backports Release
    404 Not Found [IP: 185.125.190.40 80]
    Ign.:24 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal InRelease
    Stary:25 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease
    Stary:26 https://repo.vivaldi.com/stable/deb stable Release
    Błąd:27 http://old-releases.ubuntu.com/ubuntu focal-security Release
    404 Not Found [IP: 185.125.190.40 80]
    Stary:28 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease
    Stary:29 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease
    Stary:30 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease
    Stary:31 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
    Błąd:32 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release
    404 Not Found [IP: 185.125.190.80 80]
    Stary:33 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
    Błąd:34 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release
    404 Not Found [IP: 185.125.190.80 80]
    Stary:35 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Czytanie list pakietów... Gotowe
    E: The repository 'http://old-releases.ubuntu.com/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://old-releases.ubuntu.com/ubuntu focal-updates Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://old-releases.ubuntu.com/ubuntu focal-backports Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://old-releases.ubuntu.com/ubuntu focal-security Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'
  • #7 21648036
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    Tutaj gość sugeruje, że błędem jest użycie frazy "old-releases" w adresach repozytoriów:
    https://askubuntu.com/a/1374408

    Trzeba podmienić adresy na prawidłowe. Na początek podaj wynik dwóch poleceń — podwyższone uprawnienia nie są potrzebne:
    find /etc/apt -type f

    cat /etc/apt/sources.list
  • #8 21648050
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    madmarmot napisał:
    Trzeba podmienić adresy na prawidłowe. Na początek podaj wynik dwóch poleceń — podwyższone uprawnienia nie są potrzebne:Kod: [rozwiń][zwiń] [zaznacz wszystko][Kopiuj do schowka] find /etc/apt -type f


    hpmkj-cs15@hp-pavilion-15:~$ find /etc/apt -type f
    /etc/apt/sources.list.d/teamviewer.list
    /etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-4-2-focal.list
    /etc/apt/sources.list.d/ookla_speedtest-cli.list
    /etc/apt/sources.list.d/ubuntu-esm-apps.list
    /etc/apt/sources.list.d/vivaldi.list
    /etc/apt/sources.list.d/plexmediaserver.list
    /etc/apt/sources.list.d/stiff_ru-ubuntu-qmmp-releases-focal.list
    /etc/apt/sources.list.d/opera-stable.list.save
    /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-focal.list
    /etc/apt/sources.list.d/google-earth-pro.list.save
    /etc/apt/sources.list.d/plexmediaserver.list.save
    /etc/apt/sources.list.d/sebastian-stenzel-ubuntu-cryptomator-focal.list
    /etc/apt/sources.list.d/ubuntu-esm-infra.list.save
    /etc/apt/sources.list.d/stiff_ru-ubuntu-qmmp-releases-focal.list.save
    /etc/apt/sources.list.d/vivaldi.list.save
    /etc/apt/sources.list.d/ookla_speedtest-cli.list.save
    /etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-focal.list
    /etc/apt/sources.list.d/teams.list
    /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-focal.list.save
    /etc/apt/sources.list.d/ubuntu-esm-apps.list.save
    /etc/apt/sources.list.d/forkotov02-ubuntu-ppa-focal.list.save
    /etc/apt/sources.list.d/libreoffice-ubuntu-libreoffice-4-2-focal.list.save
    /etc/apt/sources.list.d/cappelikan-ubuntu-ppa-focal.list.save
    /etc/apt/sources.list.d/google-chrome.list.save
    /etc/apt/sources.list.d/google-earth-pro.list
    /etc/apt/sources.list.d/peterlevi-ubuntu-ppa-focal.list
    /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-focal.list.save
    /etc/apt/sources.list.d/apandada1-ubuntu-foliate-focal.list
    /etc/apt/sources.list.d/brave-browser-beta.list
    /etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-focal.list.save
    /etc/apt/sources.list.d/google-chrome.list
    /etc/apt/sources.list.d/mc3man-ubuntu-trusty-media-focal.list.save
    /etc/apt/sources.list.d/peterlevi-ubuntu-ppa-focal.list.save
    /etc/apt/sources.list.d/teamviewer.list.save
    /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-focal.list
    /etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-focal.list.save
    /etc/apt/sources.list.d/sebastian-stenzel-ubuntu-cryptomator-focal.list.save
    /etc/apt/sources.list.d/cappelikan-ubuntu-ppa-focal.list
    /etc/apt/sources.list.d/brave-browser-beta.list.save
    /etc/apt/sources.list.d/apandada1-ubuntu-foliate-focal.list.save
    /etc/apt/sources.list.d/teams.list.save
    /etc/apt/sources.list.d/forkotov02-ubuntu-ppa-focal.list
    /etc/apt/sources.list.d/opera-stable.list
    /etc/apt/sources.list.d/mc3man-ubuntu-trusty-media-focal.list
    /etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-focal.list
    /etc/apt/sources.list.d/ubuntu-esm-infra.list
    /etc/apt/apt.conf.d/20auto-upgrades
    /etc/apt/apt.conf.d/00trustcdrom
    /etc/apt/apt.conf.d/01autoremove
    /etc/apt/apt.conf.d/60icons-hidpi
    /etc/apt/apt.conf.d/50unattended-upgrades
    /etc/apt/apt.conf.d/20packagekit
    /etc/apt/apt.conf.d/01-vendor-ubuntu
    /etc/apt/apt.conf.d/20archive
    /etc/apt/apt.conf.d/60icons
    /etc/apt/apt.conf.d/20dbus
    /etc/apt/apt.conf.d/70debconf
    /etc/apt/apt.conf.d/10periodic
    /etc/apt/apt.conf.d/99update-notifier
    /etc/apt/apt.conf.d/15update-stamp
    /etc/apt/apt.conf.d/50command-not-found
    /etc/apt/apt.conf.d/00aptitude
    /etc/apt/apt.conf.d/20apt-esm-hook.conf
    /etc/apt/apt.conf.d/50appstream
    /etc/apt/apt.conf.d/20snapd.conf
    /etc/apt/apt.conf.d/99synaptic
    /etc/apt/preferences.d/ubuntu-pro-esm-apps
    /etc/apt/preferences.d/ubuntu-pro-esm-infra
    /etc/apt/sources.list.save
    /etc/apt/trusted.gpg.d/cappelikan_ubuntu_ppa.gpg
    /etc/apt/trusted.gpg.d/vivaldi-74C35BC8.gpg
    /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
    /etc/apt/trusted.gpg.d/ubuntu-pro-esm-infra.gpg
    /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
    /etc/apt/trusted.gpg.d/apandada1_ubuntu_foliate.gpg
    /etc/apt/trusted.gpg.d/libreoffice_ubuntu_libreoffice-4-2.gpg
    /etc/apt/trusted.gpg.d/ubuntu-pro-esm-apps.gpg
    /etc/apt/trusted.gpg.d/stiff_ru_ubuntu_qmmp-releases.gpg
    /etc/apt/trusted.gpg.d/google-chrome.gpg
    /etc/apt/trusted.gpg.d/vivaldi-4218647E.gpg
    /etc/apt/trusted.gpg.d/google-earth-pro.gpg~
    /etc/apt/trusted.gpg.d/vivaldi-16BD9233.gpg
    /etc/apt/trusted.gpg.d/libreoffice_ubuntu_ppa.gpg
    /etc/apt/trusted.gpg.d/google-chrome.gpg~
    /etc/apt/trusted.gpg.d/google-earth-pro.gpg
    /etc/apt/trusted.gpg.d/opera.archive.key.2023.gpg
    /etc/apt/trusted.gpg.d/forkotov02_ubuntu_ppa.gpg
    /etc/apt/trusted.gpg.d/sebastian-stenzel_ubuntu_cryptomator.gpg
    /etc/apt/trusted.gpg.d/peterlevi_ubuntu_ppa.gpg
    /etc/apt/trusted.gpg.d/oguzhaninan_ubuntu_stacer.gpg
    /etc/apt/trusted.gpg.d/microsoft.gpg
    /etc/apt/trusted.gpg.d/alexlarsson_ubuntu_flatpak.gpg
    /etc/apt/trusted.gpg.d/vivaldi-C27AA466.gpg
    /etc/apt/trusted.gpg.d/appimagelauncher-team_ubuntu_stable.gpg
    /etc/apt/trusted.gpg.d/vivaldi-33EAAB8E.gpg
    /etc/apt/trusted.gpg.d/opera.archive.key.2025.gpg
    /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
    /etc/apt/trusted.gpg.d/vivaldi-B69735B2.gpg
    /etc/apt/trusted.gpg
    /etc/apt/trusted.gpg~
    /etc/apt/keyrings/ookla_speedtest-cli-archive-keyring.gpg
    /etc/apt/sources.list
    /etc/apt/auth.conf.d/90ubuntu-advantage
    hpmkj-cs15@hp-pavilion-15:~$

    Dodano po 1 [minuty]:

    madmarmot napisał:
    cat /etc/apt/sources.list


    hpmkj-cs15@hp-pavilion-15:~$ cat /etc/apt/sources.list
    # deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted

    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://old-releases.ubuntu.com/ubuntu/ focal main restricted
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates main restricted
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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://old-releases.ubuntu.com/ubuntu/ focal universe
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal universe
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates universe
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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://old-releases.ubuntu.com/ubuntu/ focal multiverse
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates multiverse
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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://old-releases.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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 focal partner
    deb-src http://archive.canonical.com/ubuntu focal partner

    deb http://old-releases.ubuntu.com/ubuntu focal-security main restricted
    # deb-src http://old-releases.ubuntu.com/ubuntu focal-security main restricted
    deb http://old-releases.ubuntu.com/ubuntu focal-security universe
    # deb-src http://old-releases.ubuntu.com/ubuntu focal-security universe
    deb http://old-releases.ubuntu.com/ubuntu focal-security multiverse
    # deb-src http://old-releases.ubuntu.com/ubuntu focal-security multiverse

    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.
    deb https://repo.vivaldi.com/archive/deb/ stable main
    # deb-src https://repo.vivaldi.com/archive/deb/ stable main
    hpmkj-cs15@hp-pavilion-15:~$

    Zgodnie z prośbą wyniki dwóch poleceń
  • #9 21648084
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    Teraz podmienimy główny plik repozytoriów. Najpierw podnieś uprawnienia:


    Zakładam, że wykonałeś kopię zapasową całego katalogu /etc/apt, jak pisałem wcześniej, więc za pomocą edytora nano edytuj plik /etc/apt/sources.list.

    Komenda do edycji:
    nano /etc/apt/sources.list


    Podmień zawartość na taką:
    # /etc/apt/sources.list
    deb https://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
    deb https://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
    deb https://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
    deb https://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    deb https://repo.vivaldi.com/archive/deb/ stable main
    


    Zapisz zmiany za pomocą Ctrl+S, wyjdź z programu za pomocą Ctrl+X.

    Potem:
    apt-get update

    Pokaż ewentualne błędy.

    Podaj też wynik polecenia:
    apt-cache policy


    Do prezentacji wyników poleceń z terminala używaj tagów CODE:

    Przykład użycia tagów [code] i [/code] do formatowania treści terminala
  • #10 21648089
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    Wykonałem wcześniej kopię zapasową.

    A to jest zawartość nano /etc/apt/sources.list

    
    # deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://old-releases.ubuntu.com/ubuntu/ focal main restricted
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates main restricted
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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://old-releases.ubuntu.com/ubuntu/ focal universe
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal universe
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates universe
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal-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://old-releases.ubuntu.com/ubuntu/ focal multiverse
    # deb-src http://old-releases.ubuntu.com/ubuntu/ focal multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ focal-updates multiverse
    


    Pytanie czy mam wykasować całą zawartość i podmienić na zawartość, którą mi przesłałeś?
  • #11 21648091
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    Tak, edytować plik w sposób, jaki podałem, zastąpić zawartość tym, co podałem, zapisać zmiany i tak dalej.
  • #12 21648122
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    >>21648091

    To jest wynik polecenia edycji /etc/apt/sources.list

    
    root@hp-pavilion-15:~# nano /etc/apt/sources.list
    root@hp-pavilion-15:~# apt-get update
    Stary:1 https://linux.teamviewer.com/deb stable InRelease
    Stary:2 https://brave-browser-apt-beta.s3.brave.com stable InRelease                                           
    Stary:3 https://deb.opera.com/opera-stable stable InRelease                                                    
    Stary:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                 
    Ign.:5 https://repo.vivaldi.com/archive/deb stable InRelease                                                   
    Stary:6 http://dl.google.com/linux/earth/deb stable InRelease                                                  
    Stary:7 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease                                    
    Pobieranie:8 https://archive.ubuntu.com/ubuntu focal InRelease [265 kB]                                        
    Stary:9 https://packages.microsoft.com/repos/ms-teams stable InRelease                                         
    Pobieranie:10 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease [7 613 B]                       
    Stary:11 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease                                     
    Pobieranie:12 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease [7 498 B]                        
    Stary:13 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease                          
    Ign.:14 https://repo.vivaldi.com/stable/deb stable InRelease                                                   
    Stary:15 https://repo.vivaldi.com/archive/deb stable Release                                                   
    Pobieranie:16 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease [7 594 B]                     
    Stary:17 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease                                        
    Stary:18 https://repo.vivaldi.com/stable/deb stable Release                                                    
    Pobieranie:19 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease [7 461 B]                      
    Stary:20 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease                                        
    Ign.:21 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal InRelease                          
    Pobieranie:22 https://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
    Ign.:23 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal InRelease                                     
    Pobieranie:24 https://archive.ubuntu.com/ubuntu focal-security InRelease [128 kB]
    Stary:25 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease                                         
    Pobieranie:26 https://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]                             
    Stary:27 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease                         
    Błąd:28 http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release                              
      404  Not Found [IP: 185.125.190.80 80]
    Błąd:29 http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release     
      404  Not Found [IP: 185.125.190.80 80]
    Stary:30 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Pobieranie:33 https://archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
    Pobieranie:34 https://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
    Pobieranie:35 https://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
    Pobieranie:36 https://archive.ubuntu.com/ubuntu focal/main Translation-pl [252 kB]
    Pobieranie:37 https://archive.ubuntu.com/ubuntu focal/main amd64 DEP-11 Metadata [494 kB]
    Pobieranie:38 https://archive.ubuntu.com/ubuntu focal/main DEP-11 48x48 Icons [98,4 kB]
    Pobieranie:39 https://archive.ubuntu.com/ubuntu focal/main DEP-11 64x64 Icons [163 kB]
    Pobieranie:40 https://archive.ubuntu.com/ubuntu focal/main DEP-11 64x64@2 Icons [15,8 kB]
    Pobieranie:41 https://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29,5 kB]
    Pobieranie:42 https://archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8 112 B]
    Pobieranie:43 https://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22,0 kB]
    Pobieranie:44 https://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6 212 B]
    Pobieranie:45 https://archive.ubuntu.com/ubuntu focal/restricted Translation-pl [1 388 B]
    Pobieranie:46 https://archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
    Pobieranie:47 https://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8 628 kB]
    Pobieranie:48 https://archive.ubuntu.com/ubuntu focal/universe i386 Packages [4 642 kB]
    Pobieranie:49 https://archive.ubuntu.com/ubuntu focal/universe Translation-en [5 124 kB]
    Pobieranie:50 https://archive.ubuntu.com/ubuntu focal/universe Translation-pl [1 030 kB]
    Pobieranie:51 https://archive.ubuntu.com/ubuntu focal/universe amd64 DEP-11 Metadata [3 603 kB]
    Pobieranie:52 https://archive.ubuntu.com/ubuntu focal/universe DEP-11 48x48 Icons [3 016 kB]
    Pobieranie:53 https://archive.ubuntu.com/ubuntu focal/universe DEP-11 64x64 Icons [7 794 kB]
    Pobieranie:54 https://archive.ubuntu.com/ubuntu focal/universe DEP-11 64x64@2 Icons [44,3 kB]
    Pobieranie:55 https://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
    Pobieranie:56 https://archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [74,7 kB]
    Pobieranie:57 https://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
    Pobieranie:58 https://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
    Pobieranie:59 https://archive.ubuntu.com/ubuntu focal/multiverse Translation-pl [13,6 kB]
    Pobieranie:60 https://archive.ubuntu.com/ubuntu focal/multiverse amd64 DEP-11 Metadata [48,4 kB]
    Pobieranie:61 https://archive.ubuntu.com/ubuntu focal/multiverse DEP-11 48x48 Icons [23,1 kB]
    Pobieranie:62 https://archive.ubuntu.com/ubuntu focal/multiverse DEP-11 64x64 Icons [192 kB]
    Pobieranie:63 https://archive.ubuntu.com/ubuntu focal/multiverse DEP-11 64x64@2 Icons [214 B]
    Pobieranie:64 https://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9 136 B]
    Pobieranie:65 https://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1 114 kB]
    Pobieranie:66 https://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3 954 kB]
    Pobieranie:67 https://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [601 kB]
    Pobieranie:68 https://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [276 kB]
    Pobieranie:69 https://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [64,2 kB]
    Pobieranie:70 https://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [103 kB]
    Pobieranie:71 https://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64@2 Icons [29 B]
    Pobieranie:72 https://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [18,0 kB]
    Pobieranie:73 https://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [44,1 kB]
    Pobieranie:74 https://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3 922 kB]
    Pobieranie:75 https://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [548 kB]
    Pobieranie:76 https://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 DEP-11 Metadata [212 B]
    Pobieranie:77 https://archive.ubuntu.com/ubuntu focal-updates/restricted DEP-11 48x48 Icons [29 B]
    Pobieranie:78 https://archive.ubuntu.com/ubuntu focal-updates/restricted DEP-11 64x64 Icons [29 B]
    Pobieranie:79 https://archive.ubuntu.com/ubuntu focal-updates/restricted DEP-11 64x64@2 Icons [29 B]
    Pobieranie:80 https://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [604 B]
    Pobieranie:81 https://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1 262 kB]
    Pobieranie:82 https://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [823 kB]
    Pobieranie:83 https://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [303 kB]
    Pobieranie:84 https://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [446 kB]
    Pobieranie:85 https://archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 48x48 Icons [297 kB]
    Pobieranie:86 https://archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64 Icons [520 kB]
    Pobieranie:87 https://archive.ubuntu.com/ubuntu focal-updates/universe DEP-11 64x64@2 Icons [29 B]
    Pobieranie:88 https://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [29,3 kB]
    Pobieranie:89 https://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [29,7 kB]
    Pobieranie:90 https://archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [8 440 B]
    Pobieranie:91 https://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8 316 B]
    Pobieranie:92 https://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
    Pobieranie:93 https://archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 48x48 Icons [1 867 B]
    Pobieranie:94 https://archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64 Icons [2 497 B]
    Pobieranie:95 https://archive.ubuntu.com/ubuntu focal-updates/multiverse DEP-11 64x64@2 Icons [29 B]
    Pobieranie:96 https://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [688 B]
    Pobieranie:97 https://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [3 564 kB]
    Pobieranie:98 https://archive.ubuntu.com/ubuntu focal-security/main i386 Packages [881 kB]
    Pobieranie:99 https://archive.ubuntu.com/ubuntu focal-security/main Translation-en [518 kB]
    Pobieranie:100 https://archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [74,7 kB]
    Pobieranie:101 https://archive.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [27,5 kB]
    Pobieranie:102 https://archive.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [47,5 kB]
    Pobieranie:103 https://archive.ubuntu.com/ubuntu focal-security/main DEP-11 64x64@2 Icons [29 B]
    Pobieranie:104 https://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14,4 kB]
    Pobieranie:105 https://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3 768 kB]
    Pobieranie:106 https://archive.ubuntu.com/ubuntu focal-security/restricted i386 Packages [42,5 kB]
    Pobieranie:107 https://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [527 kB]
    Pobieranie:108 https://archive.ubuntu.com/ubuntu focal-security/restricted amd64 DEP-11 Metadata [212 B]
    Pobieranie:109 https://archive.ubuntu.com/ubuntu focal-security/restricted DEP-11 48x48 Icons [29 B]
    Pobieranie:110 https://archive.ubuntu.com/ubuntu focal-security/restricted DEP-11 64x64 Icons [29 B]
    Pobieranie:111 https://archive.ubuntu.com/ubuntu focal-security/restricted DEP-11 64x64@2 Icons [29 B]
    Pobieranie:112 https://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [584 B]
    Pobieranie:113 https://archive.ubuntu.com/ubuntu focal-security/universe i386 Packages [698 kB]
    Pobieranie:114 https://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1 040 kB]
    Pobieranie:115 https://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [221 kB]
    Pobieranie:116 https://archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [160 kB]
    Pobieranie:117 https://archive.ubuntu.com/ubuntu focal-security/universe DEP-11 48x48 Icons [95,4 kB]
    Pobieranie:118 https://archive.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64 Icons [166 kB]
    Pobieranie:119 https://archive.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64@2 Icons [29 B]
    Pobieranie:120 https://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [22,4 kB]
    Pobieranie:121 https://archive.ubuntu.com/ubuntu focal-security/multiverse i386 Packages [7 204 B]
    Pobieranie:122 https://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [26,6 kB]
    Pobieranie:123 https://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [6 448 B]
    Pobieranie:124 https://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
    Pobieranie:125 https://archive.ubuntu.com/ubuntu focal-security/multiverse DEP-11 48x48 Icons [1 867 B]
    Pobieranie:126 https://archive.ubuntu.com/ubuntu focal-security/multiverse DEP-11 64x64 Icons [2 497 B]
    Pobieranie:127 https://archive.ubuntu.com/ubuntu focal-security/multiverse DEP-11 64x64@2 Icons [29 B]
    Pobieranie:128 https://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [604 B]
    Pobieranie:129 https://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [45,7 kB]
    Pobieranie:130 https://archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [36,1 kB]
    Pobieranie:131 https://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [16,3 kB]
    Pobieranie:132 https://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7 972 B]
    Pobieranie:133 https://archive.ubuntu.com/ubuntu focal-backports/main DEP-11 48x48 Icons [7 156 B]
    Pobieranie:134 https://archive.ubuntu.com/ubuntu focal-backports/main DEP-11 64x64 Icons [10,7 kB]
    Pobieranie:135 https://archive.ubuntu.com/ubuntu focal-backports/main DEP-11 64x64@2 Icons [29 B]
    Pobieranie:136 https://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1 420 B]
    Pobieranie:137 https://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 DEP-11 Metadata [216 B]
    Pobieranie:138 https://archive.ubuntu.com/ubuntu focal-backports/restricted DEP-11 48x48 Icons [29 B]
    Pobieranie:139 https://archive.ubuntu.com/ubuntu focal-backports/restricted DEP-11 64x64 Icons [29 B]
    Pobieranie:140 https://archive.ubuntu.com/ubuntu focal-backports/restricted DEP-11 64x64@2 Icons [29 B]
    Pobieranie:141 https://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
    Pobieranie:142 https://archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [13,8 kB]
    Pobieranie:143 https://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [25,0 kB]
    Pobieranie:144 https://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [16,3 kB]
    Pobieranie:145 https://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,5 kB]
    Pobieranie:146 https://archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 48x48 Icons [13,3 kB]
    Pobieranie:147 https://archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 64x64 Icons [22,7 kB]
    Pobieranie:148 https://archive.ubuntu.com/ubuntu focal-backports/universe DEP-11 64x64@2 Icons [29 B]
    Pobieranie:149 https://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]
    Pobieranie:150 https://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 DEP-11 Metadata [212 B]
    Pobieranie:151 https://archive.ubuntu.com/ubuntu focal-backports/multiverse DEP-11 48x48 Icons [29 B]
    Pobieranie:152 https://archive.ubuntu.com/ubuntu focal-backports/multiverse DEP-11 64x64 Icons [29 B]
    Pobieranie:153 https://archive.ubuntu.com/ubuntu focal-backports/multiverse DEP-11 64x64@2 Icons [29 B]
    Pobieranie:154 https://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
    Czytanie list pakietów... Gotowe                                                                               
    E: The repository 'http://ppa.launchpad.net/libreoffice/libreoffice-4-2/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'
    root@hp-pavilion-15:~# 
    


    a to po poleceniu apt-cache policy

    
    
    root@hp-pavilion-15:~# apt-cache policy
    Plików pakietów:
     100 /var/lib/dpkg/status
         release a=now
     500 https://repo.vivaldi.com/stable/deb stable/main amd64 Packages
         release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
         origin repo.vivaldi.com
     510 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates/main amd64 Packages
         release v=20.04,o=UbuntuESM,a=focal-infra-updates,n=focal,l=UbuntuESM,c=main,b=amd64
         origin esm.ubuntu.com
     510 https://esm.ubuntu.com/infra/ubuntu focal-infra-security/main i386 Packages
         release v=20.04,o=UbuntuESM,a=focal-infra-security,n=focal,l=UbuntuESM,c=main,b=i386
         origin esm.ubuntu.com
     510 https://esm.ubuntu.com/infra/ubuntu focal-infra-security/main amd64 Packages
         release v=20.04,o=UbuntuESM,a=focal-infra-security,n=focal,l=UbuntuESM,c=main,b=amd64
         origin esm.ubuntu.com
     510 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates/main amd64 Packages
         release v=20.04,o=UbuntuESMApps,a=focal-apps-updates,n=focal,l=UbuntuESMApps,c=main,b=amd64
         origin esm.ubuntu.com
     510 https://esm.ubuntu.com/apps/ubuntu focal-apps-security/main i386 Packages
         release v=20.04,o=UbuntuESMApps,a=focal-apps-security,n=focal,l=UbuntuESMApps,c=main,b=i386
         origin esm.ubuntu.com
     510 https://esm.ubuntu.com/apps/ubuntu focal-apps-security/main amd64 Packages
         release v=20.04,o=UbuntuESMApps,a=focal-apps-security,n=focal,l=UbuntuESMApps,c=main,b=amd64
         origin esm.ubuntu.com
     500 https://linux.teamviewer.com/deb stable/main i386 Packages
         release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=i386
         origin linux.teamviewer.com
     500 https://linux.teamviewer.com/deb stable/main amd64 Packages
         release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=amd64
         origin linux.teamviewer.com
     500 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-sebastian-stenzel-cryptomator,a=focal,n=focal,l=Cryptomator,c=main,b=amd64
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal/main i386 Packages
         release v=20.04,o=LP-PPA-peterlevi,a=focal,n=focal,l=Peter Levi's PPA,c=main,b=i386
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-peterlevi,a=focal,n=focal,l=Peter Levi's PPA,c=main,b=amd64
         origin ppa.launchpad.net
     500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
         release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
         origin deb.opera.com
     500 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal/main i386 Packages
         release v=1,o=packagecloud.io/ookla/speedtest-cli,a=focal,n=focal,l=speedtest-cli,c=main,b=i386
         origin packagecloud.io
     500 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal/main amd64 Packages
         release v=1,o=packagecloud.io/ookla/speedtest-cli,a=focal,n=focal,l=speedtest-cli,c=main,b=amd64
         origin packagecloud.io
     500 http://dl.google.com/linux/earth/deb stable/main amd64 Packages
         release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
         origin dl.google.com
     500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
         release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
         origin dl.google.com
     500 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal/main i386 Packages
         release v=20.04,o=LP-PPA-forkotov02,a=focal,n=focal,l=qmmp-releases,c=main,b=i386
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-forkotov02,a=focal,n=focal,l=qmmp-releases,c=main,b=amd64
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-cappelikan,a=focal,n=focal,l=PPA for cappelikan,c=main,b=amd64
         origin ppa.launchpad.net
     500 https://brave-browser-apt-beta.s3.brave.com stable/main amd64 Packages
         release o=Brave Software,a=stable,n=stable,l=Brave Browser,c=main,b=amd64
         origin brave-browser-apt-beta.s3.brave.com
     500 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-appimagelauncher-team-stable,a=focal,n=focal,l=AppImageLauncher - Stable PPA - Official Releases,c=main,b=amd64
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal/main i386 Packages
         release v=20.04,o=LP-PPA-apandada1-foliate,a=focal,n=focal,l=Foliate,c=main,b=i386
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-apandada1-foliate,a=focal,n=focal,l=Foliate,c=main,b=amd64
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal/main i386 Packages
         release v=20.04,o=LP-PPA-alexlarsson-flatpak,a=focal,n=focal,l=Flatpak,c=main,b=i386
         origin ppa.launchpad.net
     500 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal/main amd64 Packages
         release v=20.04,o=LP-PPA-alexlarsson-flatpak,a=focal,n=focal,l=Flatpak,c=main,b=amd64
         origin ppa.launchpad.net
     500 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
         release o=Vivaldi Technologies,a=stable,l=Official Vivaldi package repository,c=main,b=amd64
         origin repo.vivaldi.com
     100 https://archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages
         release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=i386
         origin archive.ubuntu.com
     100 https://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=amd64
         origin archive.ubuntu.com
     100 https://archive.ubuntu.com/ubuntu focal-backports/main i386 Packages
         release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=main,b=i386
         origin archive.ubuntu.com
     100 https://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=main,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/multiverse i386 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/universe i386 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/restricted i386 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/main i386 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
         release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/multiverse i386 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/universe i386 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/restricted i386 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=amd64
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/main i386 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=i386
         origin archive.ubuntu.com
     500 https://archive.ubuntu.com/ubuntu focal/main amd64 Packages
         release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=amd64
         origin archive.ubuntu.com
    Przypięte pakiety:
    root@hp-pavilion-15:~# 
    
  • #13 21648131
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    Pisałem wyżej: wyłącz PPA LibreOffice 4.2 i Stacer (nierozwijany od 5 lat — zresztą niepotrzebne świecidełko) albo w programie Synaptic -> Źródła oprogramowania albo repozytoria — poszukaj. Albo w konsoli takie polecenie powinno wywołać okno ustawień repozytoriów:
    sudo gtk-software-properties


    EDYTOWANO:
    Ponieważ w PPA masz już dodane źródło dla przeglądarki Vivaldi - ten plik:
    /etc/apt/sources.list.d/vivaldi.list 


    Możesz usunąć tę linię z głównego pliku /etc/apt/sources.list
    deb https://repo.vivaldi.com/archive/deb/ stable main


    Jak edytować już wiesz. Po każdej edycji źródeł trzeba wykonać:
    sudo apt-get update
  • #14 21648154
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    madmarmot napisał:
    Pisałem wyżej, wyłącz PPA LibreOffice 4.2 i Stacer (nierozwijany od 5 lat - zresztą niepotrzebne świecidło) albo w programie Synaptic -> Źródła oprogramowania albo repozytoria - poszuka. Albo w konsoli takie polecenie powinno wywołać okno ustawień repozytoriów:


    Sorry, już wyłączone w repozytoriach

    Jesteś kolego genialny, już prawie to zrobiłeś. Tylko chyba coś z Vivaldi jest jeszcze nie tak.

    Podaje wynik powyższych poleceń:

    
    root@hp-pavilion-15:~# /etc/apt/sources.list.d/vivaldi.list
    -bash: /etc/apt/sources.list.d/vivaldi.list: Brak dostępu
    root@hp-pavilion-15:~# deb https://repo.vivaldi.com/archive/deb/ stable main
    
    Nie znaleziono polecenia 'deb', czy chodziło o:
    
      polecenie 'dub' ze snapa dub (1.19.0)
      polecenie 'den' ze snapa den (1.2.0-0)
      polecenie 'dub' z pakietu deb dub (1.19.0-1build2.1)
      polecenie 'deb3' z pakietu deb quilt (0.65-3)
      polecenie 'edb' z pakietu deb edb-debugger (1.0.0-1build3)
      polecenie 'debc' z pakietu deb devscripts (2.20.2ubuntu2)
      polecenie 'dep' z pakietu deb go-dep (0.5.4-3ubuntu0.1)
      polecenie 'dab' z pakietu deb bsdgames (2.17-28build1)
      polecenie 'debi' z pakietu deb devscripts (2.20.2ubuntu2)
      polecenie 'derb' z pakietu deb icu-devtools (66.1-2ubuntu2.1)
      polecenie 'dex' z pakietu deb dex (0.8.0-2)
    
    Zobacz 'snap info <nazwasnapa>' dla dodatkowych wersji.
    
    root@hp-pavilion-15:~# sudo apt-get update
    Stary:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Stary:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease                                    
    Stary:3 http://dl.google.com/linux/earth/deb stable InRelease                                                  
    Stary:4 https://linux.teamviewer.com/deb stable InRelease                                                      
    Stary:5 https://deb.opera.com/opera-stable stable InRelease                                                    
    Stary:6 https://brave-browser-apt-beta.s3.brave.com stable InRelease                                           
    Stary:7 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease                                      
    Stary:8 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease                           
    Stary:9 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease                                         
    Ign.:10 https://repo.vivaldi.com/archive/deb stable InRelease                                                  
    Stary:11 https://packages.microsoft.com/repos/ms-teams stable InRelease                                        
    Stary:12 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease                                        
    Stary:13 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease                                      
    Stary:14 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease                                         
    Stary:15 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease                                       
    Ign.:16 https://repo.vivaldi.com/stable/deb stable InRelease                                                   
    Stary:17 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease                         
    Stary:18 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease                                    
    Stary:19 https://repo.vivaldi.com/archive/deb stable Release                                                   
    Stary:20 https://repo.vivaldi.com/stable/deb stable Release                                                    
    Stary:21 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease                                     
    Stary:22 https://archive.ubuntu.com/ubuntu focal InRelease                                                     
    Stary:23 https://archive.ubuntu.com/ubuntu focal-updates InRelease         
    Stary:24 https://archive.ubuntu.com/ubuntu focal-security InRelease        
    Stary:26 https://archive.ubuntu.com/ubuntu focal-backports InRelease
    Stary:25 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Czytanie list pakietów... Gotowe
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'
    root@hp-pavilion-15:~# 
    
  • Pomocny post
    #15 21648162
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    To, co ja bym zrobił, to przejrzenie wszystkich aktywnych PPA i ocena, czy rzeczywiście są potrzebne. Jeśli nie, to pousuwaj pakiety/programy pochodzące z tych PPA i powyłączaj repozytoria.

    W momencie, w którym nie będzie żadnych błędów po komendzie:
    sudo apt-get update


    Dopiero wtedy można aktualizować system:
    sudo apt-get dist-upgrade


    Przy tej komendzie, zanim zatwierdzisz zmiany, trzeba się dokładnie przyjrzeć, co ma być zaktualizowane, co ma być zastąpione i co ma być usunięte. Komenda z przełącznikiem -s pokazuje symulację:
    apt-get -s dist-upgrade
  • #16 21648164
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    >>21648162

    Jesteś kolego genialny, już prawie to zrobiłeś. Tylko chyba coś z Vivaldi jest jeszcze nie tak.

    Podaje wynik powyższych poleceń:

    
    root@hp-pavilion-15:~# /etc/apt/sources.list.d/vivaldi.list
    -bash: /etc/apt/sources.list.d/vivaldi.list: Brak dostępu
    root@hp-pavilion-15:~# deb https://repo.vivaldi.com/archive/deb/ stable main
    
    Nie znaleziono polecenia 'deb', czy chodziło o:
    
      polecenie 'dub' ze snapa dub (1.19.0)
      polecenie 'den' ze snapa den (1.2.0-0)
      polecenie 'dub' z pakietu deb dub (1.19.0-1build2.1)
      polecenie 'deb3' z pakietu deb quilt (0.65-3)
      polecenie 'edb' z pakietu deb edb-debugger (1.0.0-1build3)
      polecenie 'debc' z pakietu deb devscripts (2.20.2ubuntu2)
      polecenie 'dep' z pakietu deb go-dep (0.5.4-3ubuntu0.1)
      polecenie 'dab' z pakietu deb bsdgames (2.17-28build1)
      polecenie 'debi' z pakietu deb devscripts (2.20.2ubuntu2)
      polecenie 'derb' z pakietu deb icu-devtools (66.1-2ubuntu2.1)
      polecenie 'dex' z pakietu deb dex (0.8.0-2)
    
    Zobacz 'snap info <nazwasnapa>' dla dodatkowych wersji.
    
    root@hp-pavilion-15:~# sudo apt-get update
    Stary:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Stary:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease                                    
    Stary:3 http://dl.google.com/linux/earth/deb stable InRelease                                                  
    Stary:4 https://linux.teamviewer.com/deb stable InRelease                                                      
    Stary:5 https://deb.opera.com/opera-stable stable InRelease                                                    
    Stary:6 https://brave-browser-apt-beta.s3.brave.com stable InRelease                                           
    Stary:7 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease                                      
    Stary:8 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease                           
    Stary:9 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease                                         
    Ign.:10 https://repo.vivaldi.com/archive/deb stable InRelease                                                  
    Stary:11 https://packages.microsoft.com/repos/ms-teams stable InRelease                                        
    Stary:12 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease                                        
    Stary:13 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease                                      
    Stary:14 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease                                         
    Stary:15 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease                                       
    Ign.:16 https://repo.vivaldi.com/stable/deb stable InRelease                                                   
    Stary:17 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease                         
    Stary:18 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease                                    
    Stary:19 https://repo.vivaldi.com/archive/deb stable Release                                                   
    Stary:20 https://repo.vivaldi.com/stable/deb stable Release                                                    
    Stary:21 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease                                     
    Stary:22 https://archive.ubuntu.com/ubuntu focal InRelease                                                     
    Stary:23 https://archive.ubuntu.com/ubuntu focal-updates InRelease         
    Stary:24 https://archive.ubuntu.com/ubuntu focal-security InRelease        
    Stary:26 https://archive.ubuntu.com/ubuntu focal-backports InRelease
    Stary:25 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Czytanie list pakietów... Gotowe
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'
    root@hp-pavilion-15:~# 
    


    Dodano po 2 [minuty]:

    madmarmot napisał:
    Dopiero wtedy można aktualizować system:


    madmarmot napisał:
    Dopiero wtedy można aktualizować system:


    sudo apt-get dist-upgrade


    Nie chcę robić upgrade systemu do 24.04 tylko zostać przy 20.04, ale z możliwością aktualizowania

    Dodano po 1 [godziny] 34 [minuty]:

    >>21648164

    Dzięki wielkie madmarmot. Zostaje mi tylko załatwienie tego nieszczęsnego wpisu.

    
    Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.vivaldi.com/archive/deb stable InRelease' doesn't support architecture 'i386'
    


    Gdybyś miał jakieś dobre rozwiązanie w tym temacie to napisz.

    Dałem pomógł jak by co.

    Wielkie dzięki raz jeszcze za kawał dobrej roboty.

    Pozdrawiam!
  • Pomocny post
    #17 21648296
    madmarmot
    Poziom 14  
    Posty: 76
    Pomógł: 16
    Ocena: 24
    Tutaj chcesz uruchomić plik:
    Cytat:
    root@hp-pavilion-15:~# /etc/apt/sources.list.d/vivaldi.list
    -bash: /etc/apt/sources.list.d/vivaldi.list: Brak dostępu


    Z tym plikiem nic nie robisz.

    Trzeba edytować z podniesionymi uprawnieniami plik /etc/apt/sources.list:
    sudo nano /etc/apt/sources.list

    Trzeba usunąć linię:
    Cytat:

    Potem zapisać zmiany, wyjść z programu i sprawdzić, czy to polecenie nie wyświetli błędów:
    sudo apt-get update


    Poleceniem:
    sudo apt-get dist-upgrade

    nie aktualizujesz do kolejnego wydania dystrybucji, czyli 24.04, ale uaktualniasz pakiety do najnowszych możliwych wersji w ramach obecnego wydania 20.04.

    PS
    To nie jest żaden geniusz, tylko podstawy. Mnie jest łatwiej podawać komendy do terminala, bo są uniwersalne dla dość sporej grupy systemów, a nie opowiadać, w który przełącznik w którym okienku kliknąć, zależnie od tego, czy to będzie Synaptic, Centrum Oprogramowania Ubuntu czy inny "Odkrywca", itd.

    Dodano po 10 [godziny] 43 [minuty]:

    Edytuj plik /etc/apt/sources.list.d/vivaldi.list, między deb a http wstaw:


    Zapisz zmiany, odśwież apt-get update.

    Pierwszy lepszy przykład:
    https://openvpn.net/as-docs/architecture-i386...retrieve-32-bit-packages--multi-arch-enabled-
  • #18 21648907
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    madmarmot napisał:
    PS
    To nie jest żaden geniusz


    Jak dla mnie wykonałeś genialną robotę. Dziękuje Ci raz jeszcze! Wczoraj mimo błędu z Vivaldim poszły wszystkie aktualizacje przez menadżer oprogramowania. Do tego Vivaldi zaktualizował się do najnowszej wersji i ma trochę lepszy zmieniony interfejs.

    Tutaj wynik Twoich poleceń:

    
    hpmkj-cs15@hp-pavilion-15:~$ sudo apt-get update
    Stary:1 http://dl.google.com/linux/chrome/deb stable InRelease
    Stary:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal InRelease                                    
    Stary:3 http://dl.google.com/linux/earth/deb stable InRelease                                                  
    Stary:4 http://ppa.launchpad.net/apandada1/foliate/ubuntu focal InRelease                                      
    Stary:5 https://brave-browser-apt-beta.s3.brave.com stable InRelease                                           
    Stary:6 https://deb.opera.com/opera-stable stable InRelease                                                    
    Stary:7 https://linux.teamviewer.com/deb stable InRelease                                                      
    Stary:8 http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu focal InRelease                           
    Ign.:9 https://repo.vivaldi.com/stable/deb stable InRelease                                                    
    Stary:10 http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal InRelease                                        
    Stary:11 https://repo.vivaldi.com/stable/deb stable Release                                                    
    Stary:12 http://ppa.launchpad.net/forkotov02/ppa/ubuntu focal InRelease                                        
    Stary:13 https://packages.microsoft.com/repos/ms-teams stable InRelease                                        
    Stary:14 http://ppa.launchpad.net/peterlevi/ppa/ubuntu focal InRelease                                         
    Stary:15 http://ppa.launchpad.net/sebastian-stenzel/cryptomator/ubuntu focal InRelease                         
    Stary:16 https://archive.ubuntu.com/ubuntu focal InRelease                                                     
    Stary:17 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease                              
    Stary:18 https://archive.ubuntu.com/ubuntu focal-updates InRelease                                     
    Stary:19 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease                               
    Stary:20 https://archive.ubuntu.com/ubuntu focal-security InRelease        
    Stary:21 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
    Stary:22 https://archive.ubuntu.com/ubuntu focal-backports InRelease                  
    Stary:23 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease            
    Stary:24 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
    Czytanie list pakietów... Gotowe
    hpmkj-cs15@hp-pavilion-15:~$ sudo apt-get dist-upgrade
    Czytanie list pakietów... Gotowe
    Budowanie drzewa zależności       
    Odczyt informacji o stanie... Gotowe
    Obliczanie aktualizacji... Gotowe
    Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
      fonts-inter libqt5charts5
    Aby je usunąć należy użyć "sudo apt autoremove".
    0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
    hpmkj-cs15@hp-pavilion-15:~$ 
    
  • #19 21649577
    trade24
    Poziom 3  
    Posty: 171
    Ocena: 10
    Temat jest <SOLVED> można zamknąć i wielkie podziękowania dla madmarmot!!!

Podsumowanie tematu

✨ Na Ubuntu 20.04 LTS Pro podczas wykonywania polecenia sudo apt-get update pojawiają się błędy związane z pobieraniem repozytoriów. Komunikaty wskazują na problemy z dostępem do różnych źródeł pakietów, w tym PPA oraz oficjalnych archiwów Ubuntu. Przyczyną mogą być nieaktualne lub nieprawidłowo skonfigurowane repozytoria, problemy z połączeniem sieciowym lub błędy w plikach konfiguracyjnych APT. Rozwiązania obejmują sprawdzenie poprawności wpisów w plikach sources.list i sources.list.d, usunięcie lub wyłączenie niedziałających PPA, aktualizację kluczy GPG oraz weryfikację połączenia internetowego. Wskazane jest także użycie polecenia apt-get clean oraz ponowne odświeżenie listy pakietów. W przypadku repozytoriów zewnętrznych, takich jak Brave Browser czy TeamViewer, należy upewnić się, że adresy URL są aktualne i dostępne.
Wygenerowane przez model językowy.
REKLAMA