This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
informatica:servidor_internet_2009_debian_9 [2022/08/04 14:39] miquel [apt-get upgrade] |
informatica:servidor_internet_2009_debian_9 [2022/08/10 15:45] (current) miquel [apt-get dist-upgrade] |
||
|---|---|---|---|
| Line 163: | Line 163: | ||
| ==== Còpies de seguretat ==== | ==== Còpies de seguretat ==== | ||
| - | Guardo a /// | + | Guardo a /// |
| * /etc -> etc | * /etc -> etc | ||
| Line 215: | Line 215: | ||
| ==== apt-get update ==== | ==== apt-get update ==== | ||
| - | Modifico els fitxers a ''/ | + | Modifico els fitxers a ''/ |
| Llavors executo la comanda " | Llavors executo la comanda " | ||
| Line 369: | Line 369: | ||
| </ | </ | ||
| - | <WRAP todo> | + | Comprovo i actualitzo els nous fitxers de configuració: |
| - | Comprovar les nous fitxers de configuració | + | |
| - | - nanorc | + | * :ok: nanorc |
| - | - bootlogd | + | * :ok: bootlogd |
| - | - stop-bootlogd | + | * :ok: stop-bootlogd |
| - | - stop-bootlogd-single | + | * :ok: stop-bootlogd-single |
| - | - sysstat | + | * :ok: sysstat |
| - | - apt.conf.d/ | + | * :ok: apt.conf.d/ |
| - | - init.d/ | + | * :ok: init.d/ |
| - | + | ||
| - | </ | + | |
| Line 387: | Line 384: | ||
| Finalment executo la comanda ``apt-get dist-upgrade`` per actualitzar la resta de paquets i completar la instal·lació de 9.13 " | Finalment executo la comanda ``apt-get dist-upgrade`` per actualitzar la resta de paquets i completar la instal·lació de 9.13 " | ||
| + | |||
| + | Primer faig una simulació amb '' | ||
| + | |||
| + | < | ||
| + | $ sudo apt-get dist-upgrade | ||
| + | [sudo] password for sermnadmin: | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree | ||
| + | Reading state information... Done | ||
| + | Calculating upgrade... The following packages were automatically installed and are no longer required: | ||
| + | aptdaemon aptdaemon-data docutils-common docutils-doc g++-4.9 gir1.2-clutter-gst-2.0 gir1.2-gconf-2.0 gir1.2-gkbd-3.0 gir1.2-javascriptcoregtk-3.0 | ||
| + | ... | ||
| + | python3-aptdaemon.gtk3widgets python3-defer python3-jinja2 python3-markupsafe qdbus qt-at-spi qtchooser qtcore4-l10n | ||
| + | Use ' | ||
| + | Done | ||
| + | The following packages will be REMOVED: | ||
| + | apache2-mpm-prefork fonts-droid gir1.2-gdm3 gir1.2-gpaste-2.0 gir1.2-panelapplet-4.0 gnome-media gnuplot-tex grilo-plugins-0.2 gstreamer0.10-plugins-good | ||
| + | libasprintf0c2 libatkmm-1.6-1 libboost-date-time1.55.0 libcairomm-1.0-1 libcheese-gtk23 libcheese7 libcwidget3 libebook-1.2-14 libebook-contacts-1.2-0 | ||
| + | ... | ||
| + | openjdk-7-jre openjdk-7-jre-headless perl-modules php5-imagick pulseaudio-module-x11 python-cupshelpers python3.4 python3.4-minimal tracker-utils | ||
| + | tzdata-java xserver-xorg-input-vmmouse xserver-xorg-video-modesetting | ||
| + | The following NEW packages will be installed: | ||
| + | appstream blt ca-certificates-mono cpp-6 dbconfig-mysql dbus-user-session default-mysql-server dh-strip-nondeterminism dirmngr distro-info-data | ||
| + | ... | ||
| + | qemu-efi seahorse-daemon socat speech-dispatcher-espeak-ng system-config-printer-common tex-common tk8.6-blt2.5 ttf-bitstream-vera vdpau-driver-all | ||
| + | xserver-xorg-input-libinput xserver-xorg-legacy xserver-xorg-video-amdgpu xxd | ||
| + | The following packages have been kept back: | ||
| + | chromium | ||
| + | The following packages will be upgraded: | ||
| + | adwaita-icon-theme apache2 apache2-bin apache2-data apache2-utils apachetop apt apt-file apt-listchanges apt-utils aptitude aptitude-common argyll aspell bc | ||
| + | bind9-host bluez bluez-obexd bogofilter-bdb bridge-utils browser-plugin-gnash build-essential cdrdao cheese cheese-common cpp crda cups cups-browsed | ||
| + | ... | ||
| + | xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa | ||
| + | xserver-xorg-video-vmware xwayland yelp zeitgeist-core zenity zenity-common | ||
| + | 680 upgraded, 477 newly installed, 81 to remove and 1 not upgraded. | ||
| + | Need to get 791 MB of archives. | ||
| + | After this operation, 1,388 MB of additional disk space will be used. | ||
| + | Do you want to continue? [Y/n] | ||
| + | Get:1 http:// | ||
| + | Get:2 http:// | ||
| + | Get:3 http:// | ||
| + | ... | ||
| + | Get:1155 http:// | ||
| + | Get:1156 http:// | ||
| + | Get:1157 http:// | ||
| + | Fetched 791 MB in 3min 7s (4,220 kB/s) | ||
| + | Reading changelogs... Done | ||
| + | apt-listchanges: | ||
| + | Extracting templates from packages: 100% | ||
| + | Preconfiguring packages ... | ||
| + | Determining localhost credentials from / | ||
| + | setting xserver-xorg-legacy/ | ||
| + | (Reading database ... 199607 files and directories currently installed.) | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking locales (2.24-11+deb9u4) over (2.19-18+deb8u10) ... | ||
| + | ... | ||
| + | Processing triggers for libapache2-mod-php7.0 (7.0.33-0+deb9u12) ... | ||
| + | Processing triggers for menu (2.1.47+b1) ... | ||
| + | N: Ignoring file ' | ||
| + | |||
| + | |||
| + | $ sudo apt-get dist-upgrade | ||
| + | [sudo] password for sermnadmin: | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree | ||
| + | Reading state information... Done | ||
| + | Calculating upgrade... Done | ||
| + | The following packages were automatically installed and are no longer required: | ||
| + | aptdaemon aptdaemon-data chromium-inspector docutils-common docutils-doc g++-4.9 gir1.2-clutter-gst-2.0 gir1.2-gconf-2.0 gir1.2-gkbd-3.0 gir1.2-javascriptcoregtk-3.0 gir1.2-vte-2.90 | ||
| + | gir1.2-webkit-3.0 gir1.2-xkl-1.0 gnome-accessibility-themes gnome-icon-theme-symbolic gnome-packagekit-session gnome-themes-standard gstreamer0.10-ffmpeg gstreamer0.10-gconf | ||
| + | ... | ||
| + | python-ndg-httpsclient python-ntdb python-pexpect python-pil python-ply python-ptyprocess python-pycparser python-pygments python-renderpm python-reportlab python-reportlab-accel | ||
| + | python-roman python-smbc python-soappy python-urlgrabber python-wstools python3-aptdaemon python3-aptdaemon.gtk3widgets python3-defer python3-jinja2 python3-markupsafe qdbus | ||
| + | qt-at-spi qtchooser qtcore4-l10n | ||
| + | Use 'sudo apt autoremove' | ||
| + | The following packages will be REMOVED: | ||
| + | libavformat56 libgegl-0.2-0 libgnutls-deb0-28 libhogweed2 libimobiledevice4 libnettle4 | ||
| + | The following packages will be upgraded: | ||
| + | chromium | ||
| + | 1 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. | ||
| + | Need to get 57.5 MB of archives. | ||
| + | After this operation, 18.6 MB of additional disk space will be used. | ||
| + | Do you want to continue? [Y/n] Y | ||
| + | Get:1 http:// | ||
| + | Fetched 57.5 MB in 8s (6,881 kB/s) | ||
| + | Reading changelogs... Done | ||
| + | (Reading database ... 218438 files and directories currently installed.) | ||
| + | Removing libgegl-0.2-0: | ||
| + | Removing libavformat56: | ||
| + | Removing libimobiledevice4: | ||
| + | Removing libgnutls-deb0-28: | ||
| + | Removing libhogweed2: | ||
| + | Removing libnettle4: | ||
| + | (Reading database ... 218251 files and directories currently installed.) | ||
| + | Preparing to unpack .../ | ||
| + | Unpacking chromium (73.0.3683.75-1~deb9u1) over (57.0.2987.98-1~deb8u1) ... | ||
| + | Processing triggers for mime-support (3.60) ... | ||
| + | Processing triggers for desktop-file-utils (0.23-1) ... | ||
| + | Processing triggers for menu (2.1.47+b1) ... | ||
| + | Setting up chromium (73.0.3683.75-1~deb9u1) ... | ||
| + | Processing triggers for man-db (2.7.6.1-2) ... | ||
| + | Processing triggers for gnome-menus (3.13.3-9) ... | ||
| + | Processing triggers for hicolor-icon-theme (0.15-1) ... | ||
| + | </ | ||
| + | |||
| + | i elimino tots els paquets que ja no es fan servir, | ||
| + | |||
| + | < | ||
| + | $ sudo apt autoremove | ||
| + | Reading package lists... Done | ||
| + | Building dependency tree | ||
| + | Reading state information... Done | ||
| + | The following packages will be REMOVED: | ||
| + | aptdaemon aptdaemon-data chromium-inspector docutils-common docutils-doc g++-4.9 gir1.2-clutter-gst-2.0 gir1.2-gconf-2.0 gir1.2-gkbd-3.0 gir1.2-javascriptcoregtk-3.0 gir1.2-vte-2.90 | ||
| + | gir1.2-webkit-3.0 gir1.2-xkl-1.0 gnome-accessibility-themes gnome-icon-theme-symbolic gnome-packagekit-session gnome-themes-standard gstreamer0.10-ffmpeg gstreamer0.10-gconf | ||
| + | ... | ||
| + | python-roman python-smbc python-soappy python-urlgrabber python-wstools python3-aptdaemon python3-aptdaemon.gtk3widgets python3-defer python3-jinja2 python3-markupsafe qdbus | ||
| + | qt-at-spi qtchooser qtcore4-l10na | ||
| + | 0 upgraded, 0 newly installed, 241 to remove and 0 not upgraded. | ||
| + | After this operation, 238 MB disk space will be freed. | ||
| + | Do you want to continue? [Y/n] | ||
| + | (Reading database ... 218253 files and directories currently installed.) | ||
| + | Removing aptdaemon (1.1.1-4+deb8u1) ... | ||
| + | Removing python3-aptdaemon.gtk3widgets (1.1.1-4+deb8u1) ... | ||
| + | Removing aptdaemon-data (1.1.1-4+deb8u1) ... | ||
| + | ... | ||
| + | Removing libmusicbrainz5-1: | ||
| + | Removing php5-mysql (5.6.40+dfsg-0+deb8u12) ... | ||
| + | php5_invoke prerm: Disable module mysql for cli SAPI | ||
| + | php5_invoke prerm: Disable module mysql for apache2 SAPI | ||
| + | php5_invoke prerm: Disable module mysqli for cli SAPI | ||
| + | php5_invoke prerm: Disable module mysqli for apache2 SAPI | ||
| + | php5_invoke prerm: Disable module pdo_mysql for cli SAPI | ||
| + | php5_invoke prerm: Disable module pdo_mysql for apache2 SAPI | ||
| + | Removing libmysqlclient18: | ||
| + | ... | ||
| + | Removing libxtables10 (1.4.21-2+b1) ... | ||
| + | Removing php5-pgsql (5.6.40+dfsg-0+deb8u12) ... | ||
| + | php5_invoke prerm: Disable module pgsql for cli SAPI | ||
| + | php5_invoke prerm: Disable module pgsql for apache2 SAPI | ||
| + | php5_invoke prerm: Disable module pdo_pgsql for cli SAPI | ||
| + | php5_invoke prerm: Disable module pdo_pgsql for apache2 SAPI | ||
| + | Removing pkg-config (0.29-4+b1) ... | ||
| + | ... | ||
| + | Processing triggers for shared-mime-info (1.8-1+deb9u1) ... | ||
| + | Processing triggers for dbus (1.10.32-0+deb9u1) ... | ||
| + | Processing triggers for hicolor-icon-theme (0.15-1) ... | ||
| + | |||
| + | </ | ||