Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
Novell2
Enthusiast
Posts: 85
Liked: 2 times
Joined: Feb 05, 2010 4:12 pm
Full Name: Zeller Werner
Contact:

Install error Veeam Agent 4 Linux Ubuntu20.04

Post by Novell2 »

Hi, I want to install Veeam Agent for Linux V6 on Ubuntu 22.04. I get this back:

Code: Select all

veeamsvc@ubuntu:~$ sudo dpkg -i ./veeam-release* && apt-get update
  (Reading database ... 99666 files and directories currently installed.)
  Preparing to unpack .../veeam-release-deb_1.0.8_amd64.deb ...
  Unpacking veeam-release-deb (1.0.8) over (1.0.8) ...
  Setting up veeam-release-deb (1.0.8) ...
  Reading package lists... Done
  E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
  E: Unable to lock directory /var/lib/apt/lists/
  W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
  W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
  veeamsvc@ubuntu:~$
What can I do? Thanks a lot!
Best regards Novell2
Regnor
VeeaMVP
Posts: 1012
Liked: 314 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by Regnor » 1 person likes this post

Is it possible that your command is missing a sudo?

sudo dpkg -i ./veeam-release* && sudo apt-get update
Novell2
Enthusiast
Posts: 85
Liked: 2 times
Joined: Feb 05, 2010 4:12 pm
Full Name: Zeller Werner
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by Novell2 »

Hi Regnor,
thanks, I will try, the command was from the Veeam pdf...
Let you know later!
Thanks
Mildur
Product Manager
Posts: 9848
Liked: 2610 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by Mildur »

Hello Werner

Could you maybe share a link to the PDF with us?
And please report back if Regnors recommendation has worked.

Best,
Fabian
Product Management Analyst @ Veeam Software
coolsport00
Veeam Legend
Posts: 124
Liked: 32 times
Joined: Sep 11, 2012 12:00 pm
Full Name: Shane Williford
Location: Missouri, USA
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by coolsport00 »

Hey Max/Fabian -
I am now testing VAL install, etc. and received this same error. I searched for the error and this forum post came up. YES INDEED! Surprised I didn't catch it myself, but yes...adding SUDO in front of the "apt update" part of the command does indeed resolve the problem. The 'pdf' Werner was probably talking about is the actual VAL User Guide VAL Install section. See here:
https://helpcenter.veeam.com/docs/agent ... tml?ver=60
The Guide needs to be updated with sudo needing added.

Thanks!
Shane Williford
Systems Architect

Veeam Legend | Veeam Architect (VMCA) | VUG KC Leader
VMware VCAP/VCP | VMware vExpert 2011-22
Twitter: @coolsport00
rovshan.pashayev
Veeam Software
Posts: 454
Liked: 94 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by rovshan.pashayev »

Hello Shane,

The User Guide which you point, assume/example that all commands are running as root user, thus no need for sudo.
If you run all those command via user, which has sudo privileges, then yes, you need include sudo in every action.

Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
coolsport00
Veeam Legend
Posts: 124
Liked: 32 times
Joined: Sep 11, 2012 12:00 pm
Full Name: Shane Williford
Location: Missouri, USA
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by coolsport00 »

Hi Rovshan -
Thanks...yes. But, maybe on that page, it should be reiterated. I looked back a page on the 'Before You Begin' page, under 'General Prerequisites', and it states just that. But, wouldn't hurt to reiterate on the actual page where the commands are listed. Just a suggestion.
Appreciate it.
Cheers!
Shane Williford
Systems Architect

Veeam Legend | Veeam Architect (VMCA) | VUG KC Leader
VMware VCAP/VCP | VMware vExpert 2011-22
Twitter: @coolsport00
Regnor
VeeaMVP
Posts: 1012
Liked: 314 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by Regnor »

Hey Shane, great that you came across this topic. I don't know how often I forget sudo; probably every time I needed root permissions :lol:
dali@iae.nl
Enthusiast
Posts: 82
Liked: 21 times
Joined: Jan 17, 2022 10:31 am
Full Name: Da Li
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by dali@iae.nl »

Thanks for this post that mentioned also to add "sudo" before the second.
But yes please also update the page https://helpcenter.veeam.com/docs/agent ... tml?ver=60 with a remark for non-root because it seems we were not the only ones searching ..
rovshan.pashayev
Veeam Software
Posts: 454
Liked: 94 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by rovshan.pashayev »

Hello,

General pre-requisite sub part of User Guide is already covering this information:
https://helpcenter.veeam.com/docs/agent ... requisites

To install Veeam Agent for Linux software packages, you must use the root account or any user account that has super user (root) privileges on the computer where you plan to install the product.

Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
dali@iae.nl
Enthusiast
Posts: 82
Liked: 21 times
Joined: Jan 17, 2022 10:31 am
Full Name: Da Li
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by dali@iae.nl »

Hi Rovshan, that's right but we are talking about how to use the command and placing twice "sudo" in it. If it had been mentioned as a not we did not have this current Post.
rovshan.pashayev
Veeam Software
Posts: 454
Liked: 94 times
Joined: Jul 03, 2023 12:44 pm
Full Name: Rovshan Pashayev
Location: Czechia
Contact:

Re: Install error Veeam Agent 4 Linux Ubuntu20.04

Post by rovshan.pashayev »

Hello,

Thanks for your feedback on the user guide. We've noted your suggestion.

Rovshan
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests