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 |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Release of Stable Etch
    ... Sarge was still in testing at the time. ... Sarge had a problem, where during the upgrade The Xserver was shutdown, and I ... Sources on this one are now pointing to Etch, ... This Etch install will go back onto testing when Etch goes stable, ...
    (Debian-User)
  • Re: etch upgrade problem
    ... Please note that the release notes that cover the upgrade say _not_ to ... I've recently upgraded a Sarge install to Etch with X running, ... Now that Etch is stable I think I will put this Etch install back on testing, ...
    (Debian-User)
  • Re: Xfree86 problems, sarge/woody
    ... X was running after that first stage of the upgrade (to latest woody) ... as easily debug it on sarge as on woody. ... I am very much looking forward to etch - its version of X seems ...
    (Debian-User)
  • Re: Release of Stable Etch
    ... After trying a Sarge to Etch update, I had to redo again, making sure I ... upgraded to udev a 2.6.12 kernel prior to doing an apt-get ... issue in the upgrade path and if its not working right yet, ...
    (Debian-User)
  • Debians progress inspite of events (was Re: Dunk-Tank and the DD strike)
    ... Sarge was HOW Long? ... No I wasn't pushing for a deadline and Etch is the fruit of a vastly ... Ubuntu taking shape. ... Many Debian Developers becoming MIA or just abandoning ...
    (Debian-User)