You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Please format your issue so it is easier for us to read the bug report.
Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
Please document the operating system you're running. If on Linux, please provide the specific distribution.
Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.
The text was updated successfully, but these errors were encountered:
Hey, I just had the same issue. Installing the deb package (for the first time maybe?) on an Ubuntu machine did not work:
$ sudo dpkg -i /home/marc/Downloads/quarto-1.3.324-linux-amd64.deb
(...)
rm: cannot remove '/usr/local/bin/quarto': No such file or directory
dpkg: warning: old quarto package post-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
rm: cannot remove '/usr/local/bin/quarto': No such file or directory
dpkg: error processing archive /home/marc/Downloads/quarto-1.3.324-linux-amd64.deb (--install):
new quarto package post-removal script subprocess returned error exit status 1
rm: cannot remove '/usr/local/bin/quarto': No such file or directory
dpkg: error while cleaning up:
new quarto package post-removal script subprocess returned error exit status 1
$ sudo dpkg -i /home/marc/Downloads/quarto-1.3.324-linux-amd64.deb
(Reading database ... 378516 files and directories currently installed.)
Preparing to unpack .../quarto-1.3.324-linux-amd64.deb ...
Unpacking quarto (1.3.324) over (1.3.324) ...
Setting up quarto (1.3.324) ...
$ sudo apt-get install -f
cderv
removed
the
triaged-to
Issues that were not self-assigned, signals that an issue was assigned to someone.
label
Apr 14, 2023
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.
I was then unable to remove or upgrade quarto using standard dpkg arguments. E.g., :
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
Checklist
quarto check
so we know which version of quarto and its dependencies you're running.The text was updated successfully, but these errors were encountered: