### Bug description

I recently installed quarto (using the most recent official deb) from commandline on debian 11 using `dpkg -i <downloaded deb>`.
I just discovered that apt on this system was stuck with the following error, rendering my system un-upgradable.
```
$ sudo apt <upgrade|install>
 The package quarto needs to be reinstalled, but I can't find an archive for it. 
```

I was then unable to remove or upgrade quarto using standard dpkg arguments. E.g., :

```
$ sudo dpkg --purge --force-all quarto
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
(Reading database ... 267028 files and directories currently installed.)
Removing quarto (1.3.296) ...
Purging configuration files for quarto (1.3.296) ...
rm: cannot remove '/usr/local/bin/quarto': No such file or directory
dpkg: error processing package quarto (--purge):
 installed quarto package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 quarto
```

After manually creating `/usr/local/bin` and touching '/usr/local/bin/quarto', I was able to upgrade quarto via dpkg, and everything worked as expected.

I suggest modifying the debian install scripts to check for the presence of `/usr/local/bin'. I'm running a unmodified (if old) debian system, and installing quarto caused a significant system outage on my system apparently due to lack of this directory.

## Output from quarto check
```
$quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.319
      Path: /opt/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.2
      Path: /usr/bin/python3
      Jupyter: 4.7.1
      Kernels: python3

(-) Checking Jupyter engine render....Traceback (most recent call last):
  File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module>
    from notebook import notebook_execute, RestartKernel
  File "/opt/quarto/share/jupyter/notebook.py", line 18, in <module>
    from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
[✓] Checking Jupyter engine render....OK
```

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
dragonstyle
2023-04-12T15:44:41Z
helmingstay
bug installers
v1.4
open
Install from dpkg breaks apt on debian 11 (bullseye)
https://github.com/quarto-dev/quarto-cli/issues/5167