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
  • 48,105
  • Have you tried running sudo apt-get install -f? –  Jul 16 '16 at 15:26
  • And have you put any packages on hold? –  Jul 16 '16 at 15:26
  • @ParanoidPanda I've tried that, but just get "Reading package lists... Done Building dependency tree
    Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade."
    – user85798 Jul 16 '16 at 15:32
  • @ParanoidPanda Not that I recall. This happened after I did a dist-upgrade. FileZilla was removed, and it won't let me install it again. – user85798 Jul 16 '16 at 15:33
  • @bwv869 Is aptitude any help: sudo aptitude install filezilla may show a working solution on your system... – andrew.46 Jul 18 '16 at 22:33
  • @andrew.46 Nope, tried that. I just get 'No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.' – user85798 Jul 18 '16 at 23:16
  • If I can't solve this I might just re-install the OS tbh. Never doing dist-uprade again! – user85798 Jul 18 '16 at 23:16
  • 2
    show apt-cache policy filezilla The libdbus-1-3 version it's requiring is in wily-updates but the version of libdbus-1-3 you have installed is in trusty. So also what are you running? (the assumption would be trusty – doug Jul 18 '16 at 23:27
  • @doug filezilla: Installed: (none) Candidate: 3.19.0-1~getdeb1 Version table: 3.19.0-1~getdeb1 0 500 http://archive.getdeb.net/ubuntu/ xenial-getdeb/apps amd64 Packages 3.7.3-1ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status – user85798 Jul 18 '16 at 23:36
  • 1
    I'm actually running Linux Mint 17.1 Cinnamon. I know I know. So yes, Trusty is the base package. – user85798 Jul 18 '16 at 23:38
  • Well that getdeb package is for 16.04 – doug Jul 19 '16 at 01:05
  • Please [edit] your post, when you want to add information. Especially file or program output listings (with the help of the {} button in the editor toolbar) are much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. – David Foerster Jul 20 '16 at 11:31
  • 1
    Also, Linux Mint is off topic here, but questions with a bounty cannot be flagged for closing. – David Foerster Jul 20 '16 at 11:31
  • i had the same problem. for me, the solution was solving this problem first -- https://askubuntu.com/questions/218783/the-volume-boot-has-only-0-bytes-disk-space-remaining . then the usual installation worked. – Richard DiSalvo Sep 02 '19 at 22:14

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,264
  • 56
  • 94
  • 147
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.