LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2020, 12:03 PM   #1
vaya.putra
LQ Newbie
 
Registered: Mar 2020
Posts: 3

Rep: Reputation: Disabled
Question 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?
 
Old 03-06-2020, 02:36 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
It's unlikely your files will be gone, but you could back them up before installing the desktop.
 
1 members found this post helpful.
Old 03-06-2020, 09:07 PM   #3
vaya.putra
LQ Newbie
 
Registered: Mar 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-06-2020, 09:41 PM   #4
vaya.putra
LQ Newbie
 
Registered: Mar 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Unhappy

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?
 
Old 03-07-2020, 12:17 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by vaya.putra View Post
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.
 
1 members found this post helpful.
Old 03-08-2020, 06:52 PM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by vaya.putra View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Canonical Preps Emergency Point Releases for Ubuntu 16.04 LTS and Ubuntu 14.04 LTS LXer Syndicated Linux News 0 02-25-2019 09:30 AM
LXer: Canonical Patches OpenSSL Regression in Ubuntu 16.04 LTS, 14.04 LTS and 12.04 LTS LXer Syndicated Linux News 0 09-27-2016 12:32 PM
LXer: Ubuntu 12.04.5 LTS (Precise Pangolin) Released with Linux Kernel from Ubuntu 14.04 LTS LXer Syndicated Linux News 0 08-08-2014 08:00 AM
LXer: How to upgrade Ubuntu 12.04 LTS to Ubuntu 14.04 LTS LXer Syndicated Linux News 0 05-05-2014 07:51 PM
Ubuntu 9.10 shuts down or takes me to “Ubuntu 9.10 pablo-laptop tty1” by itself pgonzamailcn Linux - Newbie 3 03-31-2010 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration