野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3977|回复: 3

[求助] ubuntu 输入sudo apt-get upgrade出现The following packages have been kept ...

[复制链接]
发表于 2023-4-17 12:07:23 | 显示全部楼层 |阅读模式
cat@lubancat:~$sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  accountsservice acl acpid alsa-ucm-conf alsa-utils anacron apg apparmor apt
  apt-utils aspell at-spi2-core avahi-autoipd avahi-daemon avahi-utils
  base-files base-passwd bash bc bind9-host bind9-libs blueman bluez
  bluez-cups bluez-hcidump bluez-obexd bluez-tests bolt bsdmainutils bsdutils
  bubblewrap bzip2 cheese colord coreutils cpp cpp-9 cracklib-runtime cron
  cups cups-browsed cups-bsd cups-client cups-core-drivers cups-daemon
  cups-filters cups-filters-core-drivers cups-ipp-utils cups-pk-helper
  cups-ppdc curl dash dbus dbus-user-session dbus-x11 dc dconf-cli
  dconf-gsettings-backend dconf-service debianutils desktop-file-utils dialog
  diffutils dirmngr distro-info distro-info-data dmidecode dmsetup
  dnsmasq-base dosfstools dpkg dvb-tools e2fsprogs eject enchant-2 ethtool
  evolution-data-server exo-utils fdisk ffmpeg file findutils fontconfig
  fonts-telu fonts-urw-base35 fprintd fuse fwupd gcc-10-base gcc-9-base gcr
  gdb gdbserver gdisk gdm3 genisoimage geoclue-2.0 gettext-base ghostscript
  ghostscript-x gir1.2-atspi-2.0 gir1.2-freedesktop gir1.2-gck-1 gir1.2-gcr-3
  gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0 gir1.2-glib-2.0 gir1.2-gnomedesktop-3.0
  gir1.2-gstreamer-1.0 gir1.2-gtk-3.0 gir1.2-gweather-3.0 gir1.2-ibus-1.0
  gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-packagekitglib-1.0 gir1.2-pango-1.0
  gir1.2-polkit-1.0 gir1.2-rsvg-2.0 gir1.2-soup-2.4 gir1.2-vte-2.91 gjs
  gkbd-capplet glib-networking glib-networking-services gnome-control-center
  gnome-control-center-data gnome-keyring gnome-online-accounts
  gnome-power-manager gnome-screensaver gnome-session-bin gnome-session-common
  gnome-settings-daemon gnome-settings-daemon-common gnome-shell
  gnome-shell-common gnome-startup-applications gnome-terminal
  gnome-terminal-data gnupg gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grep groff-base
  gsettings-desktop-schemas gstreamer1.0-alsa gstreamer1.0-gl
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
  gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-tools gstreamer1.0-x
  gtk-update-icon-cache gtk2-engines-murrine gtk2-engines-pixbuf gucharmap
  gvfs gvfs-backends gvfs-common gvfs-daemons gvfs-libs gzip hdparm hostname
  hplip hplip-data htop i2c-tools ibus ibus-data ibus-gtk ibus-gtk3 ifupdown
  iio-sensor-proxy indicator-appmenu indicator-datetime indicator-messages
  indicator-printers indicator-sound inetutils-ping inputattach iperf3
  iproute2 iptables ir-keytable isc-dhcp-client iw kbd kerneloops kmod libaa1
  libaacs0 libaccountsservice0 libacl1 libapparmor1 libappstream4
  libapt-pkg6.0 libarchive13 libargon2-1 libasound2 libasound2-data
  libasound2-plugins libaspell15 libassuan0 libasyncns0 libatasmart4
  libatkmm-1.6-1v5 libatm1 libatomic1 libatopology2 libatspi2.0-0 libaudit1
  libavahi-client3 libavahi-common3 libavahi-core7 libavahi-glib1
  libavcodec-dev libavcodec58 libavdevice-dev libavdevice58 libavfilter-dev
  libavfilter7 libavformat-dev libavformat58 libavutil-dev libavutil56
  libbabeltrace1 libbdplus0 libblkid-dev libblkid1 libblockdev2 libbluetooth3
  libbluray2 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dbg
  libc6-dev libcaca0 libcairo-gobject-perl libcairo-gobject2 libcairo-perl
  libcairo2 libcanberra-pulse libcanberra0 libcap-ng0 libcap2 libcap2-bin
  libcc1-0 libcdio-cdda2 libcdio-paranoia2 libcdparanoia0 libcheese-gtk25
  libcheese8 libchromaprint1 libclutter-1.0-0 libclutter-gst-3.0-0
  libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libcrypt-dev
  libcrypt1 libcryptsetup12 libcups2 libcupsfilters1 libcupsimage2
  libcurl3-gnutls libcurl4 libdb5.3 libdbus-1-3 libdbusmenu-gtk3-4 libdconf1
  libdevmapper1.02.1 libdrm-amdgpu1 libdrm-dev libdrm-etnaviv1
  libdrm-freedreno1 libdrm-nouveau2 libdrm-radeon1 libdrm-tegra0 libdrm2
  libdvbv5-0 libdvbv5-dev libdvdnav4 libdw-dev libdw1 libebackend-1.2-10
  libebook-1.2-20 libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26
  libedata-cal-2.0-1 libedit2 libefiboot1 libefivar1 libegl-mesa0 libegl1
  libelf-dev libelf1 libenchant-2-2 libepoxy0 libevdev2 libevent-2.1-7
  libevent-core-2.1-7 libevent-pthreads-2.1-7 libexo-2-0 libext2fs2
  libextutils-depends-perl libfcitx-config4 libfdisk1 libffi-dev libffi7
  libfftw3-double3 libfftw3-single3 libfido2-1 libfile-fcntllock-perl libflac8
  libflite1 libfontconfig1 libfreetype-dev libfreetype6 libfreetype6-dev
  libfuse2 libfwupd2 libfwupdplugin5 libgail-common libgail18
  libgarcon-gtk3-1-0 libgbm1 libgcc-s1 libgck-1-0 libgcr-base-3-1
  libgcr-ui-3-1 libgcrypt20 libgd3 libgdbm-compat4 libgdbm6 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgdm1 libgeoclue-2-0
  libgirepository-1.0-1 libgjs0g libgl-dev libgl1 libgl1-mesa-dri
  libglapi-mesa libgles2 libglib-object-introspection-perl libglib-perl
  libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin
  libglibmm-2.4-1v5 libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0
  libgnome-autoar-0-0 libgnome-bluetooth13 libgnome-desktop-3-19
  libgnome-panel0 libgnomekbd8 libgnutls30 libgoa-1.0-0b libgoa-backend-1.0-1
  libgomp1 libgpg-error0 libgpgme11 libgphoto2-6 libgphoto2-port12 libgpm2
  libgs9 libgs9-common libgssapi-krb5-2 libgssapi3-heimdal libgssdp-1.2-0
  libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
  libgstreamer1.0-0 libgstreamer1.0-dev libgtk-3-0 libgtk-3-bin libgtk2.0-0
  libgtk2.0-bin libgtkmm-3.0-1v5 libgtop-2.0-11 libgucharmap-2-90-7
  libgudev-1.0-0 libgupnp-igd-1.0-4 libgweather-3-16 libharfbuzz-icu0
  libharfbuzz0b libhcrypto4-heimdal libheimbase1-heimdal libhpmud0
  libhtml-parser-perl libhttp-message-perl libhunspell-1.7-0
  libhx509-5-heimdal libibus-1.0-5 libical3 libice6 libido3-0.1-0
  libieee1284-3 libimobiledevice6 libindicator3-7 libinput-bin libinput10
  libip4tc2 libip6tc2 libiperf0 libisc-export1105 libjack-jackd2-0
  libjavascriptcoregtk-4.0-18 libjcat1 libk5crypto3 libkmod2
  libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblcms2-utils libldb2
  libllvm12 liblmdb0 liblocale-gettext-perl liblouis20 liblouisutdml-bin
  liblouisutdml9 libltdl7 liblua5.2-0 liblzma-dev liblzma5 libmagic-mgc
  libmagic1 libmaxminddb0 libmbim-glib4 libmbim-proxy libmediaart-2.0-0
  libmm-glib0 libmount-dev libmount1 libmpv-dev libmpv1 libmtp-runtime libmtp9
  libmysqlclient21 libnautilus-extension1a libncurses6 libncursesw6
  libnet-dbus-perl libnet-ssleay-perl libnetplan0 libnewt0.52 libnice10
  libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnm0 libnma0 libnorm1
  libnotify-bin libnotify4 libnpth0 libnspr4 libnss-mdns libnss-systemd
  libnss3 libnuma1 libopenal-data libopenal1 libopenjp2-7 libopenmpt0
  libp11-kit0 libpackagekit-glib2-18 libpam-cap libpam-fprintd
  libpam-gnome-keyring libpam-modules libpam-modules-bin libpam-systemd
  libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangomm-1.4-1v5 libpangoxft-1.0-0 libpaper-utils libpaper1
  libparted-fs-resize0 libparted2 libpcap0.8 libpci3 libpciaccess-dev
  libpciaccess0 libpcre2-16-0 libpcre2-32-0 libpcre2-8-0 libpcre2-dev
  libpcsclite1 libplist3 libplymouth5 libpng-dev libpng-tools libpng16-16
  libpolkit-agent-1-0 libpolkit-gobject-1-0 libpoppler-cpp0v5 libpoppler-glib8
  libpopt0 libpostproc-dev libpostproc55 libprocps8 libproxy1v5 libpsl5
  libpulse-mainloop-glib0 libpulse0 libpulsedsp libpython2.7-minimal
  libpython2.7-stdlib libpython3-stdlib libqmi-glib5 libqmi-proxy libqt5core5a
  libqt5dbus5 libqt5gui5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5
  libqt5network5 libqt5opengl5 libqt5qml5 libqt5quick5 libqt5svg5
  libqt5widgets5 libre2-9 libreadline8 libroken18-heimdal librsvg2-2
  librsvg2-common librtmp1 librubberband2 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane
  libsane-common libsane-hpaio libsasl2-2 libsasl2-modules libsdl2-2.0-0
  libsecret-1-0 libselinux1 libselinux1-dev libsemanage-common libsensors5
  libshout3 libslang2 libsmbclient libsnapd-glib1 libsndfile1 libsndio7.0
  libsodium23 libsoup-gnome2.4-1 libsoup2.4-1 libsqlite3-0 libss2 libssh-4
  libssh-gcrypt-4 libssl-dev libstartup-notification0 libstdc++6
  libswresa
cat@lubancat:~$

800多个套件没有更新,请问要怎麽处理?


回复

使用道具 举报

发表于 2023-4-18 09:05:12 | 显示全部楼层
可以修改更新源看看
回复 支持 反对

使用道具 举报

发表于 2023-4-18 09:05:24 | 显示全部楼层
由于安装的部分硬件加速软件包版本较久,同时不希望这些软件包自动升级(会导致一些硬件加速功能失效),所以使用apt-mark hold命令来标志这些软件包不升级。这就会导致在apt upgeade时提示 The following packages have been kept back: 在后续镜像中已经优化了mark hold过多软件包的问题,但仍有部分软件包无法升级,这是正常现象
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-18 11:08:13 | 显示全部楼层
H781997429 发表于 2023-4-18 09:05
由于安装的部分硬件加速软件包版本较久,同时不希望这些软件包自动升级(会导致一些硬件加速功能失效),所以 ...

好的,謝謝
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-11-23 11:17 , Processed in 0.038401 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表