ISPConfig Debian 11 to Debian 12

Discussion in 'HOWTO-Related Questions' started by Pierrot727, Aug 26, 2023.

  1. Gixxa42

    Gixxa42 New Member

    @Taleman

    Yes, 12.1 installed with no problems just the warning from above. Here is the output of the source file:

    Code:
    deb [arch=amd64] http://rspamd.com/apt-stable/ bookworm main
    deb-src [arch=amd64] http://rspamd.com/apt-stable/ bookworm main
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    OK, release is bookworm in that file.
    Show output of this command so I can see error message:
    Code:
    LANG=C apt update
     
  3. Gixxa42

    Gixxa42 New Member

    @Taleman

    Code:
    root@server ~ # LANG=C apt update
    OK:1 http://mirror.hetzner.com/debian/packages bookworm InRelease
    Holen:2 http://mirror.hetzner.com/debian/packages bookworm-updates InRelease [52,1 kB]
    Holen:3 http://mirror.hetzner.com/debian/packages bookworm-backports InRelease [56,5 kB]                                      
    OK:4 http://mirror.hetzner.com/debian/security bullseye-security InRelease                                                          
    OK:6 https://packages.sury.org/php bullseye InRelease                                                                              
    OK:7 http://security.debian.org/debian-security bookworm-security InRelease                                                        
    OK:8 http://deb.debian.org/debian bookworm InRelease                                                                              
    Holen:9 http://deb.debian.org/debian bookworm-updates InRelease [52,1 kB]
    OK:5 https://rspamd.com/apt-stable bookworm InRelease  
    Holen:10 https://deb.goaccess.io bullseye InRelease [3.772 B]
    Es wurden 164 kB in 1 s geholt (138 kB/s).
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut… Fertig
    Statusinformationen werden eingelesen… Fertig
    Alle Pakete sind aktuell.
    W: http://rspamd.com/apt-stable/dists/bookworm/InRelease: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.
    Edit:

    Saw that there were still some bullseye repos in there updated them to bookworm, no change:


    Code:
    root@server ~ # LANG=C apt update
    OK:1 http://mirror.hetzner.com/debian/packages bookworm InRelease
    OK:2 http://mirror.hetzner.com/debian/packages bookworm-updates InRelease                                                           
    OK:3 http://mirror.hetzner.com/debian/packages bookworm-backports InRelease                                                         
    OK:4 http://mirror.hetzner.com/debian/security bookworm-security InRelease                                                           
    OK:5 http://security.debian.org/debian-security bookworm-security InRelease                                                         
    OK:6 http://deb.debian.org/debian bookworm InRelease                                                                                 
    OK:7 http://deb.debian.org/debian bookworm-updates InRelease                                                                         
    OK:9 https://packages.sury.org/php bookworm InRelease                                                                               
    OK:8 https://rspamd.com/apt-stable bookworm InRelease                                                                             
    OK:10 https://deb.goaccess.io bookworm InRelease                                     
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut… Fertig
    Statusinformationen werden eingelesen… Fertig
    Alle Pakete sind aktuell.
    W: http://rspamd.com/apt-stable/dists/bookworm/InRelease: Schlüssel ist im veralteten Schlüsselbund trusted.gpg gespeichert (/etc/apt/trusted.gpg), siehe den Abschnitt MISSBILLIGUNG in apt-key(8) für Details.
     
    Last edited: Sep 28, 2023
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Strange that your system does not show error messages in english with LANG=C.
    Read yourself the man page of apt-key, see what it says about MISSBILLIGUNG.
    Code:
    man 8 apt-key
     
    Gixxa42 likes this.
  5. Gixxa42

    Gixxa42 New Member

    @Taleman

    I got it fixed :) That translation was how do I put it... crap... "MISSBILLIGUNG" should be "DEPRECATION" I would've never translated "DEPRECATION" to "MISSBILLIGUNG" but ok... here is what I did, if someone needs to do it too:

    1. apt-key list
    2. Look for the offending key im my case it was:

    Code:
    /etc/apt/trusted.gpg
    --------------------
    pub   rsa4096 2015-07-28 [SC]
          3FA3 47D5 E599 BE45 95CA  2576 FFA2 32ED BF21 E25E
    uid           [ unknown] Vsevolod Stakhov (Rspamd packages key) <*name removed*@rspamd.com>
    sub   rsa4096 2015-07-28 [E]
    3. apt-key del BF21E25E
    4. apt-key list to check the deletion (it worked)
    5. wget -qO- https://rspamd.com/apt-stable/gpg.key | tee /etc/apt/trusted.gpg.d/rspamd.asc
    6. apt-key list:

    Code:
    /etc/apt/trusted.gpg.d/rspamd.asc
    ---------------------------------
    pub   rsa4096 2015-07-28 [SC]
          3FA3 47D5 E599 BE45 95CA  2576 FFA2 32ED BF21 E25E
    uid           [ unknown] Vsevolod Stakhov (Rspamd packages key) <*name removed*@rspamd.com>
    sub   rsa4096 2015-07-28 [E]
    6. apt update --> no warnings anymore

    @till

    Maybe something to look at and change in the perfect server tutorial since apt-key (used in two places 1. rspamd and 2.
    goaccess) is deprecated.
     
    Th0m, Taleman and ahrasis like this.

Share This Page