apt-get -f install hang on terminal EULA of SUN JEE

Bug #829692 reported by Odoardo Maria Calamai
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the sun-java6-bin package. This might mean you need to manually fix this package.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 659438, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Odoardo Maria Calamai (odoardo-calamai) wrote :

Thank Daniel but I think that the bug is not the same, because apt process " sudo apt-get install sun-java6-jdk " does not terminate for the unresponsive EULA of sun-java6-jdk locking the terminal. The only way to reuse terminal is to close it and reopen, but the processes that try to update Java Jre don't terminate (see last part of apt-history.log:
" Start-Date: 2011-08-18 09:02:05
Install: git-man:i386 (1.7.4.1-3, automatic), liberror-perl:i386 (0.17-1, automatic), git:i386 (1.7.4.1-3, automatic), giggle:i386 (0.5-1.1), git-core:i386 (1.7.4.1-3, automatic)
End-Date: 2011-08-18 09:02:16

Start-Date: 2011-08-18 09:02:49
Install: gitg:i386 (0.0.6-3)
End-Date: 2011-08-18 09:02:58

Start-Date: 2011-08-18 09:03:46
Install: qgit:i386 (2.3-1ubuntu2), stgit:i386 (0.15-1, automatic)
End-Date: 2011-08-18 09:03:52

Start-Date: 2011-08-18 12:18:15
Commandline: apt-get install sun-java6-jdk
Install: sun-java6-bin:i386 (6.26-1natty1, automatic), unixodbc:i386 (2.2.14p2-2ubuntu1, automatic), sun-java6-jdk:i386 (6.26-1natty1), sun-java6-jre:i386 (6.26-1natty1, automatic), gsfonts-x11:i386 (0.21, automatic)

Start-Date: 2011-08-19 18:12:47
Commandline: apt-get -f install
Install: sun-java6-bin:i386 (6.26-1natty1, automatic), unixodbc:i386 (2.2.14p2-2ubuntu1, automatic), gsfonts-x11:i386 (0.21, automatic)
Upgrade: sun-java6-jre:i386 (6.26-1natty1, 6.26-1natty1)

Start-Date: 2011-08-19 18:31:51
Commandline: apt-get -f install
Upgrade: sun-java6-bin:i386 (6.26-1natty1, 6.26-1natty1), sun-java6-jre:i386 (6.26-1natty1, 6.26-1natty1)

Start-Date: 2011-08-20 07:01:21
Commandline: apt-get install mc
Install: mc:i386 (4.7.0.9-1)
Upgrade: sun-java6-bin:i386 (6.26-1natty1, 6.26-1natty1), sun-java6-jre:i386 (6.26-1natty1, 6.26-1natty1) "

and opening a new terminal without reboot the system give the following results:

" samsung@ubuntu:~$ sudo apt-get install mc
[sudo] password for samsung:
E: Impossibile impostare il blocco /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Impossibile acquisire il blocco sulla directory di amministrazione (/var/lib/dpkg/). Un altro processo potrebbe tenerla occupata.
samsung@ubuntu:~$ sudo dpkg --configure -a
dpkg: error: dpkg status database is locked by another process
samsung@ubuntu:~$ mc
The program 'mc' is currently not installed. You can install it by typing:
sudo apt-get install mc
samsung@ubuntu:~$ ls
Documenti Immagini Scaricati workspace
Documents Modelli Scrivania workspace_eclipse
examples.desktop Musica Untitled Document 2 ws_eclipse
hs_err_pid1601.log Pubblici Video
samsung@ubuntu:~$ gedit hs_err_pid1601.log "

Revision history for this message
Odoardo Maria Calamai (odoardo-calamai) wrote :

The log of dpkg

Revision history for this message
Odoardo Maria Calamai (odoardo-calamai) wrote :

Hi Daniel
any package I try to install, ever happen like this:
" samsung@ubuntu:~$ sudo apt-get install mc
[sudo] password for samsung:
E: dpkg è stato interrotto. È necessario eseguire "sudo dpkg --configure -a" per correggere il problema.
samsung@ubuntu:~$ dpkg --configure -a
dpkg: error: l'operazione richiesta necessita dei privilegi di super-utente
samsung@ubuntu:~$ sudo dpkg --configure -a
samsung@ubuntu:~$ sudo apt-get install mc
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  linux-headers-2.6.38-8 linux-headers-2.6.38-8-generic
Usare "apt-get autoremove" per rimuoverli.
I seguenti pacchetti saranno inoltre installati:
  sun-java6-bin sun-java6-jre
Pacchetti suggeriti:
  links w3m lynx arj dbview odt2txt gv catdvi djvulibre-bin python-boto
  sun-java6-plugin ia32-sun-java6-plugin sun-java6-fonts ttf-kochi-gothic
  ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
Pacchetti raccomandati:
  gsfonts-x11
I seguenti pacchetti NUOVI saranno installati:
  mc
I seguenti pacchetti saranno aggiornati:
  sun-java6-bin sun-java6-jre
2 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
2 non completamente installati o rimossi.
È necessario scaricare 0 B/38,7 MB di archivi.
Dopo quest'operazione, verranno occupati 111 MB di spazio su disco.
Continuare [S/n]? ".

if I answhere S (Yes), the process continue and when it try to upgrade sun-java6-jdk, appear the sun EULA asking for OK that I can't give.
See the screenshot attached.
P.S. If you need that I translate from italian to english, let me to know

Revision history for this message
Odoardo Maria Calamai (odoardo-calamai) wrote : Re: [Bug 829692] Re: apt-get -f install hang on terminal EULA of SUN JEE

Dear Daniel
I am shure that this isn't a duplicate like you think,
because the EULA of sun request for ok to continue but its impossible to
give response at it on the terminal.
I send a screenshot of the EULA on the terminal

Best regard
O. m: Calamai

On sab, 2011-08-20 at 05:24 +0000, Daniel van Vugt wrote:
> *** This bug is a duplicate of bug 659438 ***
> https://bugs.launchpad.net/bugs/659438
>
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. This particular bug has already been reported and is a
> duplicate of bug 659438, so it is being marked as such. Please look at
> the other bug report to see if there is any missing information that you
> can provide, or to see if there is a workaround for the bug.
> Additionally, any further discussion regarding the bug should occur in
> the other report. Feel free to continue to report any other bugs you may
> find.
>
> ** This bug has been marked a duplicate of bug 659438
> Installation/Removal fails because of package which could not be located (failure in apt.Cache.required_download)
>

Revision history for this message
Odoardo Maria Calamai (odoardo-calamai) wrote :

Hi people
I have update sun-giava6-jre with System Setting and Control Center > Group "System" > Update Manager .
Update Manager find 20 application at update-upgrade and allowed me to check EULA for java6.
Now all run fine

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.