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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-25-2010, 02:35 PM
|
#1
|
|
Member
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[45] {x86,x86_64}, Debian "testing" {x86,x86_64}
Posts: 219
Rep:
|
Failed dist-upgrade due to udev CONFIG_SYSFS_DEPRECATED nonsense
I was on Debian Lenny and needed to get to CUPS 1.4.2 or above which required an upgrade to Debian Squeeze. During the apt-get dist-upgrade, I ran into this snag:
Code:
Preparing to replace udev 0.125-7+lenny3 (using .../archives/udev_151-3_i386.deb) ...
Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!
dpkg: error processing /var/cache/apt/archives/udev_151-3_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
No matter what I tried, including trying to use various calls to aptitude, it refused to let me get past it. I even tried doing what it said to do by upgrading the kernel, but it still kept coming back with that error message.
I ended up giving in and just downloading the Debian 5.0.4 Network Install CD ISO's and reloading it from scratch. So, this post is to warn others that the Debian dist-upgrade from Lenny to Squeeze is broken by udev.
bg
|
|
|
|
04-25-2010, 02:42 PM
|
#2
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
As long as you first upgrade the kernel, boot into the newer one and run the upgrade and dist-upgrade after that it does work.
|
|
|
|
04-25-2010, 02:57 PM
|
#3
|
|
Member
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[45] {x86,x86_64}, Debian "testing" {x86,x86_64}
Posts: 219
Original Poster
Rep:
|
Quote:
Originally Posted by j1alu
As long as you first upgrade the kernel, boot into the newer one and run the upgrade and dist-upgrade after that it does work.
|
But that doesn't help much after the system gets into that bad state. No matter what I tried, neither apt-get nor aptitude would comply without stopping dead in its tracks with that same message indicating upgrading the kernel.
Now, granted, there might have been some combination of apt-get + dpkg + aptitude commands I could have issued, but hours of Googling only turned up "pastebins" for the error but no backreferences to any solutions.
But, just in case I encounter this upon the next attempt at a apt-get dist-upgrade, what is the apt-get command just to upgrade the kernel and that will fix that udev dependency problem?
bg
|
|
|
|
04-25-2010, 03:03 PM
|
#4
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
Yes, sure it ain't of help after that happened. It was just info for others.
I had that problem in vbox and it took me hours and hours and a lot of luck to get it sorted.
I can see your anger, a very annoying problem.
perhaps something like:
apt-get install linux-image-2.6-32-i386
I am not on Debian right now. Just do:
apt-cache search linux-image
and pick a higher one. The backports-kernel would work too.
Of course: as far i know.
|
|
|
|
04-25-2010, 03:07 PM
|
#5
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
PS:
Best might be to wait till forums.debian.net is up again. There are some threads and a short how-to about the problem.
|
|
|
|
04-25-2010, 04:09 PM
|
#6
|
|
Member
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[45] {x86,x86_64}, Debian "testing" {x86,x86_64}
Posts: 219
Original Poster
Rep:
|
Quote:
Originally Posted by j1alu
PS:
Best might be to wait till forums.debian.net is up again. There are some threads and a short how-to about the problem.
|
Good advice.
Actually, the Network installer for Debian is really messed up right now too ( http://www.linuxquestions.org/questi...29#post3947329 happened to me). This sort of nastiness is why I dumped Fedora for Debian. But now I am having to upgrade because CUPS 1.4.2+ is what I need for a new printer.
bg
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:19 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
|
|