-
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

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00

SAMSUNG 32GB PC4-25600R DDR4-3200 2RX4 RDIMM SERVER MEMORY M393A4K40EB3-CWE
$304.99

Dell 16GB PC4-21300 (DDR4-2666) ECC server Memory SNPPWR5TC/16G
$129.99

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

SK Hynix HMCG94MEBRA109N AA 64GB 2Rx4 PC5-38400 4800E DDR5 SDRAM Server Memory
$2000.00

NEMIX RAM 128GB (8x16GB) DDR4 2400MHz PC4-19200 2Rx8 ECC RDIMM Server Memory Kit
$600.00

Lot of 8x 32GB PC4-2133P-LD0-10 RAM Memory
$900.00

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00

MICRON MTA36ASF4G72PZ-2G6E1 | 32GB PC4-2666V ECC RDIMM Server RAM
$184.95