{"id":400,"date":"2026-05-23T18:43:27","date_gmt":"2026-05-23T18:43:27","guid":{"rendered":"https:\/\/www.hokutotokisama.fr\/?p=400"},"modified":"2026-05-23T18:43:27","modified_gmt":"2026-05-23T18:43:27","slug":"erreur-lors-dun-do-release-upgrade-sous-ubuntu","status":"publish","type":"post","link":"https:\/\/www.hokutotokisama.fr\/?p=400","title":{"rendered":"Erreur lors d&rsquo;un do-release-upgrade sous ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Si l&rsquo;erreur suivante se produit lors d&rsquo;un do-release-upgrade sous ubuntu<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get:1 Upgrade tool signature &#91;833 B]                                                                                                                                            \nGet:2 Upgrade tool &#91;944 kB]                                                                                                                                                     \nFetched 945 kB in 0s (0 B\/s)                                                                                                                                                    \n\/usr\/lib\/python3\/dist-packages\/DistUpgrade\/DistUpgradeFetcherCore.py:180: Warning: W:Download is performed unsandboxed as root as file 'questing.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)\n  result = fetcher.run()\nauthenticate 'questing.tar.gz' against 'questing.tar.gz.gpg' \nTraceback (most recent call last):\n  File \"\/usr\/bin\/do-release-upgrade\", line 229, in &lt;module>\n    fetcher.run()\n    ~~~~~~~~~~~^^\n  File \"\/usr\/lib\/python3\/dist-packages\/DistUpgrade\/DistUpgradeFetcherCore.py\", line 215, in run\n    if not self.authenticate():\n           ~~~~~~~~~~~~~~~~~^^\n  File \"\/usr\/lib\/python3\/dist-packages\/DistUpgrade\/DistUpgradeFetcherCore.py\", line 104, in authenticate\n    if self.gpgauthenticate(f, sig):\n       ~~~~~~~~~~~~~~~~~~~~^^^^^^^^\n  File \"\/usr\/lib\/python3\/dist-packages\/DistUpgrade\/DistUpgradeFetcherCore.py\", line 119, in gpgauthenticate\n    ret = subprocess.call(gpg, stderr=subprocess.PIPE)\n  File \"\/usr\/lib\/python3.13\/subprocess.py\", line 395, in call\n    with Popen(*popenargs, **kwargs) as p:\n         ~~~~~^^^^^^^^^^^^^^^^^^^^^^\n  File \"\/usr\/lib\/python3.13\/subprocess.py\", line 1039, in __init__\n    self._execute_child(args, executable, preexec_fn, close_fds,\n    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                        pass_fds, cwd, env,\n                        ^^^^^^^^^^^^^^^^^^^\n    ...&lt;5 lines>...\n                        gid, gids, uid, umask,\n                        ^^^^^^^^^^^^^^^^^^^^^^\n                        start_new_session, process_group)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"\/usr\/lib\/python3.13\/subprocess.py\", line 1969, in _execute_child\n    raise child_exception_type(errno_num, err_msg, err_filename)\nFileNotFoundError: &#91;Errno 2] No such file or directory: 'gpg'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">La premi\u00e8re chose a v\u00e9rifier est de voir si le paquet gnupg est install\u00e9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>which gpg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Si pas de retour c&rsquo;est que pas install\u00e9<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Il faut alors l&rsquo;installer via<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install gnupg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">et on peux refaire le do-release-upgrade sans probl\u00e8me<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"366\" src=\"https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244-1024x366.png\" alt=\"\" class=\"wp-image-401\" srcset=\"https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244-1024x366.png 1024w, https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244-300x107.png 300w, https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244-768x274.png 768w, https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244-1536x548.png 1536w, https:\/\/www.hokutotokisama.fr\/wp-content\/uploads\/2026\/05\/Capture-decran-2026-05-23-204244.png 1812w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Si l&rsquo;erreur suivante se produit lors d&rsquo;un do-release-upgrade sous ubuntu La premi\u00e8re chose a v\u00e9rifier est de voir si le paquet gnupg est install\u00e9 Si pas de retour c&rsquo;est que pas install\u00e9 Il faut alors l&rsquo;installer via et on peux refaire le do-release-upgrade sans probl\u00e8me<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":1,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions\/402"}],"wp:attachment":[{"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hokutotokisama.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}