Bug #1046
closedpfSense 2.0 beta 4 - Amd64: Discrepancy between package files repository and http://www.pfsense.com/packages/pkg_config.8.xml.amd64
0%
Description
As reported recently, several packages have been updated (removing the old ones) at http://files.pfsense.org/packages/amd64/8/All/ without updating accordingly the package list at http://www.pfsense.com/packages/pkg_config.8.xml.amd64 .
Obviously not all packages are affected, nonetheless it's quite annoying.
Regards,
Fulvio Scapin
Updated by Chris Buechler about 14 years ago
- Priority changed from Urgent to Normal
Updated by Jim Pingle about 14 years ago
- Status changed from New to Feedback
Do you have a link to something that mentions specific packages that show issues like this? There are quite a large number of packages and the binary builds for some are automatic (and do not remove the old binaries!) so it would really help to know exactly what packages are reported to not work.
Updated by Fulvio Scapin about 14 years ago
Jim P wrote:
Do you have a link to something that mentions specific packages that show issues like this? There are quite a large number of packages and the binary builds for some are automatic (and do not remove the old binaries!) so it would really help to know exactly what packages are reported to not work.
I can give you a practical example: arping
From http://www.pfsense.com/packages/pkg_config.8.xml.amd64:
<package>
<name>arping</name>
<descr>Broadcasts a who-has ARP packet on the network and prints answers. </descr>
<website>http://www.habets.pp.se/synscan/programs.php?prog=arping&lt;/website>
<category>Services</category>
<version>2.06</version>
<status>Beta</status>
<pkginfolink>http://doc.pfsense.org/index.php/Arping_package&lt;/pkginfolink>
<required_version>1.0.1</required_version>
<config_file>http://www.pfsense.com/packages/config/arping/arping.xml&lt;/config_file>
<configurationfile>arping.xml</configurationfile>
<depends_on_package_base_url>http://files.pfsense.org/packages/amd64/8/All/&lt;/depends_on_package_base_url>
<depends_on_package>arping-2.06.tbz</depends_on_package>
<build_port_path>/usr/ports/net/arping</build_port_path>
</package>
As you can see the system looks for arping-2.06.tbz in http://files.pfsense.org/packages/amd64/8/All/
Unfortunately, looking under http://files.pfsense.org/packages/amd64/8/All/ only arping-2.08.tbz and arping-2.09.tbz can be found.
The following one-liner parses http://www.pfsense.com/packages/pkg_config.8.xml.amd64 and reports dead links in http://files.pfsense.org/packages/amd64/8/All/;
some of the packages reported might be false positives referring to a different package_base_url than http://files.pfsense.org/packages/amd64/8/All/ , but most of them ought to be actual dead links.
lynx -source http://www.pfsense.com/packages/pkg_config.8.xml.amd64|grep tbz |sed -n '/depends_on/ s@.*<depends_on_package>\(.*\)</depends_on_package>.*\1
;p'|xargs -n1 -i{} sh -c 'curl -s http://files.pfsense.org/packages/amd64/8/All/{} -o /dev/null -r0-10 -f || echo {} : Absent'
Regards,
Fulvio Scapin
Updated by Fulvio Scapin about 14 years ago
Opss.
I forgot to quote the excerpt from the xml file.
Sorry
Updated by Jim Pingle about 14 years ago
All of the entries that were not found should be fixed now, or will be once the last build finishes (for mod_security).
Updated by Jim Pingle about 14 years ago
All files are present now (verified with a modified version of that one-liner, I couldn't get that to work).
Updated by Francisco Brasileiro about 14 years ago
corrected:
lynx -source http://www.pfsense.com/packages/pkg_config.8.xml.amd64|grep tbz |sed -n '/depends_on/ s@.*<depends_on_package>\(.*\)</depends_on_package>.*@\1@;p'|xargs -n1 -i{} sh -c 'curl -s http://files.pfsense.org/packages/amd64/8/All/{} -o /dev/null -r0-10 -f || echo {} : Absent'
Updated by Fulvio Scapin about 14 years ago
Verified the change. Thanks
Francisco Barocio Brasileiro:
Thanks for the formatting ;)
Updated by Fulvio Scapin about 14 years ago
Ehm, errata corrige.
It appears that the newly (quite newly) added Postfix Forwarder Package is missing.
Updated by Jim Pingle about 14 years ago
- Status changed from Feedback to Resolved
It was just added overnight. It will be picked up the next time the binaries are built. I'm closing this one out for now. If a specific package has an issue in the future, a new ticket would be preferred.