Page 1 of 1

[SOLVED] How to install xscreensaver ?

PostPosted: Aug 10th, '22, 07:28
by rblade
Hi,

I try to install xscreensaver but I get this message:

Sorry, the following package cannot be selected:
- xscreensaver-5.45-1.mga8.tainted.x86_64 (due to unsatisfied xscreensaver-common[== 5.45-1.mga8.tainted])


How to do it ? :geek:

Thanks by advance.

System information:
Mageia 8
KDE Plasma Version: 5.20.4
Kernel Version: 5.15.58-desktop-2.mga8
OS Type: 64-bit

Mirror List Core Release
Mirror List Core Release Updates

Mirror List Nonfree Release
Mirror list Nonfree Updates

Mirror list Tainted Release
Mirror list Tainted Updates

Re: How to install xscreensaver ?

PostPosted: Aug 10th, '22, 10:23
by sturmvogel
You try to install an old version and not the actual xscreensaver version which is indeed not working because of some dependency problems. Thats why it got updated to a newer fixed version. You need to install xscreensaver-5.45-1.5.mga8.tainted.x86_64 (green square in screenshot) instead of xscreensaver-5.45-1.mga8.tainted.x86_64 (red square in screenshot).
Screenshot_20220810_103550.png
Screenshot_20220810_103550.png (54.02 KiB) Viewed 1254 times


If you insist on installing the "old" version xscreensaver-5.45-1.mga8.tainted.x86_64 you need to install first xscreensaver-common-5.45-1.mga8.tainted.x86_64
After that you can update your system and it should pull the actual versions itself.

To make sure that you have all necessary repositorys enabled and using an up-to-date mirror show the output from:
Code: Select all
urpmq --list-media active --list-url

Re: How to install xscreensaver ?

PostPosted: Aug 10th, '22, 10:46
by morgano
(Stormvogel answered while I was writing, but I post anyway :) )


Welcome to our forum :)

I guess that the mirror your system autoselects is not in sync.
The mirror list function choose based on distance, but dont check if they are up to date.
There are now and then this problem. Lately an admin was away to fight extreme weather...
There are solutions discussed now and then, and i now kicked a couple bug reports on it.

To see which your system choose
$ urpmq --list-media active --list-url

To see which are up to date, see: https://mirrors.mageia.org/status
(but it may give false negatives if there are not updates for long, and then comes one - then all mirrors sydenly lag by that time. Logic, but...)

Many users like me set a specific mirror manually.
See "File -> Add a specific media mirror:" at https://doc.mageia.org/mcc/8/en/content ... tml#d4e273

For me umu.se is both close, fast, and reliable

Code: Select all
$ LC_ALL=C sudo urpmi --test xscreensaver
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
  Package                        Version      Release       Arch   
(medium "Tainted Updates")
  xscreensaver                   5.45         1.5.mga8.tai> x86_64 
  xscreensaver-common            5.45         1.5.mga8.tai> x86_64 
2.6MB of additional disk space will be used.
754KB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y

    https://ftp.acc.umu.se/mirror/mageia/distrib/8/x86_64/media/tainted/updates/xscreensaver-common-5.45-1.5.mga8.tainted.x86_64.rpm
    https://ftp.acc.umu.se/mirror/mageia/distrib/8/x86_64/media/tainted/updates/xscreensaver-5.45-1.5.mga8.tainted.x86_64.rpm
installing xscreensaver-5.45-1.5.mga8.tainted.x86_64.rpm xscreensaver-common-5.45-1.5.mga8.tainted.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #####################################################################################################################################################
Installation is possible

Re: How to install xscreensaver ?

PostPosted: Aug 10th, '22, 11:30
by sturmvogel
Morgan, thanks for adding your comment. But it is really the case that you can't install xscreensaver-5.45 1. without manually installing xscreensaver-common-5.45 1. first. This is fixed with xscreensaver-5.45-1.5. (the version which you installed right away...as urpmi is chosing the latest available version)
It can be confusing for new users that there are several versions for one app in MCC. That's why i added the screenshot to show that new users should pay attention to the version numbers in MCC.

To prevent such version problems users can use "urpmi xscreensaver" and it will pick the latest available version, as you did Morgan. But for new users sometimes the terminal is black magic :D. They prefer to use GUIs and than such stuff can happen because you need to pay attention for versions...

Re: How to install xscreensaver ?

PostPosted: Aug 10th, '22, 14:04
by rblade
sturmvogel wrote:You try to install an old version and not the actual xscreensaver version which is indeed not working because of some dependency problems. Thats why it got updated to a newer fixed version. You need to install xscreensaver-5.45-1.5.mga8.tainted.x86_64 (green square in screenshot) instead of xscreensaver-5.45-1.mga8.tainted.x86_64 (red square in screenshot).
Screenshot_20220810_103550.png


If you insist on installing the "old" version xscreensaver-5.45-1.mga8.tainted.x86_64 you need to install first xscreensaver-common-5.45-1.mga8.tainted.x86_64
After that you can update your system and it should pull the actual versions itself.

To make sure that you have all necessary repositorys enabled and using an up-to-date mirror show the output from:
Code: Select all
urpmq --list-media active --list-url


It's true, now the installation work.

I don't understand because, before I try to install any version and I get a similar message.

After reading your messages, I try again and the installation work...

I just do this before:
Code: Select all
$ urpmq --list-media active --list-url


I don't know if it change something...

Thanks a lot sturmvogel and morgano for you answers. :D

Re: How to install xscreensaver ?

PostPosted: Aug 10th, '22, 15:33
by isadora
Please, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)