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

Compiled binaries ubuntu:18.04 env contruct fail #41

Open
NotTheEndOfTheWorld opened this issue Mar 20, 2024 · 1 comment
Open

Compiled binaries ubuntu:18.04 env contruct fail #41

NotTheEndOfTheWorld opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NotTheEndOfTheWorld
Copy link

NotTheEndOfTheWorld commented Mar 20, 2024

  sudo add-apt-repository ppa:jonathonf/gcc-9.0

Cannot add PPA: 'ppa:~jonathonf/ubuntu/gcc-9.0'.
The user named '~jonathonf' has no PPA named 'ubuntu/gcc-9.0'. This problem may be solved by

sudo add-apt-repository ppa:jonathonf/gcc

I have add new source to source.list and add apt-repo as /binary_function_similarity/Binaries/Compilation scripts/README.md said. However, when i run

 sudo apt-get update
 sudo apt-get install `cat os_install_packages/ubuntu1804/package_list`

lots of package unable to located.

E: Package 'clang-3.5' has no installation candidate
E: Unable to locate package cpp-4.8-aarch64-linux-gnu
E: Couldn't find any package by glob 'cpp-4.8-aarch64-linux-gnu'
E: Couldn't find any package by regex 'cpp-4.8-aarch64-linux-gnu'
E: Unable to locate package cpp-4.8-arm-linux-gnueabihf
E: Couldn't find any package by glob 'cpp-4.8-arm-linux-gnueabihf'
E: Couldn't find any package by regex 'cpp-4.8-arm-linux-gnueabihf'
E: Unable to locate package cpp-9
E: Unable to locate package g++-4.8-aarch64-linux-gnu
E: Couldn't find any package by glob 'g++-4.8-aarch64-linux-gnu'
E: Couldn't find any package by regex 'g++-4.8-aarch64-linux-gnu'
E: Unable to locate package g++-4.8-arm-linux-gnueabihf
E: Couldn't find any package by glob 'g++-4.8-arm-linux-gnueabihf'
E: Couldn't find any package by regex 'g++-4.8-arm-linux-gnueabihf'

@jimmy-sonny jimmy-sonny self-assigned this May 14, 2024
@jimmy-sonny jimmy-sonny added the bug Something isn't working label May 14, 2024
@xabiugarte xabiugarte self-assigned this May 15, 2024
@xabiugarte
Copy link

Hi @NotTheEndOfTheWorld ,

First of all thanks for pointing out that ppa:jonathonf/gcc-9.0 does no longer work and that ppa:jonathonf/gcc is the correct one. We will update the documentation accordingly.

I have tried to reproduce this error but I haven't been able to. To be more specific, I have started a fresh install of Ubuntu 18.04 from an image of 18.04.3 (the one that was available on my disk at the moment).

First, I have upgraded all the packages:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

And rebooted the system afterwards.

Once done, I have followed the steps in https://github.com/Cisco-Talos/binary_function_similarity/tree/main/Binaries/Compilation%20scripts

The only problem I have seen is that this command (sudo add-apt-repository ppa:jonathonf/gcc
) triggers an update (sudo apt-get update) which will fail since the corresponding key for george-edison55's ppa has not been added yet.

If you add the key, and then run again:

sudo add-apt-repository ppa:jonathonf/gcc

Then the rest of the install process works just fine.

Could you also confirm what specific ISO you used to install Ubuntu 18.04?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants