-
Apt Get Problem
Did an Apt-Get update.
Then apt-get install j2re1.4 to install java.
All was well until my machine stopped responding. I was forced to do an ungraceful shutdown.
Below is the problem. HELP!
~~~~snip~~~~~~~~~~~~snip~~~~~~~~~~~~snip~~~~~~~~~~
qa1433@Juarez:~$ su
Password:
root@Juarez:/home/qa1433# apt-get install j2re1.4
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?
root@Juarez:/home/qa1433# apt-get install j2re1.4
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2re1.4 needs to be reinstalled, but I can't find an archive for it.
root@Juarez:/home/qa1433# apt-get install synaptic
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2re1.4 needs to be reinstalled, but I can't find an archive for it.
root@Juarez:/home/qa1433# apt-get install j2re1.4
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2re1.4 needs to be reinstalled, but I can't find an archive for it.
root@Juarez:/home/qa1433# apt-get update
Hit http://ftp.de.debian.org stable/main Sources
Hit http://ftp.de.debian.org stable/main Release
Hit http://ftp.de.debian.org stable/contrib Sources
Hit http://ftp.de.debian.org stable/contrib Release
Hit http://ftp.de.debian.org stable/non-free Sources
Hit http://ftp.de.debian.org stable/non-free Release
Hit http://ftp.de.debian.org stable/non-US/main Sources
Hit http://ftp.de.debian.org stable/non-US/main Release
Hit http://ftp.de.debian.org stable/non-US/contrib Sources
Hit http://ftp.de.debian.org stable/non-US/contrib Release
Hit http://ftp.de.debian.org stable/non-US/non-free Sources
Hit http://ftp.de.debian.org stable/non-US/non-free Release
Hit http://ftp.de.debian.org testing/main Packages
Hit http://ftp.de.debian.org testing/main Release
Hit http://ftp.de.debian.org testing/contrib Packages
Hit http://ftp.de.debian.org testing/contrib Release
Hit http://ftp.de.debian.org testing/non-free Packages
Hit http://ftp.de.debian.org testing/non-free Release
Hit http://ftp.de.debian.org testing/non-US/main Packages
Hit http://ftp.de.debian.org testing/non-US/main Release
Hit http://ftp.de.debian.org testing/non-US/contrib Packages
Hit http://ftp.de.debian.org testing/non-US/contrib Release
Hit http://ftp.de.debian.org testing/non-US/non-free Packages
Hit http://ftp.de.debian.org testing/non-US/non-free Release
Hit http://ftp.de.debian.org testing/main Sources
Hit http://ftp.de.debian.org testing/main Release
Hit http://ftp.de.debian.org testing/contrib Sources
Hit http://ftp.de.debian.org testing/contrib Release
Hit http://ftp.de.debian.org testing/non-free Sources
Hit http://ftp.de.debian.org testing/non-free Release
Hit http://ftp.de.debian.org testing/non-US/main Sources
Hit http://ftp.de.debian.org testing/non-US/main Release
Hit http://ftp.de.debian.org testing/non-US/contrib Sources
Hit http://ftp.de.debian.org testing/non-US/contrib Release
Hit http://ftp.de.debian.org testing/non-US/non-free Sources
Hit http://ftp.de.debian.org testing/non-US/non-free Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/main Release
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/contrib Release
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/non-free Release
Hit ftp://ftp.gwdg.de woody/main Packages
Get:1 ftp://ftp.gwdg.de woody/main Release
Ign ftp://ftp.gwdg.de woody/main Release
Hit ftp://ftp.gwdg.de woody/non-free Packages
Get:2 ftp://ftp.gwdg.de woody/non-free Release
Ign ftp://ftp.gwdg.de woody/non-free Release
Hit ftp://ftp.gwdg.de woody/main Sources
Get:3 ftp://ftp.gwdg.de woody/main Release
Ign ftp://ftp.gwdg.de woody/main Release
Hit ftp://ftp.gwdg.de woody/non-free Sources
Get:4 ftp://ftp.gwdg.de woody/non-free Release
Ign ftp://ftp.gwdg.de woody/non-free Release
Reading Package Lists... Done
Building Dependency Tree... Done
root@Juarez:/home/qa1433# apt-get install j2re1.4
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2re1.4 needs to be reinstalled, but I can't find an archive for it.
root@Juarez:/home/qa1433#
~~~~snip~~~~~~~~~~~~snip~~~~~~~~~~~~snip~~~~~~~~~
Thanks in advance for your help,
paul
-
Senior Member
registered user
You need to add a line to your /etc/apt/sources.list:
Code:
[02:17 AM Tue Apr 29: root @ /home/stephen]
># apt-cache policy j2re1.4
j2re1.4:
Installed: (none)
Candidate: 1.4.0.99beta-1
Version Table:
1.4.0.99beta-1 0
500 ftp://ftp.gwdg.de unstable/non-free Packages
-
Thanks Steve!
I tried what you said, but I proceeded into the valley of death.
Man I must have really broke my install. I ended up haveing to re-install.
I hate that
Oh well, try try again!
Again thnaks for your help!
paul
-
Senior Member
registered user
That's not good, anytime in the future before you install any software put the -s option in the line to simulate the install (apt-get -s install < package >) that way you can test what will happen during install and not install if it will cause problems.
You should not have had to re-install you could have just commented out the line in the sources.list and changed the j2re line in the package database to purge then update and upgrade or dist-upgrade with apt to get back where you were.
Similar Threads
-
By bongski55 in forum Hardware & Booting
Replies: 4
Last Post: 11-15-2003, 10:19 AM
-
By Triple Six in forum Hardware & Booting
Replies: 2
Last Post: 04-15-2003, 04:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

8W81F Dell PowerEdge R840 24x SFF 4x Xeon Gold 6252 H730P 2x 1100W PSU
$1100.00

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$248.00

Dell PowerEdge R740 E38S001 Server E38S
$660.00

DELL PowerEdge R730XD Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45
$653.00