No login screen after urpme --auto-orphans

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

No login screen after urpme --auto-orphans

Postby FiableDotBiz » Nov 24th, '14, 04:44

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 .
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby gohlip » Nov 24th, '14, 05:03

You don't have the login screen, but can you log in? ... does it auto log in? Or you're logged out?
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby FiableDotBiz » Nov 24th, '14, 05:31

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.
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby daniewicz » Nov 24th, '14, 05:35

Can you install task-kde4-4.12.5-1.mga4.noarch from a terminal? This is what is needed.
The dude abides.
User avatar
daniewicz
 
Posts: 217
Joined: Feb 10th, '13, 03:37

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

Postby FiableDotBiz » Nov 24th, '14, 05:57

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...
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby gohlip » Nov 24th, '14, 06:00

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.
Last edited by gohlip on Nov 24th, '14, 06:15, edited 2 times in total.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby gohlip » Nov 24th, '14, 06:06

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby FiableDotBiz » Nov 24th, '14, 07:27

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.
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby gohlip » Nov 24th, '14, 07:33

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby gohlip » Nov 24th, '14, 07:45

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby FiableDotBiz » Nov 24th, '14, 08:29

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.
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby gohlip » Nov 24th, '14, 09:53

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
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby jkerr82508 » Nov 24th, '14, 13:26

[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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

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

Postby gohlip » Nov 24th, '14, 17:19

Yes, it's task-kde4 not task-kde
My bad. Very sorry.
Hope you fix it.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

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

Postby doktor5000 » Nov 24th, '14, 17:40

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).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18021
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby FiableDotBiz » Nov 25th, '14, 08:16

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...
FiableDotBiz
 
Posts: 34
Joined: Oct 15th, '12, 10:00

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

Postby gohlip » Nov 25th, '14, 09:11

Good to hear you've got Mageia back.
Take care. Enjoy.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest