Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No upgrade from 11.3 to 11.4 with apt update/upgrade

66 views
Skip to first unread message

Johan Kröckel

unread,
Aug 4, 2022, 6:30:06 AM8/4/22
to
Hi,
I think I am missing something minor but I don't get it.

My sources.list is:

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

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

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

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

deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src https://deb.debian.org/debian/ bullseye-updates main contrib non-free

deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
deb-src https://deb.debian.org/debian/ bullseye-backports main contrib non-free

apt update; apt-cache policy base-files gives me:

base-files:
  Installiert:           11.1+deb11u3
  Installationskandidat: 11.1+deb11u3
  Versionstabelle:
 *** 11.1+deb11u3 500
        500 https://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status

Shouldn't base-files (11.1+deb11u4) be already installed automatically?

Thank you

Johan

Greg Wooledge

unread,
Aug 4, 2022, 7:20:05 AM8/4/22
to
On Thu, Aug 04, 2022 at 12:23:26PM +0200, Johan Kröckel wrote:
> My sources.list is:
>
> [...]
> deb https://deb.debian.org/debian/ bullseye main non-free contrib

Looks good.

> apt update; apt-cache policy base-files gives me:
>
> base-files:
> Installiert: 11.1+deb11u3
> Installationskandidat: 11.1+deb11u3
> Versionstabelle:
> *** 11.1+deb11u3 500
> 500 https://deb.debian.org/debian bullseye/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> Shouldn't base-files (11.1+deb11u4) be already installed automatically?

Well, you didn't run anything that would have *installed* it, but it
should appear in the *** line under the version table.

Show us the output of "apt update" -- maybe it's encountering errors.

Klaus Singvogel

unread,
Aug 4, 2022, 7:30:05 AM8/4/22
to
Johan Kröckel wrote:
> Hi,
> I think I am missing something minor but I don't get it.

Whereas I missed: apt-get dist-upgrade

Best regards,
Klaus.
--
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D 1994-06-27

Johan Kröckel

unread,
Aug 4, 2022, 7:30:06 AM8/4/22
to
Sorry, that was misunderstandable. I run apt update/apt upgrade daily.

~# date; cat /etc/apt/sources.list;apt update; apt upgrade; apt-cache policy base-files
Do 4. Aug 13:25:38 CEST 2022

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

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

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

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

deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src https://deb.debian.org/debian/ bullseye-updates main contrib non-free

deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
deb-src https://deb.debian.org/debian/ bullseye-backports main contrib non-free
OK:1 http://security.debian.org/debian-security bullseye-security InRelease
OK:2 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                    
OK:3 https://updates.signal.org/desktop/apt xenial InRelease                                                                                                                                                      
OK:4 https://deb.debian.org/debian-security bullseye-security InRelease                                                                                          
OK:5 https://deb.debian.org/debian bullseye InRelease                                                  
OK:6 https://dl.google.com/linux/chrome/deb stable InRelease                                            
OK:7 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye InRelease
OK:8 https://deb.debian.org/debian bullseye-updates InRelease
OK:9 https://deb.debian.org/debian bullseye-backports InRelease
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  linux-image-5.10.0-14-amd64
Verwenden Sie »apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

base-files:
  Installiert:           11.1+deb11u3
  Installationskandidat: 11.1+deb11u3
  Versionstabelle:
 *** 11.1+deb11u3 500
        500 https://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status

Hope, this is complete enough.

Greg Wooledge

unread,
Aug 4, 2022, 7:50:05 AM8/4/22
to
On Thu, Aug 04, 2022 at 01:27:21PM +0200, Johan Kröckel wrote:
> ~# date; cat /etc/apt/sources.list;apt update; apt upgrade; apt-cache
> policy base-files
[...]
> OK:1 http://security.debian.org/debian-security bullseye-security InRelease
> OK:2 http://packages.microsoft.com/repos/code stable InRelease
>
>
> OK:3 https://updates.signal.org/desktop/apt xenial InRelease
>
>
> OK:4 https://deb.debian.org/debian-security bullseye-security InRelease
>
>
> OK:5 https://deb.debian.org/debian bullseye InRelease
>
> OK:6 https://dl.google.com/linux/chrome/deb stable InRelease
>
> OK:7 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod
> bullseye InRelease
> OK:8 https://deb.debian.org/debian bullseye-updates InRelease
> OK:9 https://deb.debian.org/debian bullseye-backports InRelease

You've got other entries in /etc/apt/sources.list.d/ that you haven't
shown, and at least one of them contains Ubuntu packages (xenial).

> Installiert: 11.1+deb11u3
> Installationskandidat: 11.1+deb11u3
> Versionstabelle:
> *** 11.1+deb11u3 500
> 500 https://deb.debian.org/debian bullseye/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> Hope, this is complete enough.

I can only think of three things here.

1) Maybe that xenial line is breaking something. I would definitely not
have ANYTHING from Ubuntu on a Debian system. That said, I don't know
precisely how it would break things without leaving visible traces.

2) Maybe your lists (in /var/lib/apt/lists/) are wrong somehow, in a way
that's preventing "apt update" from retrieving the current ones. You
could try removing the deb.debian.org_* lists, and re-running apt
update.

3) Maybe deb.debian.org keeps giving you a mirror that isn't in sync.
You could try a country-specific mirror instead.

Johan Kröckel

unread,
Aug 4, 2022, 8:40:06 AM8/4/22
to
Hi Klaus,

thank you but dist-upgrade had the same result.

'~# rm -R /var/lib/apt/lists/*; apt update; apt upgrade' worked.

Still don't know what was wrong...

Thanks again

Johan

Johan Kröckel

unread,
Aug 4, 2022, 8:40:06 AM8/4/22
to
Thank you very much!

2) ~# rm -R /var/lib/apt/lists/* did the trick!

Btw:
1) That's not Ubuntu but the Signal desktop client and the correct repository. Confuses me all the time as well.
0 new messages