Installing on Raspbian
-
Here is the error I get
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) 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? mkdir: cannot create directory ‘/etc/salt/’: Permission denied main: line 27: /etc/salt/companyName.txt: No such file or directory main: line 28: /etc/salt/minion: No such file or directory main: line 29: /etc/salt/minion_id: No such file or directory main: line 30: /etc/hosts: Permission denied Failed to restart salt-minion.service: Interactive authentication required. See system logs and 'systemctl status salt-minion.service' for details. Failed to enable unit: Interactive authentication required.
-
That's an apt-get throwing the errors, there. Are you definitely running as the root user? That's the Debian standard error for not being root when running apt commands.
-
Forgot about that whole can't sudo thing
-
@wls-itguy said in Installing on Raspbian:
Forgot about that whole can't sudo thing
It's because of the piping. There are ways, but not with the simple commands.