Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: atx830 09 Května 2008, 19:38:53
-
Dobrý den,
nelze spustit "přidat/odstranit programy", nelze spustit ani aktualizace systému, vypíše to chybu: "Není možné otevřít databázi APT. Toto může být způsobeno špatnou konfigurací APT nebo jiným podobným problémem. Pro vyřešení zkuste spustit apt-setup a apt get update v příkazové řádce", zkusil jsem spusti příkaz v konzoli,ale bez úspěchu, nemá s tím někdo zkušenost? Prováděl jsem nějaké změny ve zdrojích software. :'(
-
Zkuste to spustit se sudo
sudp apt-get update a tak dál a tak dál ;)
-
Bohužel, přes superusera mi to napíše po snaze o update APT: E: Typ '*******************' na řádce 56 v seznamu zdrojů /etc/apt/sources.list není známý, kde * jsou z mě nepochopitelného důvodu dvakrát po sobě zobrazené heslo do systému. Tak nevím, lze to obnovit z CD?
-
posli sem vypis
cat /etc/apt/sources.list uzavreny do BB kodu code
-
Výpis mám, co je to uzavřený BB kod? sorry, začínám
-
napises [ code]text[ /code]
ale to v tech hranatych zavorkach bez mezer :)
-
Když sem píšeš tak nad textovým polem jsou ikonky tagů a CODE je ten třetí dole zprava # a do něj vložíš ten výpis.
-
a misto text napises co ti vyleze z terminalu ;)
-
tak skuste si APT este raz nainstalovat a nakonfigurovat.
-
deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main res
tricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy universe
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted unive rse multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-backports main restricted u niverse 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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
-
Můžete to dát takhle cat -n /etc/apt/sources.list at nám to ukáže i kolikátý řádek je 56.
-
no ja bych asi hned z kraje opravil ten prvni radek - je tam na spatnym miste "odentrovano"...
a radek 56 je ten posledni ;)
-
deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main res
tricted
dajte predto mriezku #
-
v 56tém řádku je právě dvakrát po sobě moje heslo do systému, nevím jak se tam dostalo ???, vypadá to takto: 56 **************root@jakub-desktop:~# , hvezdičky jsou heslo
-
deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main res
tricted
dajte predto mriezku #
urcite tam tu mrizku dej, a jeste na konci toho prvniho radku dej "delete" aby se to vratilo do jednoho radku, misto aby to bylo na dvou :) na konci radku ma byt restricted
mrizka se dela pravy Alt+x ;)
-
v 56tém řádku je právě dvakrát po sobě moje heslo do systému, nevím jak se tam dostalo ???, vypadá to takto: 56 **************root@jakub-desktop:~# , hvezdičky jsou heslo
No tak ten poslední řádek smažte nic takového v sources.list být nemá :).
-
skuste zmazat este ten riadok 56
-
takze pozor, tam je divnych veci vic :)
stiskni ALT+F2, napis tam gksudo gedit /etc/apt/sources.list
otevre se ti to v textovym editoru.
vsechno v nem smaz a vloz tam
# deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy universe
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy universe
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates universe
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
#deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
#deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
#deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
#deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
uloz to a zavri...
potom v terminalu dej
sudo apt-get update
sudo apt-get upgrade
-
skuste zmazat este ten riadok 56
to je nesmysl, tu chybu ohledne radku 56 to hazelo proto, ze byl zmrseny hned ten prvni radek... pouze to hodilo chybu na radku 56, protoze cely soubor mel prave 56 radku
-
skuste zmazat este ten riadok 56
to je nesmysl, tu chybu ohledne radku 56 to hazelo proto, ze byl zmrseny hned ten prvni radek... pouze to hodilo chybu na radku 56, protoze cely soubor mel prave 56 radku
tak oukej berem spat.
-
tak teď přesně nevím co mám kde nastavit či přepsat, každopádně díky za ochotu :)
-
takze pozor, tam je divnych veci vic :)
stiskni ALT+F2, napis tam gksudo gedit /etc/apt/sources.list
otevre se ti to v textovym editoru.
vsechno v nem smaz a vloz tam
# deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cz.archive.ubuntu.com/ubuntu/ hardy universe
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy universe
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates universe
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
#deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://cz.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
#deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
#deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
#deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
#deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
uloz to a zavri...
potom v terminalu dej
sudo apt-get update
sudo apt-get upgrade
udelej tohle a melo by to byt v poradku
-
Tak nevím, ale po zadání příkazu mito vypíše, že příkaz nelze provést,nelze to otevřít třeba v krusaderu?
-
Mělo by to jít popřípadě to zkus v terminálu
gksudo gedit /etc/apt/sources.list
-
nemas nahodou kubuntu nebo xubuntu?
-
mám, to je vidět v tom logu...
-
Jo už vidím Kubuntu takže dej
kdesu kate /etc/apt/sources.list mělo by to ted jít pokud je kate KDE editor pokud si ješte pamatuju.
-
spis bych misto kate pouzil kwriter tusim... kate je konzolovej editor.. nebo ne? fakt nevim :)
abys to mohl otevrit v Krusaderu, musel by byt krusader spusteny pod rootem, tedy ALT+F2, tam napsat kdesu krusader
-
Nebo popřípadě
kdesu kwrite /etc/apt/sources.list
-
Tak už je to ok, skopíroval jsem v Krusaderu conf od Ufaaka, odmáznul, co tam nepatří a po restartu je vše ok, ještě jednou díky za pomoc, už mám zase blíž k Linuxu :D
-
a zase jeden zo stastnych koncov hehe
-
tak hlavne ze se zadarilo ;)