Hi Gadi, I 'assume' that your system and/or archive information was not up to date.
Let's go step-by-step through the following: First of all fix the current situation with: sudo apt install --fix-broken or in short: sudo apt install -f Then I suggest to make sure that your archive information and your system is really up to date with: sudo apt update sudo apt full-upgrade [I call it usually all at once like: "sudo apt -y -q update && sudo apt -y -q full-upgrade"] and optionally clean your system from packages that were automatically installed in the past, but are no longer needed: sudo apt autoremove --purge Finally try again - you may try with '--dry-run' first: sudo apt --dry-run install python-pip libffi-dev libssl-dev This should of course not report any dependency errors ... And in case it's fine, re-run the install: sudo apt install python-pip libffi-dev libssl-dev On one of my systems I just could install these packages flawlessly ... Bye, Frank On Sun, Jun 2, 2019 at 8:13 AM Gadi Ben-Avi <[email protected]> wrote: > Hi, > I am having problems installing a package on Ubunti 18.04 LTS running on Z. > I issue the command: > sudo apt-get install python-pip libffi-dev libssl-dev > > and get: > 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: > libffi-dev : Depends: libffi6 (= 3.2.1-4) but 3.2.1-8 is to be installed > libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.15) but > 1.0.2n-1ubuntu5.1 is to be installed > Depends: zlib1g-dev but it is not going to be installed > Recommends: libssl-doc but it is not going to be installed > python-pip : Depends: python:any (< 2.8) > Depends: python:any (>= 2.7.5-5~) > Recommends: python-all-dev (>= 2.6) but it is not going to > be installed > Recommends: python-setuptools but it is not going to be > installed > Recommends: python-wheel but it is not going to be installed > E: Unable to correct problems, you have held broken packages. > > Does anyone have an idea how to fix this? > > Gadi > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www2.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www2.marist.edu/htbin/wlvindex?LINUX-390
