uvtool example missing sudo or root

Bug #1793067 reported by Nivedita Singhvi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Fix Released
Undecided
Doug Smythies

Bug Description

On the following webpage:

https://help.ubuntu.com/lts/serverguide/cloud-images-and-uvtool.html
"Ubuntu 18.04 » Ubuntu Server Guide » Virtualization » "

are instructions for installing and using uvtool,
with the first instruction showing the apt cmd
to get the package:

$ apt -y install uvtool

It needs to be either:

$ sudo apt -y install uvtool

or

# apt -y install uvtool

to alert the user to the fact the command needs sudo
or root privs.

As is, this is the output they would see:

$ apt -y install uvtool
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Related branches

Revision history for this message
Doug Smythies (dsmythies) wrote :

Yes, of course. Thanks.

Changed in serverguide:
status: New → In Progress
assignee: nobody → Doug Smythies (dsmythies)
Changed in serverguide:
status: In Progress → Fix Committed
Changed in serverguide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.