LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2012, 07:16 AM   #1
javalover
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Rep: Reputation: Disabled
ubuntu software center and synaptic pkg manager problem


Hi friends!! Am new to ubuntu.. Am using Ubuntu 11.04 version.. If I try to open synaptic package manager it results as encountered a problem.. and if am trying install any software in terminal(sudo apt-get install), it results as

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_i18n_Tr anslation-en
E: The package lists or status file could not be parsed or opened.

Even software center not loading, it just opening and left as it is..

I executed this command at last, sudo apt-get remove..

Please help me..
 
Old 03-27-2012, 07:20 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Try
Code:
sudo apt-get update
this will update your package lists which seems to be what you are having trouble with.
 
Old 03-27-2012, 07:23 AM   #3
javalover
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I tried that sir, but after sometimes the entire package is resulting as "Decoder error".... And being as same..
 
Old 03-27-2012, 07:52 AM   #4
javalover
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Sir, This is the output when i update in Terminal..

Ign file: natty InRelease
Ign file: natty Release.gpg
Get:1 file: natty Release [11.0 kB]
Ign file: natty/main i386 Packages/DiffIndex
Ign file: natty/restricted i386 Packages/DiffIndex
Ign file: natty/multiverse i386 Packages/DiffIndex
Ign file: natty/universe i386 Packages/DiffIndex
Ign file: natty/main TranslationIndex
Ign file: natty/multiverse TranslationIndex
Ign file: natty/restricted TranslationIndex
Ign file: natty/universe TranslationIndex
Ign file: natty/main Translation-en_US
Ign file: natty/main Translation-en
Ign file: natty/multiverse Translation-en_US
Ign file: natty/multiverse Translation-en
Ign file: natty/restricted Translation-en_US
Ign file: natty/restricted Translation-en
Ign file: natty/universe Translation-en_US
Ign file: natty/universe Translation-en
Hit http://hacktolive.org natty InRelease
Hit http://hacktolive.org natty/main i386 Packages
Hit http://hacktolive.org natty/restricted i386 Packages
Hit http://hacktolive.org natty/multiverse i386 Packages
Hit http://hacktolive.org natty/partner i386 Packages
Get:2 http://ppa.launchpad.net natty InRelease [12.6 kB]
Ign http://ppa.launchpad.net natty InRelease
Get:3 http://hacktolive.org natty/universe i386 Packages [12.6 kB]
Get:4 http://ppa.launchpad.net natty/main Sources/DiffIndex [12.6 kB]
Get:5 http://hacktolive.org natty/main TranslationIndex [12.6 kB]
Get:6 http://hacktolive.org natty/main TranslationIndex [12.6 kB]
Get:7 http://hacktolive.org natty/main TranslationIndex [12.6 kB]
Get:8 http://ppa.launchpad.net natty/main i386 Packages/DiffIndex [12.6 kB]
Get:9 http://hacktolive.org natty/main TranslationIndex [12.6 kB]
Hit http://hacktolive.org natty/multiverse TranslationIndex
Get:10 http://ppa.launchpad.net natty/main i386 Packages/DiffIndex [12.6 kB]
Hit http://hacktolive.org natty/partner TranslationIndex
Hit http://ppa.launchpad.net natty/main TranslationIndex
Hit http://hacktolive.org natty/restricted TranslationIndex
Hit http://hacktolive.org natty/universe TranslationIndex
Hit http://ppa.launchpad.net natty/main Sources
Hit http://ppa.launchpad.net natty/main i386 Packages
Hit http://ppa.launchpad.net natty/main Translation-en_US
Hit http://ppa.launchpad.net natty/main Translation-en
Hit http://hacktolive.org natty/main Translation-en_US
Hit http://hacktolive.org natty/main Translation-en
Hit http://hacktolive.org natty/multiverse Translation-en_US
Hit http://hacktolive.org natty/multiverse Translation-en
Hit http://hacktolive.org natty/partner Translation-en_US
Get:11 http://hacktolive.org natty/partner Translation-en [12.6 kB]
Get:12 http://hacktolive.org natty/partner Translation-en [12.6 kB]
50% [12 Translation-en bzip2 0 B] [Connecting to www.reliancenetconnect.co.in (bzip2: (stdin) is not a bzip2 file.
Hit http://hacktolive.org natty/restricted Translation-en_US
Get:13 http://hacktolive.org natty/restricted Translation-en [12.6 kB]
57% [13 Translation-en bzip2 0 B] [Connecting to hacktolive.org] 2,061 B/s 18sbzip2: (stdin) is not a bzip2 file.
Hit http://hacktolive.org natty/universe Translation-en_US
Hit http://hacktolive.org natty/universe Translation-en
57% [12 Translation-en xz 0 B] [Connecting to hacktolive.org] 2,061 B/s 18s/usr/bin/xz: (stdin): File format not recognized
57% [13 Translation-en xz 0 B] [Connecting to hacktolive.org] 2,061 B/s 18s/usr/bin/xz: (stdin): File format not recognized
57% [12 Translation-en lzma 0 B] [Connecting to hacktolive.org] 2,075 B/s 18s/usr/bin/lzma: Decoder error
57% [13 Translation-en lzma 0 B] 2,075 B/s 18s/usr/bin/lzma: Decoder error
Fetched 46.7 kB in 29s (1,574 B/s)
W: GPG error: http://ppa.launchpad.net natty InRelease: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch gzip:/var/lib/apt/lists/partial/hacktolive.org_repo_archive_dists_natty_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 03-27-2012, 07:54 AM   #5
javalover
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
This is my sources.list file..

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu natty main restricted
deb-src http://archive.ubuntu.com/ubuntu natty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu natty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu natty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
 
Old 03-31-2012, 02:30 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
THere are 2 problems I see when you run "sudo apt-get update:
Code:
Hit http://hacktolive.org natty/universe Translation-en
57% [12 Translation-en xz 0 B] [Connecting to hacktolive.org] 2,061 B/s 18s/usr/bin/xz: (stdin): File format not recognized
and:
Code:
W: GPG error: http://ppa.launchpad.net natty InRelease: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch gzip:/var/lib/apt/lists/partial/hacktolive.org_repo_archive_dists_natty_universe_binary-i386_Packages Hash Sum mismatch
You have third party repositories on your system that are causing problems (hacktolive.org, and that PPA repo). Try commenting them out (i.e., put a # in front of them). Since they do not appear to be in your /etc/apt/sources.list file, they must be in your /etc/apt/sources.d/ directory. Or you could just remove them in Synaptic. Then try running sudo apt-get update again.
 
Old 03-31-2012, 03:20 AM   #7
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Sorry Javalover I didn't see your reply.

+1 to Tommcd. Tommcd has given great advice. Comment out the hacktolive.org and PPA entries, as Tommcd says they are probably in your /etc/apt/sources.d/ directory. Then apt-get update and let us know how you go.
 
Old 03-31-2012, 11:58 PM   #8
javalover
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you friend!!! Really sorry for late reply.. It was so urgent for my project at that time so I format and reinstall fresh ubuntu .... Thank you very much!!
 
  


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
[SOLVED] Unable to open Synaptic package manager / Ubuntu software center. DrArroganto Ubuntu 3 10-24-2011 03:29 PM
Error to launch Synaptic Pkg Manager TigerLinux Ubuntu 4 06-25-2011 08:58 PM
Synaptic package manager VRS Ubuntu Softare Center RiverGuy Linux - Newbie 6 02-22-2011 03:24 AM
Applying changes in apt, synaptic, software center and ubuntu tweak error ieatbunnies Linux - Newbie 1 01-18-2011 11:59 AM
JBoss 4.2.3 GA install through synaptic pkg manager shahavinash Ubuntu 2 09-20-2009 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:23 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