LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 18.04.3 LTS tty1 (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-18-04-3-lts-tty1-4175670861/)

vaya.putra 03-06-2020 12:03 PM

Ubuntu 18.04.3 LTS tty1
 
the problem begun since I run Jupiter Note, I got some error message, I tried to add package python with matplotlib, so I doing

sudo apt-get purge python3.6

after that I lost my ubuntu desktop and terminal

how to fix my ubuntu, I am worry If do
sudo apt-get install ubuntu-desktop
then all my file will gone

any suggest please help me?

berndbausch 03-06-2020 02:36 PM

It's unlikely your files will be gone, but you could back them up before installing the desktop.

vaya.putra 03-06-2020 09:07 PM

is there any another solution beside install ubuntu desktop?
or could you give me the guidance step by step for me just make sure I am not do the false step and make all my file will gone.
because is very difficult reinstall all data file.

thank you for your suggestion

vaya.putra 03-06-2020 09:41 PM

I do

Sudo apt-get install ubuntu-desktop

but I have message at the end
depends : foomatic-db-compressed-ppds but it is not going to be installed
..
...
...
Unable to correct problems, you have held broken packages.

what should I do?

berndbausch 03-07-2020 12:17 AM

Quote:

Originally Posted by vaya.putra (Post 6097948)
but I have message at the end
depends : foomatic-db-compressed-ppds but it is not going to be installed
..
...
...
Unable to correct problems, you have held broken packages.

what should I do?

I have the feeling that the command outputs more messages with important information. All I know is that you have broken packages, but I don't know which ones and if more details are available.

Here is a lesson for you: Error messages are not necessarily useless. Read them and learn to judge if they are relevant.

You might also want to reinstall Python, if that still works.

berndbausch 03-08-2020 06:52 PM

Quote:

Originally Posted by vaya.putra (Post 6097943)
is there any another solution beside install ubuntu desktop?

If your problem is the fact that you have lost the desktop, the only practical solution apart from checking file by file is installing the desktop. Or simply installing Ubuntu.

Python is fundamental. Many system programs are written in Python these days. Purging it is not a good idea, and I am certain that apt-get purge told you which other packages would be removed.

foomatic is a set of printer drivers for CUPS. Perhaps there is a way to install a partial desktop without CUPS.


All times are GMT -5. The time now is 09:22 AM.