Page 1 of 1

[SOLVED] Upgrade prompt?

PostPosted: Dec 3rd, '19, 05:27
by rwilson
A few months ago I upgraded from Magia 5 to Magia 6 and then immediately to Mageia 7. I've kept the system up to date, but am now getting prompts to upgrade to Mageia 7. Is this normal?

Image

Re: Upgrade prompt?

PostPosted: Dec 3rd, '19, 09:15
by davidwhodgins
What do the commands "cat /etc/release" and "urpmq --list-url|head -n 3" show?

Re: Upgrade prompt?

PostPosted: Dec 3rd, '19, 10:45
by martinw
Also
Code: Select all
cat /etc/product.id

Re: Upgrade prompt?

PostPosted: Dec 3rd, '19, 23:34
by rwilson
martinw wrote:Also
Code: Select all
cat /etc/product.id


cat /etc/release produces
Code: Select all
Mageia release 7 (Official) for x86_64


urpmq --list-url|head -n 3 produces
Code: Select all
 Core Release http://mirror.math.princeton.edu/pub/mageia/distrib/7/x86_64/media/core/release
Core Release Debug
Core Updates http://mirror.math.princeton.edu/pub/mageia/distrib/7/x86_64/media/core/updates


cat /etc/product.id produces
Code: Select all
vendor=Mageia.Org,distribution=Mageia,type=Basic,version=7,branch=Official,release=7,arch=x86_64,product=Default
 

Re: Upgrade prompt?

PostPosted: Dec 4th, '19, 01:13
by martinw
So far, so good. What is the output from
Code: Select all
ls -l /var/lib/urpmi

Re: Upgrade prompt?

PostPosted: Dec 4th, '19, 01:21
by rwilson
martinw wrote:So far, so good. What is the output from
Code: Select all
ls -l /var/lib/urpmi


That's a long one, but here it is:

Code: Select all
ls -l /var/lib/urpmi
total 1352
drwxr-xr-x 2 root root   4096 Oct  3 15:44 'Core 32bit Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core 32bit Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct 15 05:42 'Core 32bit Release'/
drwxr-xr-x 2 root root   4096 Nov 30 12:05 'Core 32bit Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core 32bit Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  3 15:43 'Core Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Backports Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Backports Testing Debug'/
drwxr-xr-x 2 root root   4096 Oct  8 17:36 'Core Release'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Release Debug'/
drwxr-xr-x 2 root root   4096 Dec  1 20:38 'Core Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Updates Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Core Updates Testing Debug'/
-rw-rw-r-- 1 root root     55 Oct  3 22:11 'names.Core 32bit Backports'
-rw-rw-r-- 1 root root 509006 Oct 15 05:43 'names.Core 32bit Release'
-rw-rw-r-- 1 root root  56015 Dec  1 20:37 'names.Core 32bit Updates'
-rw-rw-r-- 1 root root     55 Oct  3 22:11 'names.Core Backports'
-rw-r--r-- 1 root root 521010 Oct  2 23:45 'names.Core Release'
-rw-rw-r-- 1 root root  54118 Dec  1 20:37 'names.Core Updates'
-rw-rw-r-- 1 root root      0 Oct  3 22:11 'names.Nonfree 32bit Backports'
-rw-r--r-- 1 root root   1440 Oct  2 23:45 'names.Nonfree 32bit Release'
-rw-rw-r-- 1 root root    663 Nov 19 18:50 'names.Nonfree 32bit Updates'
-rw-rw-r-- 1 root root      0 Oct  3 22:11 'names.Nonfree Backports'
-rw-r--r-- 1 root root   1843 Oct  2 23:45 'names.Nonfree Release'
-rw-rw-r-- 1 root root   1209 Nov 19 18:36 'names.Nonfree Updates'
-rw-rw-r-- 1 root root      0 Oct  3 22:11 'names.Tainted 32bit Backports'
-rw-r--r-- 1 root root   4189 Oct  2 23:45 'names.Tainted 32bit Release'
-rw-rw-r-- 1 root root   1019 Oct 23 20:55 'names.Tainted 32bit Updates'
-rw-rw-r-- 1 root root      0 Oct  3 22:11 'names.Tainted Backports'
-rw-r--r-- 1 root root   4387 Oct  2 23:45 'names.Tainted Release'
-rw-rw-r-- 1 root root   1063 Oct 23 20:55 'names.Tainted Updates'
drwxr-xr-x 2 root root   4096 Oct  3 15:44 'Nonfree 32bit Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree 32bit Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree 32bit Release'/
drwxr-xr-x 2 root root   4096 Nov 19 18:50 'Nonfree 32bit Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree 32bit Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  3 15:43 'Nonfree Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Backports Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Backports Testing Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Release'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Release Debug'/
drwxr-xr-x 2 root root   4096 Nov 19 18:04 'Nonfree Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Updates Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Nonfree Updates Testing Debug'/
-rw-r--r-- 1 root root      0 Oct  2 17:32  stale_upgrade_in_progress
drwxr-xr-x 2 root root   4096 Oct  3 15:44 'Tainted 32bit Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted 32bit Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted 32bit Release'/
drwxr-xr-x 2 root root   4096 Oct 23 19:01 'Tainted 32bit Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted 32bit Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  3 15:43 'Tainted Backports'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Backports Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Backports Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Backports Testing Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Release'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Release Debug'/
drwxr-xr-x 2 root root   4096 Oct 23 19:01 'Tainted Updates'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Updates Debug'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Updates Testing'/
drwxr-xr-x 2 root root   4096 Oct  2 23:44 'Tainted Updates Testing Debug'/

Re: Upgrade prompt?

PostPosted: Dec 4th, '19, 01:34
by martinw
In that list there's a file named "stale_upgrade_in_progress". That gets left behind if the upgrade applet is terminated before the upgrade has finished, to indicate it should have another go. If you are satisfied that your system is fully upgraded, you can delete that file (you'll need root user privileges to do so).

If you want to check if you have any non-upgraded packages, try
Code: Select all
rpm -qa | grep -v mga7

Re: Upgrade prompt?

PostPosted: Dec 4th, '19, 01:43
by rwilson
martinw wrote:In that list there's a file named "stale_upgrade_in_progress". That gets left behind if the upgrade applet is terminated before the upgrade has finished, to indicate it should have another go. If you are satisfied that your system is fully upgraded, you can delete that file (you'll need root user privileges to do so).

If you want to check if you have any non-upgraded packages, try
Code: Select all
rpm -qa | grep -v mga7


I guess the upgrade never finished because that command returned 759 package names. Looks like I have an upgrade to finish. I wander why it took a few months before I started getting the prompt.

Thank you for your help.

Re: [SOLVED] Upgrade prompt?

PostPosted: Dec 4th, '19, 14:10
by isadora