Saturday, September 7, 2019

I am getting some error while doing
debian@debian:~$ sudo apt-get update
[sudo] password for debian:
Get:1 http://security-cdn.debian.org/debian-security buster/updates
InRelease [39.1 kB]
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Reading package lists... Done
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Label' value from 'Debian-Security' to
'Debian'
N: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Version' value from '10' to ''
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Suite' value from 'stable' to 'stable-updates'
E: Repository 'http://cdn-fastly.deb.debian.org/debian buster-updates
InRelease' changed its 'Codename' value from 'buster' to
'buster-updates'
N: This must be accepted explicitly before updates for this repository
can be applied. See apt-secure(8) manpage for details.

debian@debian:/etc/apt$ cat sources.list
#

# deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

#deb cdrom:[Official Debian GNU/Linux Live 10.0.0 gnome
2019-07-06T10:51]/ buster main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main

# 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.

What should I  check?
I am using Debian 10 in a virtualized environment (Vmware 15 workstation)



---------------------

This is a known issue when updating for the fist time, see
https://unix.stackexchange.com/questions/528751/cannot-update-apt-list-repository-no-longer-has-a-release-file

----




to debian-user
On 2019-09-07 15:50 +0530, Tapas Mishra wrote:

> On Sat, Sep 7, 2019 at 12:22 AM Sven Joachim  wrote:
>>
>>
>> This sources.list file looks good to me.
>>
>> > What should I  check?
>>
>> There should be a file
>> /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease.
>> If it exists, can you please show its first 15 lines?
>>
> Hi you can see the whole file on this link
> https://pastebin.com/116phYnH
So the file looks like this:

,----
| Origin: Debian
| Label: Debian-Security
| Suite: stable
| Version: 10
| Codename: buster
| Date: Fri, 06 Sep 2019 11:51:20 UTC
| Valid-Until: Fri, 13 Sep 2019 11:51:20 UTC
| Acquire-By-Hash: yes
| Architectures: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
| Components: updates/main updates/contrib updates/non-free
| Description: Debian 10 - Security Updates
`----

Which is definitely wrong for buster-updates, this is how an InRelease
file from the security repository starts.

It's hard to tell how this happened (file system corruption perhaps),
but if you proceed with the update it should be corrected.
Run "apt-get update --allow-releaseinfo-change" to do so.

 -------------------
Finally doing apt-get update --allow-releaseinfo-change solved the problem.
This thread can be viewed here https://lists.debian.org/debian-user/2019/09/msg00218.html

1 comment:

okaljaffer said...

Top 15 casinos for slot games in 2020 - JTM Hub
This year, slot machine gaming is expanding 천안 출장안마 rapidly 정읍 출장안마 with 용인 출장샵 a new gaming strategy. The company is offering a 군산 출장마사지 range of slot machines 정읍 출장안마 to its