odbhut.shei.chhele
odbhut.shei.chhele

Reputation: 6224

Cannot install imagemagick in my server

I am trying to install ImageMagick library in my server. But it is giving me an error. It says

Reading package lists... Error! W: Duplicate sources.list entry
http://download.opensuse.org/repositories/home:/sarimkhan/xUbuntu_13.10/
./ Packages
(/var/lib/apt/lists/download.opensuse.org_repositories_home:_sarimkhan_xUbuntu%5f13.10_._Packages)
W: Duplicate sources.list entry
http://download.opensuse.org/repositories/home:/sarimkhan/xUbuntu_13.04/
./ Packages
(/var/lib/apt/lists/download.opensuse.org_repositories_home:_sarimkhan_xUbuntu%5f13.04_._Packages)
E: Encountered a section with no Package: header E: Problem with
MergeList
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_universe_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

I am really confused. what should I do now. Thanks in advance.

Upvotes: 0

Views: 158

Answers (2)

Vijay Chouhan
Vijay Chouhan

Reputation: 4883

I solved this problem using:

sudo aptitude update

then run:

 sudo apt-get install imagemagick

Upvotes: 1

Aleksey Deryagin
Aleksey Deryagin

Reputation: 2675

Long success story: apt - How to fix Duplicate sources.list entry? - Ask Ubuntu

Long story short:

Open /etc/apt/sources.list in favorite editor, find duplicate lines with repositories and delete duplicates. Then repeat ImageMagick install process.

Upvotes: 1

Related Questions