4

I am trying to install FileZilla 3.19 but I get this error when running apt-get install filezilla:

Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies.  filezilla : Depends: libdbus-1-3 (>= 1.9.14) but 1.6.18-0ubuntu4.3 is to be installed
             Depends: libfilezilla0 but it is not going to be installed
             Depends: libgnutls30 (>= 3.4.2) but it is not installable
             Depends: libnettle6 but it is not installable
             Depends: libpugixml1v5 (>= 1.7) but it is not installable
             Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
             Depends: libwxbase3.0-0v5 (>= 3.0.2+dfsg) but it is not installable
             Depends: libwxgtk3.0-0v5 (>= 3.0.2+dfsg) but it is not installable E: Unable to correct problems, you have held broken packages.

How do I fix this?

user.dz
  • 49,176

2 Answers2

4

You have the GetDeb package repository configured to use the Xenial packages even though your other packages are for Trusty. You need to edit the relevant sources.list file and replace xenial with trusty. Here's one automated way to do it and update the package list:

sudo sed -i -e 's/xenial-getdeb/trusty-getdeb/' /etc/apt/sources.list{,.d/*.list}
sudo apt-get update

Then run

apt-cache policy filezilla

to identify the version you want to install. apt-cache lists package versions and their originating source lines. Choose one that has “trusty” in the source line. Now you re-install the filezilla package in the correct version while fixing package problems. Replace <VERSION> according to you findings from the previous step and run:

sudo apt-get install -f filezilla=<VERSION>
David Foerster
  • 36,890
  • 56
  • 97
  • 151
2

In this website you can see the list of FileZilla packages that are available from the repositories of each Ubuntu version still with official support. As you can see, the latest release of FileZilla -- 3.19.0-1ubuntu1 -- is only available for Ubuntu 16.10, which has not even been released yet. If your Mint distro is based on Trusty, from the normal repositories you can only get access to a three years old version of FileZilla -- 3.7.3-1ubuntu1.

Now, as you say in your comments, you did a distro update (to an unstable distro?). That is a very risky method to get access to specific packages, as it can mess up other dependencies, which happened in your case. If you want to upgrade, it's always recommended to do a clean installation.

Actually, there is a much more safe method to get access to newer packages, without changing the distro:

  • download the specific .deb file you are interested on (look in here and select according to your PC architecture)
  • (via a Terminal) go to the downloaded file's folder and install package with sudo dpkg -i file.deb
  • run sudo apt-get install -f to make sure there are no broken dependencies.

There you have a newer package in an older, stable distribution, without need to risk messing your OS.