Results 1 to 6 of 6

Thread: Medibuntu key error in natty

  1. #1
    Join Date
    Nov 2007
    Location
    Dhaka, Bangladesh
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Medibuntu key error in natty

    After installation of natty beta (11.04), I tried to add medibuntu using the command at http://medibuntu.org/repository.php.
    Code:
    sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
    However, I keep getting the following error,
    Code:
    W: GPG error: http://packages.medibuntu.org natty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
    W: Failed to fetch bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages  Hash Sum mismatch
    
    W: Failed to fetch bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages  Hash Sum mismatch
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Searching showed several solutions, but none worked for me. Perhaps I am not looking at the right place.

    Please tell me how can I solve this problem. Thanks in advance.

  2. #2
    Join Date
    Nov 2007
    Location
    Dhaka, Bangladesh
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Medibuntu key error in natty

    Separately executing the above-mentioned commands reveals the following error.

    This goes fine

    Code:
    masroor@Dell-Home:~$ sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
    Getting the files for update goes fine,
    Code:
    sudo apt-get --quiet update

    except this error at the end.
    Code:
    W: GPG error: http://packages.medibuntu.org natty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
    This returns error

    Code:
    masroor@Dell-Home:~$ sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring 
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package medibuntu-keyring
    apt-cache search also returns blank
    Code:
    masroor@Dell-Home:~$ apt-cache search medibuntu
    masroor@Dell-Home:~$
    What is missing here?
    Last edited by mmasroorali; April 9th, 2011 at 02:52 PM.

  3. #3
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Medibuntu key error in natty

    Enter these commands to get the key:
    Code:
    gpg --keyserver keyserver.ubuntu.com --recv 2EBC26B60C5A2783
    gpg --export --armor 2EBC26B60C5A2783 | sudo apt-key add -
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

  4. #4
    Join Date
    Nov 2007
    Location
    Dhaka, Bangladesh
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Medibuntu key error in natty

    Quote Originally Posted by Old_Gray_Wolf View Post
    Enter these commands to get the key:
    Code:
    gpg --keyserver keyserver.ubuntu.com --recv 2EBC26B60C5A2783
    gpg --export --armor 2EBC26B60C5A2783 | sudo apt-key add -
    It worked, thanks.

    Why do I have to get the key in this manner? And why medibuntu-keyring does not physically exist at the server?

    Is it because natty right now a beta release? Or am I missing something?

  5. #5
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Medibuntu key error in natty

    Quote Originally Posted by mmasroorali View Post
    It worked, thanks.

    Why do I have to get the key in this manner? And why medibuntu-keyring does not physically exist at the server?

    Is it because natty right now a beta release? Or am I missing something?
    I think the answer is that it is still in beta.
    Use whatever OS or desktop works for you. Dual boot or use VMs if you want. Backup your computer regularly, and definitely before upgrading, partitioning, or installing an OS.

    No support requests by PM please.

  6. #6
    Join Date
    Nov 2007
    Location
    Dhaka, Bangladesh
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Medibuntu key error in natty

    The necessary files have been added to the repository and the command at the top of now runs without any problem.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •