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


Groups > linux.debian.user > #263050 > unrolled thread

apt update does not work

Started byMartin <martin94@cryptolab.net>
First post2023-11-02 17:00 +0100
Last post2023-11-03 12:50 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  apt update does not work Martin <martin94@cryptolab.net> - 2023-11-02 17:00 +0100
    Re: apt update does not work Greg Wooledge <greg@wooledge.org> - 2023-11-02 17:20 +0100
      Re: apt update does not work David Wright <deblis@lionunicorn.co.uk> - 2023-11-02 20:20 +0100
        Re: RANTING apt update does not work Martin <martin94@cryptolab.net> - 2023-11-03 12:50 +0100

#263050 — apt update does not work

FromMartin <martin94@cryptolab.net>
Date2023-11-02 17:00 +0100
Subjectapt update does not work
Message-ID<HvIgV-2Cqz-7@gated-at.bofh.it>
I have installed old distribution
# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 20170722-11:29]/ stretch contrib main non-free
(because that was newest distribution I had on DVD with me)

I configured network and now I am trying to update the system to sid.
I commented everything in /etc/apt/sources.list and added only one line:

deb http://httpredir.debian.org/debian/ sid main contrib non-free non-free-firmware

I got error that that public key is not available:

root@redmoon:~# apt update
Get:1 http://httpredir.debian.org/debian sid InRelease [198 kB]
Err:1 http://httpredir.debian.org/debian sid InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Reading package lists... Done
W: GPG error: http://httpredir.debian.org/debian sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://httpredir.debian.org/debian sid 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.

Where do I get those needed keys and where do I put them?

Martin

[toc] | [next] | [standalone]


#263051

FromGreg Wooledge <greg@wooledge.org>
Date2023-11-02 17:20 +0100
Message-ID<HvIAh-2CMM-3@gated-at.bofh.it>
In reply to#263050
On Thu, Nov 02, 2023 at 04:56:59PM +0100, Martin wrote:
> I have installed old distribution
> # deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 20170722-11:29]/ stretch contrib main non-free
> (because that was newest distribution I had on DVD with me)
> 
> I configured network and now I am trying to update the system to sid.

You *cannot* upgrade a Debian 9 system directly to current unstable.

The current Debian release is Debian 12.

In order to upgrade this system to unstable, you would first have to
upgrade it to Debian 10, then to Debian 11, then to Debian 12, and
then finally to unstable.

I would not do that, however.  Instead, I would reinstall the system
using the Debian 12 installer, and then go from *there* to unstable,
if for some reason you really truly need to run unstable.

If you don't actually need to run unstable, just leave it on Debian 12.

[toc] | [prev] | [next] | [standalone]


#263056

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2023-11-02 20:20 +0100
Message-ID<HvLot-2Euz-7@gated-at.bofh.it>
In reply to#263051
On Thu 02 Nov 2023 at 12:09:55 (-0400), Greg Wooledge wrote:
> On Thu, Nov 02, 2023 at 04:56:59PM +0100, Martin wrote:
> > I have installed old distribution
> > # deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 20170722-11:29]/ stretch contrib main non-free
> > (because that was newest distribution I had on DVD with me)
> > 
> > I configured network and now I am trying to update the system to sid.
> 
> You *cannot* upgrade a Debian 9 system directly to current unstable.
> 
> The current Debian release is Debian 12.
> 
> In order to upgrade this system to unstable, you would first have to
> upgrade it to Debian 10, then to Debian 11, then to Debian 12, and
> then finally to unstable.
> 
> I would not do that, however.  Instead, I would reinstall the system
> using the Debian 12 installer, and then go from *there* to unstable,
> if for some reason you really truly need to run unstable.
> 
> If you don't actually need to run unstable, just leave it on Debian 12.

I suspect this may be an X-Y problem. The OP appears to already have
a working sid, but it's on a disk that may be failing.

  https://lists.debian.org/debian-user/2023/11/msg00013.html

The idea of upgrading an installation is probably unattractive, as
they appear to only have access to a weak, remote wifi signal, and
they supply their phone's internet connection from the same source
indirectly (by feeding a router from their computer), so tethering
is out. (

  https://lists.debian.org/debian-user/2023/10/msg00730.html

has not been contradicted.)

So I have to ask why they don't just copy their existing sid to the
new hard drive, make it bootable, and run that instead.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#263075 — Re: RANTING apt update does not work

FromMartin <martin94@cryptolab.net>
Date2023-11-03 12:50 +0100
SubjectRe: RANTING apt update does not work
Message-ID<Hw0Qx-2OQp-3@gated-at.bofh.it>
In reply to#263056
On Thu, Nov 02, 2023 at 02:14:17PM -0500, David Wright wrote:
> 
> I suspect this may be an X-Y problem. The OP appears to already have
> a working sid, but it's on a disk that may be failing.
> 
>   https://lists.debian.org/debian-user/2023/11/msg00013.html
> 
> The idea of upgrading an installation is probably unattractive, as
> they appear to only have access to a weak, remote wifi signal, and
> they supply their phone's internet connection from the same source
> indirectly (by feeding a router from their computer), so tethering
> is out. (
> 
>   https://lists.debian.org/debian-user/2023/10/msg00730.html
> 
> has not been contradicted.)
> 
> So I have to ask why they don't just copy their existing sid to the
> new hard drive, make it bootable, and run that instead.

OH my god! Why did not I tought of just copying it before all this mess.

I already managed to install debian from scratch and upgrade it to sid
on new HD. Now I have to install all the programs i use. And that is the
mess.  because I have used debain since Sarge version and keep copying
files and setups from old to new computer/HD whenever I upgraded hardware
(I started with Pentium I - or whatever name was it then). So I have
lot of programs and configuring files to deal with.

This is also why my reply to this email is soo late (I have been
configuring new system). And for now I have not installed many
programs I need to new system so I use old system up to reply this email.

So I will probably ask more questions later (especialy about setting
up local wifi router - I have some problems with that - but I will
leave it for little later).

Thank you all for help provided so far.
Martin

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web