LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   ubuntu software center and synaptic pkg manager problem (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-software-center-and-synaptic-pkg-manager-problem-936659/)

javalover 03-27-2012 06:16 AM

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..

k3lt01 03-27-2012 06:20 AM

Try
Code:

sudo apt-get update
this will update your package lists which seems to be what you are having trouble with.

javalover 03-27-2012 06:23 AM

I tried that sir, but after sometimes the entire package is resulting as "Decoder error".... And being as same..

javalover 03-27-2012 06:52 AM

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.

javalover 03-27-2012 06:54 AM

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

tommcd 03-31-2012 01:30 AM

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.

k3lt01 03-31-2012 02:20 AM

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.

javalover 03-31-2012 10:58 PM

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!!


All times are GMT -5. The time now is 09:48 PM.