Question

Can't get latest version of s3cmd

I do:

$ sudo apt-get update $ sudo apt-get upgrade s3cmd

I’m told I’m already at latest version.

But when I do:

$ s3cmd --version

I get version 1.1.0-beta3 which is most definitely not the most recent version, which you can see here: https://github.com/s3tools/s3cmd/blob/master/NEWS

Perhaps Digital Ocean’s apt-get info isn’t up to date for s3cmd?

This is on an Ubuntu 14.04.3 x64 droplet.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey ien, I believe DO’s apt-get repo’s are just caching mirrors of the official Ubuntu repos. Version 1.1.0-beta3 is the most recent version that is in Ubuntu’s repo (which usually lag a bit behind current releases). You can check which version is available (and what repo it comes from) with the command sudo apt-cache policy s3cmd. For example, from pure Ubuntu server outside of DO:

$ sudo apt-cache policy s3cmd
s3cmd:
  Installed: (none)
  Candidate: 1.1.0~beta3-2
  Version table:
     1.1.0~beta3-2 0
        500 http://ca.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

And from a DO droplet

$ sudo apt-cache policy s3cmd
s3cmd:
  Installed: (none)
  Candidate: 1.1.0~beta3-2
  Version table:
     1.1.0~beta3-2 0
        500 http://mirrors.digitalocean.com/ubuntu/ trusty/universe amd64 Packages

The s3cmd tools site itself says that the repo’s are not up to date, and for the latest version you need to either download it from sourceforge or github.

http://s3tools.org/download

Hope this helps!

Be careful while u issue , sudo apt-get upgrade s3cmd

You might end up upgrading various packages in that server which u might not want.

This comment has been deleted