Bug #2075

pkg_add -r looks at incorrect URL path

Added by Josep Pujadas over 1 year ago. Updated over 1 year ago.

Status:Rejected Start date:01/07/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Package System
Target version:-
Affected version:2.0.1 Affected Architecture:

Description

Example:

2.0.1-RELEASE][]/root(2): pkg_add -r coovachilli-1.0.12_1
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/coovachilli-1.0.12_1.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/coovachilli-1.0.12_1.tbz' by URL

Path is incorrect:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/Latest/

It should be:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/All/

Regards,

Josep Pujadas

system_package_manager_install_package_freeradius2.jpg (22.8 kB) Josep Pujadas, 01/07/2012 02:43 pm

History

#1 Updated by Jim P over 1 year ago

  • Status changed from New to Rejected

Already fixed by c70452506a0ab84a9d72547656b516f6e61578da that is in 2.0.1

You may need to run:

cp /etc/skel/dot.tcshrc /root/.tcshrc

If it didn't update yours.

#2 Updated by Jim P over 1 year ago

And FYI- it should not be going to packages-8-stable. FreeBSD 8.2-STABLE may have different libraries which would cause a package to not run as expected, if at all.

#3 Updated by Josep Pujadas over 1 year ago

Ok, thanks!

But I don't understand why I don't have /root/.tcshrc up-to-date. I downloaded pfSense-2.0.1-RELEASE-i386.iso.gz two days ago.

diff /etc/skel/dot.tcshrc /root/.tcshrc
6,7d5
< setenv PACKAGESITE ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/`uname -m`/packages-8.1-release/Latest/
< export PACKAGESITE
\ No newline at end of file

#4 Updated by Josep Pujadas over 1 year ago

freeradius2 installation from WebGUI is pointing to 8-stable (?)

I for this that I told to use 8-stable.

Have I to open a bug for this?

Thanks,

Josep Pujadas

#5 Updated by Josep Pujadas over 1 year ago

See attached file about freeradius2 installation...

#6 Updated by Jim P over 1 year ago

It is ok on a case by case basis. Not a general solution
.tcshrc is left alone on upgrades in case a user customized it.
Please post in forum to confirm something is really a bug before opening a ticket.

Also available in: Atom PDF