UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was installing the java runtime environment through adept manager, and it was 30% through the installation process when it stopped, and remained at 30% for 6 hours. In an effort to fix it, i clicked "show details" and discovered that it was waiting for user input, i tried a bunch of different things to ultimately say "ok", but whatever i did ended up botching the install.
I figured.. "ok, no big deal, I'll just restart and re-install", but this was not to be, now whenever i open adept manager, i get the following error:
"You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one"
I restarted a dozen times, tried to find some sort of process manager, but came up empty handed. I went into the system services thingy and started the killproc service, this restarted my computer but did not fix the adept manager. My only guess (now bare in mind i'm a windows guru, but still learning linux), is that something is running in the background, constantly trying to install jre, and waiting on input, but i just have no way of seeing it. Or one of the 10-ish packages comprising the jre was only partially installed, which somehow made the oem java stop working, which is somehow affecting adept manager.
My install still performs every other function as it should, but as of right now i can't install anything (unless i compile from source, which is fine, but large packages with 80 library dependencies could take a week to collect and install individually). does anyone know of a way to fix this??
Yep, you can't install the Java packages with Adept, you'll have to do it from Konsole.
First you need to make sure Adept hasn't locked the database
Code:
sudo fuser -vik /var/lib/dpkg/lock
If it is, then kill the process using it. Then you need to start where Adept left off
Code:
sudo dpkg --configure -a
You'll be able to accept the licence there. After you have don't that other Java packages shouldn't ask you to accept the licence, but just in case I always use Konsole to install it
Thanks for asking and answering the questions. I subsequently ran into another problem, where I couldn't figure out how to accept the Java license. Just in case it will help any other folks out there, here's how: tab to highlight "OK" and then press Enter. I could kick myself now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.