[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error while doing apt-get update



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

> On Sat, Sep 7, 2019 at 12:22 AM Sven Joachim <svenjoac@gmx.de> 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.

Cheers,
       Sven


Reply to: