Solaris 11: Install solaris developer studio: Error - solaris

I am trying to install solaris studio 12.6 in Solaris 11.4 system.
I set the publisher key and certificate as shown below:
pkg set-publisher -c ./oracle/pkg.oracle.com.certificate.pem -k ./oracle/pkg.oracle.com.key.pem -G "*" -g https://pkg.oracle.com/solarisstudio/release solarisstudio
Then sudo pkg install -–accept developerstudio-126 command gives me the blow error:
root#Wenge:/export/home/preethi# pkg install --accept developerstudio-126
Creating Plan (Running solver): |
pkg install: No matching version of developer/developerstudio-126 can be installed:
Reject: pkg://solarisstudio/developer/developerstudio-126#12.6-1.0.0.0
Reason: No version matching 'require' dependency developer/developerstudio-126/c++#12.6-1.0.0.0 can be installed
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-126/c++#12.6-1.0.0.0
pkg://solarisstudio/developer/developerstudio-126/c++#12.6-1.0.0.1
Reason: No version for 'require' dependency on library/c++/stdcxx can be found
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-126#12.6-1.0.0.1
Reason: No version matching 'require' dependency developer/developerstudio-126/c++#12.6-1.0.0.1 can be installed
root#Wenge:/export/home/preethi# pkg install --accept developerstudio-125
Creating Plan (Running solver): -
pkg install: No matching version of developer/developerstudio-125 can be installed:
Reject: pkg://solarisstudio/developer/developerstudio-125#12.5-1.0.0.0
Reason: No version matching 'require' dependency developer/developerstudio-125/cc#12.5-1.0.0.0 can be installed
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-125/cc#12.5-1.0.0.0
Reason: No version for 'require' dependency on developer/library/lint can be found
----------------------------------------
Solaris uname -a
SunOS sys1 5.11 11.4.16.4.0 i86pc i386 i86pc
Can anybody help me to resolve this?
Placed key and certificate in the local system only. i've verified this command and its listing all the available packages:
NAME (PUBLISHER) VERSION IFO
developer/developerstudio-125 12.5-1.0.0.0 ---
developer/developerstudio-125/backend 12.5-1.0.0.0 ---
developer/developerstudio-125/c++ 12.5-1.0.0.0 ---
developer/developerstudio-125/cc 12.5-1.0.0.0 ---
developer/developerstudio-125/code-analyzer 12.5-1.0.0.0 ---
developer/developerstudio-125/dbx 12.5-1.0.0.0 ---
developer/developerstudio-125/dbxtool 12.5-1.0.0.0 ---
developer/developerstudio-125/dmake 12.5-1.0.0.0 ---
developer/developerstudio-125/fortran 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c++-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/f90-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/math-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/oic-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/perflib 12.5-1.0.0.0 ---
developer/developerstudio-125/library/studio-gccrt 12.5-1.0.0.0 ---
............................
...........................
I could see c++ available:
root#Wenge:/export/home/preethi# pkg list -a pkg://solarisstudio/* | grep pkg://solarisstudio/developer/developerstudio-126/c++
root#Wenge:/export/home/preethi# pkg list -a pkg://solarisstudio/* | grep c++
developer/developerstudio-125/c++ 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c++-libs 12.5-1.0.0.0 ---
developer/developerstudio-126/c++ 12.6-1.0.0.1 ---
developer/developerstudio-126/library/c++-libs 12.6-1.0.0.1 ---
developer/solarisstudio-122/c++ 12.2-1.0.0.0 ---
developer/solarisstudio-122/library/c++-libs 12.2-1.0.0.0 ---
developer/solarisstudio-123/c++ 12.3-1.0.0.0 ---
developer/solarisstudio-123/library/c++-libs 12.3-1.0.0.0 ---
developer/solarisstudio-124/c++ 12.4-1.0.0.0 ---
developer/solarisstudio-124/library/c++-libs 12.4-1.0.0.0 ---
Before installing this solaris studio, any other dependent package i need to install?

Most probably your certificate and keys expired or not registered for some reason.Try to download new keys and certificate
root#Solaris:~/Desktop# sudo pkg set-publisher \
> -k ~/Desktop/pkg.oracle.com.key.pem \
> -c ~/Desktop/pkg.oracle.com.certificate.pem \
> -G "*" -g https://pkg.oracle.com/solarisstudio/release solarisstudio
Verifying publisher
root#Solaris:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/release/
solarisstudio origin online F https://pkg.oracle.com/solarisstudio/release/
root#Solaris:~/Desktop# pkg publisher solarisstudio | grep Mirror
root#Solaris:~/Desktop# pkg list -a pkg://solarisstudio/(asterisk)
NAME (PUBLISHER) VERSION IFO
developer/developerstudio-125 (solarisstudio) 12.5-1.0.0.0 ---
developer/developerstudio-125/backend (solarisstudio) 12.5-1.0.0.0 ---
------------ snipped more than 100 lines ---------------
root#Solaris:~/Desktop# pkg install --accept developerstudio-126
------------------------------------------------------------
Package: pkg://solarisstudio/developer/developerstudio-126/studio-legal#12.6-1.0.0.1:20170815T160721Z
License: devpro.OTN.license
You acknowledge that your use of Oracle Developer Studio is subject to the Oracle Developer Studio OTN License Agreement. The OTN License Agreement is located at : http://www.oracle.com/technetwork/licenses/studio-license-2980206.html
Packages to install: 29
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 29/29 11083/11083 505.6/505.6 1.7M/s
PHASE ITEMS
Installing new actions 19396/19396
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 2/2
Set Path in your profile
export PATH=$PATH:/opt/developerstudio12.6/bin
export MANPATH=/opt/developerstudio12.6/man

Thank you. Have installed Solaris 11.4.20.4.0 version and i can successfully install the Developerstudio12.6.

Related

Fastlane : [altool] Error: Unable to upload archive. Failed to get authorization for username and password

I try to upload my flutter ipa to the AppStore with fastlane using pilot with the following command:
bundle exec fastlane pilot upload --ipa ../build/ios/ipa/project.ipa
When I run this command I face the following error
I have a .p8 in the private_keys folder
It seems that pilot can log me with my apple ID but just after it throws me that it failed to get authorization.
After it failed, when I go to TestFlight I can see my new version available but with the old version name (e.g. 1.0.0 instead of 1.0.1)
[monsieur_x | ~/project/ios ]$ bundle exec fastlane pilot upload --ipa ../build/ios/ipa/project.ipa
[✔] 🚀
[17:54:31]: Login to App Store Connect (apple_id#gmail.com)
[17:54:33]: Login successful
[17:54:35]: Ready to upload new build to TestFlight (App: 1544671867)...
[17:54:39]: Going to upload updated app to App Store Connect
[17:54:39]: This might take a few minutes. Please don't interrupt the script.
[17:54:41]: [altool] 2022-10-26 17:54:41.294 *** Error: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[17:54:41]: [altool] "Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}"
[17:54:41]: [altool] ) (-1011)
[17:54:41]: [altool] {
[17:54:41]: [altool] NSLocalizedDescription = "Unable to upload archive.";
[17:54:41]: [altool] NSLocalizedFailureReason = "Failed to get authorization for username 'apple_id#gmail.com' and password. (\n \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";
[17:54:41]: [altool] }
[17:54:41]: Application Loader output above ^
[17:54:41]: Error uploading '/var/folders/gr/z1j06nhs2sd38gwv4_l51rj40000gn/T/7d36fd34-357d-4c08-aa9d-7db6ed3a8b82.ipa'.
[17:54:41]: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[17:54:41]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[17:54:41]: Could not download/upload from App Store Connect!
[!] Error uploading ipa file:
[Application Loader Error Output]: Error uploading '/var/folders/gr/z1j06nhs2sd38gwv4_l51rj40000gn/T/7d36fd34-357d-4c08-aa9d-7db6ed3a8b82.ipa'.
[Application Loader Error Output]: Unable to upload archive. Failed to get authorization for username 'apple_id#gmail.com' and password. (
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
Here is my fastlane env if you need:
<details><summary>🚫 fastlane environment 🚫</summary>
### Stack
| Key | Value |
| --------------------------- | -------------------------------------------------------------- |
| OS | 12.6 |
| Ruby | 2.6.8 |
| Bundler? | false |
| Git | git version 2.38.0 |
| Installation Source | /usr/local/bin/fastlane |
| Host | macOS 12.6 (21G115) |
| Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version | LibreSSL 2.8.3 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 14.0.1 |
| Swift Version | 5.7 |
### System Locale
| Error |
| --------------------------- |
| No Locale with UTF8 found 🚫 |
### fastlane files:
<details><summary>`./fastlane/Fastfile`</summary>
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
increment_build_number(xcodeproj: "Runner.xcodeproj")
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
upload_to_testflight
end
end
`./fastlane/Appfile`
app_identifier("com.balanz") # The bundle identifier of your app
apple_id("contact#balanz.fr") # Your Apple Developer Portal username
itc_team_id("122453945") # App Store Connect Team ID
team_id("T3P8853DAC") # Developer Portal Team ID
# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
fastlane gems
Gem
Version
Update-Status
fastlane
2.210.1
✅ Up-To-Date
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem
Version
did_you_mean
1.3.0
atomos
0.1.3
colored2
3.1.2
nanaimo
0.3.0
rexml
3.2.5
xcodeproj
1.21.0
rouge
2.0.7
xcpretty
0.3.0
terminal-notifier
2.0.0
unicode-display_width
1.8.0
terminal-table
1.8.0
plist
3.6.0
public_suffix
4.0.6
addressable
2.8.0
multipart-post
2.0.0
word_wrap
1.0.0
optparse
0.1.1
tty-screen
0.8.1
tty-cursor
0.7.1
tty-spinner
0.9.3
artifactory
3.0.15
babosa
1.0.4
colored
1.2
highline
2.0.3
commander
4.6.0
excon
0.92.2
faraday-em_http
1.0.0
faraday-em_synchrony
1.0.0
faraday-excon
1.1.0
faraday-httpclient
1.0.1
faraday-multipart
1.0.3
faraday-net_http
1.0.1
faraday-net_http_persistent
1.2.0
faraday-patron
1.0.0
faraday-rack
1.0.0
faraday-retry
1.0.3
ruby2_keywords
0.0.5
faraday
1.10.0
unf_ext
0.0.8.1
unf
0.1.4
domain_name
0.5.20190701
http-cookie
1.0.4
faraday-cookie_jar
0.0.7
faraday_middleware
1.2.0
fastimage
2.2.6
gh_inspector
1.1.3
mini_magick
4.11.0
naturally
2.2.1
rubyzip
2.3.2
security
0.1.3
xcpretty-travis-formatter
1.0.1
dotenv
2.7.6
bundler
2.3.10
simctl
1.6.8
jwt
2.3.0
uber
0.1.0
declarative
0.0.20
trailblazer-option
0.1.2
representable
3.1.1
retriable
3.1.2
mini_mime
1.1.2
memoist
0.16.2
multi_json
1.15.0
os
1.1.4
signet
0.16.1
googleauth
1.1.2
httpclient
2.8.3
google-apis-core
0.4.2
google-apis-playcustomapp_v1
0.7.0
google-apis-androidpublisher_v3
0.17.0
google-cloud-env
1.6.0
google-cloud-errors
1.2.0
google-cloud-core
1.6.0
google-apis-iamcredentials_v1
0.10.0
google-apis-storage_v1
0.11.0
digest-crc
0.6.4
google-cloud-storage
1.36.1
emoji_regex
3.2.3
jmespath
1.6.1
aws-partitions
1.572.0
aws-eventstream
1.2.0
aws-sigv4
1.4.0
aws-sdk-core
3.130.0
aws-sdk-kms
1.55.0
aws-sdk-s3
1.113.0
CFPropertyList
3.0.5
claide
1.1.0
json
2.6.1
webrick
1.7.0
rake
13.0.6
forwardable
1.2.0
logger
1.3.0
date
2.0.0
stringio
0.0.2
ipaddr
1.2.2
openssl
2.1.2
zlib
1.0.0
mutex_m
0.1.0
ostruct
0.1.0
strscan
1.0.0
io-console
0.4.7
fileutils
1.1.0
etc
1.0.1
libxml-ruby
3.2.1
psych
3.1.0
generated on: 2022-10-27
Does someone have an idea ?
Thank you !
Hello I was struggling with this issue for many days.
Solution
Step 1
Go to https://appleid.apple.com/account/manage login in and go to App-Specific Passwords, after generate a new App Specific Password copy it.
Step2
Inside fastlane folder create a new file .env.default and add the two properties .
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-Specific Password>
Use an app-specific password to sign in to an app or service not provided by Apple ass a fastlane.
------------------------------Other options--------------------------------
You have different options not only using .env file.
1- In your Fastfile
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-Specific Password>
lane :beta do
crashlytics
end
2- Bash Profile
nano ~/.bash_profile
insert your properties
FASTLANE_USER=<Apple USER ID>
FASTLANE_PASSWORD=<Apple Password>
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=<App-SpecificPassword>
CTRL + X - save changes.
reopen your terminal
Please in check the link for more details about.
https://docs.fastlane.tools/best-practices/keys/

Install GLIBCXX_3.4.15 on Centos 6.9

I have a problem when I try to start my server Garry's Mod. Here is the error I get
Failed to open dedicated_srv.so (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by bin/dedicated_srv.so))
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sun May 13 01:17:52 CEST 2018: Server restart in 10 seconds
strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.0
GLIBC_2.3
GLIBC_2.4
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH.
There you have a way to have glibcxx_ 3.4.15 on CentOS 6.9, Because I really need CentOS 6 to run other applications ?.
Thanks for your help.
Just try to install file libstdc++-4.8.5-28.el7.i686.rpm
yum install http://centos.biz.net.id/7/os/x86_64/Packages/libstdc++-4.8.5-28.el7.i686.rpm
.
[root#linux ~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[root#linux ~]# strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.0
GLIBC_2.4
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_DEBUG_MESSAGE_LENGTH
[root#linux ~]#

Salt Stack: Function: pkg.installed. Yum does not update installed package

My code is:
others:
pkg.installed:
- sources:
- epel-release: https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm
- salt-latest: https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
and I'm getting error:
errors:
- Loaded plugins: fastestmirror, replace
Setting up Install Process
Examining /var/cache/salt/minion/extrn_files/base/repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm: salt-repo-latest-2.el6.noarch
/var/cache/salt/minion/extrn_files/base/repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm: does not update installed package.
Error: Nothing to do
I thinkt that may be a problem with salt-repo-latest-2.el6.noarch.rpm. When I manually run yum install for this RPM's I'm getting the same error but running in Salt Stack only getting this error.
It should end with:
ID: others
Function: pkg.installed
Result: True
Comment: All specified packages are already installed
Started: 10:45:33.171971
Duration: 595.672 ms
Changes:
but I'm getting:
ID: others
Function: pkg.installed
Result: False
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Loaded plugins: fastestmirror, replace
Setting up Install Process
Examining /var/cache/salt/minion/extrn_files/base/repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm: salt-repo-latest-2.el6.noarch
/var/cache/salt/minion/extrn_files/base/repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm: does not update installed package.
Error: Nothing to do
Started: 10:46:13.906581
Duration: 8988.515 ms
Changes:
The package name is salt-repo not salt-latest.
Code should be:
others:
pkg.installed:
- sources:
- epel-release: https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm
- salt-repo: https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm

Chef install of readline package fails on Ubuntu 14.04

I am trying get PostgreSQL (server) installed on an Ubuntu node using Chef:
Role definition (roles/base_server.rb):
run_list(
"recipe[apt]",
"recipe[postgres::server]"
)
default_attributes(
postgresql: {
version: "9.3.4",
config: {
shared_buffers_mb: "12000"
}
}
Setup
System: Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)
Chef-Version: 11.14.6
Postgres Cookbook: [3.4.1] (https://github.com/hw-cookbooks/postgresql)
Running the bootstrap command
knife bootstrap IPADDRESS -x USER -r 'role[base_server]' --sudo
Results in the following error:
* package[readline] action install
* No version specified, and no candidate version available for readline
================================================================================
Error executing action `install` on resource 'package[readline]'
================================================================================
Chef::Exceptions::Package
-------------------------
No version specified, and no candidate version available for readline
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/postgres/recipes/build.rb
29: package package_name do
30: action :install
31: end
32: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/postgres/recipes/build.rb:29:in `block in from_file'
package("readline") do
action [:install]
retries 0
retry_delay 2
guard_interpreter :default
package_name "readline"
timeout 900
cookbook_name "postgres"
recipe_name "build"
end
I already tried to fix this by installing the readline libraries manually, but no success. Has anyone an idea how to solve this?
As mentioned by StephenKing, the issue isn't with Chef, it is that the package really doesn't exist. You'll need to fix your recipe code to use the correct package name.

Trying to install meteor on centos 5

OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Trying to run this command to install meteor:
curl install.meteor.com | /bin/sh
============= Output Error ===============
Installing /tmp/meteor-install-Nv47529/meteor-0.3.6-1.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.6)(64bit) is needed by meteor-0.3.6-1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by meteor-0.3.6-1.x86_64
libc.so.6(GLIBC_2.9)(64bit) is needed by meteor-0.3.6-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by meteor-0.3.6-1.x86_64
Installation failed.
============= Output Error ===============
glib is missing showing but check glib using
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" | grep glibc | sort
showing me
compat-glibc-2.3.4-2.26.i386
compat-glibc-2.3.4-2.26.x86_64
compat-glibc-headers-2.3.4-2.26.x86_64
glibc-2.5-49.el5_5.7.i686
glibc-2.5-49.el5_5.7.x86_64
glibc-common-2.5-49.el5_5.7.x86_64
glibc-devel-2.5-49.el5_5.7.i386
glibc-devel-2.5-49.el5_5.7.x86_64
glibc-headers-2.5-49.el5_5.7.x86_64
glibc-utils-2.5-49.el5_5.7.x86_64
so any idea what is the issue?
GLIBC_2.6 is required by the RPM, you only have GLIBC_2.5 so you need to upgrade.
Alternatively, this dependency may be more strict than it needs to be; try packing Meteor yourself.