PDA

View Full Version : [SOLVED] error msg



577trex
April 28th, 2012, 02:39 AM
ok I did the upgrade to 12.04 now i'm getting this and need to know what to do. everything seems to work just getting the error msg



'W:Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner _binary-i386_Packages), W:Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner _binary-i386_Packages), E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner _i18n_Translation-en, E:The package lists or status file could not be parsed or opened.'

Rubi1200
April 28th, 2012, 03:32 PM
Hi and welcome to the forums :-)

Please post the contents of the sources.list:


cat /etc/apt/sources.list

To do this, open a terminal with Ctrl+Alt+T and copy/paste the command in there then copy and paste the results here.

Thanks.

577trex
April 30th, 2012, 03:03 AM
ok here goes

# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe #Added by software-properties

## 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 precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates 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 precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates 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.

## 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 precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb http://archive.canonical.com/ precise partner
deb http://extras.ubuntu.com/ubuntu natty main #Third party developers repository
deb http://archive.ubuntu.com/ubuntu precise-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu precise-proposed restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu precise-backports restricted main multiverse universe

Rubi1200
May 1st, 2012, 03:58 AM
Try these 2 commands:


sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

The first one removes corrupted lists, the second refreshes them.

577trex
May 3rd, 2012, 02:17 AM
ok I think that got it,thx