Vlastimil Burián Asked: 2024-11-18 22:10:32 +0800 CST2024-11-18 22:10:32 +0800 CST 2024-11-18 22:10:32 +0800 CST Opera 登录键在删除一天后重新出现 772 我遇到了一个 Opera 的愚蠢问题,我安装、试用并从系统中彻底清除了它,但它的签名密钥不断重新出现mintsources。为什么会出现这种情况?如何防止这种情况?: linux-mint 1 个回答 Voted Best Answer Vlastimil Burián 2024-11-18T22:10:32+08:002024-11-18T22:10:32+08:00 我花了一段时间才发现它,有一个 cron.daily 文件/etc/cron.daily/opera-browser执行以下操作: $ cat /etc/cron.daily/opera-browser #!/bin/sh APT_CONFIG="`command -v apt-config 2> /dev/null`" find_apt_trusted() { eval $("$APT_CONFIG" shell APT_TRUSTEDDIR 'Dir::Etc::trustedparts/d') } # Install the repository/package signing key (opera.archive.key.2021), if it isn't already. install_key() { find_apt_trusted # ASCII-armored keyrings are only supported in apt 1.4 and later, but we must # continue supporting Trusty and Xenial which have older versions of apt, so # the keyring is installed as a binary blob. base64 is used to decode the # ASCII keyring, which should always be available since it comes from the # coreutils. (base64 -d > "$APT_TRUSTEDDIR/opera.archive.key.2021.gpg") <<KEYDATA mQINBGDS+IABEADqdimAr9mrCifc0mRQ+tuaoSpFK6Er8habQSGwmUSt8NpdpY/+ Xkg3CsK7eu/vXlIHf9jy5Ipf2cafzdBdGdeNjfDqwDI6/4jWtCSOfIF4Ynp9vILN c6w+KnpSgx/RZYLT6L76NTVeYplyuXANiHlK5MevmTOlURcQkDEw6fuVDqlnOfxa vnJTvef24NwfhZd0gY5EbxSUG+UDm2YScq1SJyOUUZw0e3TPLO7qEaP1uIfemab4 aVkweraiESvMx1tz6dABq3sHWEElMWc3I1AYYhjKO10L8eQZNr70Rx9ogUuaj8WQ LEI05GsKhr+HdQYOP0yUPRzACfEG0odtPqjENPDHmI2H6wxzN9uP+Oa/K7hZVRwT IsfoRozd3QhoIKppSoX5ENL2Ivuw/L37WTZwApAYHS2TBtMfxhIPHvjtmLV2AC1Y uQUPqsVGST/Jv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EhvAZ9ztrdovtsfuDcGvjavUODSbb+kh4VM qVtVpYUI34BwOrlsiLgncqAs2FWEwKZXNmSUfIZOykjDq2bXOcJnepxWRBjbEsJS mKptx+m18JIvatHYKR5e8ByTvcHvXt8trmR6S4z3SaSGI7wTTr3yetVvYfl3AWUM Tb9f7kmOvskxA+gnMbpHnrbVMjxXas2/ZYT0Hut/yFjZ6+08wleUVhdGhwf8+5jn HmXRqechsgGBnKSZI9l2k4a2NAV1Mx6L7LS8LPL4ESqqTBQsfRKXv4rVBFkMA9ng pflTkuRIpvzU+BB66/vsi+oYa6gLfR7/IDj8Yefr7nb5+dbignx11nU/phqnqoJx PKaaykZXm47rtmnTRpBk8sKB7rbL8wFZ6yONTztIDRdf/0iK4GmjBscr4V0U8eLD T838uwhW3eiO0+zCEKmP/+Xu+GeC83xhousPaAqtVCXRa0E9XPQg3f3DxS4ljA== KEYDATA } # Install another key (opera.archive.key.2023), if it isn't already, for future use. install_future_key() { find_apt_trusted (base64 -d > "$APT_TRUSTEDDIR/opera.archive.key.2023.gpg") <<KEYDATA mQINBGR0shUBEAD62ZzRWPkw8VASmjsjbohyD7VdIJOZP+hcvd2eG4KIo8n6H7UF 7+2I1Qfmv9tKpW6BLmtR9tE7DlpQHFj2IyEEDYuG66/hzfYoewifZ8vZV02afXLS gRmMMg1U7GfDfOAs9qvZd6PkxpP5VIVdFnS86d30gGZY/KnaJ99g5kOJuGGrtf1b RvPt9Nvnj1TE3kSjk0+fIJgkyKMY2ksHtvPZp+axyBmGLv6viCGhNGXnc7e2pkCi qpP9L/IHBG6Qv+c8fSe0IjSnTTWSjGvdU15hsoWWVhW5U36qLW6Ae3Lmh/mjoztM WYkcuyax6qadMItJpNZmDwVbB8cBGhblvDXpkLtHSFkhYk2Sv3j0hl2NUTdOyv00 Dsx903ab1YKVWV2D84IR7/36v9UPT1RF34iJBAzOLToKor6BRWJce18oHw5qJbYJ Ql5xpK0gOqchxPglX73FKeM3jr2LkjQbuh2fcOMATCYmUY1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03uIEubCSkA1UVVnGT0Qk24wP7oghmjE6dysiCQuLOkZ67fU2K7Wzw1M3P QZts1Da3jPLTRnj05cAzomSoO40lTW2RKuixKy7m1e8rT8oEiP4XYrd6Xk6Oc8Uz GBPPYHTclj/I47qe/KNZe8rwPq7NZjNnEz2C4exORS8rynt4jJcO7XdNJOI1vduU ChajONXnsvE1uBJJ41DwgeVFdIcsz2m/BlO3GE5Jzopu75YHUMNMP086MejchvNM r+0LNxVU5OaSotm1xnrj8F8GQuyIUUn882Sslo/rMGC856FIMnK7cPoFOIde2P3/ VGlRXPYlutARVVe60wue37Bg/2PGWl3g6d4P18G7yBAGWYssJlgrFaxJQ0Uts3M0 eyqN1gas54e942AE92BdPYvqtW6E3/cS1+FfqCj9K+4i1IgbirTcHfSErlDTZQ== KEYDATA } install_key install_future_key 因此,删除该文件,你就完成了: $ sudo rm /etc/cron.daily/opera-browser 干杯
我花了一段时间才发现它,有一个 cron.daily 文件
/etc/cron.daily/opera-browser
执行以下操作:因此,删除该文件,你就完成了:
干杯