Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
errr nope didn't work. This has to do with how diff works I think.
All over the file, every now and then there's a line with only one '.', followed by a line with a number and a letter.
Let's take some lines in the middle of p2install :
Back again, feeling a bit silly. You have the two files, original.txt and packages.txt right? Which are in the same format, containing a package name on each line.
We only need to know the difference between the two files, so I found this command in the Linux Power Tools and would like you to run this.
comm -13 original.txt packages.txt > p2install.txt
This command compares the two files (who are both in alfabetical order) and normally show three columns, the first one listing what original.txt has in particular, the second one what packages.txt has in particular and the third one what they both have in their list. By giving the option -13 we're suppressing the first and the third column and only listing what's particular in packages.txt, thus knowing what packages need to be installed.
I hope this makes sense. Can you run that command and let me know what the output is?
Good, then now you'll have to go through that list and delete the packages you don't want (the ones that caused your initial problem). I don't remember what it was, but it had something to do with pam if I remember correct.
You'll have to delete those ones you don't want because the next command I'm asking you to run will go through that list and install all the listed packages without asking for confirmation.
A lot of those packages are libraries to software or language files also, like the once you indicated for openoffice. I can give you the command to install everything that's in that file but I'm afraid that it'll cause the same problem you had before with the authentication. That's why I ask you to go through the list. Whenever you have a doubt you can post it here. If you don't know what a package is for, you can ask Google and you'll know instantly for what it's needed. Also if you install things that are not needed, they're easily removed later one.
My main concern is that you need to delete the packages that caused your initial problem, the one that got your trouble started, the one that 'killed' your authentication procedure. I'm just trying to avoid that you get thrown into a vicious circle.
I'm on the phone right now, but in a while I'll look through your posts to see if I can find it.
I just went through your post in regards to the previous problem you had. It was the Linux-PAM-0.77 package you compiled from source, you didn't install it using the package manager. So, I'm going to assume it will not be in the list. Can you run through the p2install.txt file to see if there is something mentioning Linux-PAM and post here?