“下列包裹已被扣留”,老谜题的新解读

“下列包裹已被扣留”,老谜题的新解读

非常符合标题所说的。新的转折是,我意识到 讨论和相关回复。但是……

  me@me:~$ sudo apt-get update
        Hit:1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease                                                    
        Hit:2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease                                           
        Hit:3 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease        
        Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
        Reading package lists... Done
  me@me:~$ sudo apt-get dist-upgrade
        Reading package lists... Done
        Building dependency tree... Done 
        Reading state information... Done
        Calculating upgrade... Done
        The following packages have been kept back:
           tzdata xdg-utils
        0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

换句话说,我没有冲突的软件包存储库,如参考文献中所建议的那样。3,我已经使用过apt-get dist-upgrade,正如前两个参考文献所建议的那样。当然我手动更新,

  me@me:~$ sudo apt-get install -y tzdata xdg-utils
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        The following packages will be upgraded:
           tzdata xdg-utils
        2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
        Need to get 397 kB of archives.
        After this operation, 48,1 kB disk space will be freed.
        Get:1 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 tzdata all 2022c-0ubuntu0.22.04.0 [335 kB]
        Get:2 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 xdg-utils all 1.1.3-4.1ubuntu3~22.04.1 [61,9 kB]
        Fetched 397 kB in 0s (1.462 kB/s)    
        Preconfiguring packages ...
        (Reading database ... 346424 files and directories currently installed.                
        Preparing to unpack .../tzdata_2022c-0ubuntu0.22.04.0_all.deb ...
        Unpacking tzdata (2022c-0ubuntu0.22.04.0) over (2022a-0ubuntu1) ..              
        Preparing to unpack .../xdg-utils_1.1.3-4.1ubuntu3~22.04.1_all.deb ...
        Unpacking xdg-utils (1.1.3-4.1ubuntu3~22.04.1) over (1.1.3-4.1ubuntu1.22.04.1) ...
        Setting up tzdata (2022c-0ubuntu0.22.04.0) ...

        Current default time zone: 'Europe/Paris'
        Universal Time is now:  Fri Sep  2 07:52:12 UTC 2022.
        Run 'dpkg-reconfigure tzdata' if you wish to change it.

        Setting up xdg-utils (1.1.3-4.1ubuntu3~22.04.1) ...
        Processing triggers for man-db (2.10.2-1) ...

因此,这不仅仅是一个问题,更是一个麻烦,但:首先,尽管我尝试清除缓存等,这种情况仍然经常发生(apt-get clean && apt-get autoclean),其次我想知道导致问题的原因,因为即使在apt-get dist-upgrade显然,这让我怀疑事情可能比表面上看起来的要复杂。干杯,谢谢。

答案1

如果这些 分阶段更新,那么通过强制安装,您就成为了 beta 测试员。

此类软件包的分发有限,旨在让某些用户先获得以便报告损坏的软件包。可以强制安装这些软件包,但不建议这样做。

要测试被扣留的包裹是否分阶段,请运行 apt-cache policy <packagename> 并查找“分阶段”百分比,例如“(分阶段 xx%)”。

相关内容