To be translated
This describes the case which never should happen.
But it happened to me, too.
# an update, and not the whole software is updated.
# the choice "repair defect packages" in synaptic was not available
# black screen
# no GDM can be started;
>>> but, there is the line where I can logon:...

don't cry, your system is still alive

but where why how ???

for SAM 2007 the first step is REMOVE alltray completely using
step 1
logon as root
enter the root password and press ENTER
nothing happens? right!
we are in the so called runlevel 3
just for the control let's do it again: type in
and press ENTER
step 2
type in (mc is a commander tool for runlevel 3 as thunar is for the runlevel 5 and is installed together with your SAM-installation)
ok the blue commander shows files, use the cursor down button to navigate to
sources.list
the file should be marked in a different color than the others, and now press
F4 button (in the most cases it is the 5th button from the left top on your keyboard),
and an editor pops up which you easily can use. JEAH!
So, lets start and take a look to the channel sources and change it if needed to:
rpm http://distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/apt/ pclinuxos/2007 nonfree
rpm http://ftp.heanet.ie/pub/SAMlinux/ repo main sam kde extra testing
rpm ftp://sam.mirror.garr.it/mirrors/sam/ repo main sam kde extra testing
rpm ftp://ftp.tu-chemnitz.de/pub/linux/sam/ repo main sam kde extra testing
These channels are the recommended one's, but be careful using testing. Typically this should not be used, so remove it!!!
If you have applied all changes, save and exit the editor and exit mc pressing the F10 button.
And now, let's install all software again? Noooo!!!
step 3
type in
eth0??? or similar should be the name of your network-connection. That is the name you can see in the graphical screen if you move with the cursor over the networkmanager icon.
now the network should be established and you can connect to the SAM-server.
step 4
your system gets the new information on all packages which you could install.
step 5
now you have time to do more important things as drinking coffee, working in the backyard, clean your desktop or something like that. Your computer will be busy some time. Your SAM-system takes care now on broken or missing packages and missing dependencies and downloads all needed packages to repair your system. The black screen is the result of a broken desktop configuration and the rest of your system is working properly. So it can repair itself.
step 6
if the last line on the screen of your monitor is
then all is done.
Now type in
and if the worst case happens and the logon screen doesn't come up, we are still here in the forum and you can ask questions here, how to solve your problem in a different way.
And, if someone reads this before he/she has crashed the system you will find the following scripts below:
copy the scripts simply in /usr/bin and name it as korrigieren and so on (you can choose your own filename) and you have not to retype it. These guys running in runlevel 3.
coming soon:
script1 > /etc/apt/sources.list korrigieren;
#! /bin/sh
###
cat > /etc/apt/sources.list <<EOF
# Package repository URL's
# Signed repositories have a [<key>] where <key> is the name of the key
# as it appears in vendors.list. If you remove it, no digital signature check
# will be made.
# example
# rpm http://distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/apt/ pclinuxos/2007 main extra nonfree
# rpm http://ftp.heanet.ie/pub/pclinuxos/apt/ pclinuxos/2007 main extra nonfree
# rpm http://pclosusers.com/pclosfiles/ pclinuxos/2007 main extra nonfree
rpm http://distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/apt/ pclinuxos/2007 nonfree
rpm http://ftp.heanet.ie/pub/SAMlinux/ repo main sam kde extra testing
rpm ftp://sam.mirror.garr.it/mirrors/sam/ repo main sam kde extra testing
rpm ftp://ftp.tu-chemnitz.de/pub/linux/sam/ repo main sam kde extra testing
EOF
echo ready
script 2 > package infos update and system upgrade, defect packages will be repaired
#! /bin/sh
###
apt-get update
apt-get -yD --fix-broken upgrade
echo ready
>>> something about tilda ! <<<<
If you use the old version of Tilda (for example in SAM 2007), it is necessary to
remove the following directory before you perform the above mentioned steps. You can do it by hand by deleting
/home/Benutzername/.tilda
or use the following script:
#!/bin/sh
###
rmdir /home/$USER/.tilda
echo ready