Problem Update manager, can't install anything
HI everyone, i have this problem when i try to install a new software.
I use Ubuntu Lts 12.04
Some days ago i was updating what the software suggests to me, and then during the updating, the pc was crashed. I turn off and on. since that moment The update manager don't work.
this is what the console says when i try to do: apt-get -f install (*sorry for my english, and for the italian of my console*)
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Correzione delle dipendenze... Fatto
I seguenti pacchetti saranno inoltre installati:
libgl1-mesa-glx
I seguenti pacchetti saranno aggiornati:
libgl1-mesa-glx
1 aggiornati, 0 installati, 0 da rimuovere e 239 non aggiornati.
4 non completamente installati o rimossi.
È necessario scaricare 0 B/104 kB di archivi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Continuare [S/n]? s
dpkg: errore nell'elaborare libgl1-mesa-glx (--configure):
libgl1-
dpkg: errore nell'elaborare libgl1-
libgl1-
dpkg: problemi con le dipendenze impediscono la configurazione di libqt4-opengl:
libqt4-opengl dipende da libgl1-mesa-glx | libgl1, ma:
Il pacchetto libgl1-mesa-glx non è ancora configurato.
Il pacchetto libgl1 non è installato.
Il pacchetto libgl1-
Il pacchetto libgl1-mesa-glx che fornisce libgl1 non è ancora configurato.
dpkg: errore nell'elaborare libqt4-opengl (--configure):
problemi con le dipendenze - lasciato non configurato
dpkg: problemi con le dipendenze impediscono la configurazione di libqt4-opengl:i386:
libqt4-opengl:i386 dipende da libgl1-mesa-glx | libgl1, ma:
Il pacchetto libgl1-
Il pacchetto libgl1-
Il pacchetto libgl1-mesa-glx che fornisce libgl1 non è ancora configurato.
dpkg: errore nell'elaborare libqt4-opengl:i386 (--configure):
problemi con le dipendenze - lasciato non configurato
Segnalazione apport non scritta poiché il messaggio di errore indica la presenza di un fallimento precedente.
libgl1-mesa-glx
libgl1-
libqt4-opengl
libqt4-opengl:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- zzari
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
apt-cache policy libgl1-mesa-glx libgl1-
Thanks
Revision history for this message
|
#2 |
this is the output:
libgl1-mesa-glx:
Installato: 8.0.4-0ubuntu0.2
Candidato: 8.0.4-0ubuntu0.5
Tabella versione:
8.
500 http://
500 http://
*** 8.0.4-0ubuntu0.2 0
100 /var/lib/
8.0.2-0ubuntu3 0
500 http://
libgl1-
Installato: 8.0.4-0ubuntu0.5
Candidato: 8.0.4-0ubuntu0.5
Tabella versione:
*** 8.0.4-0ubuntu0.5 0
500 http://
500 http://
100 /var/lib/
8.0.2-0ubuntu3 0
500 http://
libqt4-opengl:
Installato: 4:4.8.1-0ubuntu4.4
Candidato: 4:4.8.1-0ubuntu4.4
Tabella versione:
*** 4:4.8.1-0ubuntu4.4 0
500 http://
500 http://
100 /var/lib/
4:
500 http://
libqt4-opengl:i386:
Installato: 4:4.8.1-0ubuntu4.4
Candidato: 4:4.8.1-0ubuntu4.4
Tabella versione:
*** 4:4.8.1-0ubuntu4.4 0
500 http://
500 http://
100 /var/lib/
4:
500 http://
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Revision history for this message
|
#3 |
i suggest you report a bug
Revision history for this message
|
#4 |
by now, how i can fix it?
i can't install anything new. there is a way to remove and re install what goes wrong?
Revision history for this message
|
#5 |
I cannot understand why the people translate the terminal.. this is a general not specific.
Try these commands and post back full results. First turn the terminal to unlimited scrolling. Edit > Profile Preferences > Scrolling and tick the box "Unlimited". Close and reopen the terminal .
wget "http://
chmod +x fixpackage
sudo ./fixpackage
Regards
NikTh
Revision history for this message
|
#6 |
I don't translate the terminal. I'am italian and i set the Italian Language, sry.. i can try to change my language if it will be usefull.
However this is the output of the comand above:
root@zzari-
--2013-06-04 10:41:27-- http://
Risoluzione di ubuntuone.com (ubuntuone.com)... 91.189.89.205, 91.189.89.204
Connessione a ubuntuone.com (ubuntuone.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 1218 (1,2K) [application/
Salvataggio in: "/root/fixpackage"
100%[==
2013-06-04 10:41:28 (180 KB/s) - "/root/fixpackage" salvato [1218/1218]
root@zzari-
root@zzari-
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Linux zzari-laptop 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libgl1-mesa-glx : Depends: libglapi-mesa (= 8.0.4-0ubuntu0.2) but 8.0.4-0ubuntu0.5 is installed
libgl1-
E: Unmet dependencies. Try using -f.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Ign http://
Get:16 http://
Get:17 http://
Get:18 http://
Ign http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Ign http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Ign http://
Get:28 http://
Ign http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Ign http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Ign http://
Ign http://
Get:39 http://
Get:40 http://
Ign http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Ign http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Get:81 http://
Get:82 http://
Get:83 http://
Get:84 http://
Get:85 http://
Get:86 http://
Get:87 http://
Get:88 http://
Get:89 http://
Get:90 http://
Get:91 http://
Get:92 http://
Get:93 http://
Get:94 http://
Get:95 http://
Get:96 http://
Get:97 http://
Get:98 http://
Get:99 http://
Get:100 http://
Get:101 http://
Get:102 http://
Get:103 http://
Get:104 http://
Get:105 http://
Get:106 http://
Get:107 http://
Get:108 http://
Get:109 http://
Get:110 http://
Fetched 26.7 MB in 15s (1758 kB/s)
Reading package lists... Done
dpkg: error processing libgl1-mesa-glx (--configure):
libgl1-
dpkg: error processing libgl1-
libgl1-
dpkg: dependency problems prevent configuration of libqt4-opengl:
libqt4-opengl depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-mesa-glx is not configured yet.
Package libgl1 is not installed.
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt4-opengl:i386:
libqt4-opengl:i386 depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgl1-mesa-glx
libgl1-
libqt4-opengl
libqt4-opengl:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libgl1-mesa-glx
The following packages will be upgraded:
libgl1-mesa-glx
1 upgraded, 0 newly installed, 0 to remove and 239 not upgraded.
4 not fully installed or removed.
Need to get 104 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? n +++++++++++++++++++ I SAY NO, for now++++
Abort.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libgl1-mesa-glx : Depends: libglapi-mesa (= 8.0.4-0ubuntu0.2)
libgl1-
E: Unmet dependencies. Try using -f.
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:3 http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Get:4 http://
Ign http://
Ign http://
Hit http://
Ign http://
Fetched 5388 B in 2s (2460 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libgl1-mesa-glx : Depends: libglapi-mesa (= 8.0.4-0ubuntu0.2)
libgl1-
E: Unmet dependencies. Try using -f.
/etc/apt/
1 # See http://
2
3 # newer versions of the distribution.
4 deb http://
5 deb-src http://
6
7 ## Major bug fix updates produced after the final release of the
8 ## distribution.
9 deb http://
10 deb-src http://
11
12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
13 ## team. Also, please note that software in universe WILL NOT receive any
14 ## review or updates from the Ubuntu security team.
15 deb http://
16 deb-src http://
17 deb http://
18 deb-src http://
19
20 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
21 ## team, and may not be under a free licence. Please satisfy yourself as to
22 ## your rights to use the software. Also, please note that software in
23 ## multiverse WILL NOT receive any review or updates from the Ubuntu
24 ## security team.
25 deb http://
26 deb-src http://
27 deb http://
28 deb-src http://
29
30 ## N.B. software from this repository may not have been tested as
31 ## extensively as that contained in the main release, although it includes
32 ## newer versions of some applications which may provide useful features.
33 ## Also, please note that software in backports WILL NOT receive any review
34 ## or updates from the Ubuntu security team.
35 deb http://
36 deb-src http://
37
38 deb http://
39 deb-src http://
40 deb http://
41 deb-src http://
42 deb http://
43 deb-src http://
44
45 ## Uncomment the following two lines to add software from Canonical's
46 ## 'partner' repository.
47 ## This software is not part of Ubuntu, but is offered by Canonical and the
48 ## respective vendors as a service to Ubuntu users.
49 # deb http://
50 # deb-src http://
51
52 ## Uncomment the following two lines to add software from Ubuntu's
53 ## 'extras' repository.
54 ## This software is not part of Ubuntu, but is offered by third-party
55 ## developers who want to ship their latest software.
56 # deb http://
57 # deb-src http://
/etc/apt/
1 deb http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://
/etc/apt/
1 deb http://
/etc/apt/
1 deb http://
2 deb-src http://
/etc/apt/
1 deb http://
2 deb-src http://
Revision history for this message
|
#7 |
Your system is already broken. You must remove some software (that conficts) in order to fix this issue.
Try this
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude full-upgrade
HIT the Q button to Quit. Do not take any action, but post here the results.
Regards
NikTh
Revision history for this message
|
#8 |
Is there a command to translate the terminal?? i can't install anything new as you can say :(
zzari@zzari-
[sudo] password for zzari:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
È utile eseguire "apt-get -f install" per correggere questi problemi:
I seguenti pacchetti hanno dipendenze non soddisfatte:
aptitude : Dipende: libboost-
libgl1-mesa-glx : Dipende: libglapi-mesa (= 8.0.4-0ubuntu0.2)
libgl1-
E: Dipendenze non soddisfatte. Provare "apt-get -f install" senza pacchetti (o specificare una soluzione).
zzari@zzari-
sudo: aptitude: comando non trovato
zzari@zzari-
sudo: aptitude: comando non trovato
zzari@zzari-
Revision history for this message
|
#9 |
Try
LANG=C ; sudo apt-get remove libgl1-
DO NOT ANSWER Yes. Hit n (NO) and post back here the results.
Regards
NikTh
Revision history for this message
|
#10 |
I cannot answer NO, beacause it never asks me ;)
root@zzari-
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgl1-mesa-glx : Depends: libglapi-mesa (= 8.0.4-0ubuntu0.2)
libglu1-mesa:i386 : Depends: libgl1-
libqt4-opengl:i386 : Depends: libgl1-
libvisual-
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Revision history for this message
|
#11 |
Try
sudo apt-get install -f libgl1-mesa-glx libgl1-
and copy/paste the output into this question document
Revision history for this message
|
#12 |
here is the output... i Say YES, when it asks me...
zzari@zzari-
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-opengl is already the newest version.
libgl1-
libgl1-
libqt4-opengl:i386 is already the newest version.
libqt4-opengl:i386 set to manually installed.
The following packages will be upgraded:
libgl1-mesa-glx
1 upgraded, 0 newly installed, 0 to remove and 237 not upgraded.
4 not fully installed or removed.
Need to get 0 B/104 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: error processing libgl1-mesa-glx (--configure):
libgl1-
dpkg: error processing libgl1-
libgl1-
dpkg: dependency problems prevent configuration of libqt4-opengl:
libqt4-opengl depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-mesa-glx is not configured yet.
Package libgl1 is not installed.
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt4-opengl:i386:
libqt4-opengl:i386 depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgl1-mesa-glx
libgl1-
libqt4-opengl
libqt4-opengl:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
zzari@zzari-
Revision history for this message
|
#13 |
ok, did not work, then try:
sudo dpkg -i /var/cache/
sudo dpkg --configure -a
and copy/paste all outpu as done before.
Revision history for this message
|
#14 |
root@zzari-
dpkg: error processing /var/cache/
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/
root@zzari-
dpkg: error processing libgl1-mesa-glx (--configure):
libgl1-
dpkg: error processing libgl1-
libgl1-
dpkg: dependency problems prevent configuration of libqt4-opengl:
libqt4-opengl depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-mesa-glx is not configured yet.
Package libgl1 is not installed.
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt4-opengl:i386:
libqt4-opengl:i386 depends on libgl1-mesa-glx | libgl1; however:
Package libgl1-
Package libgl1-
Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libqt4-opengl:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgl1-mesa-glx
libgl1-
libqt4-opengl
libqt4-opengl:i386
Revision history for this message
|
#15 |
Seems there was an escape character too much in the command:
sudo dpkg -i /var/cache/
sudo dpkg --configure -a
and copy/paste all output as done before.
Revision history for this message
|
#16 |
root@zzari-
(Reading database ... 217682 files and directories currently installed.)
Preparing to replace libgl1-mesa-glx 8.0.4-0ubuntu0.2 (using .../libgl1-
Unpacking replacement libgl1-mesa-glx ...
Setting up libgl1-mesa-glx (8.0.4-0ubuntu0.5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@zzari-
Setting up libgl1-
Setting up libqt4-opengl (4:4.8.
Setting up libqt4-opengl:i386 (4:4.8.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Revision history for this message
|
#17 |
now seems to work!! thanks so much for the help everyone!!
Revision history for this message
|
#18 |
Please mark the answer #15 "This solved my question" for future-help-others with same problem.
Regards
NikTh
Revision history for this message
|
#19 |
there is no buttom on the answer #15... there is only in your (NikTh) answers.