vim nie chce sie zainstaliwac w xtermie

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: marcin1982 »

No to najpierw:

Kod: Zaznacz cały

sudo su
a potem:

Kod: Zaznacz cały

echo "# Ubuntu - podstawowe repozytoria
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
# Ubuntu Partner
deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

# Medibuntu
deb http://packages.medibuntu.org/ oneiric free non-free
# deb-src http://packages.medibuntu.org/ oneiric free non-free

# GetDeb
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps games
# ponieważ główny serwer ostatnimi czasy nie działa - tutaj mirror:
deb http://mirrors.dotsrc.org/getdeb/ubuntu oneiric-getdeb apps games

# Ubuntu Tweak - na razie brak dla 11.10
# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main
# deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main

# Wine
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main
# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main" > /etc/apt/sources.list
i [Enter]
Awatar użytkownika
thalcave
Przyjaciel
Przyjaciel
Posty: 821
Rejestracja: 08 lis 2006, 12:17
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Fluxbox
Architektura: x86

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: thalcave »

echo jest poleceniem wewnętrznym powłoki i sudo na niego nie działa - najlepszym rozwiązaniem jest przez sudo otworzenie /etc/apt/sources.list (np. przez Gedit) i tam wklejenie linii, które sugeruje marcin1982

Ponadto nie polecam mieszania apt-get i aptitude. Lepiej zdecydować się na jedno narzędzie.
GNU/Linux user
Na pytania na PW/e-mail nie udzielam odpowiedzi!
Szanujmy innych użytkowników!
Wesprzyj akcje: Temat rozwiązany -> dodajemy [solved]
Awatar użytkownika
k2cl
Przyjaciel
Przyjaciel
Posty: 3632
Rejestracja: 09 gru 2007, 12:48
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: LXDE
Architektura: x86

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: k2cl »

@ tomasz1992
Nie wiem, co Ty zrobiłeś z tym systemem, ale przypadek wygląda coraz ciekawiej.

Skoro terminal (jeszcze) działa, uruchom edytor nano:

Kod: Zaznacz cały

sudo nano /etc/apt/sources.list
Wklej tam listę repozytoriów z wątku: viewtopic.php?f=142&t=37494 (punkty 1 i 2, resztę na razie zostaw w spokoju... skopiuj z przeglądarki, a potem wklej przy pomocy shift-ctrl-v). Zapisz zmiany, wykonaj

Kod: Zaznacz cały

sudo apt-get update && sudo apt-get upgrade
tomasz1992
Piegowaty Guziec
Piegowaty Guziec
Posty: 15
Rejestracja: 09 paź 2011, 21:11
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: Brak
Architektura: Inna
Kontakt:

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: tomasz1992 »

Kod: Zaznacz cały

user@ubuntu:~$ sudo nano /etc/apt/sources.list
[sudo] password for user: 
user@ubuntu:~$ sudo apt-get update && sudo apt-get upgrade
Ign http://extras.ubuntu.com oneiric InRelease                                  
Ign http://archive.canonical.com oneiric InRelease                              
Pob: 1 http://packages.medibuntu.org oneiric InRelease [7096 B]                 
Ign http://packages.medibuntu.org oneiric InRelease                             
Ign http://packages.medibuntu.org oneiric/free amd64 Packages/DiffIndex         
Ign http://packages.medibuntu.org oneiric/non-free amd64 Packages/DiffIndex     
Traf http://archive.canonical.com oneiric Release.gpg                           
Traf http://extras.ubuntu.com oneiric Release.gpg                               
Traf http://archive.canonical.com oneiric Release                               
Traf http://extras.ubuntu.com oneiric Release                                   
Ign http://packages.medibuntu.org oneiric/free i386 Packages/DiffIndex          
Traf http://archive.canonical.com oneiric/partner amd64 Packages                
Traf http://extras.ubuntu.com oneiric/main Sources                              
Traf http://archive.canonical.com oneiric/partner i386 Packages                 
Ign http://archive.canonical.com oneiric/partner TranslationIndex               
Traf http://extras.ubuntu.com oneiric/main amd64 Packages                       
Traf http://extras.ubuntu.com oneiric/main i386 Packages                        
Ign http://extras.ubuntu.com oneiric/main TranslationIndex                      
Ign http://archive.canonical.com oneiric/partner Translation-pl_PL              
Ign http://archive.canonical.com oneiric/partner Translation-pl                 
Ign http://archive.canonical.com oneiric/partner Translation-en                 
Ign http://extras.ubuntu.com oneiric/main Translation-pl_PL                     
Ign http://packages.medibuntu.org oneiric/non-free i386 Packages/DiffIndex      
Ign http://packages.medibuntu.org oneiric/free TranslationIndex                 
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex             
Traf http://packages.medibuntu.org oneiric/free amd64 Packages                  
Traf http://packages.medibuntu.org oneiric/non-free amd64 Packages              
Traf http://packages.medibuntu.org oneiric/free i386 Packages                   
Traf http://packages.medibuntu.org oneiric/non-free i386 Packages               
Ign http://security.ubuntu.com oneiric-security InRelease                       
Ign http://mirrors.dotsrc.org oneiric-getdeb InRelease                          
Ign http://pl.archive.ubuntu.com oneiric InRelease                              
Ign http://ppa.launchpad.net oneiric InRelease                                  
Pob: 2 http://mirrors.dotsrc.org oneiric-getdeb Release.gpg [836 B]             
Traf http://mirrors.dotsrc.org oneiric-getdeb Release                           
Ign http://mirrors.dotsrc.org oneiric-getdeb Release                            
Pob: 3 http://ppa.launchpad.net oneiric Release.gpg [316 B]                     
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps amd64 Packages/DiffIndex      
Ign http://mirrors.dotsrc.org oneiric-getdeb/games amd64 Packages/DiffIndex     
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps i386 Packages/DiffIndex       
Ign http://mirrors.dotsrc.org oneiric-getdeb/games i386 Packages/DiffIndex      
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps TranslationIndex              
Ign http://mirrors.dotsrc.org oneiric-getdeb/games TranslationIndex             
Traf http://ppa.launchpad.net oneiric Release                                   
Ign http://ppa.launchpad.net oneiric Release                                    
Traf http://mirrors.dotsrc.org oneiric-getdeb/apps amd64 Packages               
Traf http://mirrors.dotsrc.org oneiric-getdeb/games amd64 Packages              
Ign http://ppa.launchpad.net oneiric/main amd64 Packages/DiffIndex              
Traf http://mirrors.dotsrc.org oneiric-getdeb/apps i386 Packages                
Ign http://pl.archive.ubuntu.com oneiric-updates InRelease                      
Ign http://pl.archive.ubuntu.com oneiric-backports InRelease                    
Traf http://pl.archive.ubuntu.com oneiric Release.gpg                           
Traf http://pl.archive.ubuntu.com oneiric-updates Release.gpg                   
Traf http://pl.archive.ubuntu.com oneiric-backports Release.gpg                 
Traf http://pl.archive.ubuntu.com oneiric Release                               
Traf http://pl.archive.ubuntu.com oneiric-updates Release                       
Traf http://pl.archive.ubuntu.com oneiric-backports Release                     
Traf http://pl.archive.ubuntu.com oneiric/restricted Sources                    
Traf http://pl.archive.ubuntu.com oneiric/multiverse Sources                    
Traf http://pl.archive.ubuntu.com oneiric/restricted amd64 Packages             
Traf http://pl.archive.ubuntu.com oneiric/universe amd64 Packages               
Traf http://pl.archive.ubuntu.com oneiric/multiverse amd64 Packages             
Traf http://pl.archive.ubuntu.com oneiric/restricted i386 Packages              
Traf http://pl.archive.ubuntu.com oneiric/universe i386 Packages                
Traf http://pl.archive.ubuntu.com oneiric/multiverse i386 Packages              
Traf http://pl.archive.ubuntu.com oneiric/main TranslationIndex                 
Traf http://pl.archive.ubuntu.com oneiric/multiverse TranslationIndex           
Traf http://pl.archive.ubuntu.com oneiric/restricted TranslationIndex           
Traf http://pl.archive.ubuntu.com oneiric/universe TranslationIndex             
Traf http://pl.archive.ubuntu.com oneiric-updates/main Sources                  
Traf http://pl.archive.ubuntu.com oneiric-updates/restricted Sources            
Traf http://pl.archive.ubuntu.com oneiric-updates/universe Sources              
Ign http://ppa.launchpad.net oneiric/main i386 Packages/DiffIndex               
Ign http://ppa.launchpad.net oneiric/main TranslationIndex                      
Traf http://ppa.launchpad.net oneiric/main amd64 Packages                       
Traf http://ppa.launchpad.net oneiric/main i386 Packages                        
Traf http://pl.archive.ubuntu.com oneiric-updates/multiverse Sources            
Traf http://pl.archive.ubuntu.com oneiric-updates/main amd64 Packages           
Traf http://pl.archive.ubuntu.com oneiric-updates/restricted amd64 Packages     
Traf http://pl.archive.ubuntu.com oneiric-updates/universe amd64 Packages       
Traf http://pl.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages     
Traf http://pl.archive.ubuntu.com oneiric-updates/main i386 Packages            
Traf http://pl.archive.ubuntu.com oneiric-updates/restricted i386 Packages      
Traf http://pl.archive.ubuntu.com oneiric-updates/universe i386 Packages        
Traf http://pl.archive.ubuntu.com oneiric-updates/multiverse i386 Packages      
Traf http://pl.archive.ubuntu.com oneiric-updates/main TranslationIndex         
Traf http://pl.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex   
Traf http://pl.archive.ubuntu.com oneiric-updates/restricted TranslationIndex   
Traf http://pl.archive.ubuntu.com oneiric-updates/universe TranslationIndex     
Pob: 4 http://pl.archive.ubuntu.com oneiric/main Sources [1095 kB]              
Pob: 5 http://pl.archive.ubuntu.com oneiric/universe Sources [5792 kB]          
Pob: 6 http://pl.archive.ubuntu.com oneiric/main amd64 Packages [1583 kB]       
Traf http://pl.archive.ubuntu.com oneiric-backports/main Sources                
Traf http://pl.archive.ubuntu.com oneiric-backports/restricted Sources          
Traf http://pl.archive.ubuntu.com oneiric-backports/universe Sources            
Traf http://pl.archive.ubuntu.com oneiric-backports/multiverse Sources          
Traf http://pl.archive.ubuntu.com oneiric-backports/main amd64 Packages         
Ign http://ppa.launchpad.net oneiric/main Translation-pl_PL                     
Ign http://ppa.launchpad.net oneiric/main Translation-pl                        
Ign http://ppa.launchpad.net oneiric/main Translation-en                        
Traf http://security.ubuntu.com oneiric-security Release.gpg                    
Traf http://security.ubuntu.com oneiric-security Release                        
Traf http://security.ubuntu.com oneiric-security/main Sources                   
Traf http://security.ubuntu.com oneiric-security/restricted Sources             
Traf http://security.ubuntu.com oneiric-security/universe Sources               
Traf http://security.ubuntu.com oneiric-security/multiverse Sources             
Traf http://security.ubuntu.com oneiric-security/main amd64 Packages            
Traf http://security.ubuntu.com oneiric-security/restricted amd64 Packages      
Traf http://security.ubuntu.com oneiric-security/universe amd64 Packages        
Traf http://security.ubuntu.com oneiric-security/multiverse amd64 Packages      
Traf http://security.ubuntu.com oneiric-security/main i386 Packages             
Traf http://security.ubuntu.com oneiric-security/restricted i386 Packages       
Traf http://security.ubuntu.com oneiric-security/universe i386 Packages         
Traf http://security.ubuntu.com oneiric-security/multiverse i386 Packages       
Traf http://security.ubuntu.com oneiric-security/main TranslationIndex          
Traf http://security.ubuntu.com oneiric-security/multiverse TranslationIndex    
Traf http://pl.archive.ubuntu.com oneiric-backports/restricted amd64 Packages   
Traf http://pl.archive.ubuntu.com oneiric-backports/universe amd64 Packages     
Traf http://security.ubuntu.com oneiric-security/restricted TranslationIndex    
Traf http://pl.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages   
Traf http://security.ubuntu.com oneiric-security/universe TranslationIndex      
Traf http://security.ubuntu.com oneiric-security/main Translation-en            
Traf http://mirrors.dotsrc.org oneiric-getdeb/games i386 Packages               
Traf http://security.ubuntu.com oneiric-security/multiverse Translation-en      
Traf http://security.ubuntu.com oneiric-security/restricted Translation-en      
Traf http://security.ubuntu.com oneiric-security/universe Translation-en        
Traf http://pl.archive.ubuntu.com oneiric-backports/main i386 Packages          
Traf http://pl.archive.ubuntu.com oneiric-backports/restricted i386 Packages    
Traf http://pl.archive.ubuntu.com oneiric-backports/universe i386 Packages      
Traf http://pl.archive.ubuntu.com oneiric-backports/multiverse i386 Packages    
Traf http://pl.archive.ubuntu.com oneiric-backports/main TranslationIndex       
Traf http://pl.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex 
Traf http://pl.archive.ubuntu.com oneiric-backports/restricted TranslationIndex 
Traf http://pl.archive.ubuntu.com oneiric-backports/universe TranslationIndex   
Pob: 7 http://pl.archive.ubuntu.com oneiric/main i386 Packages [1583 kB]        
Traf http://pl.archive.ubuntu.com oneiric/main Translation-pl                   
Traf http://pl.archive.ubuntu.com oneiric/multiverse Translation-pl             
Traf http://pl.archive.ubuntu.com oneiric/multiverse Translation-en             
Traf http://pl.archive.ubuntu.com oneiric/restricted Translation-pl             
Traf http://pl.archive.ubuntu.com oneiric/restricted Translation-en             
Traf http://pl.archive.ubuntu.com oneiric/universe Translation-pl               
Traf http://pl.archive.ubuntu.com oneiric/universe Translation-en               
Traf http://pl.archive.ubuntu.com oneiric-updates/main Translation-en           
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps Translation-pl_PL             
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps Translation-pl                
Ign http://mirrors.dotsrc.org oneiric-getdeb/apps Translation-en                
Ign http://mirrors.dotsrc.org oneiric-getdeb/games Translation-pl_PL            
Ign http://mirrors.dotsrc.org oneiric-getdeb/games Translation-pl               
Ign http://mirrors.dotsrc.org oneiric-getdeb/games Translation-en               
Traf http://pl.archive.ubuntu.com oneiric-updates/multiverse Translation-en     
Traf http://pl.archive.ubuntu.com oneiric-updates/restricted Translation-en     
Traf http://pl.archive.ubuntu.com oneiric-updates/universe Translation-en       
Traf http://pl.archive.ubuntu.com oneiric-backports/main Translation-en         
Traf http://pl.archive.ubuntu.com oneiric-backports/multiverse Translation-en   
Traf http://pl.archive.ubuntu.com oneiric-backports/restricted Translation-en   
Traf http://pl.archive.ubuntu.com oneiric-backports/universe Translation-en     
Pob: 8 http://pl.archive.ubuntu.com oneiric/main Translation-en [861 kB]        
Ign http://extras.ubuntu.com oneiric/main Translation-pl                        
Błąd http://packages.medibuntu.org oneiric/free Translation-pl_PL               
  Unable to connect to packages.medibuntu.org:http:
Błąd http://packages.medibuntu.org oneiric/free Translation-pl                  
  Unable to connect to packages.medibuntu.org:http:
Błąd http://packages.medibuntu.org oneiric/free Translation-en                  
  Unable to connect to packages.medibuntu.org:http:
Błąd http://packages.medibuntu.org oneiric/non-free Translation-pl_PL           
  Unable to connect to packages.medibuntu.org:http:
Błąd http://packages.medibuntu.org oneiric/non-free Translation-pl              
  Unable to connect to packages.medibuntu.org:http:
Błąd http://packages.medibuntu.org oneiric/non-free Translation-en
  Unable to connect to packages.medibuntu.org:http:
Błąd http://extras.ubuntu.com oneiric/main Translation-en
  Could not connect to extras.ubuntu.com:80 (91.189.88.33), connection timed out
Pobrano 8253 B w 3min 30s (39 B/s)                  
W: GPG error: http://packages.medibuntu.org oneiric InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://mirrors.dotsrc.org oneiric-getdeb Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8A515F046D7E7CF
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en  Could not connect to extras.ubuntu.com:80 (91.189.88.33), connection timed out

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/free/i18n/Translation-pl_PL  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/free/i18n/Translation-pl  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/free/i18n/Translation-en  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/non-free/i18n/Translation-pl_PL  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/non-free/i18n/Translation-pl  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch http://packages.medibuntu.org/dists/oneiric/non-free/i18n/Translation-en  Unable to connect to packages.medibuntu.org:http:

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pl.archive.ubuntu.com_ubuntu_dists_oneiric_main_source_Sources  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pl.archive.ubuntu.com_ubuntu_dists_oneiric_universe_source_Sources  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pl.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-amd64_Packages  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pl.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-i386_Packages  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/pl.archive.ubuntu.com_ubuntu_dists_oneiric_main_i18n_Translation-en  Encountered a section with no Package: header

E: Some index files failed to download. They have been ignored, or old ones used instead.
user@ubuntu:~$ 
po wykonaniu czynnosci polecanych przez k2cl wyskoczylo mi cos takiego
natomiast po wykonaniu czynnosci marcina wyskoczylo mi to samo tylko zmienilo z user na root
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: marcin1982 »

No to teraz ostatecznie pokaż wynik:

Kod: Zaznacz cały

cat /etc/apt/sources.list
Awatar użytkownika
k2cl
Przyjaciel
Przyjaciel
Posty: 3632
Rejestracja: 09 gru 2007, 12:48
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: LXDE
Architektura: x86

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: k2cl »

Lista repozytoriów będzie już najprawdopodobniej w porządku, ale podaj wynik, o który prosił marcin1982.
Potem wyczyść zawartość folderu /var/lib/apt/lists/partial/, napraw błędy związane z GPG (instrukcję znajdziesz na forum) i spróbuj wziąć się do instalacji vim-a...
tomasz1992
Piegowaty Guziec
Piegowaty Guziec
Posty: 15
Rejestracja: 09 paź 2011, 21:11
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: Brak
Architektura: Inna
Kontakt:

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: tomasz1992 »

Kod: Zaznacz cały

user@ubuntu:~$ cat /etc/apt/sources.list
# Ubuntu - podstawowe repozytoria
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
# Ubuntu Partner
deb http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

# Medibuntu
deb http://packages.medibuntu.org/ oneiric free non-free
# deb-src http://packages.medibuntu.org/ oneiric free non-free

# GetDeb
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps games
# ponieważ główny serwer ostatnimi czasy nie działa - tutaj mirror:
deb http://mirrors.dotsrc.org/getdeb/ubuntu oneiric-getdeb apps games

# Ubuntu Tweak - na razie brak dla 11.10
# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main
# deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main

# Wine
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main
# deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main
user@ubuntu:~$ 
wynik o ktory prosil marcin1982

-- 9 lis 2011, o 01:07 --

jak wyczyscic zawartosc folderu /var/lib/apt/lists/partial/?? jak wciskam przycisk delate to nic sie nie dzieje
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: marcin1982 »

wynik o ktory prosil marcin1982
Z uwagi na te kilka problemów (404 not found i problem z kluczem PGP) umieść narazie w pliku /etc/apt/sources.list repozytoria tylko z punktu 1 z tego linku (Wpisy obowiązkowe):
viewtopic.php?f=142&t=37494 .
Potem w razie potrzeby uzupełnisz ....
jak wyczyscic zawartosc folderu /var/lib/apt/lists/partial/?? jak wciskam przycisk delate to nic sie nie dzieje
Zaloguj się w konsoli na konto roota:

Kod: Zaznacz cały

sudo su
Przejdź do katalogu /var/lib/apt/lists/partial/:

Kod: Zaznacz cały

cd /var/lib/apt/lists/partial/
i wykonaj takie polecenie:

Kod: Zaznacz cały

rm -f *
Upewnij się trzy razy, że na pewno jesteś w katalogu /var/lib/apt/lists/partial/

Po tym wszystkim znowu wykonaj:

Kod: Zaznacz cały

sudo apt-get update && sudo apt-get upgrade
Jeśli znowu wyskoczą jakieś kwiaty wstaw te jutaj ;]
tomasz1992
Piegowaty Guziec
Piegowaty Guziec
Posty: 15
Rejestracja: 09 paź 2011, 21:11
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: Brak
Architektura: Inna
Kontakt:

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: tomasz1992 »

Kod: Zaznacz cały

root@ubuntu:/var/lib/apt/lists/partial# sudo apt-get update && sudo apt-get upgrade
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
root@ubuntu:/var/lib/apt/lists/partial# 
takie kwiatki
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: vim nie chce sie zainstaliwac w xtermie

Post autor: marcin1982 »

Jeśli masz włączony Synaptic - wyłącz go i pokaż wynik polecenia:

Kod: Zaznacz cały

ps -a | grep apt
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Amazon [Bot] i 20 gości