LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-27-2013, 01:19 PM   #1
venugopal204
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Rep: Reputation: Disabled
apt-get not working


My apt-get does not seem to work. I'm using Linux 3.2.0-23-generic, KDE SC version 4.8.5. The Software Manager does not open neither does apt-get nor does apt-get install or apt-get install -f. I'm new to Linux and do not understand how to fix this. The error I get when I try to install the game unvanquished is-

raghav@raghav-ThinkPad-Edge ~ $ sudo apt-get install unvanquished
[sudo] password for raghav:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ppa.launchpad.net_ubuntu-desktop_ppa_ubuntu_dists_raring_main_i18n_Translation-en%5fIN
E: The package lists or status file could not be parsed or opened.
 
Old 12-27-2013, 01:25 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,194

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Welcome to the forums!

It looks as though you have added some third-party software that is not supported by Ubuntu, and that there is a problem with this third-party software source preventing apt-get from working properly.

I recommend that you systematically remove the third-party repositories that you added, until you figure out which one is generating the error (based on your output, I see that we are looking for a URL containing "ppa.launchpad.net"). See the section titled "Removing & Disabling Repositories" at this link: https://help.ubuntu.com/community/Repositories/Ubuntu

Last edited by snowpine; 12-27-2013 at 01:27 PM.
 
Old 12-27-2013, 01:27 PM   #3
venugopal204
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm actually using Linux Mint. Does that affect anything from your reply?
 
Old 12-27-2013, 01:29 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,194

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
There may be slight differences between the Ubuntu and Mint config utilities, but the underlying concepts are the same. You can also edit the files in /etc/apt/ directly if you prefer text methods of configuration over GUI tools.
 
Old 12-27-2013, 01:33 PM   #5
venugopal204
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
To use GUI I need the Software Manager to open which is not happening. I am not able to open Synaptic Package Manager either.
 
Old 12-27-2013, 01:37 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,194

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
How did you add the third-party software source originally? Reverse the process.

If the GUI tools aren't working then you can always edit the text files directly, using your favorite text editor. For example (using my preferred 'gedit' editor):

Code:
gksu gedit /etc/apt/sources.list
I suggest you read the linked document in #2 before you edit these important system files. When I used to hang out on Ubuntu Forums, the #1 preventable cause of users breaking their systems was installing unsupported third-party software without understanding these basics. For example it appears from your kernel version that you are using Mint 13, is that correct? If so, you have added an incompatible software source for "raring" (which is equivalent to Mint 15; it would be like trying to install Window 8 specific software in Vista). Adding software for the wrong release is a sure-fire way to get apt-get errors.

Last edited by snowpine; 12-27-2013 at 01:39 PM.
 
Old 12-27-2013, 02:15 PM   #7
venugopal204
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Ah, I get it now. Thank you. This worked.
 
  


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
apt-get not working! LinuxTestMan01 Linux - Newbie 6 07-31-2013 08:37 AM
[SOLVED] apt not working - HELP minty33 Linux - Software 2 05-23-2013 06:25 PM
apt not working shady_Dev Ubuntu 7 06-07-2008 02:11 AM
apt-get not working johngrinham Linux - General 11 04-18-2006 07:48 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM

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

All times are GMT -5. The time now is 12:16 AM.

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