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


Groups > linux.debian.user > #239730

Re: Trouble upgrading Debian (reply to David Wright)

From Dedeco Balaco <dedeco.balaco@yahoo.com>
Newsgroups linux.debian.user
Subject Re: Trouble upgrading Debian (reply to David Wright)
Date 2021-09-06 03:30 +0200
Message-ID <CUbCp-8tq-1@gated-at.bofh.it> (permalink)
References <CTQ4V-39W-3@gated-at.bofh.it> <CTRX3-4q2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

David Wright wrote:
> On Sat 04 Sep 2021 at 23:04:49 (-0300), Dedeco Balaco wrote:
> > 
> > today, i started to upgrade my computer from Debian 9 (Stretch) to
> > Debian 11 (Bullseye). I had some trouble finding what i wanted to do, a
> > completely internet based upgrade, if possible. In the Debian
> > documention, i did not find this explanation. It says it can be done,
> > but it does not explain how to do it.
> > 
> > So, i opened the following thread. Do not read it now, there are more
> > things i will say here, first.
> > 
> > https://www.linuxquestions.org/questions/linux-software-2/upgrading-debian-distribution-4175700202/#post6281677
> > 
> > In the thread, I was advised to not upgrade from Debian 9 to 11 in one
> > step, because "jumping 2 releases will probably result in MASSIVE
> > breakage". This should be in the official documentation, no? If there is
> > this risk, it must be.
>
> Yes, in the Release Notes. You can download the appropriate version from
> https://www.debian.org/releases/bullseye/releasenotes
>
> The warning is in § 4.2.1. It's recursive, so when you go back to
> buster's, it has the same warning (§ 4.2), and the same for stretch,
> jessie, and so on.
Thank you. I did not imagine this would happen. It is the first time, in
my life, that I am upgrading Debian this way.

> > So, i should to 2 upgrades: one to Debian 10, and one more to Debian 11.
> > Fine. And for each one, the steps are:
> > 
> > 1. Disable all third party repositories.
> > 
I already did this.
> > 2. Edit /etc/apt/sources.list to reflect the next distribution i will
> > have. Directly, this is just changing all "stretch" occurencies to
> > "buster"; or all "buster" to "bullseye", in the second upgrade.
>
> No, follow the Release Notes. For example, you should update and
> upgrade the current version before you change sources.list, as the
> main upgrade should be made from the latest point-release.
Mmm... so, I should also 'apt upgrade' with Debian 9 (Stretch)
sources.list? This is different from many directions I found in the web.

>
> > 3. apt update
> > 
> > 4. apt upgrade
> > 
> > 5. apt full-upgrade
> > 
> > But after my first edition to sources.list, apt update fails. I have
> > tried apt-get update to, but it also fails for the apparently same reason.
> > 
> > What should i do to solve this?
>
> Presumably you need help here, so posting the error message is needed.
> But do read the Release Notes (buster's in the first instance):
> if you follow them carefully, it's possible you won't get failures.

I want to upgrade to Debian 10 (as a step to Debian 11), but I am having
trouble with some signature. Let me show a full description. In my first
try, I was not with an updated Debian 9. Someone asked me that, and then
I tried to repeat everything after updating things. So, I

1. Restored sources.list to be what Debian 9 stretch uses

2. Asked 'synaptic' to reload the package database

3. Tried to do 'apt update' as root, but it does not work. GPG signature
error.

> 21:18:54 [ 0] root@compo: /etc/apt # apt-mark hold firefox-esr
> firefox-esr-l10n-pt-br thunderbird thunderbird-l10n-pt-br firefox-esr
> set on hold. firefox-esr-l10n-pt-br set on hold. thunderbird set on
> hold. thunderbird-l10n-pt-br set on hold. 21:46:26 [ 0] root@debian:
> /etc/apt # apt update Get:1 http://security.debian.org buster/updates
> InRelease [65.4 kB] Err:1 http://security.debian.org buster/updates
> InRelease The following signatures couldn't be verified because the
> public key is not available: NO_PUBKEY 112695A0E562B32A NO_PUBKEY
> 54404762BBB6E853 Get:2 http://deb.debian.org/debian buster InRelease
> [122 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease
> [51.9 kB] Err:3 http://deb.debian.org/debian buster-updates InRelease
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY
> 0E98404D386FA1D9 Get:4 http://deb.debian.org/debian buster/main
> Sources [7,836 kB] Get:5 http://deb.debian.org/debian buster/main
> amd64 Packages [7,907 kB] Get:6 http://deb.debian.org/debian
> buster/main i386 Packages [7,863 kB] Get:7
> http://deb.debian.org/debian buster/main Translation-pt_BR [683 kB]
> Get:8 http://deb.debian.org/debian buster/main Translation-en [5,968
> kB] Get:9 http://deb.debian.org/debian buster/main Translation-pt [309
> kB] Get:10 http://deb.debian.org/debian buster/main amd64 Contents
> (deb) [37.3 MB] Get:11 http://deb.debian.org/debian buster/main i386
> Contents (deb) [37.3 MB] Reading package lists... Done W: GPG error:
> http://security.debian.org buster/updates InRelease: The following
> signatures couldn't be verified because the public key is not
> available: NO_PUBKEY 112695A0E562B32A NO_PUBKEY 54404762BBB6E853 E:
> The repository 'http://security.debian.org buster/updates InRelease'
> is not signed. N: Updating from such a repository can't be done
> securely, and is therefore disabled by default. N: See apt-secure(8)
> manpage for repository creation and user configuration details. W: GPG
> error: http://deb.debian.org/debian buster-updates InRelease: The
> following signatures couldn't be verified because the public key is
> not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
> E: The repository 'http://deb.debian.org/debian buster-updates
> InRelease' is not signed. N: Updating from such a repository can't be
> done securely, and is therefore disabled by default. N: See
> apt-secure(8) manpage for repository creation and user configuration
> details. 21:46:50 [ 0] root@debian: /etc/apt #

So, what can I do to fix this?


>
> Cheers,
> David.

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


Thread

Trouble upgrading Debian Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-05 06:30 +0200
  Re: Trouble upgrading Debian piorunz <piorunz@gmx.com> - 2021-09-06 00:20 +0200
    Re: Trouble upgrading Debian <tomas@tuxteam.de> - 2021-09-06 08:20 +0200
    Re: Trouble upgrading Debian piorunz <piorunz@gmx.com> - 2021-09-06 18:40 +0200
  Re: Trouble upgrading Debian (reply to David Wright) Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-06 03:30 +0200
    Re: Trouble upgrading Debian (reply to David Wright) Richard Hector <richard@walnut.gen.nz> - 2021-09-06 10:50 +0200
    Re: Trouble upgrading Debian (reply to David Wright) Curt <curty@free.fr> - 2021-09-06 16:10 +0200
      Re: Trouble upgrading Debian (reply to David Wright) John Hasler <john@sugarbit.com> - 2021-09-06 19:30 +0200
        (HTML) Re: Trouble upgrading Debian (reply to David Wright) Dedeco Balaco <dedeco.balaco@yahoo.com> - 2021-09-06 21:50 +0200
          Re: (HTML) Re: Trouble upgrading Debian (reply to David Wright) Kenneth Parker <sea7kenp@gmail.com> - 2021-09-07 04:40 +0200
          Re: (HTML) Re: Trouble upgrading Debian (reply to David Wright) Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-12 10:00 +0200
        Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) Dan Ritter <dsr@randomstring.org> - 2021-09-06 23:00 +0200
          Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) piorunz <piorunz@gmx.com> - 2021-09-07 01:20 +0200
        Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) Greg Wooledge <greg@wooledge.org> - 2021-09-07 02:00 +0200
          Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) Kenneth Parker <sea7kenp@gmail.com> - 2021-09-07 04:50 +0200
            Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-07 08:30 +0200
            Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) Greg Wooledge <greg@wooledge.org> - 2021-09-07 13:10 +0200
            Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) David Wright <deblis@lionunicorn.co.uk> - 2021-09-07 17:10 +0200
        Re: Trouble upgrading Debian (reply to David Wright) Richard Hector <richard@walnut.gen.nz> - 2021-09-08 03:00 +0200
        Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) Thomas Amm <debili@open-email.net> - 2021-09-13 23:00 +0200
          Re: (pure text) Re: Trouble upgrading Debian (reply to David Wright) <tomas@tuxteam.de> - 2021-09-14 08:10 +0200

csiph-web