Page 1 of 1

No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 04:44
by FiableDotBiz
Hello.

I launched "urpme --auto-orphans", which deleted about 140 packages, and now I don't get the users login screen on booting. Do you know what package is responsible for this? Another thing I notice is that, on another computer, I have both task-kde4-4.11.4-1.mga4.noarch and task-kde4-4.12.5-1.mga4.noarch, while on this one, I just have task-kde4-4.11.4-1.mga4.noarch .

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 05:03
by gohlip
You don't have the login screen, but can you log in? ... does it auto log in? Or you're logged out?

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 05:31
by FiableDotBiz
Thank you very much for your quick answer. No, I can't login, except in command line, choosing safe mode, but then it seems I don't have internet. "ping yahoo.fr" gives "unknown host", for instance.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 05:35
by daniewicz
Can you install task-kde4-4.12.5-1.mga4.noarch from a terminal? This is what is needed.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 05:57
by FiableDotBiz
Thank you very much. I logged in through ssh, but I get this:
Code: Select all
# ping fiable.biz
PING fiable.biz (199.16.128.52) 56(84) bytes of data.
64 bytes from otos.planethoster.net (199.16.128.52): icmp_seq=1 ttl=45 time=291 ms
^C
# urpmi  task-kde4-4.12.5-1.mga4
No package named task-kde4-4.12.5-1.mga4

So I have internet, but urpmi can't find this package...

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 06:00
by gohlip
Go to prompt mode (tty) with networking by adding "systemd.unit=multi-user.target" (no appostrophes) in the linux line of your grub menu (press 'e' at grub menu, arrow down to linux line and add, then F10 to boot).
At prompt, log in.
Then type the following
Code: Select all
mv ~/.kde ~/.kdeold


Reboot. You will start with new kde desktop. Modify to your liking.

ps: does you grub linux line contain 'nokmsboot' and vmlinuz and initrd is vmlinuz-desktop and initrd-desktop.img?
(sigh) why, mageia, why?
and auto-orphan shouldn't remove all older kernels, it should leave one other older kernel.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 06:06
by gohlip
If above won't work, again boot to prompt with networking (as above)
and this time log in as root. then install kde again
Code: Select all
# urpmi task-kde


Note: do not auto-orphan when there's new kde package installed and you have not rebooted.
To be sure, only auto-orphan when there's no new packages to install when booted.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 07:27
by FiableDotBiz
Thank you very much. When I boot, Grub appears very quickly, and pressing "e" has no effect. I'm not sure what the "grub menu" is: just after this I have the choice between "Mageia 4", "Mageia 4 (safe mode)", "desktop 3.12.8-2.mga4" etc.. Pressing "e" has no more effect.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 07:33
by gohlip
FiableDotBiz wrote:Thank you very much. When I boot, Grub appears very quickly, and pressing "e" has no effect. I'm not sure what the "grub menu" is: just after this I have the choice between "Mageia 4", "Mageia 4 (safe mode)", "desktop 3.12.8-2.mga4" etc.. Pressing "e" has no more effect.


When you turn on the computer, keep pressing (tapping is more accurate, wiki's word is 'press', but keep tapping) the 'shift' key.
A grub menu will appear. the press 'e' button.

Ah...you might be using grub leagcy (sigh). Can someone here help so Fiable can boot into tty with network?

Just remember after going to prompt (with networking), reinstall task-kde.

Good luck.

ps: I might want to disappear for a while again.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 07:45
by gohlip
I see you have...
Thank you very much. I logged in through ssh, but I get this:

so log in again and this time
Code: Select all
# urpmi task-kde
not "# urpmi task-kde4-4.12.5-1.mga4"
Do that. I think you'll be fine after reboot.
Good luck, Cheers.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 08:29
by FiableDotBiz
Thank you again. I had tried this, and got
Code: Select all
# urpmi task-kde
The following package cannot be installed because it depends on packages
that are older than the installed ones:
task-kde4-4.11.4-1.mga4
Continue installation anyway? (Y/n) y
While some packages may have been installed, there were failures.
The following package cannot be installed because it depends on packages
that are older than the installed ones:
task-kde4-4.11.4-1.mga4
Continue installation anyway?
[root@Dell-graphist etc]#

The 2nd copy of the question is not a real question: I'm not given any opportunity to answer.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 09:53
by gohlip
Okay, understand but sorry, here I am also lost.
All I can suggst and I am not sure if this will work, is to use force
Code: Select all
# urpmi --force task-kde

Can somebody else help or have another idea?
Meantime, I think there's no harm trying while waiting for others.

Good luck.

[edit] - check with wiki and got this
https://wiki.mageia.org/en/Upgrading_with_urpmi
--allow-force

Allow urpmi to ask user to continue installation using no dependencies checking or forced installation due to error. By default urpmi exit immediately in such case.
Using the --allow-force switch works better, since the dependencies can get funny with textar and plf rpms that might have a newer numbering than the 9.2 versions installing

meaning you should be better off using
Code: Select all
 # urpmi --allow-force task-kde

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 13:26
by jkerr82508
[quote="FiableDotBiz"]Thank you again. I had tried this, and got
Code: Select all
# urpmi task-kde
The following package cannot be installed because it depends on packages
that are older than the installed ones:
task-kde4-4.11.4-1.mga4

That suggests that you are using the mirrorlist option and it has selected a faulty mirror on this occasion, but had selected a good mirror on some previous occasion. Hence you have some updates installed that are not available on the faulty mirror.
To check enter:
Code: Select all
urpmq --list-url

You should probably remove all of your sources and select a specific mirror.
https://wiki.mageia.org/en/Installing_a ... dia_Mirror

Code: Select all
urpmi.removemedia -a
urpmi.addmedia --distrib http http://mirrors.kernel.org/mageia/distrib/4/x86_64/

If you are using a 32 bit system replace 'x86_64' with 'i586' in the second command. You can change the mirror used in my example to an alternative reliable mirror, if you wish.

After you have the sources setup properly execute:
Code: Select all
urpmi --auto-update
urpmi task-kde4

For future reference read this, if you are ever again tempted to run 'urpme --auto-orphans'
https://wiki.mageia.org/en/Removing_packages#Warning

Jim

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 17:19
by gohlip
Yes, it's task-kde4 not task-kde
My bad. Very sorry.
Hope you fix it.

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 24th, '14, 17:40
by doktor5000
Guys, he already has task-kde4 installed per the initial post. urpmi --auto-update will not bring back the removed packages, as it doesn't take Suggests on installed packages into account. Also for such dependency issues as shown --allow-force should not be suggested as good practice.

Best bet is
Code: Select all
rpm -e --nodeps task-kde4; urpmi task-kde4
once the repositories are configured properly.

The other thing is: you can simply install another small desktop environment, and switch to another login manager (in case your current one isn't workin).

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 25th, '14, 08:16
by FiableDotBiz
Thank you very much for your very quick and continuous help. Considering internet was cut (during 19 hours. We are in Mongolia...), and I could save the files through NFS, I eventually reinstall Mageia 4, keeping /home intact. I unfortunately forgot to save MariaDB databases...

Re: No login screen after urpme --auto-orphans

PostPosted: Nov 25th, '14, 09:11
by gohlip
Good to hear you've got Mageia back.
Take care. Enjoy.