首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么"dnf更新“包不出现?

为什么"dnf更新“包不出现?
EN

Unix & Linux用户
提问于 2022-12-21 13:12:23
回答 1查看 85关注 0票数 0
代码语言:javascript
复制
$ dnf grouplist --installed --verbose
Groupes d’environnements installés :
   Fedora Workstation (workstation-product-environment)
Groupes installés :
   Outils de développement et bibliothèques pour C (c-development)
   Gestion des conteneurs (container-management)
   LibreOffice (libreoffice)
   GNOME (gnome-desktop)
   Polices de caractères (fonts)
   Prise en charge du matériel (hardware-support)

$ sudo dnf groupupdate fonts
Dernière vérification de l’expiration des métadonnées effectuée il y a 3:42:38 le mer. 21 déc. 2022 10:19:59.
Dépendances résolues.
==============================================================================================================================================================================================
 Paquet                                                      Architecture                    Version                                                   Dépôt                            Taille
==============================================================================================================================================================================================
Installation des paquets du groupe/module:
 abattis-cantarell-vf-fonts                                  noarch                          0.301-8.fc37                                              fedora                           121 k
 google-noto-naskh-arabic-vf-fonts                           noarch                          20201206^1.git0c78c8329-7.fc37                            updates                          107 k
 google-noto-sans-arabic-vf-fonts                            noarch                          20201206^1.git0c78c8329-7.fc37                            updates                          122 k
 google-noto-sans-gurmukhi-vf-fonts                          noarch                          20201206^1.git0c78c8329-7.fc37                            updates                           43 k
 google-noto-sans-math-fonts                                 noarch                          20201206^1.git0c78c8329-7.fc37                            updates                          279 k
 vazirmatn-vf-fonts                                          noarch                          33.003-2.fc37                                             fedora                           149 k
Installation des groupes:
 Fonts                                                                                                                                                                                       

<我不update>

代码语言:javascript
复制
$ sudo dnf update
Dernière vérification de l’expiration des métadonnées effectuée il y a 3:44:23 le mer. 21 déc. 2022 10:19:59.
Dépendances résolues.
==============================================================================================================================================================================================
 Paquet                                                Architecture                     Version                                     Dépôt                                               Taille
==============================================================================================================================================================================================
Installation:
 kernel                                                x86_64                           6.0.13-300.fc37                             updates                                             115 k
 kernel-core                                           x86_64                           6.0.13-300.fc37                             updates                                              48 M
 kernel-modules                                        x86_64                           6.0.13-300.fc37                             updates                                              58 M
 kernel-modules-extra                                  x86_64                           6.0.13-300.fc37                             updates                                             3.3 M
Mise à jour:
 aardvark-dns                                          x86_64                           1.4.0-1.fc37                                updates                                             989 k
 elfutils                                              x86_64                           0.188-3.fc37                                updates                                             529 k
 elfutils-debuginfod-client                            x86_64                           0.188-3.fc37                                updates                                              40 k
 elfutils-default-yama-scope                           noarch                           0.188-3.fc37                                updates                                              15 k
 elfutils-libelf                                       x86_64                           0.188-3.fc37                                updates                                             196 k
 elfutils-libs                                         x86_64                           0.188-3.fc37                                updates                                             257 k
 gnome-online-accounts                                 x86_64                           3.46.0-3.fc37                               updates                                             496 k
 hadolint                                              x86_64                           2.8.0-8.fc37                                updates                                             4.0 M
 libbsd                                                x86_64                           0.11.7-2.fc37                               updates                                             112 k
 libshumate                                            x86_64                           1.0.3-1.fc37                                updates                                             119 k
 megasync                                              x86_64                           4.7.3.0-2.fc37                              rpmfusion-nonfree-updates                           8.8 M
 mesa-dri-drivers                                      x86_64                           22.3.1-1.fc37                               updates                                              17 M
 mesa-filesystem                                       x86_64                           22.3.1-1.fc37                               updates                                              18 k
 mesa-libEGL                                           x86_64                           22.3.1-1.fc37                               updates                                             131 k
 mesa-libGL                                            x86_64                           22.3.1-1.fc37                               updates                                             176 k
 mesa-libgbm                                           x86_64                           22.3.1-1.fc37                               updates                                              45 k
 mesa-libglapi                                         x86_64                           22.3.1-1.fc37                               updates                                              57 k
 mesa-libxatracker                                     x86_64                           22.3.1-1.fc37                               updates                                             2.1 M
 mesa-va-drivers                                       x86_64                           22.3.1-1.fc37                               updates                                             3.4 M
 mesa-vulkan-drivers                                   x86_64                           22.3.1-1.fc37                               updates                                             7.5 M
 netavark                                              x86_64                           1.4.0-1.fc37                                updates                                             1.8 M
 perl-DateTime-TimeZone                                noarch                           2.57-1.fc37                                 updates                                             394 k
 pipewire-codec-aptx                                   x86_64                           0.3.63-1.fc37                               rpmfusion-free-updates                               25 k
 xorg-x11-server-Xorg                                  x86_64                           1.20.14-12.fc37                             updates                                             1.5 M
 xorg-x11-server-common                                x86_64                           1.20.14-12.fc37                             updates                                              34 k
Installation des dépendances:
 libmd                                                 x86_64                           1.0.4-2.fc37                                fedora                                               39 k
Suppression:
 kernel                                                x86_64                           6.0.8-200.fc36                              @updates                                              0
 kernel-core                                           x86_64                           6.0.8-200.fc36                              @updates                                             97 M
 kernel-modules                                        x86_64                           6.0.8-200.fc36                              @updates                                             60 M
 kernel-modules-extra                                  x86_64                           6.0.8-200.fc36                              @updates                                            3.4 M

当我 Why dnf update ?时,我没有看到google字体从组字体中更新吗?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2022-12-21 13:29:00

从手册中:

代码语言:javascript
复制
dnf [options] group upgrade ...
      Upgrades the packages from the group and upgrades the group itself. The latter
      comprises of installing packages that were added to the group by the distribution
      and removing packages that got removed from the group as far as they were not
      installed explicitly by the user.

请记住这样的部分:“包含were通过发行版将添加到组中的包”。

另一方面,dnf update <#>只更新现有的包。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/729212

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档