Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread Andy Smith
Hi Evelyn,

On Sun, Aug 15, 2021 at 06:00:08PM +0200, Evelyn Pereira Souza wrote:
> E: The repository 'http://security.debian.org/debian-security
> bullseye/updates Release' does not have a Release file.

A few people have by now pointed out the specific cause of your
problem, but the root cause is that you've done an update to the
next version of Debian without reading the release notes. You always
need to read the release notes, every time, not just for bullseye.


https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html

As you can see there are a number of other issues there. There
usually are. So save yourself some frustration by reading the
release notes every time.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


signature.asc
Description: PGP signature


Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread Michael Grant
> deb http://security.debian.org/debian-security bullseye/updates main contrib
> non-free
> deb-src http://security.debian.org/debian-security bullseye/updates main
> contrib non-free

I think you are missing bullseye-security.  I have this:

deb http://mirrors.linode.com/debian-security/ bullseye-security main 
contrib non-free
deb-src http://mirrors.linode.com/debian-security/ bullseye-security main 
contrib non-free

I'm not so sure I need the 'contrib non-free' at the end of the line
but it's not giving me any errors.




signature.asc
Description: PGP signature


Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread tomas
On Sun, Aug 15, 2021 at 12:06:18PM -0400, The Wanderer wrote:
> On 2021-08-15 at 12:00, Evelyn Pereira Souza wrote:
> 
> > Hi
> > 
> > apt-get update
> > Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease
> > Err:2 http://security.debian.org/debian-security bullseye/updates Release
> >404  Not Found [IP: 199.232.138.132 80]
> 
> > deb http://security.debian.org/debian-security bullseye/updates main 
> > contrib non-free
> 
> This 'suite/updates' syntax is apparently no longer correct for
> security.debian.org.
> 
> I'm not familiar with the use of this 'debian-security' affix on the
> repository URL, but for comparison, my own sources.list now has:
> 
> deb http://security.debian.org/ testing-security main contrib non-free

Someone helpfully posted that in this list, not long ago:

  "NOTE Layout of security repositories

   Starting with Debian 11 Bullseye, the codename of the repository
   providing security updates has been renamed from codename/updates
   into codename-security to avoid the confusion with codename-updates
   (see Section 6.1.2.2, 'Stable Updates')." [1]

So at least, the 'bullseye/updates' to the right of the URL should, at least,
be 'bullseye-security, as you noted, Wanderer.

> and I'm not getting this 404 anymore.
> 
> You might try something analogous (probably with 'bullseye-security') in
> place of 'bullseye/updates', and see whether it helps.

So it seems to be intentional.

Cheers
[1] 
https://debian-handbook.info/browse/en-US/stable/apt.html#sect.apt-sources.list.testing
 - t


signature.asc
Description: Digital signature


Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread Hans
Am Sonntag, 15. August 2021, 18:00:08 CEST schrieb Evelyn Pereira Souza:
Hi Evelyn, 

the entry in sources.list has changed, it is now:

deb http://deb.debian.org/debian-security bullseye-security main contrib 
non-free 
deb-src http://deb.debian.org/debian-security bullseye-security main contrib 
non-free

Hope this helps.

Best regards

Hans

> Hi
> 
> apt-get update
> Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease
> Err:2 http://security.debian.org/debian-security bullseye/updates Release
>404  Not Found [IP: 199.232.138.132 80]
> Hit:3 http://mirror.init7.net/debian bullseye InRelease
> Hit:4 http://mirror.init7.net/debian bullseye-updates InRelease
> Reading package lists... Done
> E: The repository 'http://security.debian.org/debian-security
> bullseye/updates Release' does not have a Release file.
> 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.
> 
> 
> cat /etc/apt/sources.list
> #
> 
> # deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 xfce-CD
> Binary-1 20210619-16:12]/ bullseye main
> 
> #deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 xfce-CD
> Binary-1 20210619-16:12]/ bullseye main
> 
> deb http://mirror.init7.net/debian/ bullseye main contrib non-free
> deb-src http://mirror.init7.net/debian/ bullseye main contrib non-free
> 
> deb http://security.debian.org/debian-security bullseye/updates main
> contrib non-free
> deb-src http://security.debian.org/debian-security bullseye/updates main
> contrib non-free
> 
> # bullseye-updates, previously known as 'volatile'
> deb http://mirror.init7.net/debian/ bullseye-updates main contrib non-free
> deb-src http://mirror.init7.net/debian/ bullseye-updates main contrib
> non-free
> 
> # This system was installed using small removable media
> # (e.g. netinst, live or single CD). The matching "deb cdrom"
> # entries were disabled at the end of the installation process.
> # For information about how to configure apt package sources,
> # see the sources.list(5) manual.
> 
> kind regards
> Evelyn




signature.asc
Description: This is a digitally signed message part.


Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread Brian
On Sun 15 Aug 2021 at 12:06:18 -0400, The Wanderer wrote:

> On 2021-08-15 at 12:00, Evelyn Pereira Souza wrote:
> 
> > Hi
> > 
> > apt-get update
> > Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease
> > Err:2 http://security.debian.org/debian-security bullseye/updates Release
> >404  Not Found [IP: 199.232.138.132 80]
> 
> > deb http://security.debian.org/debian-security bullseye/updates main 
> > contrib non-free
> 
> This 'suite/updates' syntax is apparently no longer correct for
> security.debian.org.
> 
> I'm not familiar with the use of this 'debian-security' affix on the
> repository URL, but for comparison, my own sources.list now has:
> 
> deb http://security.debian.org/ testing-security main contrib non-free
> 
> and I'm not getting this 404 anymore.
> 
> You might try something analogous (probably with 'bullseye-security') in
> place of 'bullseye/updates', and see whether it helps.

I have

 deb http://security.debian.org/debian-security bullseye-security main

-- 
Brian.



Re: what's wrong with my "/etc/apt/sources.list"? Updating from such a repository can't be done securely, and is therefore disabled by default

2021-08-15 Thread The Wanderer
On 2021-08-15 at 12:00, Evelyn Pereira Souza wrote:

> Hi
> 
> apt-get update
> Ign:1 http://security.debian.org/debian-security bullseye/updates InRelease
> Err:2 http://security.debian.org/debian-security bullseye/updates Release
>404  Not Found [IP: 199.232.138.132 80]

> deb http://security.debian.org/debian-security bullseye/updates main contrib 
> non-free

This 'suite/updates' syntax is apparently no longer correct for
security.debian.org.

I'm not familiar with the use of this 'debian-security' affix on the
repository URL, but for comparison, my own sources.list now has:

deb http://security.debian.org/ testing-security main contrib non-free

and I'm not getting this 404 anymore.

You might try something analogous (probably with 'bullseye-security') in
place of 'bullseye/updates', and see whether it helps.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature