Løsning 2 vedr. Java fra forum artikel stopper midt i det he

Få hjælp til at sætte programmer eller funktioner op.
mbjornbak
Indlæg: 382
Tilmeldt: 23. jan 2010, 18:49
IRC nickname: mbh
Geografisk sted: København

Løsning 2 vedr. Java fra forum artikel stopper midt i det he

Indlæg af mbjornbak »

Løsning 2 vedr. Java fra forum artikel stopper midt i det hele

Jeg indsætter , hvad terminalen viser-- men kun de sidste 12 linjer før processen stopper

Kode: Vælg alt

Location: http://download.java.net/jdk8/archive/b111/binaries/jdk-8-ea-bin-b111-linux-i586-10_oct_2013.tar.gz?q=download/jdk8/archive/b111/binaries/jdk-8-ea-bin-b111-linux-i586-10_oct_2013.tar.gz [following]

--2013-10-29 19:50:47-- http://download.java.net/jdk8/archive/b111/binaries/jdk-8-ea-bin-b111-linux-i586-10_oct_2013.tar.gz?q=download/jdk8/archive/b111/binaries/jdk-8-ea-bin-b111-linux-i586-10_oct_2013.tar.gz

Resolving download.java.net (download.java.net)... 137.254.120.26

Connecting to download.java.net (download.java.net)|137.254.120.26|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 115626527 (110M) [application/gzip]

Saving to: `jdk-8-ea-bin-b111-linux-i586-10_oct_2013.tar.gz'

0K ......

Når jeg prøver at lukke terminalvinduet kommer et vindue frem og fortæller, at der fortsat kører en proces.

HVAD KAN/BØR JEG GØRE?

Mbjornbak

Jeg prøvede så igen efter en rum tid. Her er ouput:

Kode: Vælg alt

mogens@mogens-Aspire-T180:~$ sudo dpkg --configure -a ; sudo apt-get purge -y openjdk-6-jre ; sudo apt-get purge -y openjdk-6-jre-lib ; sudo apt-get purge -y openjdk-6-doc ; sudo apt-get purge -y openjdk-7-jre ; sudo apt-get purge -y openjdk-7-jre-lib ; sudo apt-get purge -y openjdk-7-doc ; sudo apt-get purge -y sun-java6-jdk ; sudo apt-get purge -y sun-java6-bin ; sudo apt-get purge -y sun-java6-fonts ; sudo apt-get purge -y sun-java6-jre ; sudo apt-get purge -y sun-java6-plugin ; sudo apt-get purge -y sun-java7-jdk ; sudo apt-get purge -y sun-java7-bin ; sudo apt-get purge -y sun-java7-fonts ; sudo apt-get purge -y sun-java7-jre ; sudo apt-get purge -y sun-java7-plugin ; sudo apt-get purge -y icedtea-plugin ; sudo apt-get purge -y icedtea-7-plugin ; sudo apt-get purge -y oracle-java7-installer ; sudo apt-get purge -y oracle-java8-installer ; sudo apt-get autoremove ; sudo apt-get update -y ; sudo add-apt-repository ppa:webupd8team/java ; sudo apt-get update ; sudo apt-get install oracle-java8-installer

[sudo] password for mogens:

dpkg: error: dpkg status database is locked by another process

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)

E: Unable to lock directory /var/lib/apt/lists/

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

You are about to add the following PPA to your system:

Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK6 / JDK7 / JDK8). There are no actual Java files in this PPA. More info: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

Debian installation instructions: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html

More info: https://launchpad.net/~webupd8team/+archive/java

Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpDFPSlj/secring.gpg' created

gpg: keyring `/tmp/tmpDFPSlj/pubring.gpg' created

gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com

gpg: /tmp/tmpDFPSlj/trustdb.gpg: trustdb created

gpg: key EEA14886: public key "Launchpad VLC" imported

gpg: Total number processed: 1

gpg: imported: 1 (RSA: 1)

OK

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)

E: Unable to lock directory /var/lib/apt/lists/

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

mogens@mogens-Aspire-T180:~$
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Løsning 2 vedr. Java fra forum artikel stopper midt i de

Indlæg af Christian.Arvai »

Hej

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Er en fejl som opstår hvis at, man forsøger med flere installationer samtidigt, evt. at den første ikke er lukket korrekt, inden at man startede på nummer to (det kan være svært at se enkelte gange). Prøv at genstarte maskinen, og kør den samme kommando igen.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
mbjornbak
Indlæg: 382
Tilmeldt: 23. jan 2010, 18:49
IRC nickname: mbh
Geografisk sted: København

Re: Løsning 2 vedr. Java fra forum artikel stopper midt i de

Indlæg af mbjornbak »

Mange tak.
Jeg prøver at gøre, som du anviser og melder tilbage om, hvad der sker. Jeg går ud fra, at du mener--- køre kommandoen= løsning nr. 2 fra artiklen om understøttelse af Java?
mvh
mbjornbak
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Løsning 2 vedr. Java fra forum artikel stopper midt i de

Indlæg af Christian.Arvai »

:Ja. Og når at den henter filen( dette vises som: ...... ....... ....... i terminalen) skal du bare lade maskinen være. Det kan nogle gange godt tage lidt tid at downloade filerne, så det er ret normalt.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
mbjornbak
Indlæg: 382
Tilmeldt: 23. jan 2010, 18:49
IRC nickname: mbh
Geografisk sted: København

Re: Løsning 2 vedr. Java fra forum artikel stopper midt i de

Indlæg af mbjornbak »

Tak; du havde ret. Jeg lod PC'en stå i flere timer for at arbejdet i terminalen kunne gøres færdig på behørig vis. Det lykkedes. Mit gæt er, at det gik galt første gang pgra en sløv/stoppet forbindelse til internettet.
mbjornbak
Brugeravatar
Kurt Christensen
Indlæg: 2246
Tilmeldt: 12. feb 2011, 13:22
IRC nickname: How to be me

Re: Løsning 2 vedr. Java fra forum artikel stopper midt i de

Indlæg af Kurt Christensen »

mbjornbak skrev:Tak; du havde ret. Jeg lod PC'en stå i flere timer for at arbejdet i terminalen kunne gøres færdig på behørig vis. Det lykkedes. Mit gæt er, at det gik galt første gang pgra en sløv/stoppet forbindelse til internettet.
mbjornbak

Nej det går langsomt hver gang jeg installere java og de der ...... kommer frem, jeg håber ikke den tømmer min pc for info mens den er der der? Andre store filer jeg henter fra mobilnettet, selv styresystemer går væsentlig hurtigere.
Når lejligheden byder sig.