Error: requires installation of untrusted packages

Discussion in 'all things UNIX' started by aigle, Mar 23, 2011.

Thread Status:
Not open for further replies.
  1. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
    How to get rid of this annoying error pls. Hoping for a simple fix. :mad:

    Thanks
     

    Attached Files:

  2. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    Re: Error: requires installation of untrusted pacakges

    can you please click on details as well

    also are you able to install via synaptic package manager

    or

    apt-get install software-name
     
  3. tlu

    tlu Guest

    Re: Error: requires installation of untrusted pacakges

    aigle, most probably you didn't add the OpenPGP key for a repo you're using.
     
  4. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
    Re: Error: requires installation of untrusted pacakges

    Thanks here is the detail. I did not try it via command line as I don,t know exact name of software.
     

    Attached Files:

  5. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
    Re: Error: requires installation of untrusted pacakges

    Hmm... I usually just download the deb packages of the software I need and install them.

    How can I add that key? Thanks
     
  6. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    IIRC, the gstreamer plugins are in the Medibuntu repository, which you will need to manually add. This command should add the repo and the PGP key all in one swoop:

    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
    Source: http://medibuntu.org/repository.php
     
  7. ard14n_y

    ard14n_y Registered Member

    Joined:
    Dec 30, 2009
    Posts:
    25
    Is there something like 'NO_PUBKEY xxxxxxxxyyyyyyyy' in the details?
    If so, you need to find and add the key.

    gpg --keyserver subkeys.pgp.net --recv-keys yyyyyyyy
    gpg -a --export yyyyyyyy | sudo apt-key add -

    Tou can also use Passwords and Encryption Keys to find and export the key as file. Then import the keyfile via Software Sources (Authentication tab).
     
  8. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
    Nothing like this in details.
     
  9. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
    Thanks a lot. Still no go.

    I see this:

     
  10. ard14n_y

    ard14n_y Registered Member

    Joined:
    Dec 30, 2009
    Posts:
    25
  11. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    few reasons any one could be there

    1st mirror problem (change default mirror and check again)

    2nd corupt data base (try ......... sudo apt-get clean) or install bleachbit from website install deb package and clean from root apt pakages

    3rd gpg key error (import key from key server)

    4th no dns define ubuntu network connection if it manual ip address (please click edit on your network icon and go to your wired/wireless connection write dns address of your server)

    5th bad repositories?


    try

    sudo apt-get clean
     

    Attached Files:

    Last edited: Mar 24, 2011
  12. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    more screen shots

    try to revert (ie uncheck all repositories and try (check)them one by one see which is giving problem delete and install repository again )

    try to change main server to some else server
     

    Attached Files:

  13. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677

    Attached Files:

    Last edited: Mar 24, 2011
  14. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
  15. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    ocky is there any way to skip broken repo's in apt-get like we have in yum

    also which key servers work on port 80 or access like simple HTML where you can download key files for ppa .........etc

    i mean not on port 11371

    example

    keyserver.ubuntu.com:11371
     
  16. NormanF

    NormanF Registered Member

    Joined:
    Feb 20, 2009
    Posts:
    1,439
    Simple fix?

    Run untrusted packages in Synaptic.

    They always install from there.
     
  17. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    In Ubuntu there is similar:-
    apt-get check - It does an update of the package lists and checks for broken dependencies.

    mack_guy your second question is much too difficult for me to understand. :D
     
  18. ard14n_y

    ard14n_y Registered Member

    Joined:
    Dec 30, 2009
    Posts:
    25
  19. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    yes my firewall is blocking key server please can you give me a rule set or any http site where i can search and import keys from

    those link also block when search keys on them i disable proxy and try to connect directly same error.
     

    Attached Files:

  20. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,047
    Location:
    Saudi Arabia/ Pakistan
  21. ard14n_y

    ard14n_y Registered Member

    Joined:
    Dec 30, 2009
    Posts:
    25
    Thanks. Glad to know that it fixed :)
     
  22. ard14n_y

    ard14n_y Registered Member

    Joined:
    Dec 30, 2009
    Posts:
    25
    Sorry, both site connect to port 11371 too.
    Is this firewall rule work?
    allow
    outbound
    protocol tcp
    destination port 11371

    or you can force keyserver.ubuntu.com to use port 80.
    Like this.
    http://keyserver.ubuntu.com:80/pks/lookup?search=0x437D05B5&op=vindex

    If you use opera, you can add a custom search for convenient searching.

    [​IMG]


    Change the port to 80.

    [​IMG]
     
    Last edited: Mar 25, 2011
  23. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    thanks very much ard14n_y

    glad aigle your problem solved bro ;)

    i didnt know it open on port 80 (awesome dude)

    you save one more rule in my poor firewall :D

    :thumb:
     
    Last edited: Mar 25, 2011
Loading...
Thread Status:
Not open for further replies.