READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

halfSister and Fedora

 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Apr 15, 2011 11:00    Post subject: halfSister and Fedora Reply with quote

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

PostPosted: Sat Apr 16, 2011 8:42    Post subject: Reply with quote

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 Smile
_________________
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
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Mon Apr 18, 2011 5:33    Post subject: Reply with quote

I'll give it a try Very Happy
Back to top
Guest






PostPosted: Mon Apr 18, 2011 7:36    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Bugs All times are GMT - 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group