question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug Report: Can't install

See original GitHub issue

I wanted to update to the current TLJH version, so I created a new Ubuntu 18.04 live server install, and then tried:

curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py \
| sudo python3 - \
 --admin <my_username>

but the result was

Checking if TLJH is already installed...
Setting up hub environment
Traceback (most recent call last):
  File "<stdin>", line 83, in <module>
  File "<stdin>", line 46, in main
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['apt-get', 'install', '--yes', 'python3', 'python3-venv']' returned non-zero exit status 100.

I checked, and doing

sudo apt-get update
sudo apt-get install --yes python3-venv

tells me

Package python3-venv is not available, but is referred to by another package.

I assumed venv might be installed already and disabled the line in the bootstrap.py file, but it is definitely not installed nor is any obvious variation available on apt-get list.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
rraghav13commented, Aug 30, 2018

I faced the same issue as @JuanCab did. python3-venv was not getting installed and threw a similar error. Finally found the root cause. Apparently, the universe repository was not enabled. sudo add-apt-repository universe solved it for me and I could install python3-venv

0reactions
yuvipandacommented, May 19, 2019

@AashitaK can you please open a post in discourse about your issue? If you can tell us a little more there about what steps you took and what error exactly you were getting, that would be very useful. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

BUGREPORT Xbox app on windows cant install games on ...
BUGREPORT Xbox app on windows cant install games on partition which is not 4k cluster size! Split from this thread. I have the...
Read more >
[bug report] cant install original or clone of v17.1 - Reddit
I have the same issue! Any fixes? Upvote
Read more >
Cannot install - Troubleshooting & Bug Reports
Having gone through all the fixes listed in the "INSTALL, UPDATE, OR UNINSTALL TROUBLE? READ THIS." it still is not installing.
Read more >
How should I make a bug report for the 20.04 server installer?
1 Answer 1 · You will need an Ubuntu One logon to file a new bug report or to subscribe to an existing...
Read more >
Bugs in package installation-reports in unstable
Debian Bug report logs: Bugs in package installation-reports in unstable · Outstanding bugs -- Critical bugs; Unclassified (4 bugs) · Outstanding bugs --...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found