LINUX.ORG.RU

Переместил archives в другую директорию и получаю ошибку

 , ,


0

1
W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/steam-libs_1%3a1.0.0.75+ds-6_i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
    # move archives to /home/distfiles & make symlink to /var/cache/apt/archives
    if [[ ! -d "/home/distfiles/debian/${1}/archives" ]]; then
        mv -f "/var/cache/apt/archives/" "/home/distfiles/debian/${1}"
    fi
    rm -r /var/cache/apt/archives
    ln -sf "/home/distfiles/debian/${1}/archives" "/var/cache/apt/archives"
    chown 0755 /var/cache/apt/archives

где, ${1} == bookworm

Раньше такого не было

★★★