The sudo apt-get upgrade bazel command upgrades all the packages not only the bazel package

572 views
Skip to first unread message

szabozo...@gmail.com

unread,
Dec 2, 2017, 6:09:02 AM12/2/17
to bazel-discuss
Hi,

I've followed the installation description here: https://docs.bazel.build/versions/master/install-ubuntu.html

When I hit the 'sudo apt-get upgrade bazel' command the whole system has been upgraded instead of the bazel package.

The 'upgrade' command is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list, so you cannot add a package name parameter. Please check the documentation here: https://linux.die.net/man/8/apt-get

Probably a better command would be the: 'apt-get install --only-upgrade <packagename>' to upgrade only the corresponding package.

Best regards,
Zoltan

László Csomor

unread,
Dec 4, 2017, 6:47:52 AM12/4/17
to szabozo...@gmail.com, bazel-discuss
Hi Zoltan,

Thanks for the heads-up and figuring out what was wrong! If you feel like fixing the docs, we'd be more than happy to review a pull request / Gerrit review.

Thanks!
Laszlo



--
László Csomor | Software Engineer | laszlo...@google.com

Google Germany GmbH | Erika-Mann-Str. 33 | 80636 München | Germany
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado


--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/afd79b3c-9114-4a7a-ae6c-5c66f7bf65f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages