Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 yt-dlp (2021.10.22-0ubuntu1) UNRELEASED; urgency=medium
 .
   * New upstream release.
   * New upstream release.
Author: Chris <dpkg@chris-nz.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2021-11-01

--- yt-dlp-2021.10.22.orig/README.md
+++ yt-dlp-2021.10.22/README.md
@@ -111,9 +111,6 @@ The major new features from the latest r
 
 * **Plugin extractors**: Extractors can be loaded from an external file. See [plugins](#plugins) for details
 
-* **Self-updater**: The releases can be updated using `yt-dlp -U`
-
-
 See [changelog](Changelog.md) or [commits](https://github.com/yt-dlp/yt-dlp/commits) for the full list of changes
 
 
@@ -186,7 +183,6 @@ brew install yt-dlp/taps/yt-dlp
 ```
 
 ### UPDATE
-You can use `yt-dlp -U` to update if you are using the provided release.
 If you are using `pip`, simply re-run the same command that was used to install the program.
 If you have installed using Homebrew, run `brew upgrade yt-dlp/taps/yt-dlp`
 
@@ -272,9 +268,6 @@ Then simply run `make`. You can also run
 ## General Options:
     -h, --help                       Print this help text and exit
     --version                        Print program version and exit
-    -U, --update                     Update this program to latest version. Make
-                                     sure that you have sufficient permissions
-                                     (run with sudo if needed)
     -i, --ignore-errors              Ignore download and postprocessing errors.
                                      The download will be considered successfull
                                      even if the postprocessing fails
--- yt-dlp-2021.10.22.orig/yt_dlp/__init__.py
+++ yt-dlp-2021.10.22/yt_dlp/__init__.py
@@ -41,7 +41,6 @@ from .utils import (
     std_headers,
     write_string,
 )
-from .update import run_update
 from .downloader import (
     FileDownloader,
 )
@@ -758,11 +757,12 @@ def _real_main(argv=None):
 
         # Update version
         if opts.update_self:
-            # If updater returns True, exit. Required for windows
-            if run_update(ydl):
-                if actual_use:
-                    sys.exit('ERROR: The program must exit for the update to complete')
-                sys.exit()
+            parser.error(
+                    "yt-dlp's self-update mechanism is disabled on Debian.\n"
+                    "Please update yt-dlp using apt(8).\n"
+                    "See https://archive.chris-nz.com/ for the "
+                    "latest packaged version.\n"
+                    )
 
         # Maybe do nothing
         if not actual_use:
--- yt-dlp-2021.10.22.orig/yt_dlp/options.py
+++ yt-dlp-2021.10.22/yt_dlp/options.py
@@ -205,7 +205,7 @@ def parseOpts(overrideArguments=None):
     general.add_option(
         '-U', '--update',
         action='store_true', dest='update_self',
-        help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
+        help=optparse.SUPPRESS_HELP)
     general.add_option(
         '-i', '--ignore-errors',
         action='store_true', dest='ignoreerrors',
