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
[solved]new install is 9.2, upgrade on old machine still 9.1
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
[solved]new install is 9.2, upgrade on old machine still 9.1
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 am not irrational, I'm just quantum probabilistic.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Stretch new install is 9.2, upgrade on old machine still
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
Code: Select all
apt-cache policy
lsb_release -a
cat /etc/debian_version
deadbang
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
OOPS! I was trying to do it with apt-get. I will try it with just apt.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
I am not irrational, I'm just quantum probabilistic.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
Ok. i tried as HOAS suggested. Still 9.1. Here are results asked for
Also tried apt upgrade and apt dist-upgrade. Still at 9.1
Strange that in the policy it shows version 9.2 but cat /etc/debian_version shows 9.1
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
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.
I am not irrational, I'm just quantum probabilistic.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Stretch new install is 9.2, upgrade on old machine still
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.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)
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
deadbang
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
I can try that but it doesn't really explain to me why policy shows something different than debian_version.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 am not irrational, I'm just quantum probabilistic.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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.
Not knowing if it would make a difference I also ran update-initramfs -u. No help.
I am puzzled.
I am not irrational, I'm just quantum probabilistic.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Stretch new install is 9.2, upgrade on old machine still
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
Here is the package list for the point release:
https://www.debian.org/News/2017/20171007
deadbang
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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.Head_on_a_Stick wrote:Have any of your packages been upgraded to the 9.2 versions?
7
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>
Code: Select all
apt list --upgradable
I am not irrational, I'm just quantum probabilistic.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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?
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 am not irrational, I'm just quantum probabilistic.
Re: Stretch new install is 9.2, upgrade on old machine still
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.ticojohn wrote:Did apt clean, apt update, apt dist-upgrade and it made no difference.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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.Randicus wrote: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.ticojohn wrote:Did apt clean, apt update, apt dist-upgrade and it made no difference.
I am not irrational, I'm just quantum probabilistic.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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
will fix the problem? Don't want to break the system.
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
I am not irrational, I'm just quantum probabilistic.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Stretch new install is 9.2, upgrade on old machine still
^ Yes, that's it.
I really should have spotted that omission from the `apt-cache policy` output, sorry about that
I really should have spotted that omission from the `apt-cache policy` output, sorry about that
deadbang
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
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 HOASHead_on_a_Stick wrote:^ Yes, that's it.
I really should have spotted that omission from the `apt-cache policy` output, sorry about that
I am not irrational, I'm just quantum probabilistic.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: Stretch new install is 9.2, upgrade on old machine still
That did it! Added stretch-updates to /etc/apt/sources.list then updated. Now shows version 9.2 . Thanks to HOAS for confirming what I found.
I am not irrational, I'm just quantum probabilistic.