On Wed, 2004-09-22 at 22:02, YigalB wrote: > >> In http://rpmfind.net <http://rpmfind.net/> I found files relevant > for > >> Mandrake but not for FC2 which I use. What should I do now? Is it > >> safe/ok to use libs compiled for other distributions? Or is there > another > >> solution? > > > >What is wrong with the samba-swat package that comes with Fedora? > >up2date -i samba-swat > >or > >yum install samba-swat > > [<Yigal>] Nothing is wrong, they just don't work for me - see what I got > (I have no idea what does it mean): > ================================================= > root@localhost downloads]# samba-swat > bash: samba-swat: command not found > > [root@localhost downloads]# up2date -i samba-swat > http://fedora.redhat.com/download/up2date-mirrors/fedora-core-2 > using mirror: > http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/2/i3 > 86/os/ > http://fedora.redhat.com/download/up2date-mirrors/updates-released-fc2 > using mirror: > http://mirror.eas.muohio.edu/fedora/linux/core/updates/2/i386/ > Traceback (most recent call last): > File "/usr/sbin/up2date", line 1271, in ? > sys.exit(main() or 0) > File "/usr/sbin/up2date", line 799, in main > fullUpdate, dryRun=options.dry_run)) > File "/usr/sbin/up2date", line 1147, in batchRun > batch.run() > File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run > self.__findPackagesToUpdate() > File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in > __findPackagesToUpdate > plist.addGlobs(self.listOfGlobs) > File "/usr/share/rhn/up2date_client/packageList.py", line 157, in > addGlobs > availList = rhnPackageInfo.getAvailablePackageList() > File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in > getAvailablePackageList > package_list = availablePackageList( > File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in > availablePackageList > progressCallback = progressCallback) > File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall > ret = apply(method, args, kwargs) > File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in > listPackages return > self.handlers[channel['type']].listPackages(channel, msgCallback, > progressCallback) > File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in > listPackages > msgCallback, progressCallback) > File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line > 201, in listPackages > agent = "Up2date %s/Yum" % up2dateUtils.version()) > File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line > 324, in fetchUrl > endRange=end) > File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line > 117, in open_resource > return opener.open(request) > File "/usr/lib/python2.3/urllib2.py", line 326, in open > '_open', req) > File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain > result = func(*args) > File "/usr/lib/python2.3/urllib2.py", line 901, in http_open > return self.do_open(httplib.HTTP, req) > File "/usr/lib/python2.3/urllib2.py", line 886, in do_open > raise URLError(err) > urllib2.URLError: <urlopen error (111, 'Connection refused')> > [root@localhost downloads]# > ================================================= up2date chooses mirrors randomly, in this case wrong mirror was chosen. Just try the command again, or try 'yum install samba-swat' When package is installed run '/sbin/chkconfig swat on' and point your browser to http://localhost:901 Pavel.