Trouble with add/remove programs
I tried to use 'Add/Remove Programs' to install Java JRE as per these instructions:
https://jdk-distros.dev.java.net/ubuntu.html But the process hung at the 'EULA'(Boo, Hiss...) prompt so I had to kill it. I tried to restart 'Add/Remove Programs to try agian but I am getting this error message: Code:
ps -ef | grep adept Code:
ps -ef |grep apt I also find that when I try to use Adept Package Manager I get the message: Quote:
BTW, I also posted this in ubuntuforums.org. I hope that that is not a breach of etiquite; I'm sure that if it is someone will let me know :) |
Starting with Dapper, Sun Java is now in the repositories ("j2sdk1.5-sun" or "sun-java5-jre"). Use Synaptic or APT to install it.
Please come back if the are additional issues. - I'm already through most of them. ;) Quote:
|
Thanks for the ideas.
I deleted the file just as you said; howerver, I am still having an issue. I delete the file and then I try to start the Package Manager but I just get that KDE 'bouncing ball' for a minute and then nothing. I then try and start it again and this time I get a password prompt but get the same 'database locked' message and when I check the 'lock' file returns and I am right back to where I started. |
OK, it's clear why the "locked message" appears.
But why is the package manager not starting? Quote:
- The screenshots in your link are taken from Ubuntu/GNOME, while you should be on Kubuntu/KDE. Your graphical package manager should be Adept. - You might try running Code:
sudo adept You can always use the command line ("apt-get") to install software, without ever using a graphical package manager, but I think this issue should be solved. |
I try to start the Package Manager from the K Menu > System > Adept Package Manager and that is where I just get the KDE 'bouncing ball' and then nothing. I tried what you said and opened it by:
Code:
sudo adept |
When you edit this menu item, you'll find the underlying command is "kdesu adept". You could type this into a terminal, and look at the output.
When I do this, I get some (cryptic to me) warnings (too) (and adept will start OK). Maybe you're lucky and get some console output that includes a pointer to the base error. |
Suddenly everything started working OK again. Must have been the Kubuntu autofixanything applet that I downloaded... :)
|
Solution
I just ran into this problem and found an apparent cause and solution. Apparently Sun changed the download URL of their J2RE documentation from what adept and apt-get usually use to this: (http s: //sdlc4b.sun. com:443/ECom/EComActionServlet;jsessionid=B99022DA1BEB3B60657F56F476570243). If you download this and copy it to your /tmp folder (don't bother unzipping it) [dpkg --configure -a] to finish up the installation.
Thank you to _Dave_ from the thread http :// www .ubuntuforums. org/showthread.php?t=235016 for providing this fix. |
Quote:
I get the same error message. I've tried deleting the lock file in /var/lib/dpkg But even when i try sudo adept the lock file reappears. Do you have any sugestions? Thanks. |
Try the solution I posted in the post previous yours. It will allow the adept manager to find the missing files and finsih up the installation. It should then automatically delete the lock file for you.
|
Okay, I got that trick to work for the java-docs.
Installing the jdk and jre still isn't working. Are there any tricks for that? Thanks. |
Same type of problem with PostgreSQL
I had the same type of problem but while installing postgreSQL using adept. I made my configuration requests, clicked "Apply Changes", walked away, and when I came back an hour later it said something to the effect that it couldn't connect to the download server.
I reran adept, cursed, rebooted, reran adept, cursed some more (felt like Windows) but always the "Read Only Mode, Database Locked You will not be able to change your system settings..." message. Finally found this thread and tried to delete the /var/lib/dpkg/lock as suggested. Still no luck. Finally decided to try the apt-get command as root. Specifically: 'apt-get check'. It's reply was "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." Running 'dpkg --configure -a' completed the interrupted install of postgreSQL and all is happy again with adept. Hope this helps |
Thanks for the suggestion.
That's the trick that helped me get the java-docs package working. I'm still trying to install the jdk. My understanding is that Sun changed the address of the neccessary files, so I can't fully download it through adept, or even apt-get. Does anyone know where I can find the jdk installion files so that I can trick dpkg and apt into installing them? Thanks. |
Edit the sources.list, i.e., by:
Quote:
Update apt by: Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 12:30 PM. |