apt-get system reinstallation

NoOp glgxg at sbcglobal.net
Wed Jul 9 18:57:50 UTC 2008


On 07/09/2008 11:27 AM, Derek Broughton wrote:
> NoOp wrote:
> 
>> On 07/09/2008 09:22 AM, NoOp wrote:
>> 
> [re: aptitude reinstall ~i]
>  
>> Well, after removing NX it seemed to be going well until this part:
>> 
>> Fetched 45.4MB in 4min46s (158kB/s)
>> 
>> E: Couldn't configure pre-depend coreutils for debianutils, probably a
>> dependency cycle.
>> A package failed to install.  Trying to recover:
> 
> I've seen that before with coreutils, so it's possible that coreutils is the
> only thing that this will happen with.  It should be possible to
> do "aptitude reinstall coreutils" and try again.  But I rather suspect that
> you'll have a lot of things that need to be fixed this way as it goes
> along.  I'm surprised you only needed to download 45MB!

Well, it was a brand new install (yesterday) that I put up to test
Roberts question on putting a desktop on the server, so it's pretty fresh.

Reinstalling coreutils (via apt-get install --reinstall coreutils) works
fine, as does debianutils. But the 'sudo aptitude reinstall ~i' provides
the same error, so it must be in the order of the install attempt.

I tried sktee's recommendation with 'sudo aptitude reinstall ~i
coreutils:' and now it stops at gzip with a similar error:

E: Internal Error, Could not perform immediate configuration (2) on gzip
A packaged failed to install. Trying to recover etc., etc.

So, I don't think that the command will work unless you go through each
one that has problems and exclude the problem packages one by one.
Sundar's method works well as I've used it in the past, but I don't
recall if it picks up things like coreutil etc., I'll have to give it a
test and see.









More information about the ubuntu-users mailing list