Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: pizamo 18 Srpna 2010, 13:12:32
-
zdravim, zkousel jsem postup pro prevracenou kameru http://radu.cotescu.com/2009/11/05/flipped-images-ubuntu-webcam/ ale nejspis jsem neco udelal spatne, u tretiho prikazu "sudo apt-get update" mi terminal pise chybu : E: Typ „2“ na řádce 49 v seznamu zdrojů /etc/apt/sources.list není známý
dal jsem to tedy nezkousel a po restartu pc mi vyskocila vpravo nahore zprava ze doslo k chybe a ze mam otevrit spravce baliku a zjistit co je spatne....toho kdyz otevru tak mi to napise chybu
:E: Typ „2“ na řádce 49 v seznamu zdrojů /etc/apt/sources.list není známý
E: Seznam zdrojů nelze přečíst.
Otevřete dialog seznamu zdrojů a opravte problém.
E: _cache->open() failed, please report.
a stejna chyba mi vyskoci i pri otevreni spravce aktualizaci
a kamera ktera predtim sla jen s prevracenym obrazem ted nejde vubec....prosim poradte co s tim
-
tak nám pošli obsah souboru /etc/apt/sources.list
-
kdyz napisu do terminalu /etc/apt/sources.list tak mi to napise : bash: /etc/apt/sources.list: Permission denied
-
cat /etc/apt/sources.list
-
deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic restricted main multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic-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://cz.archive.ubuntu.com/ubuntu/ karmic universe
deb http://cz.archive.ubuntu.com/ubuntu/ karmic-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://cz.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ karmic-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://cz.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
2 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
sudo apt-get update
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
sudo apt-get update
sudo apt-get install libv4l-0
# libv4l PPA
deb http://ppa.launchpad.net/libv4l/ppa/ubuntu karmic main
# libv4l PPA
deb http://ppa.launchpad.net/libv4l/ppa/ubuntu karmic main
-
kdyz napisu do terminalu /etc/apt/sources.list tak mi to napise : bash: /etc/apt/sources.list: Permission denied
To je vskutku ilustrativní :)
-
smaž řádky 49 až 58, tyhle
2 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
sudo apt-get update
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
sudo apt-get update
sudo apt-get install libv4l-0
# libv4l PPA
deb http://ppa.launchpad.net/libv4l/ppa/ubuntu karmic mainmísto toho to zadej do terminálusudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
sudo apt-get update
sudo apt-get install libv4l-0
-
a jak je smazu? hadam ze oznacit a delete to nebude ???
-
predstav si, ze to bude presne tak, ale nejdriv si musis ten soubor otevrit v nejakem editoru, napr:
gksudo gedit /etc/apt/sources.list
-
jj hotovo a chyba je pryc...dekuju moc ;)