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.

#51 Le 05/08/2022, à 21:26

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Pour nettoyer :

Le 11/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :

dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

Pour info, les précisions de nany, pour la commande de nettoyage

Tu avais redémarré l'ordi pour finaliser l'installation du noyau 5.4.0.122 ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#52 Le 05/08/2022, à 21:51

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

xubu1957 a écrit :

Pour nettoyer :

Le 11/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :

dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

Pour info, les précisions de nany, pour la commande de nettoyage

Tu avais redémarré l'ordi pour finaliser l'installation du noyau 5.4.0.122 ?

Non je ne pense pas que j'ai redémarré à ce moment là.
J'ai passé la commande pour supprimer les fichiers rc, je comprends certaines commandes et même plus, mais je voie à quel point je suis loin de comprendre la finesse de la syntaxe et "ponctuation" et autres  "variables" -p, P, r, .....
En tout cas j'ai beaucoup de noyau inusité et j'aurais dû m'en douter tant j'avais eu plus d'une fois un refus de mise à jour pour problème d'espace, j'avais fait une analyse de disque mais cela n'avait pas été détecté et j'ai fait des économies de bout de chandelle pour  avoir de l'espace voici le retour d'un message de nany "sens interdit".
Ici: https://forum.ubuntu-fr.org/viewtopic.p … #p21300631

jean-marc@gargantua:~$ lsb_release -sd ; echo "$(awk -F'[ \[]' '/cdrom:/{print $4}' /etc/apt/sources.list || awk '{print $1}' /var/log/installer/media-info) : $DESKTOP_SESSION → $XDG_CURRENT_DESKTOP" ; uname -mrs
Ubuntu 20.04.4 LTS
awk: avertissement : séquence d'échappement « \[ » traitée comme un simple « [ »
Ubuntu : mate → MATE
Linux 4.15.0-151-generic x86_64
jean-marc@gargantua:~$ echo ; df -Thx tmpfs -x devtmpfs -x squashfs ; echo ; df -Tix tmpfs -x devtmpfs -x squashfs ; echo

Sys. de fichiers Type Taille Utilisé Dispo Uti% Monté sur
/dev/sdb1        ext4    33G     27G  4,1G  87% /

Sys. de fichiers Type  Inœuds IUtil.  ILibre IUti% Monté sur
/dev/sdb1        ext4 2146304 430505 1715799   21% /

jean-marc@gargantua:~$ ^C
jean-marc@gargantua:~$ dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3 | column -t"}'
ii  linux-image-4.15.0-151-generic          4.15.0-151.157  amd64
ii  linux-modules-4.15.0-151-generic        4.15.0-151.157  amd64
ii  linux-modules-extra-4.15.0-151-generic  4.15.0-151.157  amd64
ii  linux-generic                           5.4.0.122.123   amd64
ii  linux-headers-generic                   5.4.0.122.123   amd64
ii  linux-image-generic                     5.4.0.122.123   amd64
ii  linux-headers-5.4.0-122                 5.4.0-122.138   all
ii  linux-headers-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-image-5.4.0-122-generic           5.4.0-122.138   amd64
ii  linux-modules-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-modules-extra-5.4.0-122-generic   5.4.0-122.138   amd64
jean-marc@gargantua:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     6	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
    17	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    27	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    30	
    31	## N.B. software from this repository may not have been tested as
    32	## extensively as that contained in the main release, although it includes
    33	## newer versions of some applications which may provide useful features.
    34	## Also, please note that software in backports WILL NOT receive any review
    35	## or updates from the Ubuntu security team.
    36	deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37	deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38	
    39	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    40	deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    41	deb http://security.ubuntu.com/ubuntu focal-security universe
    42	deb-src http://security.ubuntu.com/ubuntu focal-security universe
    43	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    44	deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    45	
    46	## Uncomment the following two lines to add software from Canonical's
    47	## 'partner' repository.
    48	## This software is not part of Ubuntu, but is offered by Canonical and the
    49	## respective vendors as a service to Ubuntu users.
    50	deb http://archive.canonical.com/ubuntu focal partner
    51	deb-src http://archive.canonical.com/ubuntu focal partner
    52	
    53	deb http://archive.ubuntu.com/ubuntu focal universe
    54	# deb-src http://archive.ubuntu.com/ubuntu focal universe

/etc/apt/sources.list.save


/etc/apt/sources.list.d/melixgaro-ubuntu-dpluzz-dev-bionic.list.save


/etc/apt/sources.list.d/inkscape_dev-ubuntu-stable-bionic.list.distUpgrade


/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list

     1	# deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main

/etc/apt/sources.list.d/saiarcot895-ubuntu-chromium-beta-xenial.list.distUpgrade


/etc/apt/sources.list.d/webupd8team-ubuntu-java-bionic.list.distUpgrade


/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list.save


/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.distUpgrade


/etc/apt/sources.list.d/melixgaro-ubuntu-dpluzz-dev-bionic.list.distUpgrade


/etc/apt/sources.list.d/saiarcot895-ubuntu-chromium-beta-xenial.list.save


/etc/apt/sources.list.d/inkscape_dev-ubuntu-stable-bionic.list.save


/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list.distUpgrade


/etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-xenial.list.save


/etc/apt/sources.list.d/ubuntu-mate-dev-ubuntu-ppa-xenial.list.save


/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.save


/etc/apt/sources.list.d/saiarcot895-ubuntu-chromium-beta-xenial.list

     1	# deb http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu xenial main

/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-bionic.list.save


/etc/apt/sources.list.d/vincent-vandevyvre-ubuntu-vvv-bionic.list.save


/etc/apt/sources.list.d/yoggic-ubuntu-dpluzz-xenial.list.distUpgrade


/etc/apt/sources.list.d/vincent-vandevyvre-ubuntu-vvv-bionic.list.distUpgrade


/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list

     1	# deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main

/etc/apt/sources.list.d/yoggic-ubuntu-dpluzz-xenial.list

     1	# deb http://ppa.launchpad.net/yoggic/dpluzz/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/yoggic/dpluzz/ubuntu xenial main

/etc/apt/sources.list.d/inkscape_dev-ubuntu-stable-bionic.list

     1	# deb http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/inkscape.dev/stable/ubuntu bionic main

/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-bionic.list

     1	deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main # désactivé pour la mise à niveau vers focal

/etc/apt/sources.list.d/ubuntu-mate-dev-ubuntu-ppa-xenial.list.distUpgrade


/etc/apt/sources.list.d/melixgaro-ubuntu-dpluzz-dev-bionic.list

     1	# deb http://ppa.launchpad.net/melixgaro/dpluzz-dev/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/melixgaro/dpluzz-dev/ubuntu bionic main

/etc/apt/sources.list.d/webupd8team-ubuntu-java-bionic.list.save


/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-bionic.list.distUpgrade


/etc/apt/sources.list.d/ubuntu-mate-dev-ubuntu-ppa-xenial.list

     1	# deb http://ppa.launchpad.net/ubuntu-mate-dev/ppa/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/ubuntu-mate-dev/ppa/ubuntu xenial main

/etc/apt/sources.list.d/yoggic-ubuntu-dpluzz-xenial.list.save


/etc/apt/sources.list.d/webupd8team-ubuntu-java-bionic.list

     1	# deb http://ppa.launchpad.net/webupd8team/java/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu bionic main

/etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-xenial.list

     1	# deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu bionic main # désactivé pour la mise à niveau vers bionic
     2	# deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu xenial main

/etc/apt/sources.list.d/qbittorrent-team-ubuntu-qbittorrent-stable-xenial.list.distUpgrade


/etc/apt/sources.list.d/vincent-vandevyvre-ubuntu-vvv-bionic.list

     1	# deb http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu bionic main

/etc/apt/sources.list.distUpgrade

jean-marc@gargantua:~$ 

Hors ligne

#53 Le 05/08/2022, à 22:31

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

pour grignoter un peu plus d' espace libre , tu peux aussi passer :

sudo apt autoremove

Par contre comme cette discussion est marqué resolu , on ne sait pas ou chercher ton probleme actuel ...
c' est le GRUB qui ne va pas ?
les sources ?
autres ?

Dernière modification par iznobe (Le 05/08/2022, à 22:32)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#54 Le 06/08/2022, à 05:59

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#55 Le 06/08/2022, à 10:30

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

iznobe a écrit :

pour grignoter un peu plus d' espace libre , tu peux aussi passer :

sudo apt autoremove

Par contre comme cette discussion est marqué resolu , on ne sait pas ou chercher ton probleme actuel ...
c' est le GRUB qui ne va pas ?
les sources ?
autres ?

Pour autoremove j'y ai pensé, mais j'ai eu un doute, vu que le noyau utilisé est ancien je ne savais pas si cela supprimerait les noyaux récents car non utilisés , soit le noyau ancien qui est en usage, et laisserait la partition sans noyau en usage et donc en panne.
j'ai regardé la doc sur autoremove, mais je suis perplexe .

Hors ligne

#56 Le 06/08/2022, à 10:32

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

xubu1957 a écrit :

En fait c'est une autre partition en 20.10 que j'ai oublié de mettre à jour mais qui tient.
Celle ci j'ai fait une mise à jour vers 20.04 qui a dû conserver un noyau ancien de 18.04 en usage, malgré le téléchargement de ceux plus récents pour 20.04.

Hors ligne

#57 Le 06/08/2022, à 10:41

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

iznobe a écrit :

pour grignoter un peu plus d' espace libre , tu peux aussi passer :

sudo apt autoremove

Par contre comme cette discussion est marqué resolu , on ne sait pas ou chercher ton probleme actuel ...
c' est le GRUB qui ne va pas ?
les sources ?
autres ?

Le contenu de grub:

jean-marc@gargantua:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
else
  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
	else
	  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
	fi
	linux	/boot/vmlinuz-5.4.0-122-generic root=UUID=23829a7b-1b04-48b8-a7e4-667c8854a63d ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.4.0-122-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
	menuentry 'Ubuntu, avec Linux 5.4.0-122-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-122-generic-advanced-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
		else
		  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
		fi
		echo	'Chargement de Linux 5.4.0-122-generic…'
		linux	/boot/vmlinuz-5.4.0-122-generic root=UUID=23829a7b-1b04-48b8-a7e4-667c8854a63d ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-122-generic
	}
	menuentry 'Ubuntu, avec Linux 5.4.0-122-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-122-generic-recovery-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
		else
		  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
		fi
		echo	'Chargement de Linux 5.4.0-122-generic…'
		linux	/boot/vmlinuz-5.4.0-122-generic root=UUID=23829a7b-1b04-48b8-a7e4-667c8854a63d ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-122-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-151-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-151-generic-advanced-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
		else
		  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
		fi
		echo	'Chargement de Linux 4.15.0-151-generic…'
		linux	/boot/vmlinuz-4.15.0-151-generic root=UUID=23829a7b-1b04-48b8-a7e4-667c8854a63d ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-151-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-151-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-151-generic-recovery-23829a7b-1b04-48b8-a7e4-667c8854a63d' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
		else
		  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
		fi
		echo	'Chargement de Linux 4.15.0-151-generic…'
		linux	/boot/vmlinuz-4.15.0-151-generic root=UUID=23829a7b-1b04-48b8-a7e4-667c8854a63d ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-151-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
	else
	  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  23829a7b-1b04-48b8-a7e4-667c8854a63d
	else
	  search --no-floppy --fs-uuid --set=root 23829a7b-1b04-48b8-a7e4-667c8854a63d
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 20.10 (20.10) (sur /dev/sda3)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
	else
	  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
	fi
	linux /boot/vmlinuz-5.8.0-63-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro quiet splash $vt_handoff
	initrd /boot/initrd.img-5.8.0-63-generic
}
submenu 'Options avancées pour Ubuntu 20.10 (20.10) (sur /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
	menuentry 'Ubuntu (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-63-generic--e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		else
		  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		fi
		linux /boot/vmlinuz-5.8.0-63-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.8.0-63-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-63-generic (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-63-generic--e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		else
		  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		fi
		linux /boot/vmlinuz-5.8.0-63-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.8.0-63-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-63-generic (recovery mode) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-63-generic-root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro recovery nomodeset dis_ucode_ldr-e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		else
		  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		fi
		linux /boot/vmlinuz-5.8.0-63-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.8.0-63-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-59-generic (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-59-generic--e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		else
		  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		fi
		linux /boot/vmlinuz-5.8.0-59-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.8.0-59-generic
	}
	menuentry 'Ubuntu, avec Linux 5.8.0-59-generic (recovery mode) (sur /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-59-generic-root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro recovery nomodeset dis_ucode_ldr-e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb' {
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		else
		  search --no-floppy --fs-uuid --set=root e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb
		fi
		linux /boot/vmlinuz-5.8.0-59-generic root=UUID=e7cbc4a6-5fe5-443e-a5f3-2874511b6dcb ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.8.0-59-generic
	}
}


set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
jean-marc@gargantua:~$ 

Grub reconnaît un 5.8.0-63
Je vais sans doute faire un grub repair. Et puis un autoremove.

Dernière modification par herodote k210 (Le 06/08/2022, à 10:42)

Hors ligne

#58 Le 06/08/2022, à 11:17

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Le boot repair a fonctionné et pas tellement l'autoremove, qui n'a pas supprimé les noyaux anciens:

jean-marc@gargantua:~$ sudo apt-get autoremove
[sudo] Mot de passe de jean-marc : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
N: « 50unattended-upgrades.merge-error » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable
jean-marc@gargantua:~$ 

Hors ligne

#59 Le 06/08/2022, à 11:34

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Le 20/12/2016, xabilon a écrit :

Salut

C'est un fichier obsolète provenant d'une mise à jour. Pour le supprimer :

sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-old

> [RESOLU] 50unattended-upgrades.ucf-old me bloque


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#60 Le 06/08/2022, à 13:24

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

xubu1957 a écrit :
Le 20/12/2016, xabilon a écrit :

Salut

C'est un fichier obsolète provenant d'une mise à jour. Pour le supprimer :

sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-old

> [RESOLU] 50unattended-upgrades.ucf-old me bloque

Merci c'est fait.

J'ai fait un update et j'ai en fin de retour ceci:

N: « 50unattended-upgrades.merge-error » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable
jean-marc@gargantua:~$ 

Malgré une auto remove cela persiste, à voire si je ne vais pas faire un autoremove purge

Dernière modification par herodote k210 (Le 06/08/2022, à 13:28)

Hors ligne

#61 Le 06/08/2022, à 13:26

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Fournis les noyaux présents :

echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

et :

sudo du -ah --max-depth=2 /boot | sort -h | tail -23

et arrête les citations , pour alléger tes réponses:

Règles du forum= § Politesse a écrit :

(...)
3. Utilisez la citation avec modération : il ne sert à rien de citer l'intégralité du post précédent.
(...)

règles du forum

Dernière modification par xubu1957 (Le 06/08/2022, à 13:28)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#62 Le 06/08/2022, à 13:30

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Bonjour , la commande

sudo apt autoremove

ne supprime pas les noyaux anciens .
elle supprime seulement les paquets devenus inutiles .

pour supprimer les noyaux anciens , c ' est la commande :

sudo apt autopurge

je te la donne car tu en parles .
je ne te l' avais pas donné avant car justement j' ai remarqué que tu etais sur noyau 4.X  alors que des 5.X etait installé mais pas en cours d' utilisation .

Ne sachant pas si apres la mise a niveau tu avais redemarré ou pas , ne sachant pas si tu postais pour un probleme avec les noyaux recents et que tu avais donc redemarré sur un noyau ancien expres , ne sachant pas si tu avais mis ce noyau en cours d ' utilisation en manuel ( protection contre la suppression automatique ) , je me suis abstenu ...

Donc selon ton soucis ( que je ne connais toujours pas ) , il ne vaut mieux pas passer cette commande pour le moment .


EDIT : pour ce message :

N: « 50unattended-upgrades.merge-error » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable
jean-marc@gargantua:~$ 

pour en conserver le contenu sur le forum au cas ou :

cat /etc/apt/apt.conf.d/50unattended-upgrades.merge-error

la suppression :

cd /etc/apt/apt.conf.d/ && sudo rm 50unattended-upgrades.merge-error; cd

la verification :

sudo apt update

Dernière modification par iznobe (Le 06/08/2022, à 13:49)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#63 Le 06/08/2022, à 13:31

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Pour les noyaux, visiblement j'en trouve encore deux anciens:

jean-marc@gargantua:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-image-4.15.0-151-generic          4.15.0-151.157  amd64
ii  linux-modules-4.15.0-151-generic        4.15.0-151.157  amd64
ii  linux-modules-extra-4.15.0-151-generic  4.15.0-151.157  amd64
ii  linux-headers-5.4.0-122                 5.4.0-122.138   all
ii  linux-headers-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-image-5.4.0-122-generic           5.4.0-122.138   amd64
ii  linux-modules-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-modules-extra-5.4.0-122-generic   5.4.0-122.138   amd64
ii  linux-generic                           5.4.0.122.123   amd64
ii  linux-headers-generic                   5.4.0.122.123   amd64
ii  linux-image-generic                     5.4.0.122.123   amd64

Noyau courant : 5.4.0-122-generic x86_64
jean-marc@gargantua:~$ 

Et

jean-marc@gargantua:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
0	/boot/initrd.img.old
0	/boot/vmlinuz
0	/boot/vmlinuz.old
4,0K	/boot/grub/gfxblacklist.txt
4,0K	/boot/grub/grubenv
16K	/boot/grub/grub.cfg
180K	/boot/memtest86+.bin
184K	/boot/memtest86+.elf
184K	/boot/memtest86+_multiboot.bin
216K	/boot/config-4.15.0-151-generic
236K	/boot/config-5.4.0-122-generic
280K	/boot/grub/locale
2,3M	/boot/grub/fonts
2,3M	/boot/grub/unicode.pf2
2,5M	/boot/grub/i386-pc
3,9M	/boot/System.map-4.15.0-151-generic
4,6M	/boot/System.map-5.4.0-122-generic
7,4M	/boot/grub
8,1M	/boot/vmlinuz-4.15.0-151-generic
14M	/boot/vmlinuz-5.4.0-122-generic
66M	/boot/initrd.img-4.15.0-151-generic
127M	/boot/initrd.img-5.4.0-122-generic
231M	/boot
jean-marc@gargantua:~$ 

Hors ligne

#64 Le 06/08/2022, à 13:31

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

la Doc > kernel#via_autoremove mentionne :

extrait § 5.1 a écrit :

En pratique, si un ou plusieurs vieux noyaux résistent à la purge, il suffit de passer cette commande dans le terminal :

apt-mark showmanual | grep -E "linux-.*[0-9]" | grep -v "hwe" | xargs -r sudo apt-mark auto

Puis de repasser la commande de nettoyage automatique :

sudo apt autoremove --purge -y

Après cela, il ne restera que le dernier noyau et l'avant-dernier

Il reste deux noyaux, c'est correct !

Dernière modification par xubu1957 (Le 06/08/2022, à 13:32)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#65 Le 06/08/2022, à 13:37

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Etrange cela n'a rien donné

jean-marc@gargantua:~$ sudo apt-get autoremove --purge
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
N: « 50unattended-upgrades.merge-error » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable
jean-marc@gargantua:~$ 

Je me demande si ce n'est pas cela qui gêne :
N: « 50unattended-upgrades.merge-error » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable.
Je vais voire à me placer ici et supprimer "50unattended-upgrades.merge-error".

Dernière modification par herodote k210 (Le 06/08/2022, à 13:39)

Hors ligne

#66 Le 06/08/2022, à 13:39

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

herodote k210 a écrit :

Pour les noyaux, visiblement j'en trouve encore deux anciens:

jean-marc@gargantua:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-image-4.15.0-151-generic          4.15.0-151.157  amd64
ii  linux-modules-4.15.0-151-generic        4.15.0-151.157  amd64
ii  linux-modules-extra-4.15.0-151-generic  4.15.0-151.157  amd64
ii  linux-headers-5.4.0-122                 5.4.0-122.138   all
ii  linux-headers-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-image-5.4.0-122-generic           5.4.0-122.138   amd64
ii  linux-modules-5.4.0-122-generic         5.4.0-122.138   amd64
ii  linux-modules-extra-5.4.0-122-generic   5.4.0-122.138   amd64
ii  linux-generic                           5.4.0.122.123   amd64
ii  linux-headers-generic                   5.4.0.122.123   amd64
ii  linux-image-generic                     5.4.0.122.123   amd64

Noyau courant : 5.4.0-122-generic x86_64
jean-marc@gargantua:~$ 

ben non , tu as un noyau de serie 4.15 et un autre de serie 5.4 .
lors de la mise a niveau , ca t ' a installé la nouvelle serie de noyau ( 5.4 ) qui va avec la distribution , tout a fait normal .
il est resté les noyaux de l ' ancien distrib , ceux de la serie 4.15 .

tu as passé une commande qui supprime les noyaux les plus vieux ( ce n' est pas pareil que ancien ... ) c ' est a dire qui garde les 2 noyaux avec le numero de version les plus haut , tout simplement .
Comme tu n' en as qu ' un en serie 5.4 , evidemment , le 2eme conservé est un de la serie ancienne : 4.15 .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#67 Le 06/08/2022, à 13:40

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

Le 26/01/2017, f.x0 a écrit :

tapes

sudo mv /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist   /etc/apt

puis repostes le retour de

sudo apt-get update

> [RESOLU] 50unattended-upgrades.ucf-old me bloque


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#68 Le 06/08/2022, à 13:40

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

xubu1957 a écrit :

la Doc > kernel#via_autoremove mentionne :

extrait § 5.1 a écrit :

En pratique, si un ou plusieurs vieux noyaux résistent à la purge, il suffit de passer cette commande dans le terminal :

apt-mark showmanual | grep -E "linux-.*[0-9]" | grep -v "hwe" | xargs -r sudo apt-mark auto

Puis de repasser la commande de nettoyage automatique :

sudo apt autoremove --purge -y

Après cela, il ne restera que le dernier noyau et l'avant-dernier

Il reste deux noyaux, c'est correct !

D'accord je comprends mieux et je te remercie.

Hors ligne

#69 Le 06/08/2022, à 13:41

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

@herodote k210 , je ne sais pas si tu as vu les messages que j' ai posté qui se sont croisés ? regarde en particulier le message #62 pour ton probleme d' update .

Dernière modification par iznobe (Le 06/08/2022, à 13:43)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#70 Le 06/08/2022, à 13:43

xubu1957

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

#62, iznobe a écrit :

pour supprimer les noyaux anciens , c ' est la commande :

sudo at autopurge

je te la donne car tu en parles .

C'est plus apt  ?

Dernière modification par xubu1957 (Le 06/08/2022, à 13:44)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#71 Le 06/08/2022, à 13:48

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

big_smile faute de frappe tongue je corrige merci xubu .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#72 Le 06/08/2022, à 20:11

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

iznobe a écrit :

@herodote k210 , je ne sais pas si tu as vu les messages que j' ai posté qui se sont croisés ? regarde en particulier le message #62 pour ton probleme d' update .

Oui effectivement je l'avais vu et je t'avais répondu car j'étais hésitant et je l'avais fait et cela n'avait visiblement rien supprimé en résultat même si les noyaux plus anciens ont disparu.
les retours en archivage du contenu :

jean-marc@gargantua:~$ cat /etc/apt/apt.conf.d/50unattended-upgrades.merge-error
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
<<<<<<< Current
||||||| Older
        "${distro_id}:${distro_codename}";
=======
	"${distro_id}:${distro_codename}";
>>>>>>> New
	"${distro_id}:${distro_codename}-security";
	// Extended Security Maintenance; doesn't necessarily exist for
	// every release and this system may not have it installed, but if
	// available, the policy for updates is such that unattended-upgrades
	// should also install from here by default.
	"${distro_id}ESM:${distro_codename}";
//	"${distro_id}:${distro_codename}-updates";
//	"${distro_id}:${distro_codename}-proposed";
//	"${distro_id}:${distro_codename}-backports";
};

// Python regular expressions, matching packages to exclude from upgrading
Unattended-Upgrade::Package-Blacklist {
    // The following matches all packages starting with linux-
//  "linux-";

    // Use $ to explicitely define the end of a package name. Without
    // the $, "libc6" would match all of them.
//  "libc6$";
//  "libc6-dev$";
//  "libc6-i686$";

    // Special characters need escaping
//  "libstdc\+\+6$";

    // The following matches packages like xen-system-amd64, xen-utils-4.1,
    // xenstore-utils and libxenstore3.0
//  "(lib)?xen(store)?";

    // For more information about Python regular expressions, see
    // https://docs.python.org/3/howto/regex.html
};

<<<<<<< Current
||||||| Older
// This option will controls whether the development release of Ubuntu will be
// upgraded automatically.
Unattended-Upgrade::DevRelease "false";

=======
// This option controls whether the development release of Ubuntu will be
// upgraded automatically. Valid values are "true", "false", and "auto".
Unattended-Upgrade::DevRelease "auto";

>>>>>>> New
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "true";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
<<<<<<< Older
//Unattended-Upgrade::MinimalSteps "false";
=======
//Unattended-Upgrade::MinimalSteps "true";
>>>>>>> New

<<<<<<< Current
// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
||||||| Older
// Install all unattended-upgrades when the machine is shutting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
=======
// Install all updates when the machine is shutting down
// instead of doing it in the background while the machine is running.
// This will (obviously) make shutdown slower.
// Unattended-upgrades increases logind's InhibitDelayMaxSec to 30s.
// This allows more time for unattended-upgrades to shut down gracefully
// or even install a few packages in InstallOnShutdown mode, but is still a
// big step back from the 30 minutes allowed for InstallOnShutdown previously.
// Users enabling InstallOnShutdown mode are advised to increase
// InhibitDelayMaxSec even further, possibly to 30 minutes.
//Unattended-Upgrade::InstallOnShutdown "false";
>>>>>>> New

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
//Unattended-Upgrade::Mail "";

// Set this value to one of:
//    "always", "only-on-error" or "on-change"
// If this is not set, then any legacy MailOnlyOnError (boolean) value
// is used to chose between "only-on-error" and "on-change"
//Unattended-Upgrade::MailReport "on-change";

<<<<<<< Current
// Do automatic removal of new unused dependencies after the upgrade
||||||| Older
// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "false";

// Do automatic removal of new unused dependencies after the upgrade
=======
// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";

// Do automatic removal of newly unused dependencies after the upgrade
//Unattended-Upgrade::Remove-New-Unused-Dependencies "true";

// Do automatic removal of unused packages after the upgrade
>>>>>>> New
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
<<<<<<< Current
||||||| Older

// Enable logging to syslog. Default is False
// Unattended-Upgrade::SyslogEnable "false";

// Specify syslog facility. Default is daemon
// Unattended-Upgrade::SyslogFacility "daemon";

// Download and install upgrades only on AC power
// (i.e. skip or gracefully stop updates on battery)
// Unattended-Upgrade::OnlyOnACPower "true";

// Download and install upgrades only on non-metered connection
// (i.e. skip or gracefully stop updates on a metered connection)
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";
=======

// Enable logging to syslog. Default is False
// Unattended-Upgrade::SyslogEnable "false";

// Specify syslog facility. Default is daemon
// Unattended-Upgrade::SyslogFacility "daemon";

// Download and install upgrades only on AC power
// (i.e. skip or gracefully stop updates on battery)
// Unattended-Upgrade::OnlyOnACPower "true";

// Download and install upgrades only on non-metered connection
// (i.e. skip or gracefully stop updates on a metered connection)
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";

// Verbose logging
// Unattended-Upgrade::Verbose "false";

// Print debugging information both in unattended-upgrades and
// in unattended-upgrade-shutdown
// Unattended-Upgrade::Debug "false";

// Allow package downgrade if Pin-Priority exceeds 1000
// Unattended-Upgrade::Allow-downgrade "false";
>>>>>>> New
jean-marc@gargantua:~$ 

Suppression et retour de l'update, les archives pour focal semblent opérantes .

jean-marc@gargantua:~$ sudo apt update
Atteint :1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal InRelease                                                       
Réception de :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                 
Réception de :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]                               
Atteint :5 http://archive.ubuntu.com/ubuntu focal InRelease                                                          
Réception de :6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                  
Atteint :7 http://archive.canonical.com/ubuntu focal InRelease        
Réception de :8 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [701 kB]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2002 kB]
Réception de :10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40,7 kB]
Réception de :11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [66,6 kB] 
Réception de :12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2464 B]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [278 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7976 B]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,5 kB]
3857 ko réceptionnés en 3s (1194 ko/s)                       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
jean-marc@gargantua:~$ 

Merci à vous, à voire sur le long terme.
Maintenant je pense plus à faire mes mises à jour via usb live.

Hors ligne

#73 Le 06/08/2022, à 22:32

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

bon , en tout cas , plus de message d ' alerte a propos du fichier 50unattended-upgrade .

il ne faut pas faire de mises a jour a partir d ' une session live ! du coup je ne comprends pas trop la remarque suivante :

herodote k210 a écrit :

Maintenant je pense plus à faire mes mises à jour via usb live.

non seulement parce que , évidemment , ca n' impactera pas le système installé sur le disque dur , et de plus parce que ca va " flinguer " ton support live .

Dernière modification par iznobe (Le 06/08/2022, à 22:33)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#74 Le 07/08/2022, à 16:35

herodote k210

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

iznobe a écrit :

bon , en tout cas , plus de message d ' alerte a propos du fichier 50unattended-upgrade .

il ne faut pas faire de mises a jour a partir d ' une session live ! du coup je ne comprends pas trop la remarque suivante :

herodote k210 a écrit :

Maintenant je pense plus à faire mes mises à jour via usb live.

non seulement parce que , évidemment , ca n' impactera pas le système installé sur le disque dur , et de plus parce que ca va " flinguer " ton support live .

Non je pensais aux mises à jour système en fait les migrations.
Je pense que je n'aurais plus ce type de problème avec divers noyaux anciens.
Merci j'avais pensé à supprimer ce paquet "50unattended-upgrade " mais j'étais vraiment hésitant quant aux conséquences .
smile

Hors ligne

#75 Le 07/08/2022, à 17:48

iznobe

Re : [résolu]soucis calibrage affichage & réglage taille des objetsàl'écran

en l' occurence , ici , ce n' est pas un probleme avec un noyau " ancien " , bien au contraire , c ' est justement le plus recent qui pose probleme .

Comme j' ai deja dis , tous les noyaux " nouveaux " ne sont pas exempts de bugs , la preuve avec ton systeme . mais il y a pas mal d' autre posts ou les noyaux qui sortent causent aussi des problemes , sans parler des personnes qui ne viennent pas forcement le dire sur le forum , ou pour lesquels on ne trouvent pas que c' est le noyau .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne