julek94
(Julek94)
30 Maj 2009 05:25
#1
mój problem wygląda tak gdy chce dodać repo w celu zainstalowania np. Screenlets wpisuje(wklejam żeby nie było) błędów:
echo „deb http://ppa.launchpad.net/gilir/ubuntu” | sudo tee -a /etc/apt/sources.list
pózniej:
urzywam wersji 8.04! na razie nie mam możliwości instalacji 9.04 ale postaram sie zrobić to w ciągu kilkunastu dni. tego ze jestem poczatkujacy nie musze oddawać bo to chyba widać
nr47
(Sawyer47)
30 Maj 2009 07:03
#2
Problemem są znaki cudzysłowu - usuń je, lub zamień na jedne z tych: ’ "
nr47
(Sawyer47)
30 Maj 2009 07:47
#4
Pokaż sources.list. Jeśli to jedyny błąd to brakuje Ci nazwy dystrybucji: deb http://ppa.launchpad.net/gilir/ubuntu NAZWA
Najlepiej też pokaż stronkę skąd wziąłeś ten adres repozytorium.
julek94
(Julek94)
30 Maj 2009 08:50
#5
#deb cdrom:[Ubuntu 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://pl.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://pl.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://pl.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ hardy universe
deb http://pl.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://pl.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://pl.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://pl.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://pl.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://pl.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
a repo z poradnika chciałem dodać viewtopic.php?f=14&t=259690
nr47
(Sawyer47)
30 Maj 2009 09:08
#6
Skoro używasz Hardy Heron, dodaj linijkę:
deb http://ppa.launchpad.net/gilir/ubuntu hardy main
Dodaj klucz PGP i powinno banglać.
julek94
(Julek94)
30 Maj 2009 11:04
#7
mozesz napisać prościej bo brednio kapuje…
edytuje repozytoria dodaje to repo co podałes, pozniej update i mam cos takiego
julek@Asus-Ubuntu:~$ sudo gedit /etc/apt/sources.list
[sudo] password for julek:
julek@Asus-Ubuntu:~$ sudo apt-get update
Traf http://pl.archive.ubuntu.com hardy Release.gpg
Pob: 1 http://pl.archive.ubuntu.com hardy/main Translation-pl [27,3kB]
Traf http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-pl
Pob: 2 http://ppa.launchpad.net hardy Release.gpg [307B]
Ign http://ppa.launchpad.net hardy/main Translation-pl
Ign http://security.ubuntu.com hardy-security/restricted Translation-pl
Ign http://security.ubuntu.com hardy-security/universe Translation-pl
Ign http://security.ubuntu.com hardy-security/multiverse Translation-pl
Traf http://security.ubuntu.com hardy-security Release
Pob: 3 http://ppa.launchpad.net hardy Release [46,7kB]
Pob: 4 http://pl.archive.ubuntu.com hardy/restricted Translation-pl [1713B]
Pob: 5 http://pl.archive.ubuntu.com hardy/universe Translation-pl [20,1kB]
Pob: 6 http://pl.archive.ubuntu.com hardy/multiverse Translation-pl [1253B]
Traf http://pl.archive.ubuntu.com hardy-updates Release.gpg
Ign http://pl.archive.ubuntu.com hardy-updates/main Translation-pl
Ign http://pl.archive.ubuntu.com hardy-updates/restricted Translation-pl
Ign http://pl.archive.ubuntu.com hardy-updates/universe Translation-pl
Ign http://pl.archive.ubuntu.com hardy-updates/multiverse Translation-pl
Traf http://pl.archive.ubuntu.com hardy Release
Traf http://pl.archive.ubuntu.com hardy-updates Release
Traf http://security.ubuntu.com hardy-security/main Packages
Traf http://pl.archive.ubuntu.com hardy/main Packages
Traf http://pl.archive.ubuntu.com hardy/restricted Packages
Traf http://pl.archive.ubuntu.com hardy/main Sources
Traf http://pl.archive.ubuntu.com hardy/restricted Sources
Traf http://pl.archive.ubuntu.com hardy/universe Packages
Traf http://pl.archive.ubuntu.com hardy/universe Sources
Traf http://pl.archive.ubuntu.com hardy/multiverse Packages
Traf http://pl.archive.ubuntu.com hardy/multiverse Sources
Ign http://ppa.launchpad.net hardy Release
Traf http://security.ubuntu.com hardy-security/restricted Packages
Traf http://security.ubuntu.com hardy-security/main Sources
Traf http://security.ubuntu.com hardy-security/restricted Sources
Traf http://security.ubuntu.com hardy-security/universe Packages
Traf http://security.ubuntu.com hardy-security/universe Sources
Traf http://security.ubuntu.com hardy-security/multiverse Packages
Traf http://security.ubuntu.com hardy-security/multiverse Sources
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://pl.archive.ubuntu.com hardy-updates/main Packages
Traf http://pl.archive.ubuntu.com hardy-updates/restricted Packages
Traf http://pl.archive.ubuntu.com hardy-updates/main Sources
Traf http://pl.archive.ubuntu.com hardy-updates/restricted Sources
Traf http://pl.archive.ubuntu.com hardy-updates/universe Packages
Traf http://pl.archive.ubuntu.com hardy-updates/universe Sources
Traf http://pl.archive.ubuntu.com hardy-updates/multiverse Packages
Traf http://pl.archive.ubuntu.com hardy-updates/multiverse Sources
Pob: 7 http://ppa.launchpad.net hardy/main Packages [1676B]
Pobrano 99,0kB w 1s (54,9kB/s)
Czytanie list pakietów... Gotowe
W: Błąd GPG: http://ppa.launchpad.net hardy Release: Następujące sygnatury nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 665F9AEFE1098513
W: Należy uruchomić apt-get update aby naprawić te problemy.
julek@Asus-Ubuntu:~$ apt-get update
E: Nie udało się otworzyć pliku blokady /var/lib/apt/lists/lock - open (13 Permission denied)
E: Nie udało się zablokować katalogu list
jakieś pomysły?
ps. jak nazywa sie denerwujący efekt znikanie ikon na pulpicie(pojawiają sie po najechaniu na nie) i gdzie go można wyłączyć
nr47
(Sawyer47)
30 Maj 2009 13:37
#8
julek94
(Julek94)
30 Maj 2009 14:35
#9
to przestaje być śmieszne…
mateuszek@Asus-Ubuntu:~$ sudo apt-get update
Traf http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-pl
Traf http://archive.ubuntu.com hardy Release.gpg
Traf http://archive.ubuntu.com hardy/main Translation-pl
Pob: 1 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com stable/non-free Translation-pl
Ign http://download.skype.com stable Release.gpg
Traf http://packages.medibuntu.org hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-pl
Ign http://security.ubuntu.com hardy-security/restricted Translation-pl
Ign http://security.ubuntu.com hardy-security/universe Translation-pl
Ign http://security.ubuntu.com hardy-security/multiverse Translation-pl
Ign http://ppa.launchpad.net hardy Release.gpg
Ign http://ppa.launchpad.net hardy/main Translation-pl
Traf http://archive.ubuntu.com hardy/restricted Translation-pl
Traf http://archive.ubuntu.com hardy/universe Translation-pl
Traf http://archive.ubuntu.com hardy/multiverse Translation-pl
Traf http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-pl
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-pl
Traf http://security.ubuntu.com hardy-security Release
Ign http://archive.ubuntu.com hardy-updates/universe Translation-pl
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-pl
Traf http://wine.budgetdedicated.com hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Translation-pl
Pob: 2 http://dl.google.com stable Release [1300B]
Traf http://archive.ubuntu.com hardy Release
Ign http://download.skype.com stable/non-free Translation-pl
Ign http://packages.medibuntu.org hardy/non-free Translation-pl
Traf http://packages.medibuntu.org hardy Release
Pob: 3 http://ppa.launchpad.net hardy Release.gpg [307B]
Ign http://ppa.launchpad.net hardy/main Translation-pl
Pob: 4 http://ppa.launchpad.net hardy Release [27,6kB]
Traf http://wine.budgetdedicated.com hardy Release
Traf http://archive.ubuntu.com hardy-updates Release
Traf http://security.ubuntu.com hardy-security/main Packages
Ign http://download.skype.com stable Release
Pob: 5 http://dl.google.com stable/non-free Packages [954B]
Traf http://packages.medibuntu.org hardy/free Packages
Pob: 6 http://ppa.launchpad.net hardy Release [46,7kB]
Ign http://wine.budgetdedicated.com hardy/main Packages
Ign http://ppa.launchpad.net hardy Release
Traf http://archive.ubuntu.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/restricted Packages
Traf http://archive.ubuntu.com hardy/universe Packages
Traf http://archive.ubuntu.com hardy/multiverse Packages
Traf http://security.ubuntu.com hardy-security/restricted Packages
Traf http://security.ubuntu.com hardy-security/universe Packages
Traf http://security.ubuntu.com hardy-security/multiverse Packages
Traf http://security.ubuntu.com hardy-security/main Sources
Traf http://download.skype.com stable/non-free Packages
Traf http://packages.medibuntu.org hardy/non-free Packages
Traf http://wine.budgetdedicated.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/main Sources
Traf http://archive.ubuntu.com hardy/restricted Sources
Traf http://archive.ubuntu.com hardy/universe Sources
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://archive.ubuntu.com hardy/multiverse Sources
Traf http://archive.ubuntu.com hardy-updates/main Packages
Traf http://archive.ubuntu.com hardy-updates/restricted Packages
Traf http://archive.ubuntu.com hardy-updates/universe Packages
Traf http://security.ubuntu.com hardy-security/restricted Sources
Traf http://security.ubuntu.com hardy-security/universe Sources
Traf http://security.ubuntu.com hardy-security/multiverse Sources
Traf http://archive.ubuntu.com hardy-updates/multiverse Packages
Traf http://archive.ubuntu.com hardy-updates/main Sources
Traf http://archive.ubuntu.com hardy-updates/restricted Sources
Traf http://archive.ubuntu.com hardy-updates/universe Sources
Traf http://archive.ubuntu.com hardy-updates/multiverse Sources
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://ppa.launchpad.net hardy/main Packages
Traf http://ppa.launchpad.net hardy/main Packages
Pobrano 2752B w 1s (1534B/s)
Czytanie list pakietów... Gotowe
W: Błąd GPG: http://ppa.launchpad.net hardy Release: Następujące sygnatury nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 665F9AEFE1098513
W: Należy uruchomić apt-get update aby naprawić te problemy.
mateuszek@Asus-Ubuntu:~$ apt-get update
E: Nie udało się otworzyć pliku blokady /var/lib/apt/lists/lock - open (13 Permission denied)
E: Nie udało się zablokować katalogu list
mateuszek@Asus-Ubuntu:~$ gpg --keyserver subkeys.pgp.net --recv-keys 665F9AEFE1098513
gpg: zapytanie o klucz E1098513 z hkp serwera subkeys.pgp.net
gpg: klucz E1098513: "Launchpad PPA for Julien Lavergne" bez zmian
gpg: Ogółem przetworzonych kluczy: 1
gpg: bez zmian: 1
mateuszek@Asus-Ubuntu:~$ gpg --armor --export 665F9AEFE1098513 | apt-key add -
gpg: brak zapisywalnego zbioru kluczy: eof
gpg: błąd odczytu ,,-'': błąd ogólny
gpg: import from `-' failed: błąd ogólny
mateuszek@Asus-Ubuntu:~$ debian:/home/infi# gpg --armor --export 665F9AEFE1098513 | apt-key a
bash: debian:/home/infi#: No such file or directory
Usage: apt-key [command] [arguments]
Manage apt's list of trusted keys
apt-key add - add the key contained in ('-' for stdin)
apt-key del - remove the key
apt-key export - output the key
apt-key exportall - output all trusted keys
apt-key update - update keys using the keyring package
apt-key net-update - update keys using the network
apt-key list - list keys
mateuszek@Asus-Ubuntu:~$ sudo apt-get update
Traf http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-pl
Ign http://security.ubuntu.com hardy-security/restricted Translation-pl
Traf http://archive.ubuntu.com hardy Release.gpg
Traf http://archive.ubuntu.com hardy/main Translation-pl
Traf http://wine.budgetdedicated.com hardy Release.gpg
Traf http://packages.medibuntu.org hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-pl
Ign http://download.skype.com stable Release.gpg
Ign http://ppa.launchpad.net hardy Release.gpg
Ign http://ppa.launchpad.net hardy/main Translation-pl
Pob: 1 http://ppa.launchpad.net hardy Release.gpg [307B]
Pob: 2 http://dl.google.com stable Release.gpg [189B]
Ign http://security.ubuntu.com hardy-security/universe Translation-pl
Ign http://security.ubuntu.com hardy-security/multiverse Translation-pl
Ign http://dl.google.com stable/non-free Translation-pl
Traf http://security.ubuntu.com hardy-security Release
Traf http://archive.ubuntu.com hardy/restricted Translation-pl
Traf http://archive.ubuntu.com hardy/universe Translation-pl
Traf http://archive.ubuntu.com hardy/multiverse Translation-pl
Traf http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-pl
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-pl
Ign http://archive.ubuntu.com hardy-updates/universe Translation-pl
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-pl
Ign http://wine.budgetdedicated.com hardy/main Translation-pl
Ign http://packages.medibuntu.org hardy/non-free Translation-pl
Traf http://packages.medibuntu.org hardy Release
Traf http://archive.ubuntu.com hardy Release
Ign http://download.skype.com stable/non-free Translation-pl
Ign http://ppa.launchpad.net hardy/main Translation-pl
Pob: 3 http://ppa.launchpad.net hardy Release [27,6kB]
Pob: 4 http://dl.google.com stable Release [1300B]
Traf http://wine.budgetdedicated.com hardy Release
Ign http://download.skype.com stable Release
Traf http://packages.medibuntu.org hardy/free Packages
Traf http://archive.ubuntu.com hardy-updates Release
Pob: 5 http://ppa.launchpad.net hardy Release [46,7kB]
Ign http://ppa.launchpad.net hardy Release
Pob: 6 http://dl.google.com stable/non-free Packages [954B]
Traf http://security.ubuntu.com hardy-security/main Packages
Traf http://download.skype.com stable/non-free Packages
Traf http://packages.medibuntu.org hardy/non-free Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/restricted Packages
Traf http://archive.ubuntu.com hardy/universe Packages
Traf http://archive.ubuntu.com hardy/multiverse Packages
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://security.ubuntu.com hardy-security/restricted Packages
Traf http://security.ubuntu.com hardy-security/universe Packages
Traf http://security.ubuntu.com hardy-security/multiverse Packages
Traf http://wine.budgetdedicated.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/main Sources
Traf http://archive.ubuntu.com hardy/restricted Sources
Traf http://archive.ubuntu.com hardy/universe Sources
Traf http://archive.ubuntu.com hardy/multiverse Sources
Traf http://archive.ubuntu.com hardy-updates/main Packages
Traf http://archive.ubuntu.com hardy-updates/restricted Packages
Traf http://archive.ubuntu.com hardy-updates/universe Packages
Traf http://security.ubuntu.com hardy-security/main Sources
Traf http://security.ubuntu.com hardy-security/restricted Sources
Traf http://security.ubuntu.com hardy-security/universe Sources
Traf http://security.ubuntu.com hardy-security/multiverse Sources
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://archive.ubuntu.com hardy-updates/multiverse Packages
Traf http://archive.ubuntu.com hardy-updates/main Sources
Traf http://archive.ubuntu.com hardy-updates/restricted Sources
Traf http://archive.ubuntu.com hardy-updates/universe Sources
Traf http://ppa.launchpad.net hardy/main Packages
Traf http://archive.ubuntu.com hardy-updates/multiverse Sources
Traf http://ppa.launchpad.net hardy/main Packages
Pobrano 2752B w 1s (1754B/s)
Czytanie list pakietów... Gotowe
W: Błąd GPG: http://ppa.launchpad.net hardy Release: Następujące sygnatury nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 665F9AEFE1098513
W: Należy uruchomić apt-get update aby naprawić te problemy.
mateuszek@Asus-Ubuntu:~$
dragonn
(dragonn)
30 Maj 2009 15:33
#10
#!/bin/bash
#kluczyki 2.0
let err=0 kej=0
usage()
{
echo -e "Wywołanie \nsudo $0 "
}
if [$UID -ne 0]
then
echo "Musisz być rootem"
let err=1
fi
if [$err = 1]
then
usage
exit 8
fi
echo "Działam"
until [! $kej]
do
let key=0
apt-get update 1>/dev/null 2>/tmp/kluczyki
kej=`cat /tmp/kluczyki |grep -m 1 NO_PUBKEY |awk '{print $NF}' `
if [! $kej = 0]; then
echo "Przetwarzam klucz $kej"
gpg -q --keyserver subkeys.pgp.net --recv-keys $kej 2>&1>/dev/null
gpg -q --armor --export $kej | apt-key add - 2>&1>/dev/null
let kolejny=1
echo "Klucz $kej przetworzony"
fi
done
if ["$kolejny" = 1]; then
echo "Przetworzono wszystkie klucze"
else
echo "Brak kluczy do przetworzenia"
fi
rm /tmp/kluczyki
echo "Żegnam"
exit 0
Skopuj to go edytora tekstu, zapisz np. jako klucze.sh, PPM na zapisany plik i zakładka uprawienia i zaznaczasz wykonywania pliku jako programu, później uruchamiasz pliki w terminalu za pomocą:
sudo sh 'scieżka do pliku'
julek94
(Julek94)
30 Maj 2009 15:52
#11
ehhhh
mateuszek@Asus-Ubuntu:~$ sudo sh /home/mateuszek/Dokumenty/klucze.sh
/home/mateuszek/Dokumenty/klucze.sh: 3: let: not found
[: 13: 0: unexpected operator
[: 19: 1: unexpected operator
Działam
/home/mateuszek/Dokumenty/klucze.sh: 30: Syntax error: redirection unexpected
mateuszek@Asus-Ubuntu:~$
adami
(adami)
30 Maj 2009 17:27
#12
Ale brak klucza zupełnie nie przeszkadza w instalowaniu programów z tego repo.
I jeszcze jedno wiem że prościej na forum jest napisać sudo apt-get install … Istnieje przecież instalator graficzny Synaptic można sobie tam wyszukać ,zaznaczyć co się chce i zainstalować , odinstalować .
dragonn
(dragonn)
30 Maj 2009 17:33
#13
Czy aby na pewno skopiowałeś cały kod poprawnie :?: Spróbuj jeszcze tak:
cd /home/mateuszek/Dokumenty/
Przechodzisz do foldery gdzie jest klucze.sh
sudo ./klucze.sh
Może da radę, u mnie to przynajmniej działa bez problem, dociąga certyfikaty do każdego repo. Ale tak jak pisze adami można też bez tego.
julek94
(Julek94)
30 Maj 2009 18:22
#14
ktoś kiedyś powiedział że Ubuntu jest dla początkujących…
zrobiłem tak jak mówiliście ale jak chce wykonać dalsze kroki w poradniku(dodanie następnych repo mam znowu błąd GPG
mateuszek@Asus-Ubuntu:~$ echo "deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
mateuszek@Asus-Ubuntu:~$ echo "deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
mateuszek@Asus-Ubuntu:~$ sudo apt-get update
Traf http://packages.medibuntu.org hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-pl
Ign http://packages.medibuntu.org hardy/non-free Translation-pl
Ign http://ppa.launchpad.net hardy Release.gpg
Ign http://ppa.launchpad.net hardy/main Translation-pl
Traf http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-pl
Traf http://archive.ubuntu.com hardy Release.gpg
Traf http://archive.ubuntu.com hardy/main Translation-pl
Pob: 1 http://dl.google.com stable Release.gpg [189B]
Ign http://download.skype.com stable Release.gpg
Ign http://dl.google.com stable/non-free Translation-pl
Traf http://wine.budgetdedicated.com hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Translation-pl
Traf http://packages.medibuntu.org hardy Release
Pob: 2 http://ppa.launchpad.net hardy Release.gpg [307B]
Ign http://ppa.launchpad.net hardy/main Translation-pl
Ign http://security.ubuntu.com hardy-security/restricted Translation-pl
Ign http://security.ubuntu.com hardy-security/universe Translation-pl
Ign http://security.ubuntu.com hardy-security/multiverse Translation-pl
Traf http://security.ubuntu.com hardy-security Release
Pob: 3 http://ppa.launchpad.net hardy Release [27,6kB]
Traf http://archive.ubuntu.com hardy/restricted Translation-pl
Traf http://archive.ubuntu.com hardy/universe Translation-pl
Traf http://archive.ubuntu.com hardy/multiverse Translation-pl
Traf http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-pl
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-pl
Ign http://archive.ubuntu.com hardy-updates/universe Translation-pl
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-pl
Ign http://download.skype.com stable/non-free Translation-pl
Pob: 4 http://dl.google.com stable Release [1300B]
Traf http://wine.budgetdedicated.com hardy Release
Traf http://archive.ubuntu.com hardy Release
Traf http://packages.medibuntu.org hardy/free Packages
Ign http://download.skype.com stable Release
Traf http://security.ubuntu.com hardy-security/main Packages
Pob: 5 http://ppa.launchpad.net hardy Release [65,9kB]
Pob: 6 http://dl.google.com stable/non-free Packages [954B]
Traf http://archive.ubuntu.com hardy-updates Release
Traf http://download.skype.com stable/non-free Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Traf http://packages.medibuntu.org hardy/non-free Packages
Traf http://security.ubuntu.com hardy-security/restricted Packages
Traf http://security.ubuntu.com hardy-security/universe Packages
Traf http://security.ubuntu.com hardy-security/multiverse Packages
Traf http://security.ubuntu.com hardy-security/main Sources
Traf http://archive.ubuntu.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/restricted Packages
Traf http://archive.ubuntu.com hardy/universe Packages
Traf http://archive.ubuntu.com hardy/multiverse Packages
Traf http://wine.budgetdedicated.com hardy/main Packages
Traf http://security.ubuntu.com hardy-security/restricted Sources
Traf http://security.ubuntu.com hardy-security/universe Sources
Traf http://security.ubuntu.com hardy-security/multiverse Sources
Traf http://archive.ubuntu.com hardy/main Sources
Traf http://archive.ubuntu.com hardy/restricted Sources
Traf http://archive.ubuntu.com hardy/universe Sources
Traf http://archive.ubuntu.com hardy/multiverse Sources
Traf http://archive.ubuntu.com hardy-updates/main Packages
Traf http://archive.ubuntu.com hardy-updates/restricted Packages
Traf http://archive.ubuntu.com hardy-updates/universe Packages
Traf http://archive.ubuntu.com hardy-updates/multiverse Packages
Traf http://archive.ubuntu.com hardy-updates/main Sources
Traf http://archive.ubuntu.com hardy-updates/restricted Sources
Traf http://archive.ubuntu.com hardy-updates/universe Sources
Traf http://archive.ubuntu.com hardy-updates/multiverse Sources
Ign http://ppa.launchpad.net hardy Release
Ign http://ppa.launchpad.net hardy/main Packages
Pob: 7 http://ppa.launchpad.net hardy/main Packages [5285B]
Pob: 8 http://ppa.launchpad.net hardy/main Sources [1549B]
Traf http://ppa.launchpad.net hardy/main Packages
Pobrano 75,4kB w 1s (38,2kB/s)
Czytanie list pakietów... Gotowe
W: Błąd GPG: http://ppa.launchpad.net hardy Release: Następujące sygnatury nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 7D2C7A23BF810CD5
W: Należy uruchomić apt-get update aby naprawić te problemy.
mateuszek@Asus-Ubuntu:~$ apt-get update
E: Nie udało się otworzyć pliku blokady /var/lib/apt/lists/lock - open (13 Permission denied)
E: Nie udało się zablokować katalogu list
jakoś polubiłem terminal i wolałbym żeby robić takie czynności, jak instalowanie, właśnie przez niego
dragonn
(dragonn)
30 Maj 2009 18:36
#15
Jeżeli mój skrypt zadziałał to po prostu włącz go drugi raz, ten błąd mówi o tym że w bibliotece kluczy nie ma klucza dla danego repo, każde z nich musi być podpisane takim kluczem (ale można używać bez klucza, ale ja zalecam z, bo wtedy mamy pewność że repo jest sprawdzone).
julek94
(Julek94)
30 Maj 2009 18:43
#16
normalnie sie załamałem
mateuszek@Asus-Ubuntu:~$ cd /home/mateuszek/Dokumenty/
mateuszek@Asus-Ubuntu:~/Dokumenty$ sudo ./klucze.sh
[sudo] password for mateuszek:
Działam
Przetwarzam klucz 7D2C7A23BF810CD5
gpg: UWAGA: niebezpieczne prawa własności do pliku konfiguracyjnego `/home/mateuszek/.gnupg/gpg.conf'
gpg: nieszczelne uprawnienia ustawień - wołanie zewnętrznych programów wyłączone
gpg: błąd z komunikacją serwera kluczy: błąd ogólny
gpg: odbiór z serwera kluczy nie powiódł się: błąd ogólny
gpg: UWAGA: niebezpieczne prawa własności do pliku konfiguracyjnego `/home/mateuszek/.gnupg/gpg.conf'
gpg: OSTRZEŻENIE: nic nie zostało wyeksportowane!
gpg: nie odnaleziono poprawnych danych w formacie OpenPGP.
Klucz 7D2C7A23BF810CD5 przetworzony
Przetwarzam klucz 7D2C7A23BF810CD5
gpg: UWAGA: niebezpieczne prawa własności do pliku konfiguracyjnego `/home/mateuszek/.gnupg/gpg.conf'
gpg: nieszczelne uprawnienia ustawień - wołanie zewnętrznych programów wyłączone
gpg: błąd z komunikacją serwera kluczy: błąd ogólny
gpg: odbiór z serwera kluczy nie powiódł się: błąd ogólny
gpg: UWAGA: niebezpieczne prawa własności do pliku konfiguracyjnego `/home/mateuszek/.gnupg/gpg.conf'
gpg: OSTRZEŻENIE: nic nie zostało wyeksportowane!
gpg: nie odnaleziono poprawnych danych w formacie OpenPGP.
Klucz 7D2C7A23BF810CD5 przetworzony
dragonn
(dragonn)
30 Maj 2009 18:51
#17
http://forum.ubuntu.pl/showthread.php?t=94671# spróbuj tego. A co teraz daje:
sudo apt-get update
julek94
(Julek94)
30 Maj 2009 18:58
#18
to tak
mateuszek@Asus-Ubuntu:~$ sudo apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; sudo gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | sudo apt-key add -; done
Traf http://packages.medibuntu.org hardy Release.gpg
Ign http://packages.medibuntu.org hardy/free Translation-pl
Traf http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-pl
Ign http://download.skype.com stable Release.gpg
Pob: 1 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com stable/non-free Translation-pl
Traf http://archive.ubuntu.com hardy Release.gpg
Traf http://archive.ubuntu.com hardy/main Translation-pl
Ign http://packages.medibuntu.org hardy/non-free Translation-pl
Traf http://packages.medibuntu.org hardy Release
Traf http://wine.budgetdedicated.com hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Translation-pl
Ign http://download.skype.com stable/non-free Translation-pl
Ign http://security.ubuntu.com hardy-security/restricted Translation-pl
Ign http://security.ubuntu.com hardy-security/universe Translation-pl
Ign http://security.ubuntu.com hardy-security/multiverse Translation-pl
Traf http://security.ubuntu.com hardy-security Release
Ign http://ppa.launchpad.net hardy Release.gpg
Ign http://ppa.launchpad.net hardy/main Translation-pl
Pob: 2 http://dl.google.com stable Release [1300B]
Traf http://archive.ubuntu.com hardy/restricted Translation-pl
Traf http://archive.ubuntu.com hardy/universe Translation-pl
Traf http://archive.ubuntu.com hardy/multiverse Translation-pl
Traf http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-pl
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-pl
Ign http://archive.ubuntu.com hardy-updates/universe Translation-pl
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-pl
Traf http://archive.ubuntu.com hardy Release
Traf http://wine.budgetdedicated.com hardy Release
Traf http://packages.medibuntu.org hardy/free Packages
Ign http://download.skype.com stable Release
Pob: 3 http://ppa.launchpad.net hardy Release.gpg [307B]
Ign http://ppa.launchpad.net hardy/main Translation-pl
Traf http://security.ubuntu.com hardy-security/main Packages
Pob: 4 http://dl.google.com stable/non-free Packages [954B]
Pob: 5 http://ppa.launchpad.net hardy Release [27,6kB]
Traf http://archive.ubuntu.com hardy-updates Release
Ign http://wine.budgetdedicated.com hardy/main Packages
Traf http://packages.medibuntu.org hardy/non-free Packages
Traf http://download.skype.com stable/non-free Packages
Traf http://security.ubuntu.com hardy-security/restricted Packages
Traf http://security.ubuntu.com hardy-security/universe Packages
Traf http://security.ubuntu.com hardy-security/multiverse Packages
Traf http://security.ubuntu.com hardy-security/main Sources
Pob: 6 http://ppa.launchpad.net hardy Release [65,9kB]
Ign http://ppa.launchpad.net hardy Release
Traf http://archive.ubuntu.com hardy/main Packages
Traf http://archive.ubuntu.com hardy/restricted Packages
Traf http://archive.ubuntu.com hardy/universe Packages
Traf http://archive.ubuntu.com hardy/multiverse Packages
Traf http://wine.budgetdedicated.com hardy/main Packages
Traf http://security.ubuntu.com hardy-security/restricted Sources
Traf http://security.ubuntu.com hardy-security/universe Sources
Traf http://security.ubuntu.com hardy-security/multiverse Sources
Ign http://ppa.launchpad.net hardy/main Packages
Traf http://archive.ubuntu.com hardy/main Sources
Traf http://archive.ubuntu.com hardy/restricted Sources
Traf http://archive.ubuntu.com hardy/universe Sources
Traf http://archive.ubuntu.com hardy/multiverse Sources
Traf http://archive.ubuntu.com hardy-updates/main Packages
Traf http://archive.ubuntu.com hardy-updates/restricted Packages
Traf http://archive.ubuntu.com hardy-updates/universe Packages
Traf http://archive.ubuntu.com hardy-updates/multiverse Packages
Traf http://archive.ubuntu.com hardy-updates/main Sources
Traf http://archive.ubuntu.com hardy-updates/restricted Sources
Traf http://archive.ubuntu.com hardy-updates/universe Sources
Traf http://ppa.launchpad.net hardy/main Packages
Traf http://ppa.launchpad.net hardy/main Sources
Traf http://archive.ubuntu.com hardy-updates/multiverse Sources
Traf http://ppa.launchpad.net hardy/main Packages
Pobrano 2752B w 1s (1864B/s)
Czytanie list pakietów... Gotowe
Processing key: 7D2C7A23BF810CD5
gpg: UWAGA: niebezpieczne prawa własności do katalogu zawierającego plik konfiguracyjny `/home/mateuszek/.gnupg/gpg.conf'
gpg: nieszczelne uprawnienia ustawień - wołanie zewnętrznych programów wyłączone
gpg: błąd z komunikacją serwera kluczy: błąd ogólny
gpg: odbiór z serwera kluczy nie powiódł się: błąd ogólny
mateuszek@Asus-Ubuntu:~$
i to polecenie
root@Asus-Ubuntu:/home/mateuszek# sudo chown root:root $HOME/.gnupg/gpg.conf
chown: nie ma dostępu do `/root/.gnupg/gpg.conf': No such file or directory
#-o #-o #-o #-o #-o #-o #-o #-o
nr47
(Sawyer47)
30 Maj 2009 19:03
#19
Robisz to źle. Jeśli wykonujesz polecenie jako root to $HOME dla roota to /root… wpisz pełną ścieżkę zamiast zmiennej HOME.
julek94
(Julek94)
30 Maj 2009 19:06
#20
dzięki wszystkim na razie sobie poradziłem wpisują id klucza do poleceń z tej strony http://debian.linux.pl/viewtopic.php?t=58
ps jak nazywa sie to ukrywanie ikonek jak pisałem wczesnej(pojawiają sie po najechaniu na nie) i jak to wyłączyć?