0

Running Juno 64bit While trying to update and dist-upgrade the files couldn't be downloaded because there is something wrong with the directory path in the PPAs. I edited the list files to say bionic, bionic main etc according to another post.

sources.list looks like this:

    deb http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
    
    deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main

Now getting this:

    user@Xmachine:~$ sudo apt-get update
    Hit:2 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
    Err:2 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    Get:1 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease [15,4 kB]
    Err:1 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    Fetched 15,4 kB in 3s (5 656 B/s)
    Reading package lists... Done
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    W: Failed to fetch http://ppa.launchpad.net/elementary-os/stable/ubuntu/dists/bionic/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    W: Failed to fetch http://ppa.launchpad.net/elementary-os/os-patches/ubuntu/dists/bionic/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BF36996C4E1F8A59
    W: Some index files failed to download. They have been ignored, or old ones used instead.


I have no idea what is wrong. Please help.


------------------------------------------------------------------------
Edit: Scratch the above, I solved my own problem.
For anyone with the same problem in the future, here is how I solved it:

Get a new GPG key (replace the hex with your own):
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0F678A01569113AE
[Source][1]

Your elementary.list should look like this:

    deb http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
    deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main

Your patches.list should look like this:

    deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic main
    deb-src http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic main

Your sources.list should look like this:

# deb cdrom:[elementary OS 0.3 _Freya_ - Stable amd64 (20150411)]/ bionic main restricted

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

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

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security 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

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu bionic main
# deb-src http://extras.ubuntu.com/ubuntu bionic main

Your appcenter.list should look like this:

http://packages.elementary.io/appcenter juno main

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.