Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest change to ondrej php ppa broke libzip-dev installs #3335

Closed
1 of 7 tasks
vadi2 opened this issue May 7, 2021 · 5 comments
Closed
1 of 7 tasks

Latest change to ondrej php ppa broke libzip-dev installs #3335

vadi2 opened this issue May 7, 2021 · 5 comments
Assignees
Labels
OS: Ubuntu question Further information is requested

Comments

@vadi2
Copy link

vadi2 commented May 7, 2021

Description
The recent Ubuntu 16.04 update which switched to the ondrej broke libzip-dev installs:

The following packages have unmet dependencies:
 libzip-dev : Depends: libzip4 (= 1.0.1-0ubuntu1) but 1.7.3-1+ubuntu16.04.1+deb.sury.org+2 is to be installed
E: Unable to correct problems, you have held broken packages.

Area for Triage:
Area: C/C++

Question, Bug, or Feature?:

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Image version
20210504.1

Expected behavior
libzip-dev installs fine as it did previously.

Actual behavior
It fails to install due to conflicts with libzip that's included in the new PPA.

Repro steps
https://github.com/Mudlet/Mudlet/blob/development/.github/workflows/build-mudlet.yml#L148

@al-cheb
Copy link
Contributor

al-cheb commented May 7, 2021

Hi, @vadi2
We decided to cut down the count of apt sources - #2951 and provide these changes in doc files.

Please update your pipeline:

Add ppa:ondrej/php repo
sudo apt-add-repository "ppa:ondrej/php" -y

@al-cheb al-cheb added OS: Ubuntu question Further information is requested and removed needs triage labels May 7, 2021
@vadi2
Copy link
Author

vadi2 commented May 7, 2021

Sorry, but I don't need the ondrej repository, I don't use php and I was happy installing libzip-dev from the Xenial sources. From what I understand it is your addition of the PPA to default builds (see 09c3079#diff-13c32e50a93846c2ce39a041f2893dad4ddf1263edaac708ffff365379473d21R115 where it is now listed) broke the environment.

Could you double-check?

@al-cheb
Copy link
Contributor

al-cheb commented May 7, 2021

Sorry, but I don't need the ondrej repository, I don't use php and I was happy installing libzip-dev from the Xenial sources. From what I understand it is your addition of the PPA to default builds (see 09c3079#diff-13c32e50a93846c2ce39a041f2893dad4ddf1263edaac708ffff365379473d21R115 where it is now listed) broke the environment.

Could you double-check?

Some packages depend on this "ppa:ondrej/php" repo.

    runs-on: ubuntu-16.04
    steps:
           - run: sudo apt-add-repository "ppa:ondrej/php" -y
           - run: sudo apt-get update 
           - run: sudo apt-get install ccache pkg-config pcregrep luarocks expect libzip-dev libglu1-mesa-dev libpulse-dev g++-7 -y
           - run: apt-cache madison libzip-dev
           - run: apt-cache madison libzip4

image

@vadi2
Copy link
Author

vadi2 commented May 7, 2021

Thanks, that worked 👍

@vadi2 vadi2 closed this as completed May 7, 2021
@al-cheb al-cheb self-assigned this May 7, 2021
@Technius
Copy link

Technius commented May 7, 2021

I'm seeing this issue occur on Ubuntu 18.04 images too; Ubuntu 20.04 is not affected. I don't think that PPA workaround is going to work, because it's going to run into #1084 which I reported a year ago.

Azure Pipeline logs: https://dev.azure.com/xournalpp/xournalpp/_build/results?buildId=13131&view=logs&j=dcc56f4b-525b-5250-e214-a3048e57065b&t=2a77c046-3948-50ad-9454-55d7565014d2

Package install commands: https://github.com/xournalpp/xournalpp/blob/master/azure-pipelines/steps/install_deps_ubuntu.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Ubuntu question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants