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


Groups > linux.debian.user > #201021

Re: Problem updating to Buster - gparted effectively MIA

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: Problem updating to Buster - gparted effectively MIA
Date 2018-10-08 17:50 +0200
Message-ID <wGFXb-zd-5@gated-at.bofh.it> (permalink)
References <wGh8t-38L-7@gated-at.bofh.it> <wGhLb-3lX-3@gated-at.bofh.it> <wGi4x-3Hl-1@gated-at.bofh.it> <wGied-3Ko-3@gated-at.bofh.it> <wGE54-7W7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Mon, Oct 08, 2018 at 08:46:21AM -0500, Richard Owlett wrote:
> > No, stay in stretch.
> > 
> > 1) Become root.
> > 
> > 2) Mount buster installation in, say, /mnt.
> > 
> > 3) Classic chroot sequence:
> > 
> > mount -o bind /proc /mnt/proc
> > mount -o bind /sys /mnt/sys
> > mount -o bind /dev /mnt/dev
> > chroot /mnt /bin/bash
> > # You're in chroot now
> > # Do not leave until instructed
> > 
> > 4) Prevent buster services from running:
> > 
> > cat > /usr/sbin/policy-rc.d << EOF
> > echo All rc operations are disabled by policy: \$1 \$2
> > exit 101
> > EOF
> > 
> > chmod 754 /usr/sbin/policy-rc.d
> > 
> > 5) Hard part starts here:
> > 
> > dpkg --configure -a
> > apt update
> > apt upgrade -s
> > 
> > 
> > 6) Cleanup:
> > 
> > rm -f /usr/sbin/policy-rc.d
> > exit
> > # You left chroot
> > 
> > 7) Finally:
> > 
> > umount -l /mnt/proc
> > umount -l /mnt/sys
> > umount -l /mnt/dev
> > umount -l /mnt
> > 
> > Reco
> > 
> 
> It seemed to run OK. The only errors/warnings were related to not being able to reach [http://deb.debian.org/...].
> 
> It reported:
>    "259 packages can be upgraded."
> and
>    "210 upgraded, 201 newly installed, 0 to remove and 49 not upgraded."
> 
> What, if anything, does that say about my upgrade from Stretch to Buster?

It was not completed, but it's fixable.


> I stated by running "script", so I have a log.

1) First things first.

Install 'screen' utility into stretch.
run 'screen' and do everything else there.
In case of any trouble (such as network connectivity loss), reestablish
your connection and run 'screen -DR'.

2) Mount chroot again (from inside the screen). Ensure you're able to
run 'apt-get update' without trouble, as you'll need it.

3) Perform the usual upgrade dance:

apt-get upgrade

apt-get dist-upgrade

The process will ask you questions (many questions, in fact), you're
assumed to choose answers wisely ;). Take special care while upgrading
grub.

4) Unmount chroot, exit screen (simple 'exit' should do it).

5) Reboot into your brand-new buster installation.

Reco

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


Thread

Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-07 15:20 +0200
  Re: Problem updating to Buster - gparted effectively MIA Reco <recoverym4n@enotuniq.net> - 2018-10-07 16:00 +0200
    Re: Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-07 16:20 +0200
      Re: Problem updating to Buster - gparted effectively MIA Reco <recoverym4n@enotuniq.net> - 2018-10-07 16:30 +0200
        Re: Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-08 15:50 +0200
          Re: Problem updating to Buster - gparted effectively MIA Reco <recoverym4n@enotuniq.net> - 2018-10-08 17:50 +0200
            Re: Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-08 22:30 +0200
              Re: Problem updating to Buster - gparted effectively MIA Reco <recoverym4n@enotuniq.net> - 2018-10-08 22:50 +0200
            Re: Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-09 17:20 +0200
              Re: Problem updating to Buster - gparted effectively MIA Brian <ad44@cityscape.co.uk> - 2018-10-09 18:30 +0200
      Re: Problem updating to Buster - gparted effectively MIA Gene Heskett <gheskett@shentel.net> - 2018-10-07 17:10 +0200
  Re: Problem updating to Buster - gparted effectively MIA Brian <ad44@cityscape.co.uk> - 2018-10-07 16:40 +0200
    Re: Problem updating to Buster - gparted effectively MIA Brian <ad44@cityscape.co.uk> - 2018-10-07 20:30 +0200
      Re: Problem updating to Buster - gparted effectively MIA mick crane <mick.crane@gmail.com> - 2018-10-07 20:50 +0200
        Re: Problem updating to Buster - gparted effectively MIA Linux-Fan <Ma_Sys.ma@web.de> - 2018-10-07 21:20 +0200
          Re: Problem updating to Buster - gparted effectively MIA Joe <joe@jretrading.com> - 2018-10-07 22:00 +0200
          Re: Problem updating to Buster - gparted effectively MIA mick crane <mick.crane@gmail.com> - 2018-10-07 23:10 +0200
      Re: Problem updating to Buster - gparted effectively MIA Dominic Knight <dominicknight@gmx.com> - 2018-10-07 21:40 +0200
        Re: Problem updating to Buster - gparted effectively MIA Richard Owlett <rowlett@cloud85.net> - 2018-10-07 22:00 +0200
          Re: Problem updating to Buster - gparted effectively MIA Brian <ad44@cityscape.co.uk> - 2018-10-08 00:00 +0200

csiph-web