Squeeze to Wheezy Install Froze
She was humming along for a couple of hours then I noticed the emulator sat here for a long time.
Code:
root@lenny:/# dpkg --configure linux-headers-3.2.0-4-686-pae then run "dpkg --configure -a" And this is as much as I get out of her. She freezes configuring these headers every time. This is from my dpkg.log. As you can see I have a lot of half configured packages but this header file seems to be stopping the show. If I can get it out of the way I think I can do some manual installs to get my system running. Quote:
|
Can you tell us what command you used to do the upgrade? The one that had your system "humming along for a couple of hours". In your post you only describe a dpkg command.
jdk |
Sorry, yes, I was following the instructions here http://www.debian.org/releases/stabl...en.html#backup which had these steps
mount -o remount,rw / script -t 2>~/upgrade-wheezystep.time -a ~/upgrade-wheezystep.script apt-get update apt-get -o APT::Get::Trivial-Only=true dist-upgrade apt-get dist-upgrade Now, I found I could hit cntrl +c immediately after dpkg --configure -a and the process seems to proceed with these errors. From what I can see I have a version mismatch which is causing the headers not to install but I have no idea how to remedy this??? Quote:
|
post output of
Quote:
|
You've lost me there. I am sooooooooo happy I use testing.
Code:
sudo aptitude update jdk |
Are you mixng rpm's with .debs?
Quote:
|
Quote:
This is my source list. Code:
# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 NETINST Binary-1 20111008-19:55]/ squeeze main The problem is I can't upgrade the kernel no matter what I try. Both linux-image-3.2.0-4-686-pae and linux-image-686-pae freeze trying to generate /boot/vmlinuz-3.2.0-4-686-pae. The file is there but since it freezes generating that file it never makes the initrd.img nor does it update grub. I've been at this over 12 hours and am convinced the linux gods hate me because I can never do anything and have it work "out of the box". I always end up frustrated, stressed and googling until my fingers hurt. I'm supposed to be at work in 2 hours so I guess I should try and get 1 hour sleep. Man is this Linux tough to get working. It's great once you get it going but a nightmare to install/configure etc... |
I went to install all the dependencies one by one and I think I found the problem. Looks like initramfs-tools isn't installing correctly but I have no idea what to do about the missing destination file.
Quote:
|
I decided to hook a monitor and keyboard to the box and reinstall from scratch. This update went very badly but I followed the instructions to the letter. My only thought is the backports must have put an unknown in the mix???
|
This is crazy, I've done two fresh wheezy installs from scratch and I consistently end up with this same error. One was a netinstall and the other was from DVD.
I can clear the error by killing the PID for dpkg "ps -A | grep dpkg" then repeating the process and killing the PID for apt. I then go into /var/lib/dpkg/status, searching for half-configured I change the status on that package (linux-headers-3.2.0-4-686-pae) from "install ok half-configured" to "install ok installed" Then I clear the locked files: Quote:
That was until now, today I get a message in webmin saying I had 10 pages to upgrade. The list is below. Since allowing this update, I repeat my lengthy process but it doesn't clear the error. After repeating my usual process this is what I get running "apt-get install -f" Code:
root@lenny:~# apt-get install -f Quote:
|
I found this command and got the package to uninstall dpkg --force all --remove linux-headers-3.2.0-4-686-pae
However, I get the same error when I install it again. This really sucks, there must be something wrong with that package or I have a dependency problem. I can't figure it out either way... |
All the header files give me this same error. There are the files that will not install.
linux-headers-3.2.0-4-common linux-headers-686-pae linux-headers-3.2.0-4-686-pae |
Try this command with no additions as root;
[code] apt-get -f install [code] Post all output if it fails. |
Quote:
It gets to this line and just stops. The best I can tell it has something to do with DKMS file in /etc/kernel/header_postinst.d/dkms Here are lines 8 thru 15 of the DKMS file Code:
_get_kernel_dir() { Code:
root@lenny:/etc/kernel/header_postinst.d# apt-get -f install |
This is weird. The only thing I can think of is to purge the linux headers packages with the following command:
Code:
apt-get purge linux-headers-3.2.0-4-common linux-headers-686-pae linux-headers-3.2.0-4-686-pae Code:
dpkg --debug=2 -i /var/cache/apt/archives/linux-headers-3.2.0-4-common_3.2.41-2+deb7u2_i386.deb BTW, could you copy here the following file?: /var/lib/dpkg/info/linux-headers-3.2.0-4-686-pae.postinst. Just curious, since one of the errors you had said it failed to process line 12 of that script. edit: I almost forgot, what is the output of uname -a on that machine? |
All times are GMT -5. The time now is 06:48 AM. |