User Tools

Site Tools


informatica:servidor_internet_2009_debian_9

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
informatica:servidor_internet_2009_debian_9 [2022/08/04 14:44]
miquel [apt-get dist-upgrade]
informatica:servidor_internet_2009_debian_9 [2022/08/10 15:44]
miquel [apt-get dist-upgrade]
Line 163: Line 163:
 ==== Còpies de seguretat ==== ==== Còpies de seguretat ====
  
-Guardo a ///home/sermnadmin/Documents/Upgrade-from-Debian7-to-Debian8// una còpia de seguretat de les següents carpetes i fitxers:+Guardo a ///home/sermnadmin/Documents/Upgrade-from-Debian8-to-Debian9// una còpia de seguretat de les següents carpetes i fitxers:
  
   * /etc  ->  etc   * /etc  ->  etc
Line 215: Line 215:
 ==== apt-get update ==== ==== apt-get update ====
  
-Modifico els fitxers a ''/etc/apto/sources.d'' i substitueixo //wheezy// per //jessie// per tal d'emprar els magatzems de la versió 8.+Modifico els fitxers a ''/etc/apto/sources.d'' i substitueixo //jessie// per //stretch// per tal d'emprar els magatzems de la versió 9.
  
 Llavors executo la comanda "apt-get update" i em surt el següent error, Llavors executo la comanda "apt-get update" i em surt el següent error,
Line 369: Line 369:
 </file> </file>
  
-<WRAP todo> +Comprovo i actualitzo els nous fitxers de configuració:
-Comprovar les nous fitxers de configuració de:+
  
-nanorc +  * :ok: nanorc 
-bootlogd +  * :ok: bootlogd 
-stop-bootlogd +  * :ok: stop-bootlogd 
-stop-bootlogd-single +  * :ok: stop-bootlogd-single 
-sysstat +  * :ok: sysstat 
-apt.conf.d/50-unattended-upgrades +  * :ok: apt.conf.d/50-unattended-upgrades 
-init.d/unattended-upgrades +  * :ok: init.d/unattended-upgrades
- +
-</WRAP>+
  
  
Line 388: Line 385:
  
  
-Primer faig una simulació:+Primer faig una simulació amb ''sudo apt-get -s dist-upgrade'' i després executo la comanda:
  
 <file> <file>
 +$ 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 'apt-get autoremove' to remove them. 
 +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://security.debian.org/ stretch/updates/main libssl1.0.2 amd64 1.0.2u-1~deb9u7 [1,305 kB] 
 +Get:2 http://ftp.es.debian.org/debian/ stretch/main locales all 2.24-11+deb9u4 [3,289 kB] 
 +Get:3 http://security.debian.org/ stretch/updates/main wpasupplicant amd64 2:2.4-1+deb9u9 [975 kB]
 ... ...
 +Get:1155 http://ftp.es.debian.org/debian/ stretch/main virt-viewer amd64 5.0-1 [336 kB]
 +Get:1156 http://ftp.es.debian.org/debian/ stretch/main virtinst all 1:1.4.0-5 [177 kB]
 +Get:1157 http://ftp.es.debian.org/debian/ stretch/main xbrlapi amd64 5.4-7+deb9u1 [130 kB]
 +Fetched 791 MB in 3min 7s (4,220 kB/s)
 +Reading changelogs... Done
 +apt-listchanges: Mailing root: apt-listchanges: news for sermnserver
 +Extracting templates from packages: 100%                                               
 +Preconfiguring packages ...                                                                
 +Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.                                
 +setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file                                   
 +(Reading database ... 199607 files and directories currently installed.)                                         
 +Preparing to unpack .../locales_2.24-11+deb9u4_all.deb ...                                            
 +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 '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
  
-</file> 
  
-i després executo la comanda+$ sudo apt-get dist-upgrade 
- +[sudo] password for sermnadmin
-<file>+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' to remove them. 
 +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://ftp.es.debian.org/debian stretch/main amd64 chromium amd64 73.0.3683.75-1~deb9u1 [57.5 MB] 
 +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:amd64 (0.2.0-7+b1) ... 
 +Removing libavformat56:amd64 (6:11.12-1~deb8u9) ... 
 +Removing libimobiledevice4:amd64 (1.1.6+dfsg-3.1+deb8u1) ... 
 +Removing libgnutls-deb0-28:amd64 (3.3.30-0+deb8u1) ... 
 +Removing libhogweed2:amd64 (2.7.1-5+deb8u2) ... 
 +Removing libnettle4:amd64 (2.7.1-5+deb8u2) ... 
 +(Reading database ... 218251 files and directories currently installed.) 
 +Preparing to unpack .../chromium_73.0.3683.75-1~deb9u1_amd64.deb ... 
 +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) ...
  
 +$ 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:amd64 (5.1.0-2) ...
 +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:amd64 (5.5.62-0+deb8u1) ...
 +...
 +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) ...
  
 </file> </file>
  
  
informatica/servidor_internet_2009_debian_9.txt · Last modified: 2022/08/10 15:45 by miquel