LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian Sid (https://www.linuxquestions.org/questions/debian-26/debian-sid-68594/)

BittaBrotha 06-28-2003 12:07 AM

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.

markus1982 06-28-2003 04:30 AM

dpkg --force-all --purge libpam-modules libpam-runtime libpam0g
apt-get install libpam0g libpam-modules libpam-runtime

Salz 06-28-2003 11:32 AM

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.

:study: SID: "what do you want to break today" :study:

BittaBrotha 06-28-2003 06:38 PM

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!

Salz 06-29-2003 03:17 AM

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).

BittaBrotha 06-29-2003 03:43 AM

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.

Salz 06-29-2003 04:01 AM

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.

BittaBrotha 06-30-2003 04:02 AM

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!

markus1982 06-30-2003 03:00 PM

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.

BittaBrotha 06-30-2003 11:08 PM

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

Abject 07-05-2003 03:09 AM

Like Salz says - I wouldn't go full-on Sid. Go full-on Sarge (Testing) and upgrade things to Sid/Unstable as necessary

BittaBrotha 07-06-2003 09:35 PM

Thnx for the reply but I'm already using Sid and so far its running great!

Just something for me to play around with.


All times are GMT -5. The time now is 04:41 AM.