Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

upgrade jessie to stretch

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

upgrade jessie to stretch

#1 Post by guthrie »

Just did an upgrade from Jessie to Stretch, everything seemed to go fine, but the instructions I used:
https://linuxconfig.org/how-to-upgrade- ... -9-stretch

said to then do a check;

Code: Select all

Once again check for obsolete packages so there are no surprises down the track:
# aptitude search '~o'
And while it gave no items before the dist-upgrade, not it gives 31 - not sure what this means, or what to do. Should I manually remove all of these?

Code: Select all

aptitude search '~o'
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   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   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   libnettle4                                    - low level cryptographic library (symmetric and one-way c
i A libpng12-0                                    - PNG library - runtime                                   
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   libssl1.0.0                                   - Secure Sockets Layer toolkit - shared libraries         
i A libtxc-dxtn-s2tc0                             - Texture compression library for Mesa                    
i A libvpx1                                       - VP8 and VP9 video codec (shared library)                
i   libxtables10                                  - netfilter xtables library                               
i A linux-image-3.16.0-4-amd64                    - Linux 3.16 for 64-bit PCs                               
i A php-horde-mongo                               - Horde Mongo Configuration                               
i A php5-apcu                                     - APC User Cache for PHP 5                                
i A php5-common                                   - Common files for packages built from the php5 source    
i A php5-gd                                       - GD module for php5                                      
i A php5-mongo                                    - MongoDB database driver                                 
i   python-reportbug                              - Python modules for interacting with bug tracking systems
i   python-support                                - automated rebuilding support for Python modules 

cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: upgrade jessie to stretch

#2 Post by cronoik »

These are all packages which where avaiable in Jessie but not in Stretch. When you don't know any of these packages, then you probably don't need them. None of them is required for a basic Stretch setup, but the only one who can say that for sure is you, because you know your setup.
Have a nice day!

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: upgrade jessie to stretch

#3 Post by 4D696B65 »

You can remove those packages with (as root)

Code: Select all

apt-get autoremove

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: upgrade jessie to stretch

#4 Post by guthrie »

root@alpha:# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: upgrade jessie to stretch

#5 Post by guthrie »

While I don't recognize any of them, Can I assume that "obsolete" means that none of the packages which I have installed depend on them?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: upgrade jessie to stretch

#6 Post by 4D696B65 »

guthrie wrote:While I don't recognize any of them, Can I assume that "obsolete" means that none of the packages which I have installed depend on them?
Correct

https://www.debian.org/releases/stable/ ... ading.html

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: upgrade jessie to stretch

#7 Post by guthrie »

Thanks a lot.

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: upgrade jessie to stretch

#8 Post by guthrie »

Hmm, one of the packages listed: i A linux-image-3.16.0-4-amd64
says that if I install it, it will break the system!
(So I didn't)
I hope none of the others were more silently deadly to remove.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: upgrade jessie to stretch

#9 Post by 4D696B65 »

That's an old kernel. Boot into the new 4.x kernel after you upgrade and run a root

Code: Select all

apt autoremove

guthrie
Posts: 42
Joined: 2014-05-24 04:15
Has thanked: 1 time

Re: upgrade jessie to stretch

#10 Post by guthrie »

Ah, yes - makes sense, will do! Thanks.

Post Reply