Duplicate sources Emnet er løst

Her kan du få hjælp til installationen af Ubuntu.
CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Duplicate sources

Indlægaf CityTop » 15. jul 2015, 11:48

Jeg har netop nyinstalleret Ubuntu Desktop 14.04.2 LTS og det mest nødvendige software. Ved apt-get update får jeg nu:

Kode: Vælg alt

W: Duplicate sources.list entry http://linux.dropbox.com/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_trusty_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://linux.dropbox.com/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/linux.dropbox.com_ubuntu_dists_trusty_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems


men jeg har jo netop kørt apt-get update, så det løser vel ikke problemet. Hvordan kan jeg rette fejlen?

På forhånd tusind tak.

AJenbo
Admin
Indlæg: 20860
Tilmeldt: 15. nov 2009, 15:04
IRC nickname: AJenbo
Geografisk sted: Vanløse, København

Re: Duplicate sources

Indlægaf AJenbo » 15. jul 2015, 11:57

Du er kommet til at tilføje dropbox 2 gange som software kilde. Du skal rette listen af software kilder (eventuelt via Software og opdateringer).

CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Re: Duplicate sources

Indlægaf CityTop » 15. jul 2015, 12:07

Tak, jeg har åbnet listen "Other Software", og der er en liste, hvor jeg har linien

Kode: Vælg alt

http://linux.dropbox.com/ubuntu trusty main

og

Kode: Vælg alt

http://linux.dropbox.com/ubuntu trusty main (Source Code)


men kun den første er valgt. Sådan er det også for de andre repositories. Så hvad skal jeg fjerne?

mh

AJenbo
Admin
Indlæg: 20860
Tilmeldt: 15. nov 2009, 15:04
IRC nickname: AJenbo
Geografisk sted: Vanløse, København

Re: Duplicate sources

Indlægaf AJenbo » 15. jul 2015, 12:18

Prøv at se på selve source list filen og under mappen.

CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Re: Duplicate sources

Indlægaf CityTop » 15. jul 2015, 12:30

her har jeg nedenstående - jeg kan ikke rigtigt se "dubletten"

Kode: Vælg alt

# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://be.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-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://be.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty universe
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-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://be.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://be.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## 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://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security 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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://linux.dropbox.com/ubuntu trusty main
# deb-src http://linux.dropbox.com/ubuntu trusty main

AJenbo
Admin
Indlæg: 20860
Tilmeldt: 15. nov 2009, 15:04
IRC nickname: AJenbo
Geografisk sted: Vanløse, København

Re: Duplicate sources

Indlægaf AJenbo » 15. jul 2015, 12:53

Kode: Vælg alt

ls /etc/apt/sources.list.d/

CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Re: Duplicate sources

Indlægaf CityTop » 15. jul 2015, 13:27

alexmurray-indicator-sensors-daily-trusty.list
alexmurray-indicator-sensors-daily-trusty.list.save
atareao-atareao-trusty.list
atareao-atareao-trusty.list.save
dropbox.list
dropbox.list.save
indicator-multiload-stable-daily-trusty.list
indicator-multiload-stable-daily-trusty.list.save
videolan-stable-daily-trusty.list
videolan-stable-daily-trusty.list.save

AJenbo
Admin
Indlæg: 20860
Tilmeldt: 15. nov 2009, 15:04
IRC nickname: AJenbo
Geografisk sted: Vanløse, København

Re: Duplicate sources  Emnet er løst

Indlægaf AJenbo » 15. jul 2015, 14:11

Som du måske kan se har du både tilføjet den direkte i sources.list og som en include fil "dropbox.list". Fjern en af dem og opdater. Jeg forslår du fjerner linjen i sources.list

CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Re: Duplicate sources

Indlægaf CityTop » 15. jul 2015, 14:19

altså fjerner jeg

dropbox.list
dropbox.list.save

fra sources.list?

AJenbo
Admin
Indlæg: 20860
Tilmeldt: 15. nov 2009, 15:04
IRC nickname: AJenbo
Geografisk sted: Vanløse, København

Re: Duplicate sources

Indlægaf AJenbo » 15. jul 2015, 15:04

Nej. "dropbox.list" og "dropbox.list.save" er to filer i mappen /etc/apt/sources.list.d/. Det er nettop dem jeg forslår du beholder ("dropbox.list.save" er dog blot et backup fra en opdatering som du godt kan slette).

CityTop
Indlæg: 158
Tilmeldt: 18. jan 2007, 21:22
Geografisk sted: Bruxelles, Belgien

Re: Duplicate sources

Indlægaf CityTop » 16. jul 2015, 10:19

Da jeg fik kigget på strukturen i etc/apt/ forstod jeg det omsider! Jeg har nu sat # ud for den pågældende linie i sources.list filen. Mange tak for hjælpen!

EDIT: Jeg skylder at sige, at det løste problemet, så jeg ikke får fejlmeddelelse, når jeg afvikler apt-get update

Tilbage til "Installation"

Hvem er online

Brugere der læser dette forum: [Bot] og 0 gæster