Question on upgrading from Debian 8 to 9 Stable.

If none of the more specific forums is the right place to ask

Question on upgrading from Debian 8 to 9 Stable.

Postby Rildebai » 2018-04-04 20:13

Hi.

I followed this guide (https://linuxconfig.org/how-to-upgrade- ... -9-stretch) and all seems fine. The part I skipped was the two "# aptitude search'~o'" sections. Must I manually delete all the packages shown by that commands output?

Here's my output (my PC name and username were replaces by 'XXXX'):

Code: Select all
root@XXXX:/home/XXXX# aptitude search '~o'
i A alsa-base                       - dummy package to ease purging of obsolete
idA cpp-4.9                         - GNU C preprocessor                       
idA firebird2.5-common              - common files for firebird 2.5 servers and
idA firebird2.5-common-doc          - copyright, licensing and changelogs of fir
idA firebird2.5-server-common       - common files for firebird 2.5 servers     
i   firmware-ralink                 - Binary firmware for Ralink wireless cards
i   gcc-4.8-base                    - GCC, the GNU Compiler Collection (base pac
i   gcc-4.9-base                    - GCC, the GNU Compiler Collection (base pac
idA gir1.2-vte-2.90                 - GObject introspection data for the VTE lib
i   gnome-mplayer                   - GTK+ interface for MPlayer               
idA hardening-includes              - Makefile for enabling compiler flags for s
idA libaacplus2                     - AAC+ encoding library - runtime files     
idA libamd2.3.1                     - approximate minimum degree ordering librar
i   libapt-inst1.5                  - deb package format runtime library       
i   libapt-pkg4.12                  - package management runtime library       
idA libavcodec56                    - Library to encode decode multimedia stream
idA libavformat56                   - FFmpeg file format library               
idA libavresample2                  - FFmpeg audio conversion library           
idA libavutil54                     - FFmpeg avutil library - runtime files     
idA libbasicusageenvironment0       - multimedia RTSP streaming library (BasicUs
idA libbind9-90                     - BIND9 Shared Library used by BIND         
i   libboost-iostreams1.55.0        - Boost.Iostreams Library                   
idA libboost-system1.55.0           - Operating system (e.g. diagnostics support
idA libcamd2.3.1                    - symmetric approximate minimum degree libra
idA libccolamd2.8.0                 - constrained column approximate library for
idA libcholmod2.1.2                 - sparse Cholesky factorization library for
idA libchromaprint0                 - Audio fingerprint library                 
idA libcolamd2.8.0                  - column approximate minimum degree ordering
i   libdns-export100                - Exported DNS Shared Library               
idA libdns100                       - DNS Shared Library used by BIND           
idA libdvbpsi9                      - library for MPEG TS and DVB PSI tables dec
idA libebml4                        - Access library for the EBML format (shared
idA libelfg0                        - an ELF object file access library         
idA libept1.4.12                    - High-level library for managing Debian pac
idA libfbembed2.5                   - Firebird embedded client/server library   
i A libgee2                         - GObject based collection library         
idA libgegl-0.2-0                   - Generic Graphics Library.                 
idA libgif4                         - library for GIF images (library)         
idA libglew1.10                     - OpenGL Extension Wrangler - runtime enviro
i A libgmlib1                       - gnome-mplayer library (shared library)   
i A libgmtk1                        - gnome-mplayer toolkit (shared library)   
i A libgmtk1-data                   - gnome-mplayer toolkit (common files)     
i   libgnutls-deb0-28               - GNU TLS library - main runtime library   
idA libgphoto2-port10               - gphoto2 digital camera port library       
idA libgroupsock4                   - multimedia RTSP streaming library (network
idA libgtop2-7                      - gtop system monitoring library (shared)   
i   libhogweed2                     - low level cryptographic library (public-ke
idA libhunspell-1.3-0               - spell checker and morphological analyzer (
i   libicu52                        - International Components for Unicode     
idA libilmbase6                     - several utility libraries from ILM used by
idA libimobiledevice4               - Library for communicating with the iPhone
i   libirs-export91                 - Exported IRS Shared Library               
i   libisc-export95                 - Exported ISC Shared Library               
idA libisc95                        - ISC Shared Library used by BIND           
idA libisccc90                      - Command Channel Library used by BIND     
i   libisccfg-export90              - Exported ISC CFG Shared Library           
idA libisccfg90                     - Config File Handling Library used by BIND
idA libisl10                        - manipulating sets and relations of integer
idA libjasper1                      - JasPer JPEG-2000 runtime library         
idA libjim0.75                      - small-footprint implementation of Tcl - sh
i   libjson-c2                      - JSON manipulation library - shared library
idA libjsoncpp0                     - Library for reading and writing JSON for C
idA liblivemedia42                  - multimedia RTSP streaming library         
idA libllvm3.5                      - Modular compiler and toolchain technologie
i   liblognorm1                     - Log normalizing library                   
idA liblouis2                       - Braille translation library - shared libs
idA liblwres90                      - Lightweight Resolver Library used by BIND
idA libmatroska6                    - Extensible open standard audio/video conta
i A libmusicbrainz3-6               - library to access the MusicBrainz.org data
idA libmysqlclient18                - MySQL database client library             
i   libnettle4                      - low level cryptographic library (symmetric
idA libnm-gtk-common                - library for wireless and mobile dialogs -
idA libopenexr6                     - runtime files for the OpenEXR image librar
idA libopenjpeg5                    - JPEG 2000 image compression/decompression
idA libopenraw1                     - free implementation for RAW decoding     
idA libopenvg1-mesa                 - free implementation of the OpenVG API -- r
idA liborcus-0.8-0                  - library for processing spreadsheet documen
idA libplist2                       - Library for handling Apple binary and XML
idA libpng12-0                      - PNG library - runtime                     
idA libpoppler46                    - PDF rendering library                     
idA libpostproc53                   - postproc shared libraries                 
i   libprocps3                      - library for accessing process information
i   libpsl0                         - Library for Public Suffix List (shared lib
idA libqmi-glib1                    - Support library to use the Qualcomm MSM In
i   libreadline6                    - GNU readline and history libraries, run-ti
idA libschroedinger-1.0-0           - library for encoding/decoding of Dirac vid
i   libservlet2.5-java              - Servlet 2.5 and JSP 2.1 Java API classes 
i   libssl1.0.0                     - Secure Sockets Layer toolkit - shared libr
idA libswresample1                  - FFmpeg audio rescaling library           
idA libswscale3                     - FFmpeg video scaling library             
idA libtag1-vanilla                 - audio meta-data library - vanilla flavour
idA libturbojpeg1                   - TurboJPEG runtime library - SIMD optimized
i A libtxc-dxtn-s2tc0               - Texture compression library for Mesa     
idA libumfpack5.6.2                 - sparse LU factorization library           
idA libusageenvironment2            - multimedia RTSP streaming library (UsageEn
idA libusbmuxd2                     - USB multiplexor daemon for iPhone and iPod
idA libutvideo15                    - Ut Video Codec Suite library             
idA libvncclient0                   - API to write one's own vnc server - client
idA libvpx1                         - VP8 and VP9 video codec (shared library) 
idA libvte-2.90-9                   - Terminal emulator widget for GTK+ 3.0 - ru
idA libvte-2.90-common              - Terminal emulator widget for GTK+ 3.0 - co
idA libwebp5                        - Lossy compression of digital photographic
idA libwebpdemux1                   - Lossy compression of digital photographic
idA libwebpmux1                     - Lossy compression of digital photographic
idA libwebrtc-audio-processing-0    - AudioProcessing module from the WebRTC pro
idA libwps-0.3-3                    - Works text file format import filter libra
idA libx264-146                     - x264 video coding library                 
idA libx265-51                      - x265 video coding library                 
idA libxapian22                     - Search engine library                     
i   libxtables10                    - netfilter xtables library                 
i A linux-image-3.16.0-4-amd64      - Linux 3.16 for 64-bit PCs                 
i A linux-image-3.16.0-5-amd64      - Linux 3.16 for 64-bit PCs                 
i   python-reportbug                - Python modules for interacting with bug tr
i   python-support                  - automated rebuilding support for Python mo
i   steadyflow                      - Simple download manager for GNOME         
idA vlc-plugin-pulse                - transitional dummy package for vlc       
Write programs that do one thing and do it well. ~ Doug Mcllroy on the UNIX Philosophy
User avatar
Rildebai
 
Posts: 83
Joined: 2016-04-30 09:27
Location: Ireland

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby SlidingHorn » 2018-04-04 20:33

Apt tends to be pretty intelligent about obsolete/no longer needed packages. To get rid of them:

Code: Select all
sudo apt autoremove
SlidingHorn
 
Posts: 31
Joined: 2018-03-26 15:38

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby Hallvor » 2018-04-05 07:31

Unless you need those few extra megabytes for something really important, just leave them.
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby Rildebai » 2018-04-13 17:19

Here are my sources from '/etc/apt/sources.list':

Code: Select all
#

# deb cdrom:[Debian GNU/Linux 8.4.0 _Jessie_ - Official amd64 DVD Binary-1 20160402-14:46]/ stretch contrib main

#deb cdrom:[Debian GNU/Linux 8.4.0 _Jessie_ - Official amd64 DVD Binary-1 20160402-14:46]/ stretch contrib main

#deb http://security.debian.org/ stretch/updates main contrib
#deb-src http://security.debian.org/ stretch/updates main contrib

# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ stretch-updates main contrib
# deb-src http://ftp.debian.org/debian/ stretch-updates main contrib

###

deb http://ftp.ie.debian.org/debian/ stretch contrib non-free main
# deb-src http://ftp.ie.debian.org/debian/ stretch contrib non-free main

deb http://security.debian.org/ stretch/updates main contrib non-free
# deb-src http://security.debian.org/ stretch/updates non-free contrib main

# stretch-updates, previously known as 'volatile'
deb http://ftp.ie.debian.org/debian/ stretch-updates main contrib non-free
# deb-src http://ftp.ie.debian.org/debian/ stretch-updates non-free contrib main

# stretch-backports, previously on backports.debian.org
deb http://ftp.ie.debian.org/debian/ stretch-backports main contrib non-free
# deb-src http://ftp.ie.debian.org/debian/ stretch-backports non-free contrib main

###

# Multimedia.
#deb ftp://ftp.deb-multimedia.org stretch main non-free

###

# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
Write programs that do one thing and do it well. ~ Doug Mcllroy on the UNIX Philosophy
User avatar
Rildebai
 
Posts: 83
Joined: 2016-04-30 09:27
Location: Ireland

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby stevepusser » 2018-04-13 19:13

You can get that down to three lines for the Debian repos, you know, plus another for stretch-backports. Right now it's pretty messy.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 9987
Joined: 2009-10-06 05:53

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby Rildebai » 2018-04-13 19:21

stevepusser wrote:You can get that down to three lines for the Debian repos, you know, plus another for stretch-backports. Right now it's pretty messy.

Hi Steve. The part above '###' is the original source entries. The part below '###' are those I got from a Debian sources online generator.
Write programs that do one thing and do it well. ~ Doug Mcllroy on the UNIX Philosophy
User avatar
Rildebai
 
Posts: 83
Joined: 2016-04-30 09:27
Location: Ireland

Re: Question on upgrading from Debian 8 to 9 Stable.

Postby Rildebai » 2018-04-13 19:22

After running
Code: Select all
sudo apt autoremove
(as suggested by SlidingHorn) and
Code: Select all
sudo apt autoclean

I again ran
Code: Select all
sudo aptitude search '~o'


The list is now reduced:
Code: Select all
i A alsa-base                                                              - dummy package to ease purging of obsolete conffiles                             
i   firmware-ralink                                                        - Binary firmware for Ralink wireless cards                                       
i   gcc-4.8-base                                                           - GCC, the GNU Compiler Collection (base package)                                 
i   gcc-4.9-base                                                           - GCC, the GNU Compiler Collection (base package)                                 
i   gnome-mplayer                                                          - GTK+ interface for MPlayer                                                     
i   libapt-inst1.5                                                         - deb package format runtime library                                             
i   libapt-pkg4.12                                                         - package management runtime library                                             
i   libboost-iostreams1.55.0                                               - Boost.Iostreams Library                                                         
i   libdns-export100                                                       - Exported DNS Shared Library                                                     
i A libgee2                                                                - GObject based collection library                                               
i A libgmlib1                                                              - gnome-mplayer library (shared library)                                         
i A libgmtk1                                                               - gnome-mplayer toolkit (shared library)                                         
i A libgmtk1-data                                                          - gnome-mplayer toolkit (common files)                                           
i   libgnutls-deb0-28                                                      - GNU TLS library - main runtime library                                         
i   libhogweed2                                                            - low level cryptographic library (public-key cryptos)                           
i   libicu52                                                               - International Components for Unicode                                           
i   libirs-export91                                                        - Exported IRS Shared Library                                                     
i   libisc-export95                                                        - Exported ISC Shared Library                                                     
i   libisccfg-export90                                                     - Exported ISC CFG Shared Library                                                 
i   libjson-c2                                                             - JSON manipulation library - shared library                                     
i   liblognorm1                                                            - Log normalizing library                                                         
i A libmusicbrainz3-6                                                      - library to access the MusicBrainz.org database                                 
i   libnettle4                                                             - low level cryptographic library (symmetric and one-way cryptos)                 
i   libprocps3                                                             - library for accessing process information from /proc                           
i   libpsl0                                                                - Library for Public Suffix List (shared libraries)                               
i   libreadline6                                                           - GNU readline and history libraries, run-time libraries                         
i   libservlet2.5-java                                                     - Servlet 2.5 and JSP 2.1 Java API classes                                       
i   libssl1.0.0                                                            - Secure Sockets Layer toolkit - shared libraries                                 
i A libtxc-dxtn-s2tc0                                                      - Texture compression library for Mesa                                           
i   libxtables10                                                           - netfilter xtables library                                                       
i A linux-image-3.16.0-5-amd64                                             - Linux 3.16 for 64-bit PCs                                                       
i   python-reportbug                                                       - Python modules for interacting with bug tracking systems                       
i   python-support                                                         - automated rebuilding support for Python modules                                 
i   steadyflow                                                             - Simple download manager for GNOME                                               


So it's safe to leave those packages alone? No need to uninstall?
Write programs that do one thing and do it well. ~ Doug Mcllroy on the UNIX Philosophy
User avatar
Rildebai
 
Posts: 83
Joined: 2016-04-30 09:27
Location: Ireland


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable