redhawk yum repository 2.0.5 libbulkio on 64bit Centos6 - repository

I'm trying to update the redhawk-yum repository on 64bit CentOS6. Using the redhawk-yum-2.0.5-el6-x86_64.tar.gz repository I get the following error from yum.
Error: Package: rh.SourceVITA49-3.0.1-2.el6.x86_64 (#/rh.SourceVITA49-3.0.1-2.el6.x86_64)
Requires: libbulkio-2.0.so.0()(64bit)
Removing: bulkioInterfaces-2.0.4-6.el6.x86_64 (#redhawk)
libbulkio-2.0.so.0()(64bit)
Updated By: bulkioInterfaces-2.1.0-3.el6.x86_64 (redhawk)
Not found
I haven't been able to track down where to get the libbulkio library file.

There must be some issue in the steps you are taking to perform the update or setup the yum repos. I was unable to recreate the issue. Here are the steps I took which worked. If you have docker installed the following steps should all work for you as well.
I drop myself into an updated centos 6 container
ylb#Atlas:~$ docker run -it --rm centos:6 bash -l
I install the epel repo and a couple dependencies I'll need to unzip and untar the release artifacts
[root#3580f228f9fe /]# yum install -y tar gzip yum-utils epel-release
Create a directory to hold the yum repos and curl and untar the 2.0.4 yum repo.
[root#3580f228f9fe /]# mkdir -p /tmp/yum/
[root#3580f228f9fe /]# cd /tmp/yum/
[root#3580f228f9fe /]# curl -L https://github.com/RedhawkSDR/redhawk/releases/download/2.0.4/redhawk-yum-2.0.4-el6-x86_64.tar.gz | tar xzf -
I used yum-config-manager to add the local yum repo to /etc/yum.repos.d/, this does not add the gpgcheck=0 so on future calls to yum I simply ignore gpgcheck. Not recommended for a real system but this is just an example
[root#3580f228f9fe yum]# yum-config-manager --add-repo=file:///tmp/yum/redhawk-2.0.4-el6-x86_64/
Now install all the redhawk assets and libraries using both the runtime and development group installs
[root#3580f228f9fe yum]# yum groupinstall -y --nogpgcheck "REDHAWK Runtime" "REDHAWK Development"
Now that it is installed we can repeat the process using the 2.0.5 release and simply run a yum update to pull in any updated redhawk assets.
[root#3580f228f9fe /]# curl -L https://github.com/RedhawkSDR/redhawk/releases/download/2.0.5/redhawk-yum-2.0.5-el6-x86_64.tar.gz | tar xzf -
[root#3580f228f9fe yum]# yum-config-manager --add-repo=file:///tmp/yum/redhawk-2.0.5-el6-x86_64/
[root#3580f228f9fe yum]# yum update --nogpgcheck
I have not posted the output of the commands but the following redhawk assets were updated when going from 2.0.4 to 2.0.5
Updated:
GPP.x86_64 0:2.0.5-2.el6 GPP-profile.x86_64 0:2.0.5-2.el6 bulkioInterfaces.x86_64 0:2.0.5-2.el6 burstioInterfaces.x86_64 0:2.0.5-2.el6
frontendInterfaces.x86_64 0:2.3.5-2.el6 libomniEvents2.x86_64 0:2.7.1-2.el6 librtlsdr.x86_64 0:0.5.2-4.el6 omniEvents-bootscripts.x86_64 0:2.7.1-2.el6
omniEvents-server.x86_64 0:2.7.1-2.el6 omniEvents-utils.x86_64 0:2.7.1-2.el6 redhawk.x86_64 0:2.0.5-2.el6 redhawk-basic-components.x86_64 0:2.0.5-1.el6
redhawk-codegen.noarch 0:2.0.5-2.el6 redhawk-debuginfo.x86_64 0:2.0.5-2.el6 redhawk-devel.x86_64 0:2.0.5-2.el6 redhawk-ide.x86_64 0:2.0.5-2.el6
redhawk-qt-tools.x86_64 0:2.0.5-2.el6 redhawk-sdrroot-dev-mgr.x86_64 0:2.0.5-2.el6 redhawk-sdrroot-dom-mgr.x86_64 0:2.0.5-2.el6 redhawk-sdrroot-dom-profile.x86_64 0:2.0.5-2.el6
rh.FileWriter.x86_64 0:4.0.3-1.el6 rh.RedhawkDevUtils.x86_64 0:4.0.1-2.el6 rh.SourceSDDS.x86_64 0:1.1.0-1.el6 rh.blueFileLib.x86_64 0:2.0.1-1.el6
rh.fastfilter.x86_64 0:2.0.1-1.el6 rh.psd.x86_64 0:2.0.2-2.el6

Related

Error when installing Google Cloud SDK on Ubuntu, how to fix?

I'm attempting to set up Google Cloud SDK CLI to manage some compute resources, and I'm just following a guide for this part. I ran this command and it installed lots of stuff successfully but ran into the problem below. Can anyone suggest a solution or how to debug?
$ sudo apt-get update && sudo apt-get install google-cloud-sdk
[sudo] password for #######:
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:5 https://packages.cloud.google.com/apt cloud-sdk InRelease [6349 B]
Ign:6 http://packages.cloud.google.com/apt cloud-sdk-focal InRelease
Err:7 http://packages.cloud.google.com/apt cloud-sdk-focal Release
404 Not Found [IP: 216.58.204.238 80]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [255 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [7492 B]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [132 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [4732 B]
Reading package lists... Done
E: The repository 'http://packages.cloud.google.com/apt cloud-sdk-focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I had the same issue with Ubuntu 20. The solution is to install using snap.
snap install google-cloud-sdk --classic
Make sure you have --classic at the end, otherwise you'll get this error:
error: This revision of snap "google-cloud-sdk" was published using classic confinement and thus
may perform arbitrary system changes outside of the security sandbox that snaps are usually
confined to, which may put your system at risk.
If you understand and want to proceed, repeat the command including --classic.
Looks like the problem is in not updated documentation on Google. I used this for creating Docker image but I believe it solved normal installation too:
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 467B942D3A79BD29
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | \
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && apt-get update -y && apt-get install google-cloud-cli -y
keep attention on http://packages.cloud.google.com/apt cloud-sdk main. In Google website is http://packages.cloud.google.com/apt cloud-cli main so seems like name of package has been changed from cloud-cli to cloud-sdk.
In my case the solution was to install the earlier 18.04 LTS version of Ubuntu (uninstalling 20.04). Having done this the Google Cloud Compute SDK install steps worked successfully.
I found a similar problem / solution described here:
https://forums.fast.ai/t/platform-gcp/27375/716
I don't think it's possible to get gcloud on Ubuntu 20.04.3 with apt, at least not a recent version. I was tempted to get the latest through snap:
sudo snap install google-cloud-sdk --classic
But I can't think of a good reason for "arbitrary system changes outside of the security sandbox". By the way, there's the same warning for node so it's not that uncommon. Nonetheless, I prefer to run it in a container, which by the way, I also do for Node.js.
If you already run docker or podman, this could be another option. See an example shell session below, where I get version 360.0.0. I went for slim for now, because the default is around 1GB, but there are plenty of tags to choose.
docker pull google/cloud-sdk:360.0.0-slim
# run a dummy tail so the container does not exit
docker run --name gcloud -d google/cloud-sdk:360.0.0-slim tail -f /dev/null
# now get a shell into it
docker exec -ti gcloud /bin/bash
root#ff77152a65ee:/# gcloud --version
Google Cloud SDK 360.0.0
alpha 2021.10.04
beta 2021.10.04
bq 2.0.71
core 2021.10.04
gsutil 5.3
Alternatively, for a container that will stop when you exit the shell:
docker run -ti google/cloud-sdk:360.0.0-slim /bin/bash
There's detailed documentation on the official google cloud-sdk docker hub overview page.
I have the following on my ~/.bashrc for quick access into a "gcloud shell":
alias gcloudshell='docker start gcloud && docker exec -ti gcloud /bin/bash'
Note that it can be used multiple times, even if the container is already running.

Travis CI + NuGet yields Invalid certificate error

I'm trying to use NuGet on Travis.
- sudo apt-get -qq -y update
- sudo apt-get -qq -y install mono-complete gtk-sharp2
- wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- mono ./nuget.exe install ILMerge -Version 2.14.1208
Unfortunately, I get the following error:
https://api.nuget.org/v3/index.json
Attempting to gather dependency information for package 'ILMerge.2.14.1208' with respect to project '/home/travis/build/craftr-build/craftr/build/.nuget-artifacts', targeting 'Any,Version=v0.0'
Invalid certificate received from server. Error code: 0xffffffff800b0109
I have tried various recommendations from what I found on Google, for example using the following before trying to use NuGet:
- mozroots --import --sync
- yes | certmgr -ssl -m https://go.microsoft.com
- yes | certmgr -ssl -m https://nugetgallery.blob.core.windows.net
- yes | certmgr -ssl -m https://nuget.org
Unfortunately the mozroot command gives
Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Couldn't retrieve the file using the supplied information.
Leaving out the mozroots command gives the same NuGet error.
How can I get NuGet to work on Travis?
I just used the APT Addon now. I found the sourcelinse and key_urls in another Mono project here
addons:
apt:
sources:
- sourceline: deb http://download.mono-project.com/repo/debian trusty/snapshots/5.2.0.224 main
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
- sourceline: deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main
key_url: https://packages.microsoft.com/keys/microsoft.asc
- packages:
packages:
- mono-devel
- ca-certificates-mono

Download mono-complete and install it on another new machine

I Downloaded mono-complete 3.10 by adding following repository and signing key in synaptic. After Downloading mono-complete-3.10, I installed this package in another fresh machine, but in fresh machine it gives lot of errors. Please suggest me how to install this downloaded package on another machine (offline).
Repo:
echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.10.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
Signing Key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
I see different versions of ubuntu in your tags.On what version of ubuntu you are installing your mono? Did you fully read this article?
Why don't you just use smth like apt-get install mono-complete monodevelop e.g.?

Travis CI for a Qt5 project

I am trying to use Travis CI with a Qt5 project, but I can't get the build to pass.
My .travis.yml
install:
- sudo apt-get update
- sudo apt-get install qt5-default qttools5-dev-tools
script:
- qmake -project
- qmake Ultron.pro
- make
Last segment of the error log:
0.58s$ sudo apt-get install qt5-default qttools5-dev-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package qt5-default
E: Unable to locate package qttools5-dev-tools
The command "sudo apt-get install qt5-default qttools5-dev-tools" failed and exited with 100 during .
Your build has been stopped.
Full log: http://pastebin.ubuntu.com/8296581/
Does this have something to do with it not being an official package?
You need to add the correct repository and update apt:
sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
sudo apt-get update -qq
Your .travis.yml will then look like:
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt-get update -qq
- sudo apt-get install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
- sudo apt-get install qt5-default qttools5-dev-tools
script:
- qmake -project
- qmake Ultron.pro
- make
see: Travis CI config to build against Qt5.0 on Ubuntu 12.04. Requires installing a PPA and certain packages for qt5 support. (jreese / gist:6207161)

installing Mod_Mono and Xsp4 on CentOS 6.3

I've gotten Mono 3.0.1 installed, but I'm running into tons of dependency issues trying to install Mod_Mono and Xsp4, Has anyone gotten this to work? If so what were some of the steps you had to take? Is there a central location for this?
Thank you so much for taking the time to read my question and happy coding!
Enviroment:
Centos 6.3 basic install
Apache/2.2.15
Installation steps:
#Install required software
yum -y install httpd httpd-devel make glib2-devel libpng-devel libjpeg-devel
giflib-devel libtiff-devel libX11-devel gcc* fontconfig-devel bison gettext bzip2
libtool automake autoconf wget unzip
directory we will be installing mono in
mkdir -p /opt/mono
cd /tmp
Download & extract source
wget http://download.mono-project.com/sources/mono/mono-2.10.2.tar.bz2
wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2
wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
tar -xjf mono-2.10.2.tar.bz2
tar -xjf xsp-2.10.2.tar.bz2
tar -xjf mod_mono-2.10.tar.bz2
tar -xjf libgdiplus-2.10.tar.bz2
compile and install libgdiplus
cd libgdiplus-2.10
./configure --prefix=/opt/mono
make ; make install
compile and install mono
cd ../mono-2.10.2
./configure --prefix=/opt/mono --with-libgdiplus=/opt/mono
make ; make install
Set enviroment vars(make sure to also modify ~/.bash_profile)
export PATH=$PATH:/opt/mono/bin
export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig
compile and install xsp
cd ../xsp-2.10.2
./configure --prefix=/opt/mono
make ; make install
compile and install mod_mono
cd ../mod_mono-2.10
./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono
make ; make install
mv /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/
Currently working with mono and xsp4:
[root]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[root]# mono --version
Mono JIT compiler version 4.5.0
[root]# xsp4 --version
xsp4.exe 2.10.2.0
Chazt3n solution is ok, except I had to do some changes to make it work:
I changed the mono version from 4.0 to 4.5 in file: /opt/mono/bin/mod-mono-server4
I ran this command: cp /opt/mono/lib/mono/4.0/xsp4.exe /opt/mono/lib/mono/4.5/
Works well now, thanks.