Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
-
techmattr
- Lurker
- Posts: 1
- Liked: never
- Joined: Jun 21, 2017 8:23 pm
- Full Name: Matt
-
Contact:
Post
by techmattr »
this post
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: 5797
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
-
Contact:
Post
by nielsengelen »
this post
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: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
-
Contact:
Post
by PTide »
this post
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
Users browsing this forum: No registered users and 6 guests