apt key onership fix
This commit is contained in:
parent
8542da79c1
commit
03a41f0f13
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ function restore_config() {
|
||||||
aptpkgfile="installed_packages"
|
aptpkgfile="installed_packages"
|
||||||
# restore apt first
|
# restore apt first
|
||||||
cp -R etc/apt/ /etc
|
cp -R etc/apt/ /etc
|
||||||
|
chown -R _apt /etc/apt
|
||||||
apt update
|
apt update
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
# now the programs installed via apt before we restore configs
|
# now the programs installed via apt before we restore configs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue