Jessie to Stretch upgrade

Help with issues regarding installation of Debian

Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 05:35

Few days ago I upgraded Jessie to Stretch.I do not have any problems and everything is running smoothly. Before upgrading I had my system updated and I did not have any extra repos enabled.I had only google chrome and I disabled it before upgrading.In synaptics I did not have a single (local or obsolete) package. However after upgrading I have some packages in the obsolete section.I am not sure about removing them if safe or not.Since I have not installed anything from outside and I did not have any of those before upgrading is it safe to remove them?
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 05:40

ceylan@debian-~$ aptitude search '~o'
i A alsa-base - dummy package to ease purging of obsolete
i A cpp-4.8 - GNU C preprocessor
i A cpp-4.9 - GNU C preprocessor
i A gcc-4.8 - GNU C compiler
i gcc-4.8-base - GCC, the GNU Compiler Collection (base pac
i A gcc-4.9 - GNU C compiler
i gcc-4.9-base - GCC, the GNU Compiler Collection (base pac
i libapt-inst1.5 - deb package format runtime library
i libapt-pkg4.12 - package management runtime library
i A libasan0 - AddressSanitizer -- a fast memory error de
i A libasan1 - AddressSanitizer -- a fast memory error de
i libboost-iostreams1.55.0 - Boost.Iostreams Library
i libdns-export100 - Exported DNS Shared Library
i A libgcc-4.8-dev - GCC support library (development files)
i A libgcc-4.9-dev - GCC support library (development files)
i libgnutls-deb0-28 - GNU TLS library - main runtime library
i libhogweed2 - low level cryptographic library (public-ke
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 A libisl10 - manipulating sets and relations of integer
i libjson-c2 - JSON manipulation library - shared library
i liblognorm1 - Log normalizing library
i libnettle4 - low level cryptographic library (symmetric
i libprocps3 - library for accessing process information
i libpsl0 - Library for Public Suffix List (shared lib
i libreadline6 - GNU readline and history libraries, run-ti
i libssl1.0.0 - Secure Sockets Layer toolkit - shared libr
i A libtxc-dxtn-s2tc0 - Texture compression library for Mesa
i libxtables10 - netfilter xtables library
i A python-gtkspell - Python bindings for the GtkSpell library
i python-reportbug - Python modules for interacting with bug tr
i python-support - automated rebuilding support for Python mo
ceylan@debian-$
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby joseph059 » 2017-08-11 07:52

Try
Code: Select all
sudo apt-get autoremove
it will only remove packages not needed any longer.
joseph059
 
Posts: 8
Joined: 2017-07-14 03:33

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 08:10

I did autoremove and it did not remove these packages
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby Wheelerof4te » 2017-08-11 08:32

If you don't have sudo enabled, login as root and type:

Code: Select all
apt-get install -f


in terminal.
User avatar
Wheelerof4te
 
Posts: 392
Joined: 2015-08-30 20:14

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 09:01

Giving the above command result is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby luvr » 2017-08-11 11:00

From your list of packages, I picked the ones with a name that does not end in a number, i.e., ‘alsa-base’, ‘python-gtkspell’, ‘python-reportbug’, ‘python-support’.
Here’s what the ‘apt-cache’ command has to say about them (on my Debian Testing system):
Code: Select all
$ apt-cache show 'alsa-base' 'python-gtkspell' 'python-reportbug' 'python-support'
N: Can't select versions from package 'alsa-base' as it is purely virtual
N: Can't select versions from package 'python-gtkspell' as it is purely virtual
N: Unable to locate package python-reportbug
N: Can't select versions from package 'python-support' as it is purely virtual
N: No packages found

From this output, I conclude that ‘python-reportbug’ is no longer present in the Debian repositories, and that it can be safely purged.
The other three—‘alsa-base’, ‘python-gtkspell’, and ‘python-support’—are “purely virtual”. In other words, they do not exist as actual packages, but they merely define a logical name, representing a function that other packages may provide. If they are considered “obsolete”, then none of your installed packages will provide their function, and they should be safe to purge as well.

If I were you, I would try to purge these packages—e.g.:
Code: Select all
# apt-get purge 'alsa-base' 'python-gtkspell' 'python-reportbug' 'python-support'
This command should not mark any other packages for deletion, and it should therefore purge the packages without further ado. (Should the command ever want to purge any further packages, then it will ask you for confirmation—and the safe answer would then be “N”. It would, however, be strange if this were to happen in this case.)

If you want to be absolutely sure that nothing bad will happen to your system, then you may attempt a “dry run” first:
Code: Select all
# apt-get --dry-run purge 'alsa-base' 'python-gtkspell' 'python-reportbug' 'python-support'
This command will tell you what it wants to do, but it won’t take any real action.

The package names that end in a number are probably replaced with new ones that end in a higher number. For instance, on my system:
Code: Select all
apt-cache pkgnames 'libhogweed'
libhogweed4
You will probably get both ‘libhogweed2’ and ‘libhogweed4’ on your system, and you can then safely purge the ‘libhogweed2’ package—and similarly for the other packages that are marked “obsolete”.
Last edited by luvr on 2017-08-11 14:31, edited 2 times in total.
luvr
 
Posts: 79
Joined: 2016-07-21 19:39
Location: Boom - The Home Town of Tomorrowland, Belgium

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 12:03

Thank you very much,I will check all and remove the older number.
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby None1975 » 2017-08-11 14:21

Did you try?
Code: Select all
# dpkg -l | awk '/^rc/ { print $2 }'
The following command displays a list of all removed packages that may have configuration files left on the system (if any). By the way, it is look like dummy packages....
OS: Debian 9.1 / WM: Openbox
Debian Wiki | DontBreakDebian
User avatar
None1975
 
Posts: 163
Joined: 2015-11-29 18:23
Location: Lithuania

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 15:02

dpkg -l | awk '/^rc/ { print $2 }' gives no results
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 15:37

i libdns-export100 - Exported DNS Shared Library
i libirs-export91 - Exported IRS Shared Library
i libisc-export95 - Exported ISC Shared Library
i libisccfg-export90 - Exported ISC CFG Shared Library
i A libtxc-dxtn-s2tc0 - Texture compression library for Mesa

After removing other packages(which had newer versions) These are the only ones left in the obsolete area
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby dasein » 2017-08-11 15:55

Exactly how much of your life are you willing to waste on this?

Surely you have something more consequential to worry about. (And if not, maybe consider volunteering in the pediatric ward of your local hospital.)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Jessie to Stretch upgrade

Postby Thorny » 2017-08-11 19:02

ceylan wrote:After removing other packages(which had newer versions) These are the only ones left in the obsolete area

If you go to the Debian package search site you could look up those packages. If you did you would see that the first four are not part of Stretch and the last, libtxc-dxtn-s2tc0 is a virtual package provided by: libtxc-dxtn-s2tc in Stretch.

Most of those packages are less than one megabyte. dasein's point about how much time do you want to use to save a couple of Megs on your system does make sense these days when modern systems generally have multiple Gigs of free space and you state that your system is running well. Nothing wrong with wanting to do housekeeping on your system as long as you aren't trying to get someone else to figure it out for you.
Thorny
 
Posts: 325
Joined: 2011-02-27 13:40

Re: Jessie to Stretch upgrade

Postby ceylan » 2017-08-11 19:28

Thanks for all the answers,But one last thing: libtxc-dxtn-s2tc is not installed.
ceylan
 
Posts: 10
Joined: 2016-01-29 15:58

Re: Jessie to Stretch upgrade

Postby Thorny » 2017-08-11 19:48

ceylan wrote:Thanks for all the answers,But one last thing: libtxc-dxtn-s2tc is not installed.

In that case, since your system doesn't need libtxc-dxtn-s2t in Stretch, it would seem logical that you also don't need the libtxc-dxtn-s2tc0 that was left over from your Jessie install. I think you could have figured that out for yourself.
Thorny
 
Posts: 325
Joined: 2011-02-27 13:40

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable