Results 1 to 5 of 5

Thread: Question about Pidgin repositories command

  1. #1
    Join Date
    Sep 2008
    Beans
    21

    Question Question about Pidgin repositories command

    Hi everyone,

    I run Hardy on my laptop and i want to update my Pidgin to the latest version. At Pidgin's website there is the following command:

    Code:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com \     67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8
    
    . /etc/lsb-release
    
    echo deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu \     $DISTRIB_CODENAME main | \
        sudo tee /etc/apt/sources.list.d/pidgin-ppa.list
    The question is... Do i enter all this text as a single command or are these to be entered as separate commands? It seems to get the key fine but it doesn't update my resource list. Please help. Thank you.

    UPDATE: I just received a Pidgin update. So i guess i did it at last. Still would like to know if this is a single command though. If someone can break it apart it'd help me understand. Thank you.
    Last edited by PrimaryMaster; June 15th, 2009 at 10:52 PM.

  2. #2
    Join Date
    Aug 2006
    Location
    Uruguay
    Beans
    1,645

    Re: Question about Pidgin repositories command

    I believe you should be able to just paste everything and not have any issues.

    Member of the UbuntuBeginnersTeam

    Member of the UnansweredPostsTeam

  3. #3
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Question about Pidgin repositories command

    It's 3 commands, the \ just lets you split a command over several lines to make it easier to read. So it's the same as typing:

    Code:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8
    . /etc/lsb-release
    echo deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu $DISTRIB_CODENAME main | sudo tee /etc/apt/sources.list.d/pidgin-ppa.list
    You can split any command up in this way, for example you could do
    Code:
    sudo \
    apt-get \
    update
    instead of
    Code:
    sudo apt-get update
    The commands you entered only installed the Pidgin PPA and key to your repos, it didn't include the update or upgrade commands needed to actually update your system. This is why the Pidgin update didn't happen immediately.
    Last edited by Cheesemill; June 16th, 2009 at 12:03 AM.
    Cheesemill

  4. #4
    Join Date
    Apr 2008
    Location
    Houston, TX USA
    Beans
    589
    Distro
    Ubuntu

    Re: Question about Pidgin repositories command

    Code:
    tee /etc/apt/sources.list.d/pidgin-ppa.list
    Creates a sublist, which is why you're not seeing the entry in your sources.list.

    Code:
    $DISTRIB_CODENAME
    Should equal Jaunty/Intrepid/Hardy/whatever.
    Locke
    Try Dropbox, it's FREE! (gratis) http://db.tt/J7Sm9iC
    Try Dropbox experimental build updater http://forums.dropbox.com/topic.php?id=12153

  5. #5
    Join Date
    Sep 2008
    Beans
    21

    Re: Question about Pidgin repositories command

    Thank you all. Been really helpful.

Tags for this Thread

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
  •