darjeelingtee
February 28th, 2012, 01:22 PM
Hi all,
Having recently edited my sources.list to include medibuntu (I know a dangerous thing to do when you don't completely know what you are doing!) I appear to have caused a number of problems so that I now cannot update my system or indeed install new applications (my intention is to install build-essential so that I can compile Octave 3.4.3 in Ubuntu 11.10).
My system details are as follows:
Ubuntu 11.10 64 bit
AMD E-350 x2
sudo apt-get update results in the terminal getting stuck and not downloading anything.
sudo apt-get install build-essential results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner _binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner _binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/free amd64 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_free_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/non-free amd64 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_free_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/non-free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'build-essential' has no installation candidate
Clearly I have duplicate entries but I have tried generating sources list from http://repogen.simplylinux.ch/ but that doesnt work either. Below is my current sources.list. Any help would be great.
#deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386]/ oneiric main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
## 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://gb.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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://gb.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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 oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
## Medibuntu - Ubuntu 11.10 "Oneiric Ocelot"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ oneiric free non-free
deb-src http://packages.medibuntu.org/ oneiric free non-free
# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free
Cheers, Matt
Update:
So I am now running as simple a source.list as I think possible:
################################################## ###########
################### OFFICIAL UBUNTU REPOS ###################
################################################## ###########
###### Ubuntu Main Repos
deb http://se.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
###### Ubuntu Update Repos
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
but
sudo apt-get update just gets stuck at the following:
Ign http://se.archive.ubuntu.com oneiric InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://se.archive.ubuntu.com oneiric-security InRelease
Ign http://se.archive.ubuntu.com oneiric-updates InRelease
Ign http://se.archive.ubuntu.com oneiric-proposed InRelease
Ign http://se.archive.ubuntu.com oneiric-backports InRelease
Hit http://packages.medibuntu.org oneiric InRelease
Get:1 http://se.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://se.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:3 http://se.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Get:4 http://se.archive.ubuntu.com oneiric-proposed Release.gpg [198 B]
Get:5 http://se.archive.ubuntu.com oneiric-backports Release.gpg [198 B]
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://se.archive.ubuntu.com oneiric Release
Get:6 http://se.archive.ubuntu.com oneiric-security Release [40.8 kB]
Ign http://se.archive.ubuntu.com oneiric Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Get:7 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release
Hit http://packages.medibuntu.org oneiric/free amd64 Packages
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://packages.medibuntu.org oneiric/non-free amd64 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://packages.medibuntu.org oneiric/free i386 Packages
Hit http://packages.medibuntu.org oneiric/non-free i386 Packages
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en_GB
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://packages.medibuntu.org oneiric/free Translation-en_GB
Ign http://packages.medibuntu.org oneiric/free Translation-en
Ign http://packages.medibuntu.org oneiric/non-free Translation-en_GB
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Get:8 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:9 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
51% [9 Release 915 B/40.8 kB 2%]
Cheers, Matt
Having recently edited my sources.list to include medibuntu (I know a dangerous thing to do when you don't completely know what you are doing!) I appear to have caused a number of problems so that I now cannot update my system or indeed install new applications (my intention is to install build-essential so that I can compile Octave 3.4.3 in Ubuntu 11.10).
My system details are as follows:
Ubuntu 11.10 64 bit
AMD E-350 x2
sudo apt-get update results in the terminal getting stuck and not downloading anything.
sudo apt-get install build-essential results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner _binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner _binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/free amd64 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_free_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/non-free amd64 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_free_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ oneiric/non-free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_oneiric_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'build-essential' has no installation candidate
Clearly I have duplicate entries but I have tried generating sources list from http://repogen.simplylinux.ch/ but that doesnt work either. Below is my current sources.list. Any help would be great.
#deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386]/ oneiric main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
## 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://gb.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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://gb.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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.
deb http://gb.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ oneiric-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 oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric partner
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse
## Medibuntu - Ubuntu 11.10 "Oneiric Ocelot"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ oneiric free non-free
deb-src http://packages.medibuntu.org/ oneiric free non-free
# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free
Cheers, Matt
Update:
So I am now running as simple a source.list as I think possible:
################################################## ###########
################### OFFICIAL UBUNTU REPOS ###################
################################################## ###########
###### Ubuntu Main Repos
deb http://se.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
###### Ubuntu Update Repos
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
but
sudo apt-get update just gets stuck at the following:
Ign http://se.archive.ubuntu.com oneiric InRelease
Ign http://archive.canonical.com oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://se.archive.ubuntu.com oneiric-security InRelease
Ign http://se.archive.ubuntu.com oneiric-updates InRelease
Ign http://se.archive.ubuntu.com oneiric-proposed InRelease
Ign http://se.archive.ubuntu.com oneiric-backports InRelease
Hit http://packages.medibuntu.org oneiric InRelease
Get:1 http://se.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://se.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:3 http://se.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Get:4 http://se.archive.ubuntu.com oneiric-proposed Release.gpg [198 B]
Get:5 http://se.archive.ubuntu.com oneiric-backports Release.gpg [198 B]
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://se.archive.ubuntu.com oneiric Release
Get:6 http://se.archive.ubuntu.com oneiric-security Release [40.8 kB]
Ign http://se.archive.ubuntu.com oneiric Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://ppa.launchpad.net oneiric Release.gpg
Get:7 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release
Hit http://packages.medibuntu.org oneiric/free amd64 Packages
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://ppa.launchpad.net oneiric Release
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://packages.medibuntu.org oneiric/non-free amd64 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://ppa.launchpad.net oneiric/main amd64 Packages
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://packages.medibuntu.org oneiric/free i386 Packages
Hit http://packages.medibuntu.org oneiric/non-free i386 Packages
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Ign http://ppa.launchpad.net oneiric/main Translation-en_GB
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en_GB
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://packages.medibuntu.org oneiric/free Translation-en_GB
Ign http://packages.medibuntu.org oneiric/free Translation-en
Ign http://packages.medibuntu.org oneiric/non-free Translation-en_GB
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Get:8 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:9 http://se.archive.ubuntu.com oneiric-updates Release [40.8 kB]
51% [9 Release 915 B/40.8 kB 2%]
Cheers, Matt