Go Back   Hardware Forums > Software Support Forums > Linux and Other OSes

Reply
 
LinkBack Thread Tools
Old 06-04-2008, 06:58 AM   #1 (permalink) Top
Moderator
 
Fred's Avatar
 
Join Date: Jun 2004
Age: 23 Male
Posts: 659
Times Helpful: 37
Status: Offline

My Computer

Default Debian Lenny broke - long

Well, to start, I haven't updated my packages recently. I decided to go ahead and
Code:
aptitude update && aptitude upgrade
For god knows what reason, the system hangs unpacking or installing tzdata. It says "No userspace suspend support in kernel" and in the same message says "current kernel doesn't support userspace software suspend. Recompile kernel with CONFIG_SOFTWARE_SUSPEND = y" And for the record, I am running kernel 2.6.23.17.hwf.core2.01

For some reason, during this upgrade, swiftfox and opera have both stopped working. Furthermore, upon rebooting I cannot log into my account. I go to bash and try to log in. Logging in works, but I get some errors.
Code:
bash: id: command not found
bash: [: : integer expression expected
bash: dircolors: command not found
Same error if I log in as root. After logging in as root, if I issue
Code:
aptitude full-upgrade
it tells me it is unable to locate the linux-headers-2.6. etc. When I try to download and reinstall the kernel image and headers
Code:
dpkg -i *.deb
it gives ldconfig, start-stop-daemon, install-info, update-rc.d were not found on path.

I know this is long but dang man. Any ideas? Am I basically screwed. Thank god for NFS fileserver.

Send a message via AIM to Fred   Reply With Quote
Whats this? Microsoft Wireless Optical Desktop 3000
Microsoft Wireless Optical Desktop 3000
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
Tekheads.co.uk £21.73 £4.95 £26.68 In Stock Rated: 3 out of 5 - Number of votes: 310
inkcartridgedirect.org.uk £69.99 £4.99 £74.98 In Stock Rated: 1 out of 5 - Number of votes: 1
Microwarehouse.co.uk £74.91 £5.88 £80.79 In Stock Rated: 0 out of 5 - Number of votes:
Old 06-04-2008, 07:26 AM   #2 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,880
Times Helpful: 535
Status: Offline

My Computer

Quote:
Originally Posted by Fred View Post
Well, to start, I haven't updated my packages recently.
Just friendly FYI, but you're running Debian Testing; you should always keep your packages up to date.
Quote:
Originally Posted by Fred View Post
Code:
aptitude update && aptitude upgrade
aptitude upgrade is depreciated in Sid/Lenny, use
Code:
aptitude full-upgrade
# or
aptitude safe-upgrade
Depending on what you're trying to accomplish.

Quote:
Originally Posted by Fred View Post
For god knows what reason, the system hangs unpacking or installing tzdata. It says "No userspace suspend support in kernel" and in the same message says "current kernel doesn't support userspace software suspend. Recompile kernel with CONFIG_SOFTWARE_SUSPEND = y" And for the record, I am running kernel 2.6.23.17.hwf.core2.01
Having software suspend not compiled in isn't a problem; that's only an informational message. The software suspend and ACPI settings in 2.6.23.17.hwf.core2.01 are straight from the official Debian kernel configs: Debian Official Kernel Configurations

The message you received is normal, but you should have been able to "OK" your way out of it and proceed. Did you panic and cancel the upgrade with a Ctrl+C or something?

Quote:
Originally Posted by Fred View Post
For some reason, during this upgrade, swiftfox and opera have both stopped working. Furthermore, upon rebooting I cannot log into my account. I go to bash and try to log in. Logging in works, but I get some errors.
Code:
bash: id: command not found
bash: [: : integer expression expected
bash: dircolors: command not found
Sounds like you stopped mid-upgrade and left some major components unconfigured...

Quote:
Originally Posted by Fred View Post
Same error if I log in as root. After logging in as root, if I issue
Code:
aptitude full-upgrade
it tells me it is unable to locate the linux-headers-2.6. etc. When I try to download and reinstall the kernel image and headers
Code:
dpkg -i *.deb
it gives ldconfig, start-stop-daemon, install-info, update-rc.d were not found on path.
Hate to be harsh, but consider this as a lesson learned. If you're going to run a testing version of Debian, don't stop apt/aptitude mid-upgrade. Major things get upgraded during updates on testing builds, like glibc... If you leave them unconfigured, you have a very broken system.
Quote:
Originally Posted by Fred View Post
I know this is long but dang man. Any ideas? Am I basically screwed. Thank god for NFS fileserver.
I'd have to know more about exactly what is broken to know how to fix it, but probably it'll involve a lot of manual installation and configuration. Most likely, you will be able to recover it just fine though, as long as you don't panic and do anything rash.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 06-04-2008, 03:10 PM   #3 (permalink) Top
Moderator
 
Fred's Avatar
 
Join Date: Jun 2004
Age: 23 Male
Posts: 659
Times Helpful: 37
Status: Offline

My Computer

Quote:
Originally Posted by Anti-trend
The message you received is normal, but you should have been able to "OK" your way out of it and proceed. Did you panic and cancel the upgrade with a Ctrl+C or something?
Actually, after that message appears, the upgrade automatically stops. I didn't have the opportunity even if i had wanted to.
Quote:
Originally Posted by Anti-trend
I'd have to know more about exactly what is broken to know how to fix it, but probably it'll involve a lot of manual installation and configuration. Most likely, you will be able to recover it just fine though, as long as you don't panic and do anything rash.
Well is there anything I can do to let you know what I'm missing? My guess would be everything important

Any FYI, anytime I try to use apt-get/aptitude install package it says
Code:
The package linux-headers-my version needs to be reinstalled, but I can't find an archive for it.

*update* I was looking through the commands I used yesterday and realized that I used aptitude dist-upgrade (wtf) yesterday instead of aptitude upgrade. :-( So I dunno about you, AT, but I'm thinking that broke it.
Send a message via AIM to Fred   Reply With Quote
Old 06-04-2008, 03:45 PM   #4 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,880
Times Helpful: 535
Status: Offline

My Computer

Quote:
Originally Posted by Fred View Post
Actually, after that message appears, the upgrade automatically stops. I didn't have the opportunity even if i had wanted to.
Now that's pretty weird; I manage about 12 Lenny boxes, and 3 of those are within arm's reach. On all 12 of those systems, I got a blue ncurses prompt explaining that there was no software suspend support in kernel, and was able to continue normally with the upgrades. My guess on this is that there's another factor that hasn't been identified yet. For example, a 'Sid' or Debian-backports entry in your apt sources, etc.

Quote:
Originally Posted by Fred View Post
Well is there anything I can do to let you know what I'm missing? My guess would be everything important
When in doubt, look at the logs! The apt and aptitude logs would be of particular interest.

Quote:
Originally Posted by Fred View Post
Any FYI, anytime I try to use apt-get/aptitude install package it says
Code:
The package linux-headers-my version needs to be reinstalled, but I can't find an archive for it.
I'm not sure why you need the kernel headers installed to proceed, unless it's trying to rebuild a binary blob like the virtualbox driver, or madwifi. But in any case, the kernel sources for your specific kernel are here: http://www.hardwareforums.com/repo/k...ustom_i386.deb
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 06-04-2008, 04:36 PM   #5 (permalink) Top
Moderator
 
Fred's Avatar
 
Join Date: Jun 2004
Age: 23 Male
Posts: 659
Times Helpful: 37
Status: Offline

My Computer

Quote:
Originally Posted by Anti-trend
For example, a 'Sid' or Debian-backports entry in your apt sources, etc.
I do have a sid repo in my sources.list, but it is commented out and has been for several months. Virtualbox is not the cause... I haven't even installed it on this system.

Quote:
Originally Posted by Anti-trend
When in doubt, look at the logs! The apt and aptitude logs would be of particular interest.
I am about to go somewhere, but when I get back I will check my apt logs and see what I come up with. I will post the results here.

Oh, and about the kernel headers... I have already downloaded and tried to install those. But as I think I mentioned before... When I use dpkg, it gives ldconfig, start-stop-daemon, install-info, update-rc.d were not found on path. Only it lists them individually as missing.

Dang man. I am good at breaking stuff.
Send a message via AIM to Fred   Reply With Quote
Old 07-04-2008, 02:13 AM   #6 (permalink) Top
Moderator
 
Fred's Avatar
 
Join Date: Jun 2004
Age: 23 Male
Posts: 659
Times Helpful: 37
Status: Offline

My Computer

Here is my aptitude log:

Also attached are the permissions for my /lib/modules/'uname -r'/:

*edit* Added modules.txt
Attached Files
File Type: txt aptitude.txt (50.4 KB, 5 views)
File Type: txt modules.txt (1.0 KB, 2 views)
Send a message via AIM to Fred   Reply With Quote
Old 07-04-2008, 02:24 AM   #7 (permalink) Top
Nonconformist Geek
 
Anti-Trend's Avatar
 
Join Date: Oct 2003
Age: 27 Male
Posts: 4,880
Times Helpful: 535
Status: Offline

My Computer

Quote:
Originally Posted by Fred View Post
Here is my aptitude log:
At least it's only tzdata that's broken, as far as I've seen. Did you already do dpkg-reconfigure tzdata? Also, please run ls -la /lib/modules/`uname -r` and send the results.
Send a message via ICQ to Anti-Trend Send a message via AIM to Anti-Trend   Reply With Quote
Old 07-04-2008, 02:54 AM   #8 (permalink) Top
Moderator
 
Fred's Avatar
 
Join Date: Jun 2004
Age: 23 Male
Posts: 659
Times Helpful: 37
Status: Offline

My Computer

The permissions of my /lib/modules/'uname -r'/ are on my previous post. On the other hand, I can't perform
Code:
dpkg-reconfigure tzdata
I dont know if the reconfigure portion is supposed to come with dpkg or not, but it doesn't seem to be there. It looks like I have
Code:
dpkg-architecture, dpkg-buildpackage, dpkg-checkbuilddeps, dpkg-deb, dpkg-distaddfile, dpkg-genchanges, dpkg-gencontrol, dpkg-gensymbols, dpkg-name, dpkg-parsechangelog, dpkg-query, dpkg-scanpackages, dpkg-scansources, dpkg-shlibdeps, dpkg-source, dpkg-split
Send a message via AIM to Fred   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AsRock K8NF4G broke? jedwards309 CPU, Motherboards and Memory 0 16-02-2008 04:12 PM
Motherboard... broke?? lemonkettaz CPU, Motherboards and Memory 3 19-02-2006 04:59 PM
I think i have broke my motherboard :*( Willz CPU, Motherboards and Memory 4 03-01-2006 05:30 PM
If it ain't broke... Big B General Hardware 3 28-04-2003 10:31 PM
GPU cooler broke RZA Video Cards, Displays and TV Tuners 2 11-01-2003 11:56 AM


All times are GMT +1. The time now is 11:14 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved