Error: Dependency is not satisfiable: libcurl3

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
helpmeimstuck

Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

Hello,

I'm relatively new to Linux, I'm using Mint 18.3 x64 and I'm trying to install VirtualBox.
I downloaded this package from the Virtualbox site: virtualbox-5.2_5.2.6-120293~Ubuntu~xenial_amd64.deb and when I want to install the package I get the following error from the Package Installer: "Error: Dependency is not satisfiable: libcurl3 (>= 7.16.2)"

I already looked for this error message but didn't find anything helpful.
I also tried this command to install it: sudo apt-get install libcurl3, which resulted in this message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libcurl3' has no installation candidate

Could anybody help me out?
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Error: Dependency is not satisfiable: libcurl3

Post by WharfRat »

Hello Eric Image

Welcome to Linux Mint and the Linux Mint forum :)

Can you paste back the results of inxi -S and apt-cache policy libcurl3
helpmeimstuck

Re: Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

inxi -s:

Sensors: System Temperatures: cpu: 34.0C mobo: 33.0C
Fan Speeds (in rpm): cpu: N/A

and from apt-cache policy libcurl3 I got:

libcurl3:
Installed: (none)
Candidate: (none)
Version table:
minitux

Re: Error: Dependency is not satisfiable: libcurl3

Post by minitux »

Me on 18.3 have that package

Code: Select all

~ $ apt-cache policy libcurl3
libcurl3:
  Installato: 7.47.0-1ubuntu2.6
  Candidato:  7.47.0-1ubuntu2.6
  Tabella versione:
 *** 7.47.0-1ubuntu2.6 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     7.47.0-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
are you shure you are on MINT 18.3 and the system is up todate? post all the output of this command from terminal

Code: Select all

inxi -Sr
WharfRat

Re: Error: Dependency is not satisfiable: libcurl3

Post by WharfRat »

Your first result is meaningless as it should have been inxi -S and not inxi -s

Since ther's no Candidate for libcurl3 can you also paste back inxi -r
helpmeimstuck

Re: Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

Oops, my bad

output from inxi -Sr:

System: Host: Lenovo Kernel: 4.13.0-32-generic x86_64 (64 bit)
Desktop: Cinnamon 3.6.7 Distro: Linux Mint 18.3 Sylvia
Repos: Active apt sources in file: /etc/apt/sources.list.d/webupd8team-java-xenial.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
WharfRat

Re: Error: Dependency is not satisfiable: libcurl3

Post by WharfRat »

Well that's really odd. You don't have any system repos :?

Can you paste back ls -lh /etc/apt/sources.list.d
helpmeimstuck

Re: Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

This is the output:

total 4,0K
-rw-r--r-- 1 root root 134 Feb 4 16:12 webupd8team-java-xenial.list

What are those so called "system repos"? Have you got an article or something for me to understand this better?
WharfRat

Re: Error: Dependency is not satisfiable: libcurl3

Post by WharfRat »

All of the applications (packages) are pulled from the linuxmint and ubuntu repositories.

Without them you can't install or update anything like firefox, the kernel, thunderbird etc. etc.

Enter this in the terminal in one fell swoop - i.e, copy and paste all of the lines at once

Code: Select all

sudo cat >> /etc/apt/sources.list.d/official-package-repositories.list << "EOF"
deb http://packages.linuxmint.com sylvia main upstream import backport romeo

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
EOF
Then enter sudo apt update then paste back apt-cache policy libcurl3
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Error: Dependency is not satisfiable: libcurl3

Post by phd21 »

Hi "helpmeimstuck",

Welcome to the wonderful world of Linux Mint and its excellent forum!

It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

The link below has simple instructions to install Virtualbox with one command and then to add yourself as a user.

How to install a Windows in VirtualBox - Easy Linux tips project (great Linux website)
https://sites.google.com/site/easylinux ... ct/oldgrub

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
helpmeimstuck

Re: Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

I copied the block and pasted it with Ctrl+Shift+V into the terminal, then pressed Enter and this line got added below EOF:
bash: /etc/apt/sources.list.d/official-package-repositories.list: Permission denied
and then the username@machine ~ $ popped up

then I ran the other commands anyway and got this from apt-cache policy libcurl3:
libcurl3:
Installed: (none)
Candidate: (none)
Version table:

So unfortunately nothing changed

Code: Select all

System:    Host: Lenovo Kernel: 4.13.0-32-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 80SW v: Lenovo ideapad 710S-13ISK
           Mobo: LENOVO model: Lenovo ideapad 710S-13ISK v: SDK0J40709 WIN
           Bios: LENOVO v: 0NCN27S2 date: 10/07/2016
CPU:       Dual core Intel Core i5-6260U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7200
           clock speeds: max: 2900 MHz 1: 1800 MHz 2: 1800 MHz 3: 1800 MHz 4: 1800 MHz
Graphics:  Card: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.02hz, 1680x1050@59.95hz
           GLX Renderer: Mesa DRI Intel Iris Graphics 540 (Skylake GT3e)
           GLX Version: 3.0 Mesa 17.2.4 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-32-generic
Network:   Card: Intel Wireless 8260 driver: iwlwifi bus-ID: 01:00.0
           IF: wlp1s0 state: up mac: <filter>
Drives:    HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 512.1GB
Partition: ID-1: / size: 467G used: 12G (3%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: swap-1 size: 2.80GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 35.0C mobo: 34.5C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 204 Uptime: 2:29 Memory: 1976.4/7561.9MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
WharfRat

Re: Error: Dependency is not satisfiable: libcurl3

Post by WharfRat »

OK, we'll just do it another way;

In the terminal enter gksudo xed /etc/apt/sources.list.d/official-package-repositories.list& and enter your password when prompted.

When the editor opens copy and past all the lines in the code block below into the editor then save and exit it.

Code: Select all

deb http://packages.linuxmint.com sylvia main upstream import backport romeo

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Then sudo apt update then paste back apt-cache policy libcurl3
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Error: Dependency is not satisfiable: libcurl3

Post by phd21 »

Hi "helpmeimstuck",

You copied this command below and got that error? Do you have any other installation or update process going on? Software Manager or Synaptic Package Manager (SPM) must be closed when using the terminal to install something and visa-versa. You may need to logout or login before running the command again.

Code: Select all

sudo apt-get install virtualbox virtualbox-qt virtualbox-ext-pack

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
helpmeimstuck

Re: Error: Dependency is not satisfiable: libcurl3

Post by helpmeimstuck »

I got this now:

Code: Select all

libcurl3:
  Installed: (none)
  Candidate: 7.47.0-1ubuntu2.6
  Version table:
     7.47.0-1ubuntu2.6 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     7.47.0-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
And I was now able to start the installation of VirtualBox and it installed.
Thank you very much!
minitux

Re: Error: Dependency is not satisfiable: libcurl3

Post by minitux »

In the future, be careful what you do, the official repositories have not erased themselves ....
Locked

Return to “Beginner Questions”