View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri Apr 15, 2011 11:00 Post subject: halfSister and Fedora |
|
|
Hi again,
for me the package manipulation of Fedora with HalfSister is not working. If I want to create a package selection and don't type a package name in the field I get the help text of ssh as selectable packages. Otherwise nothing is shown.
My version is
codename rock
version 11.1
patchlevel 100400
best regards
arno |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Sat Apr 16, 2011 8:42 Post subject: |
|
|
Hi Arno,
are you (a bit) skilled Fedora user?
This is the Fedora specific function of m23HSAdmin for searching for available packages in the repository.
Code: |
#####
# name pkgSearch
# description Searches for available packages matching all keywords.
# parameter Search terms seperated spaces.
#####
pkgSearch()
{
s="repoquery --pkgnarrow=available --qf '%{name}###%{description}###%{installedsize}XYZ' -a | awk -vRS='XYZ' -vORS='' '{
gsub(\"\\n\",\" \");
gsub(\"^ \",\"\");
print(\$0\"\\n\")
}'"
for i in $@
do
s="$s | grep -i $i --color=never"
done
s="$s | sort"
echo $s | sh
} |
Can you check out and maybe post a corrected version that works with no search term given?
Would be great _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
Guest
|
Posted: Mon Apr 18, 2011 5:33 Post subject: |
|
|
I'll give it a try |
|
Back to top |
|
|
Guest
|
Posted: Mon Apr 18, 2011 7:36 Post subject: |
|
|
I think it is a problem with the editing of package selections
Edit package selections -> select halfSister + Fedora -> search normal packages
leads to
Variable firewall error
* Error message: CHECK_FW error: Not allowed characters found!
* Check type: "sn255"
* Value: " [-w local_tun[:remote_tun]] [user@]hostname [command]"
Trace
1. PKG_getPackageStatus(,m23normal,halfSister,, [-w local_tun[:remote_tun]] [user@]hostname [command])@/m23/inc/packages.php:765
2. PKG_listSelectedpackages(,halfSister,fedora14)@/m23/data+scripts/m23admin/packages/install_packages.php:511
3. include(/m23/data+scripts/m23admin/packages/install_packages.php)@/m23/data+scripts/m23admin/index.php:427
But at the normal install on a setup fedora client the search an preselection works. So I guess the package search snippet of yours is working.
regards
arno |
|
Back to top |
|
|
|