Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: zzz 24 Srpna 2012, 13:15:58

Název: Sudo apt-get update ignoruje některé zdroje + "Duplicate sources.list entry "
Přispěvatel: zzz 24 Srpna 2012, 13:15:58
Ahoj,

prosím o radu (problém popsán v názvu tématu):

Zde je výpis příkazu
Kód: [Vybrat]
sudo apt-get update:
Kód: [Vybrat]
Ign http://cz.archive.ubuntu.com precise InRelease
Ign http://cz.archive.ubuntu.com precise-updates InRelease                     
Ign http://extras.ubuntu.com precise InRelease                                 
Ign http://cz.archive.ubuntu.com precise-backports InRelease                   
Ign http://ppa.launchpad.net precise InRelease                                 
Ign http://archive.canonical.com precise InRelease                             
Ign http://security.ubuntu.com precise-security InRelease                     
Cíl http://cz.archive.ubuntu.com precise Release.gpg                           
Cíl http://cz.archive.ubuntu.com precise-updates Release.gpg                   
Cíl http://extras.ubuntu.com precise Release.gpg                               
Cíl http://ppa.launchpad.net precise Release.gpg                               
Cíl http://cz.archive.ubuntu.com precise-backports Release.gpg                 
Cíl http://archive.canonical.com precise Release.gpg                           
Mám:1 http://security.ubuntu.com precise-security Release.gpg [198 B]         
Cíl http://cz.archive.ubuntu.com precise Release                               
Cíl http://extras.ubuntu.com precise Release                                   
Cíl http://ppa.launchpad.net precise Release                                   
Cíl http://cz.archive.ubuntu.com precise-updates Release                       
Cíl http://archive.canonical.com precise Release                               
Mám:2 http://security.ubuntu.com precise-security Release [49,6 kB]           
Cíl http://cz.archive.ubuntu.com precise-backports Release                     
Cíl http://cz.archive.ubuntu.com precise/main Sources                         
Mám:3 http://extras.ubuntu.com precise/main Sources [4 181 B]                 
Cíl http://ppa.launchpad.net precise/main Sources                             
Cíl http://cz.archive.ubuntu.com precise/restricted Sources                   
Cíl http://cz.archive.ubuntu.com precise/universe Sources                     
Cíl http://cz.archive.ubuntu.com precise/multiverse Sources                   
Cíl http://cz.archive.ubuntu.com precise/main amd64 Packages                   
Cíl http://cz.archive.ubuntu.com precise/restricted amd64 Packages             
Mám:4 http://archive.canonical.com precise/partner Sources [4 005 B]           
Cíl http://cz.archive.ubuntu.com precise/universe amd64 Packages               
Cíl http://ppa.launchpad.net precise/main amd64 Packages                       
Cíl http://ppa.launchpad.net precise/main i386 Packages                       
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Mám:5 http://security.ubuntu.com precise-security/main Sources [40,6 kB]       
Cíl http://cz.archive.ubuntu.com precise/multiverse amd64 Packages             
Cíl http://cz.archive.ubuntu.com precise/main i386 Packages                   
Cíl http://cz.archive.ubuntu.com precise/restricted i386 Packages             
Cíl http://cz.archive.ubuntu.com precise/universe i386 Packages               
Cíl http://cz.archive.ubuntu.com precise/multiverse i386 Packages             
Cíl http://cz.archive.ubuntu.com precise/main TranslationIndex                 
Cíl http://cz.archive.ubuntu.com precise/multiverse TranslationIndex           
Cíl http://cz.archive.ubuntu.com precise/restricted TranslationIndex           
Cíl http://archive.canonical.com precise/partner amd64 Packages               
Cíl http://archive.canonical.com precise/partner i386 Packages                 
Ign http://archive.canonical.com precise/partner TranslationIndex             
Cíl http://extras.ubuntu.com precise/main amd64 Packages                       
Cíl http://extras.ubuntu.com precise/main i386 Packages                       
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Cíl http://cz.archive.ubuntu.com precise/universe TranslationIndex             
Cíl http://cz.archive.ubuntu.com precise-updates/main Sources                 
Cíl http://cz.archive.ubuntu.com precise-updates/restricted Sources           
Cíl http://cz.archive.ubuntu.com precise-updates/universe Sources             
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse Sources           
Cíl http://cz.archive.ubuntu.com precise-updates/main amd64 Packages           
Cíl http://cz.archive.ubuntu.com precise-updates/restricted amd64 Packages     
Mám:6 http://security.ubuntu.com precise-security/restricted Sources [1 950 B]
Mám:7 http://security.ubuntu.com precise-security/universe Sources [11,7 kB]   
Mám:8 http://security.ubuntu.com precise-security/multiverse Sources [1 386 B]
Mám:9 http://security.ubuntu.com precise-security/main amd64 Packages [157 kB]
Cíl http://cz.archive.ubuntu.com precise-updates/universe amd64 Packages       
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse amd64 Packages     
Cíl http://cz.archive.ubuntu.com precise-updates/main i386 Packages           
Cíl http://cz.archive.ubuntu.com precise-updates/restricted i386 Packages     
Cíl http://cz.archive.ubuntu.com precise-updates/universe i386 Packages       
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse i386 Packages     
Cíl http://cz.archive.ubuntu.com precise-updates/main TranslationIndex         
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Cíl http://cz.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Cíl http://cz.archive.ubuntu.com precise-updates/universe TranslationIndex     
Cíl http://cz.archive.ubuntu.com precise-backports/main Sources               
Cíl http://cz.archive.ubuntu.com precise-backports/restricted Sources         
Cíl http://cz.archive.ubuntu.com precise-backports/universe Sources           
Cíl http://cz.archive.ubuntu.com precise-backports/multiverse Sources         
Cíl http://cz.archive.ubuntu.com precise-backports/main amd64 Packages         
Cíl http://cz.archive.ubuntu.com precise-backports/restricted amd64 Packages   
Cíl http://cz.archive.ubuntu.com precise-backports/universe amd64 Packages     
Cíl http://cz.archive.ubuntu.com precise-backports/multiverse amd64 Packages   
Cíl http://cz.archive.ubuntu.com precise-backports/main i386 Packages         
Cíl http://cz.archive.ubuntu.com precise-backports/restricted i386 Packages   
Cíl http://cz.archive.ubuntu.com precise-backports/universe i386 Packages     
Cíl http://cz.archive.ubuntu.com precise-backports/multiverse i386 Packages   
Cíl http://cz.archive.ubuntu.com precise-backports/main TranslationIndex       
Cíl http://cz.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Cíl http://cz.archive.ubuntu.com precise-backports/restricted TranslationIndex
Cíl http://cz.archive.ubuntu.com precise-backports/universe TranslationIndex   
Cíl http://cz.archive.ubuntu.com precise/main Translation-cs                   
Cíl http://cz.archive.ubuntu.com precise/main Translation-en                   
Cíl http://cz.archive.ubuntu.com precise/multiverse Translation-cs             
Cíl http://cz.archive.ubuntu.com precise/multiverse Translation-en             
Cíl http://cz.archive.ubuntu.com precise/restricted Translation-en             
Mám:10 http://security.ubuntu.com precise-security/restricted amd64 Packages [3 969 B]
Mám:11 http://security.ubuntu.com precise-security/universe amd64 Packages [41,2 kB]
Cíl http://cz.archive.ubuntu.com precise/universe Translation-cs               
Cíl http://cz.archive.ubuntu.com precise/universe Translation-en               
Cíl http://cz.archive.ubuntu.com precise-updates/main Translation-cs           
Cíl http://cz.archive.ubuntu.com precise-updates/main Translation-en           
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse Translation-cs     
Cíl http://cz.archive.ubuntu.com precise-updates/multiverse Translation-en     
Cíl http://cz.archive.ubuntu.com precise-updates/restricted Translation-en     
Cíl http://cz.archive.ubuntu.com precise-updates/universe Translation-cs       
Cíl http://cz.archive.ubuntu.com precise-updates/universe Translation-en       
Mám:12 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2 180 B]
Mám:13 http://security.ubuntu.com precise-security/main i386 Packages [161 kB]
Cíl http://cz.archive.ubuntu.com precise-backports/main Translation-en         
Cíl http://cz.archive.ubuntu.com precise-backports/multiverse Translation-en   
Cíl http://cz.archive.ubuntu.com precise-backports/restricted Translation-en   
Cíl http://cz.archive.ubuntu.com precise-backports/universe Translation-en     
Mám:14 http://security.ubuntu.com precise-security/restricted i386 Packages [3 968 B]
Mám:15 http://security.ubuntu.com precise-security/universe i386 Packages [41,4 kB]
Ign http://ppa.launchpad.net precise/main Translation-cs_CZ                   
Mám:16 http://security.ubuntu.com precise-security/multiverse i386 Packages [2 369 B]
Cíl http://security.ubuntu.com precise-security/main TranslationIndex         
Cíl http://security.ubuntu.com precise-security/multiverse TranslationIndex   
Cíl http://security.ubuntu.com precise-security/restricted TranslationIndex   
Cíl http://security.ubuntu.com precise-security/universe TranslationIndex     
Ign http://archive.canonical.com precise/partner Translation-cs_CZ             
Ign http://extras.ubuntu.com precise/main Translation-cs_CZ                   
Ign http://ppa.launchpad.net precise/main Translation-cs                       
Ign http://archive.canonical.com precise/partner Translation-cs               
Ign http://extras.ubuntu.com precise/main Translation-cs                       
Ign http://ppa.launchpad.net precise/main Translation-en                       
Cíl http://security.ubuntu.com precise-security/main Translation-en           
Cíl http://security.ubuntu.com precise-security/multiverse Translation-en
Cíl http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://archive.canonical.com precise/partner Translation-en         
Ign http://extras.ubuntu.com precise/main Translation-en                 
Cíl http://security.ubuntu.com precise-security/universe Translation-en
Staženo 527 kB za 2s (242 kB/s)
Čtu seznamy balíků… Hotovo
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_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)
W: Pro nápravu těchto problémů můžete zkusit spustit apt-get update

a zde výpis příkazu
Kód: [Vybrat]
grep -r ^ /etc/apt/sources.list /etc/apt/sources.list.d/*
Kód: [Vybrat]
/etc/apt/sources.list:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
/etc/apt/sources.list:
/etc/apt/sources.list:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
/etc/apt/sources.list:# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
/etc/apt/sources.list:# newer versions of the distribution.
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise main restricted
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## Major bug fix updates produced after the final release of the
/etc/apt/sources.list:## distribution.
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates main restricted
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-updates main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team. Also, please note that software in universe WILL NOT receive any
/etc/apt/sources.list:## review or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise universe
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise universe
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates universe
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-updates universe
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team, and may not be under a free licence. Please satisfy yourself as to
/etc/apt/sources.list:## your rights to use the software. Also, please note that software in
/etc/apt/sources.list:## multiverse WILL NOT receive any review or updates from the Ubuntu
/etc/apt/sources.list:## security team.
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise multiverse
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise multiverse
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise-updates multiverse
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-updates multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository may not have been tested as
/etc/apt/sources.list:## extensively as that contained in the main release, although it includes
/etc/apt/sources.list:## newer versions of some applications which may provide useful features.
/etc/apt/sources.list:## Also, please note that software in backports WILL NOT receive any review
/etc/apt/sources.list:## or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
/etc/apt/sources.list:deb-src http://cz.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security main restricted
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security universe
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu precise-security multiverse
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## Uncomment the following two lines to add software from Canonical's
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by Canonical and the
/etc/apt/sources.list:## respective vendors as a service to Ubuntu users.
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu precise partner
/etc/apt/sources.list:
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by third-party
/etc/apt/sources.list:## developers who want to ship their latest software.
/etc/apt/sources.list:deb http://extras.ubuntu.com/ubuntu precise main
/etc/apt/sources.list:deb-src http://extras.ubuntu.com/ubuntu precise main
/etc/apt/sources.list.d/precise-partner.list:deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
/etc/apt/sources.list.d/precise-partner.list.save:# deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list:deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list.save:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
/etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list.save:deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

Než abych se sám pouštěl do úpravy zdrojů, raději se prvně zeptám, jestli už tenhle problém někdo neřešil...díky za jakoukoliv pomoc nebo doporučení!
Název: Re:Sudo apt-get update ignoruje některé zdroje + "Duplicate sources.list entry "
Přispěvatel: aloisam 24 Srpna 2012, 14:20:20
ahoj

ign není žádný problém, znamená to, že se v repositáři nic nezměnilo, tak na něj update kašle...

to varování asi taky nebude nic vážnýho, ale myslím, že když se zbavíš

/etc/apt/sources.list.d/precise-partner.list:deb http://archive.canonical.com/ubuntu precise partner #Added by software-center
/etc/apt/sources.list.d/precise-partner.list.save:# deb http://archive.canonical.com/ubuntu precise partner #Added by software-center

tak máš po hlášení, a po starostech.. ;)
Název: Re:Sudo apt-get update ignoruje některé zdroje + "Duplicate sources.list entry "
Přispěvatel: zzz 24 Srpna 2012, 15:56:24
Díky,

po odebrání partnerů Canonicalu ze zdrojů hláška o duplikátu zmizela.
Název: Re:Sudo apt-get update ignoruje některé zdroje [Vyřešeno]
Přispěvatel: Hakito 30 Srpna 2012, 09:12:18
Ještě detail, po vyřešení nějakého problému, kterého se týkal tenhle topic by měl tázající změnit předmět, připsat k otázce [VYŘEŠENO] aby se vidělo, že tohle už je hotové.  ;)
Název: Re:Sudo apt-get update ignoruje některé zdroje [Vyřešeno]
Přispěvatel: Tadeáš Pařík 30 Srpna 2012, 09:16:19
Ještě detail, po vyřešení nějakého problému, kterého se týkal tenhle topic by měl tázající změnit předmět, připsat k otázce [VYŘEŠENO] aby se vidělo, že tohle už je hotové.  ;)

Měl, ale to chceš po uživateli se dvěma příspěvky trochu moc  ;) Nehledě na to, že délka názvu by mu to tam stejně nedovolila přidat  :)