[solved]new install is 9.2, upgrade on old machine still 9.1

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

[solved]new install is 9.2, upgrade on old machine still 9.1

Postby ticojohn » 2017-11-27 18:59

I recently installed Stretch on a partition of my desktop and it shows it as Stretch 9.2. However I did an upgrade and a dist-upgrade on my NUC and it still shows it as 9.1. Am I missing something?
Last edited by ticojohn on 2017-11-28 13:17, edited 1 time in total.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby Head_on_a_Stick » 2017-11-27 19:24

ticojohn wrote:I did an upgrade and a dist-upgrade on my NUC and it still shows it as 9.1. Am I missing something?

Code: Select all
# apt update

If you already did that then show us
Code: Select all
apt-cache policy
lsb_release -a
cat /etc/debian_version

And also the full output of `apt update && apt upgrade`, thank you please :)
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 19:50

Head_on_a_Stick wrote:
ticojohn wrote:I did an upgrade and a dist-upgrade on my NUC and it still shows it as 9.1. Am I missing something?

Code: Select all
# apt update


OOPS! I was trying to do it with apt-get. I will try it with just apt.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 20:02

Ok. i tried as HOAS suggested. Still 9.1. Here are results asked for
Code: Select all
root@debian:/home/john# apt update
Ign:1 http://ftp.us.debian.org/debian stretch InRelease
Hit:2 http://ftp.us.debian.org/debian stretch Release
Get:4 http://security.debian.org/debian-security stretch/updates InRelease [63.0 kB]
Fetched 63.0 kB in 3s (15.8 kB/s)                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
root@debian:/home/john# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/debian-security stretch/updates/non-free i386 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib i386 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/contrib amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main i386 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.us.debian.org/debian stretch/contrib i386 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=i386
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian stretch/contrib amd64 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian stretch/non-free i386 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=i386
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian stretch/non-free amd64 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian stretch/main i386 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
     release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin ftp.us.debian.org
Pinned packages:
root@debian:/home/john# lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux 9.1 (stretch)
Release:   9.1
Codename:   stretch
root@debian:/home/john# cat /etc/debian_version
9.1

Also tried apt upgrade and apt dist-upgrade. Still at 9.1
Code: Select all
root@debian:/home/john# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:/home/john# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Strange that in the policy it shows version 9.2 but cat /etc/debian_version shows 9.1
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby Head_on_a_Stick » 2017-11-27 20:22

ticojohn wrote:
Code: Select all
root@debian:/home/john# apt update
Ign:1 http://ftp.us.debian.org/debian stretch InRelease
Hit:2 http://ftp.us.debian.org/debian stretch Release
Get:4 http://security.debian.org/debian-security stretch/updates InRelease [63.0 kB]
Fetched 63.0 kB in 3s (15.8 kB/s)

Looks like APT is only grabbing the releases from the Security Team, I think Debian are abandoning ftp mirrors in future anyway so try https://deb.debian.org/ instead.

Also, `apt update` does exactly the same thing as `apt-get update` (and `aptitude update`), I chose that version because it has fewer characters to type out ;)
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 20:37

Head_on_a_Stick wrote:Looks like APT is only grabbing the releases from the Security Team, I think Debian are abandoning ftp mirrors in future anyway so try https://deb.debian.org/ instead.

Also, `apt update` does exactly the same thing as `apt-get update` (and `aptitude update`), I chose that version because it has fewer characters to type out ;)

I can try that but it doesn't really explain to me why policy shows something different than debian_version.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 20:46

Hey HOAS, I changed my sources list as per your recommendation. Did apt clean, apt update, apt dist-upgrade and it made no difference. Still showing 9.1 in lsb_release -a

Not knowing if it would make a difference I also ran update-initramfs -u. No help.

I am puzzled.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby Head_on_a_Stick » 2017-11-27 21:04

Have any of your packages been upgraded to the 9.2 versions?

Here is the package list for the point release:

https://www.debian.org/News/2017/20171007
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 21:19

Head_on_a_Stick wrote:Have any of your packages been upgraded to the 9.2 versions?
7

I don't know. How do I check? By the way, I have the NUC (the computer with the issue) shut down right now as I was getting ready to start cooking dinner. Let me know how to check if any packages have been updated and I will check later. Thanks for the help.

I want to retract the I don't know response. I did an upgrade a few days ago and I know that Firefox-ESR got updated to the latest version so I am assuming that things are in fact updating. I can do a dpkg-query -l, but that really doesn't tell me anything. I suppose I can check the policy on some items to see if I have the latest versions. Any clue as to what I might what to look at specifically?

I just looked at a couple of packages using
Code: Select all
apt-cache policy <package name>

and I appear to have the latest versions. Also did an
Code: Select all
apt list --upgradable

and saw there were some updates available. I did the update and then repeated the apt list command and came back with none. So it would appear that upgrades are in fact happening. So WHAT THE HECK is going on?
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-27 22:39

Okay HOAS. Doing more research and trying to learn something. I suppose I could look at /var/log and the dpkg logs but that would be time consuming and I still would not know what I was looking for. Is there some specific package that I could look at that would be version 9.2 ?

Here is what I just dis. I looked at this page regarding Stretch 9.2 updates.
https://www.debian.org/News/2017/20171007
I then compared several of the packages listed at that url against what I have installed using Synaptic. The versions matched in all packages that I checked (about 10) including linux-headers-amd64. So it would seem that I do in fact have 9.2 installed. So NOW WHAT? Should I just forget about it? It is just kind of freaky. Wonder if anybody else is having the same experience. Do you think it warrants filing a bug report?
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby Randicus » 2017-11-28 00:36

ticojohn wrote:Did apt clean, apt update, apt dist-upgrade and it made no difference.

Why do you expect dist-upgrade to do anything? dist-upgrade does exactly that; upgrade to a new release. 9.1, 9.2, 9.3, etc. are release number 9 with security patches added. As long as you are using Debian 9 you will be using apt update. dist-uprade will do nothing.
Randicus
 
Posts: 2664
Joined: 2011-05-08 09:11

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-28 02:11

Randicus wrote:
ticojohn wrote:Did apt clean, apt update, apt dist-upgrade and it made no difference.

Why do you expect dist-upgrade to do anything? dist-upgrade does exactly that; upgrade to a new release. 9.1, 9.2, 9.3, etc. are release number 9 with security patches added. As long as you are using Debian 9 you will be using apt update. dist-uprade will do nothing.

Well, reading the entire post, you will see that the version as shown in /etc/debian_version does not reflect what it should, with respect to the most recent upgrade. My thinking was that executing dist-upgrade might get the correct version to be displayed. So yes, I was trying to get it to go from 9.1 to 9.2.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-28 02:53

I may have discovered something. There is a file called base-files that, among other things has the version information for a given point release. If I understand correctly, the base-files version number for Stretch 9.2 should be 9.9+deb9u2. I have 9.9+deb9u1 installed, which is the base-files version for Stretch 9.1.

I also found that the Stretch 9.2 sources.list on my desktop (new installation) has stretch-updates whereas on 9.1 stretch-updates is NOT in sources.list. Is it reasonable to assume that adding
Code: Select all
deb http://deb.debian.org/debian/ stretch-updates

will fix the problem? Don't want to break the system.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Stretch new install is 9.2, upgrade on old machine still

Postby Head_on_a_Stick » 2017-11-28 06:34

^ Yes, that's it.

I really should have spotted that omission from the `apt-cache policy` output, sorry about that :oops:
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Stretch new install is 9.2, upgrade on old machine still

Postby ticojohn » 2017-11-28 12:38

Head_on_a_Stick wrote:^ Yes, that's it.

I really should have spotted that omission from the `apt-cache policy` output, sorry about that :oops:

What I think happened was that I installed Stretch on the NUC when Stretch was still Testing. As such stretch-updates would not have been in the original sources.list. And I didn't know enough to correct the matter. DOH! I will get that taken care of and see how things go. Little busy this morning but will post an update once I get it corrected. Thanks HOAS
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 719
Joined: 2009-08-29 18:10
Location: Costa Rica

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable