Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194734

Re: Error while upgrading from Wheezy to Stretch

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Error while upgrading from Wheezy to Stretch
Date 2018-04-12 20:40 +0200
Message-ID <vDPix-qn-1@gated-at.bofh.it> (permalink)
References <vDtL4-1d5-5@gated-at.bofh.it> <vDyKJ-5lu-3@gated-at.bofh.it> <vDHXH-3Ud-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 12 Apr 2018 at 06:42:33 (-0400), Dan Ritter wrote:
> On Wed, Apr 11, 2018 at 07:57:07PM -0500, David Wright wrote:
> > On Wed 11 Apr 2018 at 15:31:32 (-0400), David Parker wrote:
> > > I am trying to upgrade two test boxes from Wheezy to Stretch (skipping
> > > Jessie).  The upgrade worked on one of them, although I ran into errors and
> > > had to run "apt-get -f install" a few times, but that resolved the issues
> > > and it ultimately worked.
> > > 
> > > However, on the second box, I ran into an error about halfway through the
> > > upgrade, and I'm not able to get past it.  No matter what I do, I keep
> > > running into version mismatch issue with libpam-modules.  It's preventing
> > > the upgrade from finishing.
> > 
> > The other "incantation" that's worth trying is
> > 
> > # dpkg --configure -a

That's the short answer.

> I would start by reinstating jessie in all of your sources
> files, then try dpkg --configure -a, then apt-get -f install,
> then apt-get dist-upgrade to jessie. After a successful jessie
> reboot, upgrade to stretch.

dpkg --configure -a   and   apt-get -f install   can be useful
to fix a logjam, but when you get an error like
 E: Sub-process /usr/bin/dpkg returned an error code (1)
it's worth running dpkg directly, seeing which packages are stuck,
and then try   dpkg -i <all the affected package .deb filenames>
as this can sometimes fix circular and reciprocal dependencies
that running from apt* is unable to solve.

BTW if they're test boxes, keep on trying: you may learn something
useful about rescuing systems, which the reinstall people won't.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error while upgrading from Wheezy to Stretch David Parker <dparker@utica.edu> - 2018-04-11 21:40 +0200
  Re: Error while upgrading from Wheezy to Stretch deloptes <deloptes@gmail.com> - 2018-04-11 23:20 +0200
  Re: Error while upgrading from Wheezy to Stretch Patrick Bartek <nemommxiv@gmail.com> - 2018-04-12 01:40 +0200
  Re: Error while upgrading from Wheezy to Stretch David Wright <deblis@lionunicorn.co.uk> - 2018-04-12 03:00 +0200
    Re: Error while upgrading from Wheezy to Stretch Dan Ritter <dsr@randomstring.org> - 2018-04-12 12:50 +0200
      Re: Error while upgrading from Wheezy to Stretch David Wright <deblis@lionunicorn.co.uk> - 2018-04-12 20:40 +0200
        Re: Error while upgrading from Wheezy to Stretch David Parker <dparker@utica.edu> - 2018-04-19 17:00 +0200
          Re: Error while upgrading from Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-04-19 17:20 +0200
            Re: Error while upgrading from Wheezy to Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-04-19 17:30 +0200
              Re: Error while upgrading from Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-04-19 17:40 +0200
                Re: Error while upgrading from Wheezy to Stretch David Parker <dparker@utica.edu> - 2018-04-19 17:50 +0200
                Re: Error while upgrading from Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-04-19 19:50 +0200
                Re: Error while upgrading from Wheezy to Stretch Gene Heskett <gheskett@shentel.net> - 2018-04-19 20:50 +0200
                Re: Pinning (was Re: Error while upgrading from Wheezy to Stretch) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-04-19 21:00 +0200
                Re: Pinning (was Re: Error while upgrading from Wheezy to Stretch) <tomas@tuxteam.de> - 2018-04-19 21:30 +0200
                Re: Pinning (was Re: Error while upgrading from Wheezy to Stretch) Gene Heskett <gheskett@shentel.net> - 2018-04-19 21:50 +0200
                Re: Pinning (was Re: Error while upgrading from Wheezy to Stretch) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-04-19 22:30 +0200
                Re: Error while upgrading from Wheezy to Stretch Dan Ritter <dsr@randomstring.org> - 2018-04-19 21:30 +0200
                Re: Error while upgrading from Wheezy to Stretch Gene Heskett <gheskett@shentel.net> - 2018-04-19 22:40 +0200
                Re: Error while upgrading from Wheezy to Stretch Roberto C. Sánchez <roberto@debian.org> - 2018-04-20 00:50 +0200
          Re: Error while upgrading from Wheezy to Stretch <tomas@tuxteam.de> - 2018-04-19 17:30 +0200
  Re: Error while upgrading from Wheezy to Stretch songbird <songbird@anthive.com> - 2018-04-12 17:00 +0200
  Re: Error while upgrading from Wheezy to Stretch Jimmy Johnson <field.engineer@gmail.com> - 2018-04-20 05:00 +0200

csiph-web