Author Topic: after an complete update, I can't reach my desctop screen  (Read 145 times)

Offline Goofy

  • Newbie
  • *
  • Posts: 40
after an complete update, I can't reach my desctop screen
« on: November 14, 2017, 10:15:19 am »
Hello all, hello Pavroo,

Yesterday I did a complete update with the aptus tool: It was a very big download over 1,5 GB.
After rebooting the computer I could not get in anymore into the Sparky-Desktop!
I get just a command line screen with overline:
Sparky Linux mypcname tty1
mypcname login:

I can log in and can also type commands, but of course I want to get my usual desktop envirement!

After reading some topics here, I have tried the following commands, but without any effects:

Code: [Select]
sudo dpkg --configure -aI cannot be sure if the system has done anything, because I've got no outputs after doing

Code: [Select]
sudo apt-get updateand also
Code: [Select]
sudo apt full-upgradethese command were working

Code: [Select]
sudo apt-get install-fit would working, if there were something new updates

Code: [Select]
sudo apt-get dist-upgradehas also worked

But all didn't solve my problem that I can't get into my desktop!

Because I'm using the Grub-Bootloader, I have tried to start older versions of Sparky, but I get always the same:
The command line screen

The situation before that last update was, after choosen in Grub the Sparky line, I got a screen with a graphical textbox for login, where I could type my password: After doing this I've got my Sparky Desktop envirement.

Has anybody any Idea, what I could do now?

Offline blaze

  • Full Member
  • ***
  • Posts: 121
  • blazing away
Re: after an complete update, I can't reach my desctop screen
« Reply #1 on: November 14, 2017, 01:57:46 pm »
Goofy, what DE do you use? With such a BIG upgrade, how long since the upgrade before that?

Your mess is probably a bit too big a bite for me, but if you provide as much information as you possibly can, maybe somebody wiser than me can help you. :)
Unstable OpenBoxer

Offline Goofy

  • Newbie
  • *
  • Posts: 40
Re: after an complete update, I can't reach my desctop screen
« Reply #2 on: November 14, 2017, 04:42:10 pm »
Thank you Blaze,

forgive me, but I don't know at the moment, what means the shorting "DE"?

Yes, I was also surprised because of that giant download: I do an update each one or two weeks, so last one can not be so long...


Offline blaze

  • Full Member
  • ***
  • Posts: 121
  • blazing away
Re: after an complete update, I can't reach my desctop screen
« Reply #3 on: November 14, 2017, 05:42:26 pm »
Hi Goofy, DE = desktop enviroment, Xfce, Mate or Gnome etc... :)

That such a giant upgrade should accumulate in two weeks sounds weird indeed. Have you done any major changes to your system during that period of time? What does your source list look like?
Unstable OpenBoxer

Offline Goofy

  • Newbie
  • *
  • Posts: 40
Re: after an complete update, I can't reach my desctop screen
« Reply #4 on: November 14, 2017, 06:49:26 pm »
 :D of course DE = desktop envirement... Thank you again, Blaze   :)
Erm...yes... I was using the Sparky default one. I thought it was LXDE, could it be?

No, no major changes: My last actions were to install calibre, but this one doesn't make automaticly updates, and a pdf-software ...is it true, I don't remember to the name  :-\
But a very small software.

I try to remember, which lines I watched during the update process... ...I had read that there was something strange with swap file; Some processes couldn't found it... But the process went on without any warning, so I was not worried... :-\

But of course I don't know if there is somehow a connection, with my problem now. My knowledge about all is to less to analyze this.

Offline blaze

  • Full Member
  • ***
  • Posts: 121
  • blazing away
Re: after an complete update, I can't reach my desctop screen
« Reply #5 on: November 14, 2017, 07:00:46 pm »
When you have logged in at tty1, have you tried with;

Code: [Select]
startx
Edit; When thinking about it, the size of the upgrade were probably normal after that amount of time. I do not know what I were thinking of? Probably not thinking  ::)
« Last Edit: November 14, 2017, 09:55:05 pm by blaze »
Unstable OpenBoxer

Offline Goofy

  • Newbie
  • *
  • Posts: 40
Re: after an complete update, I can't reach my desctop screen
« Reply #6 on: November 15, 2017, 07:10:49 am »
After type in
Code: [Select]
startx
I get the answer
Code: [Select]
/etc/X11/xinit/xserverrc: 3:exec /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Offline blaze

  • Full Member
  • ***
  • Posts: 121
  • blazing away
Re: after an complete update, I can't reach my desctop screen
« Reply #7 on: November 15, 2017, 09:43:12 am »
Looks like X is missing, or something. ;) First;

Code: [Select]
sudo apt update && sudo apt dist-upgrade
Then try with;

Code: [Select]
sudo apt install xorg xserver-xorg xserver-xorg-core
A lot of xs, the worst that happens is nothing.

Unstable OpenBoxer

Offline bardo

  • Newbie
  • *
  • Posts: 5
  • PM by PGP encryption preferred
Re: after an complete update, I can't reach my desctop screen
« Reply #8 on: November 18, 2017, 11:03:59 am »
Hello guys,

tbh: i came to this thead following a link in another thread. And it does look horrible to my unexperienced eye. ;-)
Although, there certainly are ways to work around (a.k.a. log in, use commandline,...) that makes most sense, once you are certain, what actually did go wrong in the first place!

...brings me back to diagnosis...

As it seems pretty much like a nuisance, to fool around with a crucial system, let's have a look at the fastest ways to regain control over a messed up system, like
  • use a recovery CD
  • revert to a recent backup

Or is this already in such a bad state, that one has to recommend saving, what is needed after a complete reinstall to get your config + work files in place, and initiate a clean reinstall (possibly onto a different partition)?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1707
    • SparkyLinux
Re: after an complete update, I can't reach my desctop screen
« Reply #9 on: November 18, 2017, 01:34:44 pm »
I don't even know what version/desktop of sparky you have.
The first think you should do is trying to fix broken packages if any:
a. in recovery mode (easier)
b. using sparky rescue iso, and chrooter to chroot to broken system and fix it:
as root:
Code: [Select]
dpkg --configure -a
apt update
apt install -f
apt full-upgrade
Nothing is easy as it looks.
Danielle Steel