Új hozzászólás Aktív témák

  • Siriusb

    veterán

    Belefutottam az alábbi hibába:
    root@debian:/etc/apt# apt-get update
    Ign:1 http://ftp.hu.debian.org/debian stretch InRelease
    Hit:2 http://ftp.hu.debian.org/debian stretch-updates InRelease
    Hit:3 http://ftp.hu.debian.org/debian stretch Release
    Ign:4 http://deb.debian.org/debian stretch InRelease
    Hit:5 http://security.debian.org/debian-security stretch/updates InRelease
    Hit:6 http://deb.debian.org/debian stretch Release
    Hit:7 http://www.deb-multimedia.org stretch InRelease
    Get:8 https://repo.skype.com/deb stable InRelease [4,487 B]
    Ign:8 https://repo.skype.com/deb stable InRelease
    Fetched 4,487 B in 0s (11.4 kB/s)
    Reading package lists... Done
    W: http://ftp.hu.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
    és így tovább...

    Töröltem a trusted.gpg-t, és ment egy # apt install --reinstall debian-keyring, de nincs változás.
    A fenti megoldást találtam neten, bár nem értem, miért javult meg emiatt bárkinek is, hiszen ugyanúgy root jogsija van csak:
    -rw------- 1 root root 32 Jul 21 13:30 trusted.gpg

    Számomra logikusnak tűnik, hogy csak a root fér hozzá, az _apt benne sincs semmilyen csoportban:
    root@debian:/etc/apt# cat /etc/group | grep _apt
    root@debian:/etc/apt# cat /etc/passwd | grep _apt
    _apt:x:104:65534::/nonexistent:/bin/false
    root@debian:/etc/apt#

    Mi ez az egész és miért? S mi lenne a megoldás?

Új hozzászólás Aktív témák

Hirdetés