Software & AppsOperating SystemLinux

Fixing Dropbox Install Stuck at 99% and dpkg Errors on Ubuntu

Ubuntu 20

In this article, we will delve into the common issue of Dropbox installation getting stuck at 99% and the associated dpkg errors on Ubuntu. We will explore different solutions to resolve these issues and ensure a smooth installation process.

Quick Answer

To fix Dropbox install stuck at 99% and dpkg errors on Ubuntu, you can try installing Dropbox via the command line, resolving dpkg errors, or killing Dropbox processes and unlocking the dpkg base.

Understanding the Issue

Dropbox is a popular cloud storage service used by millions worldwide. However, when installing Dropbox on Ubuntu, users often encounter a problem where the installation process gets stuck at 99%. This can be frustrating, especially when accompanied by dpkg errors, which can make the situation even more complicated.

The dpkg errors usually occur when the package management system encounters issues while installing, removing, or upgrading packages. This can prevent Dropbox from installing correctly, causing it to hang at 99%.

Solution 1: Installing Dropbox via Command Line

One of the simplest solutions is to install Dropbox via the command line. This bypasses the GUI, which can sometimes cause issues.

  1. Open a terminal by pressing Ctrl+Alt+T.
  2. Depending on your machine, run the following command to install Dropbox:

For 32-bit machines:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

For 64-bit machines:

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

The wget command fetches the Dropbox package from the official website. The -O - option tells wget to write the output to a file instead of stdout. The tar xzf - command extracts the downloaded package.

  1. Start the Dropbox daemon by running the following command:
~/.dropbox-dist/dropboxd

This command starts the Dropbox daemon, which is a background service that keeps Dropbox running.

  1. Follow the prompts to set up your Dropbox account.

Solution 2: Resolving dpkg errors

If you encounter dpkg errors during the installation, you can resolve them using the following steps:

  1. Run sudo dpkg -r nautilus-dropbox to remove any existing Dropbox package. The -r option tells dpkg to remove the package.
  2. If you receive an error, close the popup saying “Dropbox requires Nautilus to be restarted” and run sudo dpkg -r nautilus-dropbox again.
  3. Run sudo apt-get update to refresh the package lists. This ensures that you have the latest versions of all packages.
  4. Follow the steps in the accepted answer mentioned in this link to successfully install Dropbox.

Solution 3: Kill Dropbox Processes and Unlock dpkg Base

If you are unable to uninstall Dropbox or encounter a lock on the dpkg base, you can try the following steps:

  1. Identify Dropbox processes by running ps -a | grep dropbox. This command lists all processes related to Dropbox.
  2. Kill all Dropbox processes using sudo kill -s 15 pid_of_dropbox. The kill command sends a signal to a process, and the -s 15 option sends the TERM (terminate) signal, which asks the process to terminate gracefully.
  3. After killing the processes, you should be able to uninstall Dropbox using sudo dpkg --configure -a. The --configure -a option tells dpkg to configure all packages.

These solutions should help you resolve the issue of Dropbox installation getting stuck at 99% and any associated dpkg errors. Remember to always back up your data before making any significant changes to your system. If you continue to encounter issues, consider seeking help from the Ubuntu community or the Dropbox support team.

Why does Dropbox installation get stuck at 99%?

Dropbox installation can get stuck at 99% due to various reasons, such as network connectivity issues, conflicts with other installed software, or errors in the package management system.

How can I install Dropbox on Ubuntu via the command line?

To install Dropbox on Ubuntu via the command line, open a terminal and use the appropriate command based on your machine architecture. For 32-bit machines, use cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -. For 64-bit machines, use cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -. After installation, start the Dropbox daemon by running ~/.dropbox-dist/dropboxd and follow the prompts to set up your account.

How can I resolve dpkg errors during Dropbox installation?

To resolve dpkg errors during Dropbox installation, you can try removing any existing Dropbox package using sudo dpkg -r nautilus-dropbox. If you encounter an error, close the popup and run the command again. Then, refresh the package lists with sudo apt-get update. Finally, follow the steps in the accepted answer mentioned in this link to successfully install Dropbox.

What should I do if I encounter a lock on the dpkg base during uninstallation?

If you encounter a lock on the dpkg base during uninstallation, you can try killing all Dropbox processes using sudo kill -s 15 pid_of_dropbox. After killing the processes, you should be able to uninstall Dropbox using sudo dpkg --configure -a. This command configures all packages and resolves any issues with the dpkg base lock.

Where can I seek further help if I continue to encounter issues?

If you continue to encounter issues with Dropbox installation on Ubuntu, you can seek help from the Ubuntu community forums or reach out to the Dropbox support team for assistance.

Leave a Comment

Your email address will not be published. Required fields are marked *