Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
techmattr
Lurker
Posts: 1
Liked: never
Joined: Jun 21, 2017 8:23 pm
Full Name: Matt
Contact:

Installation Issues on Ubuntu

Post by techmattr »

Here is what I get:

Code: Select all

sudo dpkg -i ./veeam-release* && apt-get update
(Reading database ... 64919 files and directories currently installed.)
Preparing to unpack .../veeam-release-deb_1.0_amd64.deb ...
Unpacking veeam-release-deb (1.0) over (1.0) ...
Setting up veeam-release-deb (1.0) ...
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
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)
I'm obviously running as root so I don't know why I'm getting permission errors. I can install other software and use apt update alone without issue.

Any ideas?
nielsengelen
Product Manager
Posts: 5619
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Installation Issues on Ubuntu

Post by nielsengelen »

If you are root and you run it without sudo what do you get?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Installation Issues on Ubuntu

Post by PTide »

Hi,

As far as i know && does not inherit sudo. Please run it as:

sudo dpkg -i ./veeam-release* && sudo apt-get update

Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests