Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problem when I use Repository Post 302463276 by andresguillen on Saturday 16th of October 2010 06:14:04 PM
Old 10-16-2010
Problem when I use Repository

Hi Gurus of Unix
I use the Package Manager of OpenSolaris
I set my Package Manager : "http://pkg.sunfreeware.com:9000/"


But when I try to install packet appear the following Error:
Please check the network connection.
Is the repository accessible?

Transfer from 'http://pkg.sunfreeware.com:9000' failed: Read error on tar stream. (happened 4 times)
Can any want help me please,
What other repository I can use.

Regardless
Andres

When a try to install any package from this page: http://pkg.sunfreeware.com:9000

Appear the following message

Preparando...
Recopilando información de los paquetes, espere...
pkg:/IPSFWsane@0.5.11,5.11-5.7:20080507T040837Z
pkg:/IPSFWlibsane@0.5.11,5.11-5.7:20080507T040439Z
pkg:/IPSFWxterm@0.5.11,5.11-5.7:20080507T041341Z
pkg:/IPSFWsane@0.5.11,5.11-5.7:20080507T040837Z
pkg:/IPSFWxterm@0.5.11,5.11-5.7:20080507T041341Z
pkg:/IPSFWlibsane@0.5.11,5.11-5.7:20080507T040439Z

Paquetes que instalar:
IPSFWsane@0.5.11-5.7
IPSFWxterm@0.5.11-5.7
IPSFWlibsane@0.5.11-5.7

Descargando...
Paquete 1 de 3: IPSFWsane

Error:
Please check the network connection.
Is the repository accessible?

Transfer from 'http://pkg.sunfreeware.com:9000' failed: Read error on tar stream. (happened 4 times)

FROM my CLI I put:
telnet pkg.sunfreeware.com 9000
Trying 66.193.208.93...
Connected to pkg.sunfreeware.com.
Escape character is '^]'.


When I put the following link in browser, Mozilla Firefox, appear:
pkg server ok
Statistics

Number of packages: 297
Number of in-flight transactions: 4

Number of catalogs served: 47633
Number of manifests served: 5144
Number of files served: 2666
Number of flists requested: 1010
Number of files served by flist: 56932
Number of packages renamed: 0


Catalog

Can any guru of Unix can help please what will be the problem?

Last edited by andresguillen; 10-16-2010 at 08:22 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Repository of HP-UX 10.20 packages

Hello, What the adresses of ftps or websites the packages depots to HP-UX 10.20 I am search and google I did not get success. Thanks :D (1 Reply)
Discussion started by: markos
1 Replies

2. Solaris

smf repository not running

Hi All, I have a Solaris server which runs version 10 After installing the patch , i thought of doing a recongiuration reboot But it failed saying "smf repository not running" what could be the issue. Thanks J (4 Replies)
Discussion started by: jegaraman
4 Replies

3. Shell Programming and Scripting

Building my own CPAN repository

Hi there , im not sure whether im in the right section, but because im talking about perl, i guess this is the right place :-) I have a whole host (thousands in fact) of Solaris machines that are running different versions of perl with different module sets etc. I wanted to know whether it... (6 Replies)
Discussion started by: rethink
6 Replies

4. Red Hat

build a repository

Hi, i'll explain my problem in few words: i have to create a repository with mrepo on a RH. I see many procedures on internet and even in linux mag, but there isn't any case where the iso and rpm deposit aren't placed on the repository but on a remote system (a NetApp filer in my case). So... (0 Replies)
Discussion started by: nicnictout
0 Replies

5. UNIX for Dummies Questions & Answers

What are the BEST Repository for Unix?

Hi Gurus of UNIX, Can you tell me what are the best Repository in Unix: In Internet I found the following: sunfreeware pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com The popular sunfreeware collection in the IPS format blastwave pkg set-authority -O... (5 Replies)
Discussion started by: andresguillen
5 Replies

6. Solaris

Solaris repository

Someone know good software repositories for Solaris 10? I'm searching one with updated packages like Samba3,smbldaptools,openldap,etc Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

7. Web Development

Svn repository relocation

Hi, I have a svn setup with multiple code repositories. Recently the filesystem holds the repository got full and i wanted to have to move some code repositories to another filesystem. I copied some of the code repositored using the "mv" command to another filesystem and created a symlink with... (1 Reply)
Discussion started by: arumon
1 Replies

8. Red Hat

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit: Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix: # rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies

9. Red Hat

Repository update

i have a repository server for red hat and centos clients. the repository contain all the rpms from the original install cd. now lets say i will add for example the new BASH rpm that fixes the shellshock vaulnerbility. when the client machine will run the command: "yum update bash" did the yum... (1 Reply)
Discussion started by: guy3145
1 Replies

10. SuSE

Repository out of date.

I get this message when attempting to update OpenSUSE 42.2: Error building the cache: Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Nothing to do. What's happening? (2 Replies)
Discussion started by: geos0xAA55
2 Replies
RPM2(3) 						User Contributed Perl Documentation						   RPM2(3)

NAME
RPM2 - Perl bindings for the RPM Package Manager API SYNOPSIS
use RPM2; my $db = RPM2->open_rpm_db(); my $i = $db->find_all_iter(); print "The following packages are installed (aka, 'rpm -qa'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " "; } $i = $db->find_by_name_iter("kernel"); print "The following kernels are installed (aka, 'rpm -q kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } $i = $db->find_by_provides_iter("kernel"); print "The following packages provide 'kernel' (aka, 'rpm -q --whatprovides kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } print "The following packages are installed (aka, 'rpm -qa' once more): "; foreach my $pkg ($db->find_by_file("/bin/sh")) { print $pkg->as_nvre, " "; } my $pkg = RPM2->open_package("/tmp/XFree86-4.1.0-15.src.rpm"); print "Package opened: ", $pkg->as_nvre(), ", is source: ", $pkg->is_source_package, " "; DESCRIPTION
The RPM2 module provides an object-oriented interface to querying both the installed RPM database as well as files on the filesystem. CLASS METHODS
Pretty much all use of the class starts here. There are two main entrypoints into the package -- either through the database of installed rpms (aka the rpmdb) or through a file on the filesystem (such as kernel-2.4.9-31.src.rpm or kernel-2.4.9-31.i386.rpm You can have multiple RPM databases open at once, as well as running multiple queries on each. open_rpm_db(-path => "/path/to/db") As it sounds, it opens the RPM database, and returns it as an object. open_package("foo-1.1-14.noarch.rpm") Opens a specific package (RPM or SRPM). Returns a Header object. RPM DB object methods find_all_iter() Returns an iterator object that iterates over the entire database. find_all() Returns an list of all of the results of the find_all_iter() method. find_by_file_iter($filename) Returns an iterator that returns all packages that contain a given file. find_by_file($filename) Ditto, except it just returns the list find_by_name_iter($package_name) You get the idea. This one is for iterating by package name. find_by_name($package_name) Ditto, except it returns a list. find_by_provides_iter($provides_string) This one iterates over provides. find_by_provides($provides_string) Ditto, except it returns a list. find_by_requires_iter($requires_string) This one iterates over requires. find_by_requires($requires_string) Ditto, except it returns a list. RPM Header object methods stuff goes here TODO
Package installation and removal. Signature validation. HISTORY
0.01 Initial release AUTHOR
Chip Turner <cturner@redhat.com> SEE ALSO
perl. The original RPM module. perl v5.8.0 2002-11-08 RPM2(3)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy