Re: error while doing apt-get update

2019-09-07 Thread Tapas Mishra
On Sat, Sep 7, 2019 at 4:45 PM Sven Joachim  wrote:

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

Ok thanks for pointing that out apt-get update
--allow-releaseinfo-change did the trick.
But I want to understand what was wrong in previous file and what did
you noticed that
should have been there which was not there in my file.
--
Thanks and Regards
Tapas



Re: error while doing apt-get update

2019-09-07 Thread Sven Joachim
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.

Cheers,
   Sven



Re: error while doing apt-get update

2019-09-07 Thread Eduardo M KALINOWSKI
On 06/09/2019 13:29, Tapas Mishra wrote:
> Hi,
> 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.

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


-- 
BOFH excuse #93:

Feature not yet implemented

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: error while doing apt-get update

2019-09-07 Thread Tapas Mishra
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
---
Thanks & Regards
Tapas



Re: error while doing apt-get update

2019-09-06 Thread Sven Joachim
On 2019-09-06 21:59 +0530, Tapas Mishra wrote:

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

This is rather strange.  The new values for these fields in the
buster-updates repository look correct, I wonder how the old ones got
there.

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

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?

Cheers,
   Sven



error while doing apt-get update

2019-09-06 Thread Tapas Mishra
Hi,
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)
---
Thanks