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.

Question: Unable to install archivebox in a Digital Ocean Ubuntu machine

See original GitHub issue

I’ve installed all the dependencies, but when I run

curl https://raw.githubusercontent.com/pirate/ArchiveBox/master/bin/setup.sh | sh

I get this message saying archivebox not found. What do I do?

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0[i] ArchiveBox Setup Script 📦

    This is a helper script which installs the ArchiveBox dependencies on your system using homebrew/aptitude.
    You may be prompted for a password in order to install the following:

        - git
        - python3, python3-pip, python3-distutils
        - curl
        - wget
        - youtube-dl
        - chromium-browser  (skip this if Chrome/Chromium is already installed)

    If you'd rather install these manually, you can find documentation here:
        https://github.com/ArchiveBox/ArchiveBox/wiki/Install

Press enter to continue with the automatic install, or Ctrl+C to cancel...
sh: 22: read: arg count

100  4244  100  4244    0     0  25721      0 --:--:-- --:--:-- --:--:-- 25721
[+] Updating apt repos...
Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
[+] Installing python3, wget, curl...
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
/usr/bin/chromium-browser
[i] chromium-browser already installed, using existing installation.

Chromium 87.0.4280.66 Built on Ubuntu , running on Ubuntu 18.04
Collecting archivebox
  Could not find a version that satisfies the requirement archivebox (from versions: )
No matching distribution found for archivebox

[*] Checking installed versions:
---------------------------------------------------
/usr/bin/python3
Python 3.6.9

/usr/bin/git
git version 2.17.1

/usr/bin/wget
GNU Wget 1.19.4 built on linux-gnu.

/usr/bin/curl
curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3

/usr/bin/youtube-dl
2018.03.14
---------------------------------------------------
sh: 107: archivebox: not found
---------------------------------------------------
[X] Failed to install some dependencies! ‼️
    - Try the Manual Setup instructions in the README.md
    - Try the Troubleshooting: Dependencies instructions in the README.md
    - Open an issue on github to get help: https://github.com/ArchiveBox/ArchiveBox/issues

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
evanfarrarcommented, Feb 1, 2021

Can confirm, it installs on DO with the script on dev

0reactions
piratecommented, Feb 1, 2021

dev is released as v0.5.4, should be fixed as soon as the apt build goes live.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Question: Unable to install archivebox in a Digital Ocean Ubuntu ...
Question : Unable to install archivebox in a Digital Ocean Ubuntu machine. I've installed all the dependencies, but when I run.
Read more >
I have problem with apt-get install or apt-get update i can't ...
Question. I have problem with apt-get install or apt-get update i can't locate any packages or fetch archive server ??
Read more >
ArchiveBox/setup.sh at dev - GitHub
Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more.
Read more >
Apt/Synaptic needs to reinstall package but can't ... - Ask Ubuntu
Well we may need a few steps to fix this. Start with: sudo dpkg --remove --force-all hl1440lpr. If that fails: sudo rm -i...
Read more >
ArchiveBox 是一个强大的 - Gitee
ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view sites you want to preserve offline.
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