Bugzilla – Bug 168358
Cannot add a local directory as installation source
Last modified: 2006-12-09 15:28:04 UTC
To separate from bug #166287: I tried to add as a source a directory with RPMs (-devel packages that are not on the 5 CDs), but I couldn't: "Unable to create installation source from URL dir:///.... Try again?" This was possible at least in 10.0, I'm not sure about the 10.1 betas. Logs are attached to the other bug report.
Klaus, should this be possible? Andras, please attach YaST2 logs as described in http://en.opensuse.org/Bug_Reporting_FAQ#YaST
That FAQ seems to be out of date. - Shift-F8 in the Qt GUI doesn't do anything - save_y2logs does not exist - I have a tarball of /var/log/Yast2, but it's 3.5 MB, which might not upload from here (slow upload link). In that case take the log from #166287 and combine with the attached tarball. I will update to RC2 today anyway, and I will test there as well.
Created attachment 79595 [details] y2logs
*** Bug 168671 has been marked as a duplicate of this bug. ***
*** Bug 168673 has been marked as a duplicate of this bug. ***
According to bug 168671 (the duplicate from comment #5), this is still an issue in RC2.
*** Bug 162063 has been marked as a duplicate of this bug. ***
*** Bug 169899 has been marked as a duplicate of this bug. ***
This bug persists in SUSE 10.1 GM. Adding self to CC.
Workaround: 1. Install first dependencies: rpm-python, libxml2-python, python-urlgrabber -- these come with the CD-images. 2. Download and install createrepo from the noarch packages of 10.1. This does not come with the CD-images. Hence need for download. 3. Do createrepo /dir/to/your/RPMs -- you may need to be root. 4. Now add this directory to your sources as usual. 5. You get warning of repository not beign signed. Overlook it if you trust the RPMs you downloaded. 6. After this, hitting Finish may take some time. Be patient. 7. Next time you start "Add/remove package" you should see the packages in your desired directory. But still, YaST should be able to read a directory of RPMs directly. Also please see bug #153344 which I reported.
I went through this process (the bug is still present in 10.1) and although it worked and added the directory, the package search did not bring up the rpms from the directory. Packages I knew where there and worked in 10.0
I cannot believe that 10.1 was released with this bug still unsolved. I had reported this bug since b3. This bug also causes Konqueror to fail when trying to "install package with Yast". There is practically no GUI way to install an RPM that is not included in a repository of some sort. The ZEN installer appears to work, but it is in no way a replacement to YAST. Metricus
*** Bug 178993 has been marked as a duplicate of this bug. ***
*** Bug 179280 has been marked as a duplicate of this bug. ***
*** Bug 179478 has been marked as a duplicate of this bug. ***
*** Bug 183687 has been marked as a duplicate of this bug. ***
*** Bug 183714 has been marked as a duplicate of this bug. ***
Hello I have only one question. Do you have an idea or vision when vill be available fix upadte for this bug or bug 183687 I´d like to use 10.1.It has been taking so long Rasto
"rug mount <directory>" adds a local directory as installation repo.
It's handled like any other service, query-files is called at startup and refreshes. It doesn't attempt to listen to file system modifications, so after changing the content of the directory, a 'rug refresh' gets it in sync.
*** Bug 190162 has been marked as a duplicate of this bug. ***
*** Bug 192743 has been marked as a duplicate of this bug. ***
Zypp supports Plaindir sources. Assign to Ladislav for pkg-bindings/inst_source.ycp. Sending details per mail.
I would like to have this in. It's high prio community request and a regression from the old packagemanager. Having a feature and just missing UI to use it is very bad.
OK, submitted in yast2-pkg-bindings-2.14.0 and yast2-packager-2.14.6 There is a new radio button "Package Directory" in the source type selection window.