-
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 DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW
$30.89

Samsung PM961 256GB,Internal (MZ-VLW2560) Solid State Drive
$102.00

QTY 100 Samsung Galaxy Tab Active 4 Pro 10.1” Case, Black
$500.00

Samsung XE303 C12 Chromebook 11.6 1.7GHz, 2GB Ram, 16GB SSD, working condition
$42.00

Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc
$27.99

Samsung JC95-01514A Cover-Side Roller T2 Compatible
$39.00

Samsung JC93-01078A Transfer Roller T2
$89.00

Samsung PC4-2666V 16GB 2Rx8 RAM DDR4 2666MHz M471A2K43CB1-CTD
$59.99

Samsung Book Cover Keyboard Slim EF-DT730 Black
$80.00

Samsung Galaxy Tab Active 3/ 64 gig/WIFI
$85.00