Debian This forum is for the discussion of Debian 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-28-2003, 01:07 AM
|
#1
|
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:
|
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.
|
|
|
06-28-2003, 05:30 AM
|
#2
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
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 05:31 AM.
|
|
|
06-28-2003, 12:32 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Distribution: Debian
Posts: 23
Rep:
|
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"
|
|
|
06-28-2003, 07:38 PM
|
#4
|
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:
|
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!
|
|
|
06-29-2003, 04:17 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Distribution: Debian
Posts: 23
Rep:
|
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).
|
|
|
06-29-2003, 04:43 AM
|
#6
|
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:
|
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.
|
|
|
06-29-2003, 05:01 AM
|
#7
|
LQ Newbie
Registered: Jun 2003
Distribution: Debian
Posts: 23
Rep:
|
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.
|
|
|
06-30-2003, 05:02 AM
|
#8
|
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:
|
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!
|
|
|
06-30-2003, 04:00 PM
|
#9
|
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467
Rep:
|
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.
|
|
|
07-01-2003, 12:08 AM
|
#10
|
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:
|
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
|
|
|
07-05-2003, 04:09 AM
|
#11
|
Member
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 76
Rep:
|
Like Salz says - I wouldn't go full-on Sid. Go full-on Sarge (Testing) and upgrade things to Sid/Unstable as necessary
|
|
|
07-06-2003, 10:35 PM
|
#12
|
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:
|
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:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|