[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error trying to run apt-get



On Mon, Jul 02, 2007 at 21:54:55 -0000, Adam wrote:
> On Jul 2, 3:00 pm, Florian Kulzer wrote:

[...]

> > It seems like you want to upgrade from Sarge to Lenny in one fell swoop,
> > skipping Etch. I would go to Etch first, after reading the release notes
> > carefully. Otherwise you are in for a memorable, but possibly
> > unpleasant, learning experience.
> >
> 
> I believe what I did was just run an apt-get upgrade last week(or dist-
> upgrade, I don't remember now which I tried first), prior to that I
> didn't have any issues.
> 
> # ls -la debian_version
> -rw-r--r-- 1 root root 10 Apr  1 11:47 debian_version
> 
> Running apt-get dist-upgrade also fails with the same error, as does
> any apt-get at this point.  I've decided at this point to start over,
> I removed debianutils and then had to reinstall gzip and debianutils
> by hand.  I'm running a new upgrade now.

If the problem is a file conflict then you can force the installation by
using "dpkg -i --force-conflicts" on the .deb file in the
/var/cache/apt/archives directory.

That being said, it seems to me that your system might be in a somewhat
inconsistent state: You run an old 2.6 kernel (2.6.7, standard Sarge has
2.6.8) and your present upgrade tries to take you from the Sarge version
of debianutils directly to the Lenny (i.e. Sarge+2) version. I think it
would be safer to make this transition of your system in smaller steps,
first going to up-to-date Sarge (a.k.a oldstable), then performing the
Sarge -> Etch (a.k.a. stable) transition as per the release notes, and
finally upgrading to Lenny (a.k.a. testing). Even if you do not want to
go that route, I would still have a look at Etch's release notes to find
out about the main issues (newer kernel, udev, XFree86 to Xorg
transition, etc.).

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: