Linuxiarze.pl Forum

Dystrybucje Linux => Ubuntu, Kubuntu, Xubuntu, Lubuntu => Wątek zaczęty przez: MCfiLip2201 w Marzec 16, 2014, 11:13:21 AM

Tytuł: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 16, 2014, 11:13:21 AM
Witam, mam straszny problem z Ubuntu 13.10. Otóż przy instalacji czegokolwiek wyskakuje mi takie coś:

Code:

Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-7u51-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: błąd przetwarzania oracle-java7-installer (--configure):
 podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie pakietu oracle-jdk7-installer:
 oracle-jdk7-installer zależy od oracle-java7-installer; jednakże:
  Pakiet oracle-java7-installer nie jest jeszcze skonfigurowany.

dpkg: błąd przetwarzania oracle-jdk7-installer (--configure):
 problemy z zależnościami - pozostawianie nieskonfigurowanego
Brak raportu programu apport, ponieważ komunikat błędu wskazuje, że przyczyna niepowodzenia leży w poprzednim błędzie.
                                      Wystąpiły błędy podczas przetwarzania:
 oracle-java7-installer
 oracle-jdk7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)


Lub podzcas instalacji z centrum oprogramowania:

Nieudane działanie pakietu

Instalacja lub usunięcie oprogramowania się nie powiodło.



Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: pavroo w Marzec 16, 2014, 03:48:12 PM
Napraw uszkodzone pakiety.

W terminalu:

Code:

sudo apt-get install -f
sudo dpkg --configure -a


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 16, 2014, 04:20:07 PM
Nadal to samo :C

Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: pavroo w Marzec 16, 2014, 04:44:54 PM
Zaktualizowałeś listę pakietów przed instalacją?

Code:

sudo apt-get update


Spróbuj również zainstalować otwartą wersję java: openjdk-7-jre
Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 16, 2014, 06:34:00 PM
a jak zainstalowac ta jave i tak za kazdym razem aktualizuje

Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: pavroo w Marzec 16, 2014, 07:43:03 PM
W terminalu:

Code:

sudo apt-get update
sudo apt-get install openjdk-7-jre icedtea-7-plugin


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 16, 2014, 07:49:32 PM
I nadal to samo sie wyświetla jak chce coś zainstalować
Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: pavroo w Marzec 16, 2014, 08:51:00 PM
1. Czy masz połączenie z siecią? Tzn. czy piszesz z Ubuntu czy z innego systemu bądź komputera?

2. Pokaż mi zawartość pliku /etc/apt/sources.list

3. Usuń uszkodzone pakiety i pokaż co wykażą polecenia:

Code:

sudo apt-get remove oracle-java7-installer oracle-jdk7-installer
sudo apt-get autoremove
sudo apt-get update


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 17, 2014, 02:44:05 PM
A więc:

1. Mam pisze to z ubuntu

2.  Prosz:

Code:

# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy 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/ saucy main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy-updates main restricted

## 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://pl.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy universe
deb http://pl.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy-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/ saucy multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy-updates multiverse

## 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/ saucy-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb-src http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb-src http://security.ubuntu.com/ubuntu saucy-security 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 saucy partner
# deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 17, 2014, 02:45:11 PM
3. Prosz:

Code:

filip@filip-G31M-S2L:~$ sudo apt-get remove oracle-java7-installer oracle-jdk7-installer
[sudo] password for filip:
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności      
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostaną USUNIĘTE:
  oracle-java7-installer oracle-jdk7-installer
0 aktualizowanych, 0 nowo instalowanych, 2 usuwanych i 0 nieaktualizowanych.
2 nie w pełni zainstalowanych lub usuniętych.
Po tej operacji zostanie zwolnione 138 kB miejsca na dysku.
Kontynuować [T/n]? t
(Odczytywanie bazy danych ... 218331 plików i katalogów obecnie zainstalowanych.)
Usuwanie pakietu oracle-jdk7-installer ...
Usuwanie pakietu oracle-java7-installer ...
update-binfmts: warning: current package is oracle-java7, but binary format already installed by oracle-java8; not removing.
Przetwarzanie wyzwalaczy pakietu shared-mime-info...
Przetwarzanie wyzwalaczy pakietu desktop-file-utils...
Przetwarzanie wyzwalaczy pakietu gnome-menus...
Przetwarzanie wyzwalaczy pakietu bamfdaemon...
Rebuilding /usr/share/applications/bamf-2.index...
Przetwarzanie wyzwalaczy pakietu mime-support...
filip@filip-G31M-S2L:~$ sudo apt-get autoremove
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności      
Odczyt informacji o stanie... Gotowe
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
filip@filip-G31M-S2L:~$ sudo apt-get update
Ign.  http://pl.archive.ubuntu.com saucy InRelease
Ign.  http://pl.archive.ubuntu.com saucy-updates InRelease                    
Ign.  http://security.ubuntu.com saucy-security InRelease                      
Ign.  http://download.skype.com stable InRelease                              
Ign.  http://extras.ubuntu.com saucy InRelease                                
Ign.  http://ppa.launchpad.net saucy InRelease                                
Ign.  http://pl.archive.ubuntu.com saucy-backports InRelease                  
Pobieranie:1 http://security.ubuntu.com saucy-security Release.gpg [933 B]    
Ign.  http://download.skype.com stable Release.gpg                            
Stary http://pl.archive.ubuntu.com saucy Release.gpg                          
Pobieranie:2 http://extras.ubuntu.com saucy Release.gpg [72 B]                
Ign.  http://ppa.launchpad.net saucy InRelease                                
Pobieranie:3 http://security.ubuntu.com saucy-security Release [49,6 kB]      
Pobieranie:4 http://pl.archive.ubuntu.com saucy-updates Release.gpg [933 B]    
Stary http://extras.ubuntu.com saucy Release                                  
Ign.  http://ppa.launchpad.net saucy InRelease                                
Ign.  http://download.skype.com stable Release                                
Stary http://pl.archive.ubuntu.com saucy-backports Release.gpg                
Stary http://ppa.launchpad.net saucy Release.gpg                              
Stary http://pl.archive.ubuntu.com saucy Release                              
Stary http://extras.ubuntu.com saucy/main Sources                              
Ign.  http://ppa.launchpad.net saucy Release.gpg                              
Pobieranie:5 http://pl.archive.ubuntu.com saucy-updates Release [49,6 kB]      
Pobieranie:6 http://security.ubuntu.com saucy-security/main Sources [38,0 kB]  
Stary http://extras.ubuntu.com saucy/main amd64 Packages                      
Pobieranie:7 http://ppa.launchpad.net saucy Release.gpg [316 B]                
Ign.  http://download.skype.com stable/non-free i386 Packages/DiffIndex        
Stary http://extras.ubuntu.com saucy/main i386 Packages                        
Stary http://ppa.launchpad.net saucy Release                                  
Stary http://pl.archive.ubuntu.com saucy-backports Release                    
Ign.  http://ppa.launchpad.net saucy Release                                  
Stary http://pl.archive.ubuntu.com saucy/main Sources                          
Pobieranie:8 http://ppa.launchpad.net saucy Release [11,9 kB]                  
Stary http://pl.archive.ubuntu.com saucy/restricted Sources                    
Pobieranie:9 http://security.ubuntu.com saucy-security/restricted Sources [14 B]
Stary http://pl.archive.ubuntu.com saucy/universe Sources                      
Stary http://ppa.launchpad.net saucy/main amd64 Packages                      
Stary http://pl.archive.ubuntu.com saucy/multiverse Sources                    
Pobieranie:10 http://security.ubuntu.com saucy-security/universe Sources [8413 B]
Stary http://pl.archive.ubuntu.com saucy/main amd64 Packages                  
Stary http://ppa.launchpad.net saucy/main i386 Packages                        
Stary http://pl.archive.ubuntu.com saucy/restricted amd64 Packages            
Stary http://pl.archive.ubuntu.com saucy/universe amd64 Packages              
Stary http://download.skype.com stable/non-free i386 Packages                  
Pobieranie:11 http://security.ubuntu.com saucy-security/multiverse Sources [692 B]
Stary http://pl.archive.ubuntu.com saucy/multiverse amd64 Packages            
Pobieranie:12 http://security.ubuntu.com saucy-security/main amd64 Packages [104 kB]
Stary http://pl.archive.ubuntu.com saucy/main i386 Packages                    
Stary http://pl.archive.ubuntu.com saucy/restricted i386 Packages              
Stary http://pl.archive.ubuntu.com saucy/universe i386 Packages                
Stary http://pl.archive.ubuntu.com saucy/multiverse i386 Packages              
Stary http://pl.archive.ubuntu.com saucy/main Translation-pl                  
Pobieranie:13 http://security.ubuntu.com saucy-security/restricted amd64 Packages [14 B]
Stary http://pl.archive.ubuntu.com saucy/main Translation-en                  
Ign.  http://extras.ubuntu.com saucy/main Translation-pl_PL                    
Pobieranie:14 http://security.ubuntu.com saucy-security/universe amd64 Packages [35,4 kB]
Stary http://pl.archive.ubuntu.com saucy/multiverse Translation-pl            
Ign.  http://extras.ubuntu.com saucy/main Translation-pl                      
Stary http://pl.archive.ubuntu.com saucy/multiverse Translation-en            
Pobieranie:15 http://ppa.launchpad.net saucy/main amd64 Packages [2826 B]      
Stary http://pl.archive.ubuntu.com saucy/restricted Translation-pl            
Ign.  http://extras.ubuntu.com saucy/main Translation-en                      
Stary http://pl.archive.ubuntu.com saucy/restricted Translation-en            
Pobieranie:16 http://ppa.launchpad.net saucy/main i386 Packages [2826 B]      
Pobieranie:17 http://security.ubuntu.com saucy-security/multiverse amd64 Packages [1160 B]
Stary http://pl.archive.ubuntu.com saucy/universe Translation-pl              
Pobieranie:18 http://security.ubuntu.com saucy-security/main i386 Packages [104 kB]
Stary http://pl.archive.ubuntu.com saucy/universe Translation-en              
Pobieranie:19 http://pl.archive.ubuntu.com saucy-updates/main Sources [80,3 kB]
Błąd  http://download.skype.com stable/non-free amd64 Packages                
  404  Not Found [IP: 46.229.154.51 80]
Pobieranie:20 http://pl.archive.ubuntu.com saucy-updates/restricted Sources [14 B]
Pobieranie:21 http://security.ubuntu.com saucy-security/restricted i386 Packages [14 B]
Pobieranie:22 http://pl.archive.ubuntu.com saucy-updates/universe Sources [67,9 kB]
Ign.  http://download.skype.com stable/non-free Translation-pl_PL              
Pobieranie:23 http://security.ubuntu.com saucy-security/universe i386 Packages [35,8 kB]
Pobieranie:24 http://pl.archive.ubuntu.com saucy-updates/multiverse Sources [1348 B]
Ign.  http://download.skype.com stable/non-free Translation-pl                
Pobieranie:25 http://pl.archive.ubuntu.com saucy-updates/main amd64 Packages [223 kB]
Ign.  http://download.skype.com stable/non-free Translation-en                
Pobieranie:26 http://security.ubuntu.com saucy-security/multiverse i386 Packages [1395 B]
Pobieranie:27 http://pl.archive.ubuntu.com saucy-updates/restricted amd64 Packages [14 B]
Pobieranie:28 http://security.ubuntu.com saucy-security/main Translation-en [56,7 kB]
Pobieranie:29 http://pl.archive.ubuntu.com saucy-updates/universe amd64 Packages [158 kB]
Pobieranie:30 http://pl.archive.ubuntu.com saucy-updates/multiverse amd64 Packages [1552 B]
Stary http://security.ubuntu.com saucy-security/multiverse Translation-en      
Pobieranie:31 http://pl.archive.ubuntu.com saucy-updates/main i386 Packages [221 kB]
Stary http://security.ubuntu.com saucy-security/restricted Translation-en      
Pobieranie:32 http://pl.archive.ubuntu.com saucy-updates/restricted i386 Packages [14 B]
Pobieranie:33 http://pl.archive.ubuntu.com saucy-updates/universe i386 Packages [158 kB]
Pobieranie:34 http://security.ubuntu.com saucy-security/universe Translation-en [20,8 kB]
Pobieranie:35 http://pl.archive.ubuntu.com saucy-updates/multiverse i386 Packages [1773 B]
Stary http://pl.archive.ubuntu.com saucy-updates/main Translation-pl          
Pobieranie:36 http://pl.archive.ubuntu.com saucy-updates/main Translation-en [105 kB]
Stary http://pl.archive.ubuntu.com saucy-updates/multiverse Translation-pl    
Stary http://pl.archive.ubuntu.com saucy-updates/multiverse Translation-en
Stary http://pl.archive.ubuntu.com saucy-updates/restricted Translation-pl
Stary http://pl.archive.ubuntu.com saucy-updates/restricted Translation-en
Ign.  http://ppa.launchpad.net saucy/main Translation-pl_PL
Stary http://pl.archive.ubuntu.com saucy-updates/universe Translation-pl
Ign.  http://ppa.launchpad.net saucy/main Translation-pl    
Pobieranie:37 http://pl.archive.ubuntu.com saucy-updates/universe Translation-en [79,7 kB]
Ign.  http://ppa.launchpad.net saucy/main Translation-en                      
Błąd  http://ppa.launchpad.net saucy/main amd64 Packages                      
  404  Not Found
Błąd  http://ppa.launchpad.net saucy/main i386 Packages                        
  404  Not Found
Stary http://pl.archive.ubuntu.com saucy-backports/main Sources                
Stary http://pl.archive.ubuntu.com saucy-backports/restricted Sources          
Ign.  http://ppa.launchpad.net saucy/main Translation-pl_PL                    
Stary http://pl.archive.ubuntu.com saucy-backports/universe Sources            
Stary http://pl.archive.ubuntu.com saucy-backports/multiverse Sources          
Ign.  http://ppa.launchpad.net saucy/main Translation-pl                      
Stary http://pl.archive.ubuntu.com saucy-backports/main amd64 Packages        
Stary http://pl.archive.ubuntu.com saucy-backports/restricted amd64 Packages  
Ign.  http://ppa.launchpad.net saucy/main Translation-en                      
Stary http://pl.archive.ubuntu.com saucy-backports/universe amd64 Packages    
Ign.  http://ppa.launchpad.net saucy/main Translation-pl_PL                    
Stary http://pl.archive.ubuntu.com saucy-backports/multiverse amd64 Packages  
Stary http://pl.archive.ubuntu.com saucy-backports/main i386 Packages          
Ign.  http://ppa.launchpad.net saucy/main Translation-pl                      
Stary http://pl.archive.ubuntu.com saucy-backports/restricted i386 Packages    
Ign.  http://ppa.launchpad.net saucy/main Translation-en                      
Stary http://pl.archive.ubuntu.com saucy-backports/universe i386 Packages      


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 17, 2014, 02:46:28 PM
I ta resztka, która się nie zmieściła:

Code:

Stary http://pl.archive.ubuntu.com saucy-backports/multiverse i386 Packages    
Ign.  http://security.ubuntu.com saucy-security/main Translation-pl_PL        
Ign.  http://security.ubuntu.com saucy-security/main Translation-pl            
Stary http://pl.archive.ubuntu.com saucy-backports/main Translation-en        
Ign.  http://security.ubuntu.com saucy-security/multiverse Translation-pl_PL  
Ign.  http://security.ubuntu.com saucy-security/multiverse Translation-pl      
Stary http://pl.archive.ubuntu.com saucy-backports/multiverse Translation-en  
Ign.  http://security.ubuntu.com saucy-security/restricted Translation-pl_PL  
Stary http://pl.archive.ubuntu.com saucy-backports/restricted Translation-en  
Ign.  http://security.ubuntu.com saucy-security/restricted Translation-pl      
Ign.  http://security.ubuntu.com saucy-security/universe Translation-pl_PL    
Stary http://pl.archive.ubuntu.com saucy-backports/universe Translation-en    
Ign.  http://security.ubuntu.com saucy-security/universe Translation-pl        
Ign.  http://pl.archive.ubuntu.com saucy/main Translation-pl_PL                
Ign.  http://pl.archive.ubuntu.com saucy/multiverse Translation-pl_PL          
Ign.  http://pl.archive.ubuntu.com saucy/restricted Translation-pl_PL          
Ign.  http://pl.archive.ubuntu.com saucy/universe Translation-pl_PL            
Ign.  http://pl.archive.ubuntu.com saucy-updates/main Translation-pl_PL        
Ign.  http://pl.archive.ubuntu.com saucy-updates/multiverse Translation-pl_PL  
Ign.  http://pl.archive.ubuntu.com saucy-updates/restricted Translation-pl_PL  
Ign.  http://pl.archive.ubuntu.com saucy-updates/universe Translation-pl_PL    
Ign.  http://pl.archive.ubuntu.com saucy-backports/main Translation-pl_PL      
Ign.  http://pl.archive.ubuntu.com saucy-backports/main Translation-pl        
Ign.  http://pl.archive.ubuntu.com saucy-backports/multiverse Translation-pl_PL
Ign.  http://pl.archive.ubuntu.com saucy-backports/multiverse Translation-pl  
Ign.  http://pl.archive.ubuntu.com saucy-backports/restricted Translation-pl_PL
Ign.  http://pl.archive.ubuntu.com saucy-backports/restricted Translation-pl  
.


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: pavroo w Marzec 17, 2014, 03:09:11 PM
OK, uszkodzone pakiety udało sie usunąć.

Teraz zainstaluj otwartą javę + wtyczkę dla przeglądarki internetowej:

Code:

sudo apt-get install openjdk-7-jre icedtea-7-plugin


Tytuł: Odp: Błąd podczas instalacji czegokolwiek.
Wiadomość wysłana przez: MCfiLip2201 w Marzec 29, 2014, 02:27:37 PM
Sory że mnie nie było. Thx pavroo już wszystko sprawnie działa