cabriofahrer
Well-Known Member
Habe die o.g. Konfigurationsdateien so editiert, daß meine Pakete von den 7-stable Packages bezogen werden:
]$ more csh.cshrc
# $FreeBSD: src/etc/csh.cshrc,v 1.3.52.1 2008/11/25 02:59:29 kensmith Exp $
#
# System-wide .cshrc file for csh(1).
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
setenv PKG_SITES ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/
und
[werner@elvis69 /etc]$ more profile
# $FreeBSD: src/etc/profile,v 1.14.26.1 2008/11/25 02:59:29 kensmith Exp $
#
# System-wide .profile file for sh(1).
#
# Uncomment this to give you the default 4.2 behavior, where disk
# information is shown in K-Blocks
# BLOCKSIZE=K; export BLOCKSIZE
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
# You should also read the setlocale(3) man page for information
# on how to achieve more precise control of locale settings.
#
# Read system messages
# msgs -f
# Allow terminal messages
# mesg y
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/; export PACKAGESITE
PKG_SITES=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/; export PKG_SITES
Soweit so gut. Bei einem pkg_add -r funktioniert das auch:
[root@elvis69 /etc]# pkg_add -r lynx
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/lynx.tbz... Done.
Ein portupgrade -PP funktioniert jedoch nicht, weil portupgrade die Adresse falsch erkennt, es fehlt einfach ein slash. Wie ist das möglich?
fetch: ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/Latest/docbook-xsl.tgz: No address record
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/Latest/docbook-xsl.tgz
** Failed to fetch docbook-xsl
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! docbook-xsl@ (fetch error)
** Could not find the latest version (1.74.0_1)
** No package available: textproc/docbook-xsl
]$ more csh.cshrc
# $FreeBSD: src/etc/csh.cshrc,v 1.3.52.1 2008/11/25 02:59:29 kensmith Exp $
#
# System-wide .cshrc file for csh(1).
setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
setenv PKG_SITES ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/
und
[werner@elvis69 /etc]$ more profile
# $FreeBSD: src/etc/profile,v 1.14.26.1 2008/11/25 02:59:29 kensmith Exp $
#
# System-wide .profile file for sh(1).
#
# Uncomment this to give you the default 4.2 behavior, where disk
# information is shown in K-Blocks
# BLOCKSIZE=K; export BLOCKSIZE
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
# You should also read the setlocale(3) man page for information
# on how to achieve more precise control of locale settings.
#
# Read system messages
# msgs -f
# Allow terminal messages
# mesg y
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/; export PACKAGESITE
PKG_SITES=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/; export PKG_SITES
Soweit so gut. Bei einem pkg_add -r funktioniert das auch:
[root@elvis69 /etc]# pkg_add -r lynx
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/lynx.tbz... Done.
Ein portupgrade -PP funktioniert jedoch nicht, weil portupgrade die Adresse falsch erkennt, es fehlt einfach ein slash. Wie ist das möglich?
fetch: ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/Latest/docbook-xsl.tgz: No address record
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://ftp.freebsd.orgpub/FreeBSD/ports/i386/packages-7-stable/Latest/docbook-xsl.tgz
** Failed to fetch docbook-xsl
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! docbook-xsl@ (fetch error)
** Could not find the latest version (1.74.0_1)
** No package available: textproc/docbook-xsl
: