ports/156286: apt port tries to pull from incorrect URL

Jesse jessefrgsmith at yahoo.ca
Sat Apr 9 00:10:10 UTC 2011


>Number:         156286
>Category:       ports
>Synopsis:       apt port tries to pull from incorrect URL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 09 00:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jesse
>Release:        8.1-release
>Organization:
RM
>Environment:
freebsd-6648 8.1-RELEASE
>Description:
After installing the sysutils/apt port, running the command

apt-get update

results in errors because apt-get is trying to pull from the invalid "binary-freebsd-i386" architecture. For example, apt-get will attempt to download from

http://ftp.debian.org/dists/squeeze/main/binary-freebsd-i386/Packages.gz

The above is an invalid URL and should instead read

http://ftp.debian.org/debian/dists/squeeze/main/binary-kfreebsd-i386/Packages.gz

Note the leading "k" in "binary-kfreebsd-i386".

>How-To-Repeat:
1. Install the sysutils/apt port (pkg_add -r apt)
2. Create the required directories
mkdir -p /var/db/apt/state/lists/partial
mkdir -p /var/db/apt/cache/archives/partial
mkdir -p /var/db/dpkg
touch /var/db/dpkg/status

3. Run the apt-get update command
/usr/local/bin/apt-get update


>Fix:
The apt program should be patched to draw from Debian's "binary-kfreebsd-i386" repositories. Or, if possible, patched to import the system's arch from a configuration file.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list