[csw-users] Having trouble updating mirror to new value
Peter Bonivart
bonivart at opencsw.org
Sun Jan 8 21:17:17 CET 2012
On Sun, Jan 8, 2012 at 8:55 PM, Steven Line <sline00 at gmail.com> wrote:
> Hi Guys -
>
> My pkgutil was working great a few months ago, then recently I got this
> error:
>
> -bash-3.2# pkgutil -a ruby
> => Fetching new catalog and descriptions
> (http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10) if
> available ...
> --19:46:09--
> http://ibiblio.org/pub/packages/solaris/opencsw/current/i386/5.10/catalog
> =>
> `/var/opt/csw/pkgutil/catalog.ibiblio.org_pub_packages_solaris_opencsw_current_i386_5.10.tmp'
> Resolving ibiblio.org... 152.19.134.40
> Connecting to ibiblio.org[152.19.134.40]:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 19:46:09 ERROR 404: Not Found.
Ibiblio changed it's url, right.
> I googled it, saw a post by Jeffrey Small, so I updated my config file in
> /etc/opt/csw/pkgutil.conf with
> mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/ but I still get a
> similar error:
>
> -bash-3.2# pkgutil -a
> => Fetching new catalog and descriptions
> (http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10) if available ...
> --19:51:39--
> http://mirrors.ibiblio.org/pub/mirrors/opencsw/i386/5.10/catalog
> =>
> `/var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_i386_5.10.tmp'
> Resolving mirrors.ibiblio.org... 152.19.134.44
> Connecting to mirrors.ibiblio.org[152.19.134.44]:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 19:51:39 ERROR 404: Not Found.
Now you have forgotten to add the distribution you want to use, note
that you used "current" earlier. If you add current to the new ibiblio
url it will work just fine.
mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/current
This is mentioned in pkgutil.conf:
# Mirror to use for downloads
# See http://www.opencsw.org/mirrors for alternative mirrors.
# NOTE: remember to include distribution (e.g. testing) at the end of the url.
# NOTE: you can have multiple mirrors by defining multiple mirror lines.
# Default: http://mirror.opencsw.org/opencsw/testing
#mirror=http://mirror.opencsw.org/opencsw/testing
/peter
More information about the users
mailing list