LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-28-2003, 12:07 AM   #1
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Debian Sid


I just installed a bare Woody, only the basic, and now want to upgrade it to Sid. I was following an article from Linux Journal online on how to do this, and after I apt-get dist-upgrade and all the Sid Files are downloaded I get this error message at the end, before it ask me for some configuration information.

Internal Error, could not perform immediate configuration(2) on libpam0g.

Then I'm dropped back to the command line prompt.

How can I fix this? Any suggestions what this error mean?

Thnx.
 
Old 06-28-2003, 04:30 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
dpkg --force-all --purge libpam-modules libpam-runtime libpam0g
apt-get install libpam0g libpam-modules libpam-runtime

Last edited by markus1982; 06-28-2003 at 04:31 AM.
 
Old 06-28-2003, 11:32 AM   #3
Salz
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Removing PAM does not really sound like a good solution. If something unexpected happenes during the upgrade, you won't be able to login anymore.

And indeed, it does not work this way. You probably want to look at
Code:
apt-get -u install libpam0g
and install all packages apt lists using dpkg:
Code:
cd /var/cache/apt/archives
dpkg --unpack libc6_2.3.1-17_i386.deb libdb1-compat_2.1.3-7_i386.deb ...
dpkg --configure --pending
Or simply wait until fixed versions of PAM are available in sid. Or try to upgrade to sarge first.

SID: "what do you want to break today"
 
Old 06-28-2003, 06:38 PM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx, those links fixed that problem. I just ran the dpkp -i libam0g & libpam-modules commands along with libdb3 something and it worked. But a new problem has come up.

After installing and configuring a new kernel, 2.4.21, everything seems to be fine until I did the reboot to check that the new kernel is working okay, but during boot up, I got this error message.

Checking root filesystem
fsck.ext2: No such file or directory while trying to open /dev/hda8, which is the root directory.
Superblock could not be read or does not describe correct ext2 filesystem.

Then it said to try running e2fsck command to fix the problem. I ran it but I still get the same error message. The filesystem is ext2 type.

Any ideas/suggestions? I hate to have to start over since I'm doing this on 56k dialup!
 
Old 06-29-2003, 03:17 AM   #5
Salz
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Hm, does the debian kernel use devfs on bootup? Do a ls /dev and see, if there's a hda8 inside or an ide/ directory. If you have an ide/ directory and no hda8 you need to install "devfsd" (you can do this with your old kernel).
 
Old 06-29-2003, 03:43 AM   #6
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
I will have to check it when I get home from work in the morning. But I did add devfs to the new kernel, I'm not sure if the old one used it or not.

If I want to make the change in the kernel, will I be able to do it when the error message appear about running e2fsck, it drops me to the commandline?

Thnx. I'll keep you informed of the situation.
 
Old 06-29-2003, 04:01 AM   #7
Salz
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Seems like you misunderstood me? I meant the package "devfsd". Especially since you have devfs in your kernel.
Best solution would be to boot your old kernel, run
Code:
apt-get install devfsd
and reboot with your new one.
 
Old 06-30-2003, 04:02 AM   #8
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Salz
Seems like you misunderstood me? I meant the package "devfsd". Especially since you have devfs in your kernel.
Best solution would be to boot your old kernel, run
Code:
apt-get install devfsd
and reboot with your new one.
Now the old one not booting either, it's giving the same error message.

I just may start over with this since I got a better feel for it.

Thnx for all the help!
 
Old 06-30-2003, 03:00 PM   #9
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Quote:
Removing PAM does not really sound like a good solution. If something unexpected happenes during the upgrade, you won't be able to login anymore.

And indeed, it does not work this way.
Well I have to admit you're right that this is not a good idea. However you can always boot with a Knoppix CD and mount the fs, chroot and do an upgrade ... so that should not be the problem.

It works the way I wrote it ... otherwise my box wouldn't work which I use all the time.
 
Old 06-30-2003, 11:08 PM   #10
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx for all the help. What I"m going to do is start over since I got a better idea of how it works!

Why is it giving me this error message early in the install process?

"Internal Error, could not perform immediate configuration(2) on libpam0g."

Thnx
 
Old 07-05-2003, 03:09 AM   #11
Abject
Member
 
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 76

Rep: Reputation: 15
Like Salz says - I wouldn't go full-on Sid. Go full-on Sarge (Testing) and upgrade things to Sid/Unstable as necessary
 
Old 07-06-2003, 09:35 PM   #12
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx for the reply but I'm already using Sid and so far its running great!

Just something for me to play around with.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Best way to install Debian Sid? wartstew Linux - Distributions 17 08-31-2008 11:25 PM
Installing Debian-Sid cjnodell Debian 6 06-14-2005 10:42 AM
ALSA in Debian Sid gamehack Debian 12 06-21-2004 03:49 PM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration