Results 1 to 8 of 8

Thread: Update a program from command line to specific version

  1. #1
    Join Date
    May 2011
    Beans
    4

    Update a program from command line to specific version

    Hello. I would like to know if I can update only one program to an specific version from the command line.

    For exmaple I would like to update transmission to a version that is supported by my tracker... instead when I updated it got updated to the 2.30. Which is not even the latest! That one went out just now is rally fresh. But still an update wont update it to 2.31 (though it fixes a packaging problem in 2.30).

    Lets say I would like transmission downgraded to version 2.22. How can I do that from command line? Bear in mind it is a headless ubuntu version with no gui (like a seedbox). So I just need to downgrade transmission-daemon and everything that depends on it.

    It is my first post I hope I do it alright.

  2. #2
    Join Date
    Apr 2009
    Location
    Midwest, U.S.A.
    Beans
    1,209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Update a program from command line to specific version

    I did a quick ppa search and could NOT find 2.31, but only 2.30. You may have to compile from the source code if you need the absolute latest version.

    Good Luck!
    Laptop: Dell Inspiron 8200 - Fedora 13 - Goddard
    Desktop: Self-Built - [Ku, Lu, Xu, U]buntu - Lucid 10.04.3 (LTS)
    Linux User: 498249 / Ubuntu User: 29241

  3. #3
    Join Date
    May 2011
    Beans
    4

    Re: Update a program from command line to specific version

    Thank you for your quick reply.

    Another thing that could help would be to downgrade to version 2.22

    How can I downgrade to version 2.22 from command line? (or any other previous version)

    Thanks!

  4. #4
    Join Date
    Jan 2008
    Beans
    7,749

    Re: Update a program from command line to specific version

    Ta-da! First hit on Google: http://www.transmissionbt.com/download/

  5. #5
    Join Date
    Apr 2009
    Location
    Midwest, U.S.A.
    Beans
    1,209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Update a program from command line to specific version

    Laptop: Dell Inspiron 8200 - Fedora 13 - Goddard
    Desktop: Self-Built - [Ku, Lu, Xu, U]buntu - Lucid 10.04.3 (LTS)
    Linux User: 498249 / Ubuntu User: 29241

  6. #6
    Join Date
    May 2011
    Beans
    4

    Re: Update a program from command line to specific version

    Thank you all for your help.

    But if I follow that guide:

    Code:
    sudo add-apt-repository ppa:transmissionbt/ppa
    sudo apt-get update
    sudo apt-get upgrade
    It will install the latest version, transmission 2.30. I've just done it.

    Instead what I need is to downgrade to version 2.22 (the one accepted by the tracker). Is there something like:

    sudo apt-get install transmission2.22

    Or something similar?

  7. #7
    Join Date
    Apr 2009
    Location
    Midwest, U.S.A.
    Beans
    1,209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Update a program from command line to specific version

    Try searching http://packages.ubuntu.com
    I couldn't find a direct link as the site searched for my version of ubuntu.

    Good Luck!
    Laptop: Dell Inspiron 8200 - Fedora 13 - Goddard
    Desktop: Self-Built - [Ku, Lu, Xu, U]buntu - Lucid 10.04.3 (LTS)
    Linux User: 498249 / Ubuntu User: 29241

  8. #8
    Join Date
    May 2011
    Beans
    4

    Re: Update a program from command line to specific version

    Ok, finally I had to do it the wild way. Thank all of you for your suggestions and help. Here is what I did in case someone has the same issue:

    1) Removed the previous version of transmission-daemon
    Code:
    sudo apt-get remove transmission-daemon
    2) Downloaded the packages of version 2.22
    https://launchpad.net/~transmissionbt/+archive/ppa/+build/2273483

    Code:
    wget https://launchpad.net/~transmissionbt/+archive/ppa/+build/2273483/+files/transmission-cli_2.22-0ubuntu1.09.10.1_i386.deb
    wget https://launchpad.net/~transmissionbt/+archive/ppa/+build/2273483/+files/transmission-common_2.22-0ubuntu1.09.10.1_all.deb
    wget https://launchpad.net/~transmissionbt/+archive/ppa/+build/2273483/+files/transmission-daemon_2.22-0ubuntu1.09.10.1_i386.deb
    However I couldn't find them in:
    http://archive.ubuntu.com/ubuntu/poo.../transmission/

    Only up to version 2.13... maybe somone knows why and can explain?

    3) Installing the packages, in the proper order of course
    Code:
    sudo dpkg -i transmission-common_2.22-0ubuntu1.09.10.1_all.deb
    sudo dpkg -i transmission-cli_2.22-0ubuntu1.09.10.1_i386.deb
    sudo dpkg -i transmission-daemon_2.22-0ubuntu1.09.10.1_i386.deb
    4) Restart transmission-daemon
    Code:
    /etc/init.d/transmission-daemon restart
    Hope someone else finds it useful.

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
  •