Hallo, mir ist gerade ein heftiger Unterschied zwischen
1 | apt-get upgrade
|
und
1 | apt |
aufgefallen, der mir bisher nicht bekannt war:
apt-get upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete sind zurückgehalten worden: libapache2-mod-php7.0 libnginx-mod-http-auth-pam libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx nginx-common nginx-full php7.0-cli php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-zip Die folgenden Pakete werden aktualisiert (Upgrade): apport apt apt-utils base-files bsdutils btrfs-tools cloud-initramfs-copymods cloud-initramfs-dyn-netconf console-setup console-setup-linux coreutils dbus dnsmasq-base docker-ce dpkg dpkg-dev grub-common grub-legacy-ec2 grub-pc grub-pc-bin grub2-common init init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core iproute2 isc-dhcp-client isc-dhcp-common keyboard-configuration klibc-utils krb5-locales less libapt-inst2.0 libapt-pkg5.0 libblkid1 libdbus-1-3 libdpkg-perl libdrm2 libfdisk1 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libk5crypto3 libklibc libkrb5-3 libkrb5support0 liblxc1 libmount1 libpam-systemd libpci3 libsmartcols1 libssl1.0.0 libsystemd0 libudev1 libuuid1 logrotate lxc-common lxcfs lxd lxd-client makedev mdadm mount nano open-vm-tools openssh-client openssh-server openssh-sftp-server openssl os-prober overlayroot pciutils python3-apport python3-distupgrade python3-problem-report python3-update-manager resolvconf snapd sosreport systemd systemd-sysv ubuntu-core-launcher ubuntu-release-upgrader-core udev unattended-upgrades update-manager-core update-notifier-common util-linux uuid-runtime vlan wget zlib1g
apt upgrade Die folgenden NEUEN Pakete werden installiert: apache2 apache2-data apache2-utils libnginx-mod-http-dav-ext Die folgenden Pakete werden aktualisiert (Upgrade): apport apt apt-utils base-files bsdutils btrfs-tools cloud-initramfs-copymods cloud-initramfs-dyn-netconf console-setup console-setup-linux coreutils dbus dnsmasq-base docker-ce dpkg dpkg-dev grub-common grub-legacy-ec2 grub-pc grub-pc-bin grub2-common init init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core iproute2 isc-dhcp-client isc-dhcp-common keyboard-configuration klibc-utils krb5-locales less libapache2-mod-php7.0 libapt-inst2.0 libapt-pkg5.0 libblkid1 libdbus-1-3 libdpkg-perl libdrm2 libfdisk1 libglib2.0-0 libglib2.0-data libgssapi-krb5-2 libk5crypto3 libklibc libkrb5-3 libkrb5support0 liblxc1 libmount1 libnginx-mod-http-auth-pam libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libpam-systemd libpci3 libsmartcols1 libssl1.0.0 libsystemd0 libudev1 libuuid1 logrotate lxc-common lxcfs lxd lxd-client makedev mdadm mount nano nginx nginx-common nginx-full open-vm-tools openssh-client openssh-server openssh-sftp-server openssl os-prober overlayroot pciutils php7.0-cli php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-zip python3-apport python3-distupgrade python3-problem-report python3-update-manager resolvconf snapd sosreport systemd systemd-sysv ubuntu-core-launcher ubuntu-release-upgrader-core udev unattended-upgrades update-manager-core update-notifier-common util-linux uuid-runtime vlan wget zlib1g 119 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
cat /etc/issue Ubuntu 16.04.1 LTS \n \l
# dpkg --get-selections |awk '$2 == "hold" { print $1 }'
# Habe auf die Schnelle keinen entsprechenden Hinweis dazu in der Doku gefunden. Wer kann helfen?
Ps. Ja, auf dem System ist ein ziemliches Durcheinander: Es wurde mal ein Paket installiert, das Apache als Abhängigkeit hatte, dann wieder entfernt ... . Darum geht es aber nicht 😉