can't access to my desktop
- Login o registrati per inviare commenti
After downloading some softwares the program "add/remove programs " crashed and I couldn't close it or open it again so I decided to restart my computer trying to solve the problem but when I login Ican't access to my desktop and the login window appears again(The password is correct).
I'll appreciate your help.
Can you log in a "real" terminal? To do so, press Ctrl+Alt+F1, enter you user name and your password. From there you can try to fix things with commands like 'sudo dpkg --configure -a' or 'sudo apt-get -f install'.
Thanks for replying to me
I logged in a real time,I was asked to enter a sudo password ,Idid and I tried the two commands but the response was "command not found"
My serious problem is that I can't log in "GNOME classic" mode
If those commands really are "not found", it is a far more serious problem than not being able to log in the graphical desktop. Nevertheless, I believe you simply mistyped the command (probably forgetting spaces). Here are again, the two commands:
$ sudo dpkg --configure -a
$ sudo apt-get -f install
For your information, the first command aims at configuring packages that would have been unpacked but not configured; the second command aims at fixing some potentially broken packages. I suggest them because you mentioned that the cause of all that is a crash of "add/remove programs", which is a front-end to the package manager.
If the two commands do no not anything interesting, then the problem is (probably) not to be found there. In this case, you should first read some logs. For instance, after an unsuccessful attempt to log in (you can switch back and forth between the graphical session and the terminal by using Ctrl+Alt+F7 and Ctrl+Alt+F1), is there any novelty in /var/log/syslog. To do so, you can read the end of this file with:
$ tail /var/log/syslog
You might also want to review apt log to see what you installed and caused this mayhem.
less /var/log/apt/history.log
I tried $ sudo dpkg --configure -a,an error message was shown
"dpkg:error: failed to write status record
of << initramfs-tools >> to << /var/lib/dpkg/status >>: No space left on device", whereas I'm sure there's enough space on the disk because my pc is new and it is not full of files and I think the best soulution is that you tell me how can I reinstall Trisquel,thanks.
If you want to check the available space from the terminal, here is the command (you can copy its output in this thread):
$ df
To reinstall Trisquel, just boot the Trisquel Live CD or USB and click on the "Install" icon (like you did to install it in the first place). If /home is not a separated file system, you probably want to backup some personal files first (e.g., on an external hard disk or on another computer in the network). You can do that from the live system.
- Login o registrati per inviare commenti