Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 14/02/2024, à 22:07

nany

Re : erreur pas de nouvelle release

Donne le retour de :

sudo sed -i '/jammy-security/s/archive.ubuntumirror.dei.uc.pt\/ubuntu\//security.ubuntu.com\/ubuntu/;s/archive.ubuntumirror.dei.uc.pt/pt.archive.ubuntu.com/' /etc/apt/sources.list && cat /etc/apt/sources.list
sevakadir a écrit :

Jai compris que on a fait un gos menage, mais c est tout...ou est ce que je peux apprendre tout ca pas a pas?

xubu1957 aime bien donner cette commande de nettoyage.
Sinon, j’ai fait un script qui fait le ménage tous les mois.

En ligne

#27 Le 14/02/2024, à 22:15

sevakadir

Re : erreur pas de nouvelle release

sevak@sevak-SATELLITE-L870-19N:~$ sudo sed -i '/jammy-security/s/archive.ubuntumirror.dei.uc.pt\/ubuntu\//security.ubuntu.com\/ubuntu/;s/archive.ubuntumirror.dei.uc.pt/pt.archive.ubuntu.com/' /etc/apt/sources.list && cat /etc/apt/sources.list
[sudo] Mot de passe de sevak : 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pt.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pt.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://pt.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy universe
deb http://pt.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://pt.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://pt.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://pt.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://pt.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
sevak@sevak-SATELLITE-L870-19N:~$ 

Hors ligne

#28 Le 14/02/2024, à 22:19

nany

Re : erreur pas de nouvelle release

Parfait !
Tu peux maintenant donner le retour de :

sudo apt clean && sudo apt update

En ligne

#29 Le 14/02/2024, à 22:21

sevakadir

Re : erreur pas de nouvelle release

sevak@sevak-SATELLITE-L870-19N:~$ sudo apt clean && sudo apt update
Réception de :1 http://ppa.launchpad.net/mdoyen/homebank/ubuntu jammy InRelease [17,5 kB]
Atteint :2 https://linux.teamviewer.com/deb stable InRelease                   
Réception de :3 https://repo.steampowered.com/steam stable InRelease [2861 B] 
Réception de :4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Réception de :5 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease [7553 B]
Atteint :6 https://deb.opera.com/opera-stable stable InRelease                 
Réception de :7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease [7456 B]
Réception de :8 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7450 B]
Réception de :9 http://pt.archive.ubuntu.com/ubuntu jammy InRelease [270 kB]   
Réception de :10 http://ppa.launchpad.net/mdoyen/homebank/ubuntu jammy/main i386 Packages [464 B]
Réception de :11 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7449 B]
Réception de :12 http://ppa.launchpad.net/mdoyen/homebank/ubuntu jammy/main amd64 Packages [976 B]
Réception de :13 http://ppa.launchpad.net/mdoyen/homebank/ubuntu jammy/main Translation-en [660 B]
Réception de :14 https://repo.steampowered.com/steam stable/steam amd64 Packages [1151 B]
Réception de :15 https://repo.steampowered.com/steam stable/steam i386 Packages [1345 B]
Réception de :16 http://pt.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Réception de :17 http://pt.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Réception de :18 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [402 kB]
Réception de :19 http://pt.archive.ubuntu.com/ubuntu jammy/main i386 Packages [1040 kB]
Réception de :20 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1154 kB]
Réception de :21 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [212 kB]
Réception de :22 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [43,0 kB]
Réception de :23 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 48x48 Icons [16,9 kB]
Réception de :24 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 64x64 Icons [26,5 kB]
Réception de :25 http://security.ubuntu.com/ubuntu jammy-security/main DEP-11 64x64@2 Icons [29 B]
Réception de :26 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11,4 kB]
Réception de :27 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1392 kB]
Réception de :28 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [33,2 kB]
Réception de :29 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [229 kB]
Réception de :30 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [520 B]
Réception de :31 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [590 kB]
Réception de :32 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [841 kB]
Réception de :33 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [161 kB]
Réception de :34 http://pt.archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1395 kB]
Réception de :35 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [55,1 kB]
Réception de :36 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 48x48 Icons [22,0 kB]
Réception de :37 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 64x64 Icons [34,6 kB]
Réception de :38 http://security.ubuntu.com/ubuntu jammy-security/universe DEP-11 64x64@2 Icons [29 B]
Réception de :39 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [16,8 kB]
Réception de :40 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages [1356 B]
Réception de :41 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37,1 kB]
Réception de :42 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [7476 B]
Réception de :43 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [260 B]
Réception de :44 http://pt.archive.ubuntu.com/ubuntu jammy/main Translation-fr [486 kB]
Réception de :45 http://pt.archive.ubuntu.com/ubuntu jammy/main Translation-en [510 kB]
Réception de :46 http://pt.archive.ubuntu.com/ubuntu jammy/main amd64 DEP-11 Metadata [423 kB]
Réception de :47 http://pt.archive.ubuntu.com/ubuntu jammy/main DEP-11 48x48 Icons [100,0 kB]
Réception de :48 http://pt.archive.ubuntu.com/ubuntu jammy/main DEP-11 64x64 Icons [148 kB]
Réception de :49 http://pt.archive.ubuntu.com/ubuntu jammy/main DEP-11 64x64@2 Icons [15,8 kB]
Réception de :50 http://pt.archive.ubuntu.com/ubuntu jammy/main amd64 c-n-f Metadata [30,3 kB]
Réception de :51 http://pt.archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [129 kB]
Réception de :52 http://pt.archive.ubuntu.com/ubuntu jammy/restricted i386 Packages [30,4 kB]
Réception de :53 http://pt.archive.ubuntu.com/ubuntu jammy/restricted Translation-en [18,6 kB]
Réception de :54 http://pt.archive.ubuntu.com/ubuntu jammy/restricted Translation-fr [4760 B]
Réception de :55 http://pt.archive.ubuntu.com/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B]
Réception de :56 http://pt.archive.ubuntu.com/ubuntu jammy/universe i386 Packages [7474 kB]
Réception de :57 http://pt.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14,1 MB]
Réception de :58 http://pt.archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
Réception de :59 http://pt.archive.ubuntu.com/ubuntu jammy/universe Translation-fr [3564 kB]
Réception de :60 http://pt.archive.ubuntu.com/ubuntu jammy/universe amd64 DEP-11 Metadata [3559 kB]
Réception de :61 http://pt.archive.ubuntu.com/ubuntu jammy/universe DEP-11 48x48 Icons [3447 kB]
Réception de :62 http://pt.archive.ubuntu.com/ubuntu jammy/universe DEP-11 64x64 Icons [7609 kB]
Réception de :63 http://pt.archive.ubuntu.com/ubuntu jammy/universe DEP-11 64x64@2 Icons [69,3 kB]
Réception de :64 http://pt.archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]
Réception de :65 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages [112 kB]
Réception de :66 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Réception de :67 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
Réception de :68 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse Translation-fr [93,5 kB]
Réception de :69 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse amd64 DEP-11 Metadata [42,1 kB]
Réception de :70 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 48x48 Icons [42,7 kB]
Réception de :71 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 64x64 Icons [193 kB]
Réception de :72 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse DEP-11 64x64@2 Icons [214 B]
Réception de :73 http://pt.archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B]
Réception de :74 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1371 kB]
Réception de :75 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [569 kB]
Réception de :76 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [273 kB]
Réception de :77 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [101 kB]
Réception de :78 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 48x48 Icons [36,1 kB]
Réception de :79 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 64x64 Icons [55,1 kB]
Réception de :80 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 64x64@2 Icons [29 B]
Réception de :81 http://pt.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [16,1 kB]
Réception de :82 http://pt.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages [34,8 kB]
Réception de :83 http://pt.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1421 kB]
Réception de :84 http://pt.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [234 kB]
Réception de :85 http://pt.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [520 B]
Réception de :86 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1048 kB]
Réception de :87 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [688 kB]
Réception de :88 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [237 kB]
Réception de :89 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [305 kB]
Réception de :90 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 48x48 Icons [205 kB]
Réception de :91 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64 Icons [311 kB]
Réception de :92 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe DEP-11 64x64@2 Icons [29 B]
Réception de :93 http://pt.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [22,1 kB]
Réception de :94 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages [4164 B]
Réception de :95 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [42,1 kB]
Réception de :96 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [10,1 kB]
Réception de :97 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :98 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1867 B]
Réception de :99 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2497 B]
Réception de :100 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse DEP-11 64x64@2 Icons [29 B]
Réception de :101 http://pt.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [472 B]
Réception de :102 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages [33,9 kB]
Réception de :103 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [41,7 kB]
Réception de :104 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [10,5 kB]
Réception de :105 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [4932 B]
Réception de :106 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 48x48 Icons [16,1 kB]
Réception de :107 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 64x64 Icons [21,3 kB]
Réception de :108 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main DEP-11 64x64@2 Icons [29 B]
Réception de :109 http://pt.archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B]
Réception de :110 http://pt.archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]
Réception de :111 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages [13,4 kB]
Réception de :112 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [24,3 kB]
Réception de :113 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16,5 kB]
Réception de :114 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [18,9 kB]
Réception de :115 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 48x48 Icons [15,7 kB]
Réception de :116 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 64x64 Icons [25,6 kB]
Réception de :117 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe DEP-11 64x64@2 Icons [29 B]
Réception de :118 http://pt.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [644 B]
Réception de :119 http://pt.archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]
64,1 Mo réceptionnés en 28s (2329 ko/s)                                       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
18 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
sevak@sevak-SATELLITE-L870-19N:~$ 

Hors ligne

#30 Le 14/02/2024, à 22:23

nany

Re : erreur pas de nouvelle release

Eh bien c’est bon pour moi.

À noter que 18 paquets peuvent être mis à jour.

En ligne

#31 Le 14/02/2024, à 22:24

sevakadir

Re : erreur pas de nouvelle release

oui c est fait ! Un grand merci pour tout ce temps!:)

Dernière modification par sevakadir (Le 14/02/2024, à 22:25)

Hors ligne

#32 Le 15/02/2024, à 18:57

sevakadir

Re : erreur pas de nouvelle release

un dernier conseil, Nany, j ai essaye vos lignes de nettoyage sur une nouvelle install d un autre ordi, et voici les retour, est ce normal ?

evak@sevak-MS-7917:~$ echo -e "#\x21/bin/bash\n\napt-mark showmanual |\nawk '/linux-.*[0-9]/ && \x21 /hwe-[0-9][02468].04/{print}' |\nxargs -r apt-mark auto\n\napt-get autoremove --purge -y\n\napt-get purge -y ?config-files\n\nf_t_p=( \$(dpkg -l | awk '\x21/^rc/ && / linux-.*-generic | linux-.*-lowlatency /\\\\\n{sub(/^[^0-9]*/,\"\",\$2) ; sub(/-[a-z]*$/,\"\",\$2) ; print \$2 | \"sort -Vru\"}') )\n\nfind /lib/modules/ -mindepth 1 -maxdepth 1 \\\\\n\\( ! -name \"\${f_t_p[0]}*\" -a ! -name \"\${f_t_p[1]}*\" \\) -exec rm -r '{}' \;" | sudo tee /etc/cron.monthly/clean-kernels
[sudo] Mot de passe de sevak : 
#!/bin/bash

apt-mark showmanual |
awk '/linux-.*[0-9]/ && ! /hwe-[0-9][02468].04/{print}' |
xargs -r apt-mark auto

apt-get autoremove --purge -y

apt-get purge -y ?config-files

f_t_p=( $(dpkg -l | awk '!/^rc/ && / linux-.*-generic | linux-.*-lowlatency /\
{sub(/^[^0-9]*/,"",$2) ; sub(/-[a-z]*$/,"",$2) ; print $2 | "sort -Vru"}') )

find /lib/modules/ -mindepth 1 -maxdepth 1 \
\( ! -name "${f_t_p[0]}*" -a ! -name "${f_t_p[1]}*" \) -exec rm -r '{}' \;
sevak@sevak-MS-7917:~$ sudo chmod -c +x /etc/cron.monthly/clean-kernels
le mode de '/etc/cron.monthly/clean-kernels' a été modifié de 0644 (rw-r--r--) en 0755 (rwxr-xr-x)
sevak@sevak-MS-7917:~$ 

Hors ligne

#33 Le 16/02/2024, à 08:55

nany

Re : erreur pas de nouvelle release

Bonjour,



sevakadir a écrit :

j ai essaye vos lignes de nettoyage sur une nouvelle install d un autre ordi, et voici les retour, est ce normal ?

Oui, c'est tout ce qu'il y a de plus normal. Ça crée le script puis le rend exécutable. Il n'y a rien d'autre à faire.

En ligne

#34 Le 16/02/2024, à 11:29

sevakadir

Re : erreur pas de nouvelle release

exécutable Cela veut dire qu il doit etre excecute ou que c est deja fait par la commande ou qu il s excecute tout seul chaque mois ?

Hors ligne

#35 Le 16/02/2024, à 11:40

nany

Re : erreur pas de nouvelle release

Vu l'endroit où il est placé (/etc/cron.monthly), il s'exécutera automatiquement une fois par mois.

En ligne

#36 Le 16/02/2024, à 13:55

sevakadir

Re : erreur pas de nouvelle release

ok merci beaucoup !

Hors ligne