LinuxQuestions.org
Help answer threads with 0 replies.
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 05-27-2015, 04:20 PM   #1
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Rep: Reputation: Disabled
Lost Software Centre


Recently I installed Ubuntu 14.04.2 LTS Shortly after the 'Software Centre' became corrupted. I made the mistake of deleting it in hopes of being able to restore it. It has been 15 years since I used Red Hat Linux 5, so my Linux for Dummies book doesn't help much. I can study and download .pdf files from the Internet but I want the original back. What command sequence or method can I use to completely restore the 'Software Centre'??
 
Old 05-27-2015, 05:05 PM   #2
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 823

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by Charliesrch View Post
Recently I installed Ubuntu 14.04.2 LTS Shortly after the 'Software Centre' became corrupted. I made the mistake of deleting it in hopes of being able to restore it. It has been 15 years since I used Red Hat Linux 5, so my Linux for Dummies book doesn't help much. I can study and download .pdf files from the Internet but I want the original back. What command sequence or method can I use to completely restore the 'Software Centre'??
Don't have an Ubuntu install to test right now, but from what I see on the web the package name seems to be software-center, which means you should be able to fix this by simply running
Code:
apt-get install software-center
 
Old 05-27-2015, 05:13 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,445
Blog Entries: 10

Rep: Reputation: Disabled
Hi & Welcome to Linux Questions-

You can also do a package search in Synaptic Package Manager and install the Software Center from there.

That's if Software Center is listed.

https://wiki.debian.org/Synaptic

Last edited by Ztcoracat; 05-27-2015 at 05:15 PM.
 
Old 05-27-2015, 06:27 PM   #4
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Smile Lost Software Centre

Thank you both for the rapid response. APT-GET install did not work. Terminal message indicates that it's not available, is refferred to by another package, it's missing-obsoleted, or it is only available from another source. (2nd) response re: I could not even download Synaptic from the Synaptic Software Centre page (center underlined...) . A similar message was displayed in the Terminal. Looks like I might have to go for my 7th Ubuntu install. I really have it set up now (a lot of work) and it's not necessary now for me to have the Software Center. I am hoping as I continue studing more that I will come across a way to restore instead of re-installing. Thank You for the Linux community spirit. (I despise Microsoft more and more). I intend to contribute when and as I progress.
 
Old 05-27-2015, 07:03 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,225
Blog Entries: 3

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
Hi Charlie...

Welcome to the forum

Do any of the instructions here help? If not, you can take a look here for other solutions.

Also you can try installing Synaptic using the of of the methods marked by the green and white checkmark here.

Regards...
 
Old 05-27-2015, 08:22 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

so that we can better understand the situation please run the following commands and cut and paste your whole terminal session (Ie what you entered and the output returned) into [code] tags in a post in this thread.
Code:
sudo apt-get update
apt-cache search software-center
apt-cache policy software-center
sudo apt-get install software-center
Evo2.
 
1 members found this post helpful.
Old 05-27-2015, 11:10 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,445
Blog Entries: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by Charliesrch View Post
Thank you both for the rapid response. APT-GET install did not work. Terminal message indicates that it's not available, is refferred to by another package, it's missing-obsoleted, or it is only available from another source. (2nd) response re: I could not even download Synaptic from the Synaptic Software Centre page (center underlined...) . A similar message was displayed in the Terminal. Looks like I might have to go for my 7th Ubuntu install. I really have it set up now (a lot of work) and it's not necessary now for me to have the Software Center. I am hoping as I continue studing more that I will come across a way to restore instead of re-installing. Thank You for the Linux community spirit. (I despise Microsoft more and more). I intend to contribute when and as I progress.
-:-It's not good to keep re-installing. It turned my HDD into a brick doing that.-:-
(not sure if it could happen to yours but at least I've told you so)

Before you try another fresh installation run the commands that evo posted and post back for us what the terminal returns. Please post in {codetags}
 
Old 05-28-2015, 04:45 AM   #8
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat! I tried evo's command sequence...no good. I'm such a newbie, Can you tell me how to cut and paste from the Terminal? Thanks.
 
Old 05-28-2015, 04:51 AM   #9
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Also, the method to use code tags? I get around in the Terminal good except when there is a hang-up or things I'm not familiar with yet.
 
Old 05-28-2015, 05:44 AM   #10
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Lost Software Centre

Found out how to copy and paste to and from Terminal. Here is the out put from the advice and commands I tried: Can you advise on how to post with 'Tags'?




boon@boon-HP-Compaq-6000-Pro-SFF-PC:~$ !304
apt-get install software-center
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
boon@boon-HP-Compaq-6000-Pro-SFF-PC:~$ sudo su -
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# !304
-su: !304: event not found
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-get install software-center
Reading package lists... Error!
E: Type 'emastersys' is not known on line 21 in source list /etc/apt/sources.list
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# aptitude reinstall
The program 'aptitude' is currently not installed. You can install it by typing:
apt-get install aptitude
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'aptitude' has no installation candidate
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# sudo apt-get install debsums
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package debsums
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# sudo apt-get update
E: Type 'emastersys' is not known on line 21 in source list /etc/apt/sources.list
E: The list of sources could not be read.
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-cache search software-center
app-install-data - Ubuntu applications (data files)
software-center-aptdaemon-plugins - The aptdaemon plugins for software-center
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-cache policy software-center
software-center:
Installed: (none)
Candidate: (none)
Version table:
13.10-0ubuntu4.1 0
100 /var/lib/dpkg/status
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# sudo apt-get install software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'software-center' has no installation candidate
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# sudo apt-get update
E: Type 'emastersys' is not known on line 21 in source list /etc/apt/sources.list
E: The list of sources could not be read.
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-cache search software-center
app-install-data - Ubuntu applications (data files)
software-center-aptdaemon-plugins - The aptdaemon plugins for software-center
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# apt-cache policy software-center
software-center:
Installed: (none)
Candidate: (none)
Version table:
13.10-0ubuntu4.1 0
100 /var/lib/dpkg/status
root@boon-HP-Compaq-6000-Pro-SFF-PC:~# sudo apt-get software center
E: Invalid operation software
root@boon-HP-Compaq-6000-Pro-SFF-PC:~#
 
Old 05-28-2015, 02:50 PM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Ubuntu uses sudo by default, so you have to add sudo to the beginning of your commands if you need root priveledges or permission denied messages.
 
Old 05-28-2015, 05:44 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

your /etc/apt/sources.list file is corrupted. It seems you may be able to fix it by commenting out line 21.

Evo2.
 
1 members found this post helpful.
Old 05-28-2015, 07:41 PM   #13
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
Lost Software Centre

Hi Evo, Eddie, everyone... I really appreciate all your combined help. I am tempted to stop this thread ,tho, until I get some more practice and studying experience. My Linux machine now has DVD play, Brasero, and enough other goodies to prevent a re-install for now. Evo - I will see what I can do with the info from your latest post/reply. Thank You!
 
Old 05-28-2015, 07:45 PM   #14
Charliesrch
LQ Newbie
 
Registered: May 2015
Location: St. Petersburg, FL
Distribution: Ubuntu 14.04.2
Posts: 29

Original Poster
Rep: Reputation: Disabled
I don't know yet how to comment out line 21 "/etc/apt/sources.list". I know how to switch to root # and back, along with a few commands, and I'm learning new things daily. I have printed more than half a dozen Cheet Sheets that are helpful too.
 
Old 05-28-2015, 08:16 PM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,596

Rep: Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879Reputation: 1879
As root type:
Code:
nano /etc/apt/sources.list
It ought to be fairly self-explanatory then comment out a line using the "#" character without the quotes.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: Deepin Software Centre: GUI Software Frontend Done right LXer Syndicated Linux News 0 06-23-2012 06:43 PM
[SOLVED] cannot authenticate in software centre alan price Linux - Newbie 2 05-27-2012 05:56 PM
How to update the Software Centre? janap-146 Ubuntu 18 03-26-2011 07:01 PM
Problems with Ubuntu software centre Eddy Stone Linux - Newbie 2 11-12-2009 07:10 AM
Mandrake Control Centre lost Tec1 Mandriva 14 09-03-2003 12:54 PM


All times are GMT -5. The time now is 06:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration