Bugzilla – Bug 169899
Adding local directory in Yast->Software->Installation Source not possible
Last modified: 2006-05-30 20:03:26 UTC
When I try to add a Local Directory in Yast->Software->Installation Source I get the following error: Unable to create installation source from URL 'dir:///home/atolboo/AVAST/'. In SUSE 10.0 I do not have this problem.
*** This bug has been marked as a duplicate of 168358 ***
I have done the same test in SUSE Linux 10.1 RC3 with the following result: Adding the source resulted in "YaSt source added". Then after selecting "Install Package with Yast" I got the following result:"ERROR Following packages haven't been found on the medium: avast4workstation" In Yast->Software->Installation Source the added source was not shown.
In Bug 168358 Comment #15 a workaround is given for this bug. Item "2. Download and install createrepo" is not possible as this is the problem where this bug is all about. I have modified the workaround as follows: 1. Install the following packages: rpm-python libxml2-python python-urlgrabber 2. Add the FTP installation source: ftp.suse.com/pub/people/cthiel/sles9 3. Install the following package: createrepo (ignore the warning) 4. Do createrepo /dir/to/your/RPMs -- you may need to be root. 5. Now add this directory to your sources as usual. 6. You get warning of repository not beign signed. Overlook it if you trust the RPMs you downloaded. 7. After this, hitting Finish may take some time. Be patient. 8. Next time you start "Add/remove package" you should see the packages in your desired director