LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-15-2007, 02:46 PM   #1
ArchiMark
Member
 
Registered: Sep 2004
Location: Silicon Valley
Distribution: Debian/Linux Mint/Archbang/Angstrom
Posts: 81

Rep: Reputation: 15
How to Reinstall Debian or Repair Install??


Greetings,

Just installed Debian Sarge/2.4 on my lil' HP Jornada 728 HPC.

Install was done using various files downloaded to CF Card and then extracted to Linux partition and other files that were put on the FAT partition. I got most files from 720degrees.org.

Then in WinCE I just started up the linexec file that I put on the FAT partition and voila! it started up the debian install process.

While I do have it up and running OK....sometimes when I try to install something using 'apt-get install' I get error messages about a specific file that can't be upgraded.

Also, using IceWM and some apps that I've installed open for a few seconds and then close.

So, wondering whether I either need to do some 'repair' to my current install or just 'reinstall fresh'??

What do you recommend?

If repair, what is best way to do that?

If reinstall, what is best way to do that given the install described above?

From my searching around, I find plenty of info on installing debian but almost nothing on repair and/or reinstalling...unless I've just missed it of course.....

Thanks for any and all advice!

Mark
 
Old 02-15-2007, 04:25 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Before installing a package it's advised (read as: obligatory) to do an apt-get update. If it still complains about that package, look in the sources.list, as it may have a lock (known as pinning) for that package. If the package isn't locked (pinned) on a specific version, use the -f option (apt-get -f install, no further arguments) to force an install.

If all this fails, then you should consider some sort of repair. Usually re-installing isn't necessary, although at times it can be the least time-consuming option
 
Old 02-15-2007, 04:33 PM   #3
ArchiMark
Member
 
Registered: Sep 2004
Location: Silicon Valley
Distribution: Debian/Linux Mint/Archbang/Angstrom
Posts: 81

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by Dutch Master
Before installing a package it's advised (read as: obligatory) to do an apt-get update. If it still complains about that package, look in the sources.list, as it may have a lock (known as pinning) for that package. If the package isn't locked (pinned) on a specific version, use the -f option (apt-get -f install, no further arguments) to force an install.

If all this fails, then you should consider some sort of repair. Usually re-installing isn't necessary, although at times it can be the least time-consuming option
Thanks for all that advice, Dutch Master!

I usually do 'apt-get update', but not always, so will remember to do it always.

Will also try your other suggestions....



Mark
 
Old 02-15-2007, 08:08 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You may also have some problems simply due to Sarge's age. It was supposed to be retired in December 2006, but the next stable version, Etch, isn't 100% ready to go yet on some of the more exotic architectures.

In theory nothing should break over this, but Sarge uses several base packages that are virtually dead, things like Xfree86 instead of Xorg. I would suggest going up from stable to testing, which is named Etch. That would install newer versions of many of the packages you have, and probably a new kernel as well. That should clear up some of the problems if what Dutch Master wrote doesn't work for you. This is particularly true if this is a desktop machine and not a server. Stable was never intended for desktops, it is meant for a solid server that never changes.

Peace,
JimBass
 
Old 02-15-2007, 08:29 PM   #5
ArchiMark
Member
 
Registered: Sep 2004
Location: Silicon Valley
Distribution: Debian/Linux Mint/Archbang/Angstrom
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JimBass
You may also have some problems simply due to Sarge's age. It was supposed to be retired in December 2006, but the next stable version, Etch, isn't 100% ready to go yet on some of the more exotic architectures.

In theory nothing should break over this, but Sarge uses several base packages that are virtually dead, things like Xfree86 instead of Xorg. I would suggest going up from stable to testing, which is named Etch. That would install newer versions of many of the packages you have, and probably a new kernel as well. That should clear up some of the problems if what Dutch Master wrote doesn't work for you. This is particularly true if this is a desktop machine and not a server. Stable was never intended for desktops, it is meant for a solid server that never changes.

Peace,
JimBass
Thanks for your input too, Jim.

Every bit helps!

Not sure if Etch works on these little handheldPC's yet....I do know that there's a version of 720degrees (debian for Jornada72x..) that can use the new 2.6 kernel that might help some, but sound doesn't work yet among a few other things...

In the meantime, did some package removal and then some package reinstalls and so far that has helped some....

Mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto repair GRUB using debian setup CD ? cccc Linux - Distributions 4 11-06-2010 06:00 AM
Install Linare over old one to repair? lostwithlinux Linare 19 08-24-2006 02:52 AM
Debian PPC Reinstall technopasta Debian 1 01-24-2006 03:01 PM
major Debian-Sarge repair advice needed vees Debian 3 01-03-2006 12:02 PM
Repair Install Rosmo Linux - Software 1 11-01-2004 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration