[Bug 744735] New: Zypper is unable to find packages from an added repo
https://bugzilla.novell.com/show_bug.cgi?id=744735 https://bugzilla.novell.com/show_bug.cgi?id=744735#c0 Summary: Zypper is unable to find packages from an added repo Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: wahming@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7 Zypper is unable to find packages from an added repo. Specifically: On Meego 1.2 IVI, added the fedora and fedora-update repos to zypper. It is able to find packages in the fedora repo, but NOT the fedora-update repo. Probably OS-independent. Reproducible: Always Steps to Reproduce: 1. As root user, change directories: cd / 2. Download the files https://bugs.meego.com/attachment.cgi?id=4761 and https://bugs.meego.com/attachment.cgi?id=4762 to your / directory. 3. From the / directory, uncompress the files using: tar xvf <filename> Repeat this for each file. 4. Import the rpm keys. You will see many error messages, which can be safely ignored: cd /etc/pki/rpm-gpg rpm --import * 5. In the directory /etc/zypp/repos.d/edit the following files: —rpmfusion-free.repo —rpmfusionfree-updates.repo —rpmfusion-nonfree.repo —rpmfusion-nonfree-updates.repo —fedora.repo —updates.repo Make the following changes to each file: a.In the line beginning with baseurl, change the number 14 to 15. b.In the line beginning with gpgcheck, change the number 1 to 0. 6. Download the file https://fedoraproject.org/static/069C8460.txt, save it as 069C8460.txt and then import it by rpm: rpm --import 069C8460.txt 7. Refresh zypper's cache: zypper clean --all zypper --gpg-auto-import-keys refresh Search for packages in the fedora-updates repo, and they will not be found by zypper. Instead, it will return older packages from the fedora base repo. Specifically, I cannot find the updated gstreamer package (tested with others too, all failed). Actual Results: Search for packages in the fedora-updates repo, and they will not be found by zypper. Instead, it will return older packages from the fedora base repo. Specifically, I cannot find the updated gstreamer package (tested with others too, all failed). Expected Results: It should be listing the latest package versions from the fedora-updates repo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744735 https://bugzilla.novell.com/show_bug.cgi?id=744735#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Michael Andres <ma@suse.com> 2012-02-02 14:07:26 CET --- [zypper supports --root, so you can extract all these files to some '/tmp/foo' directory and use 'zypper --root /tmp/foo', if you don't want to pollute your system] If you call 'zypper lr -d', you get the list of repos. Have a look at the 'Type' column, you find 'planetupdates' and 'updates' listed as 'plaindir' (not 'rpm-md' as you would expect). Your {planetupdates,updates}.repo files contain a 'type=plaindir' line, which explicitly sets the type and prevents further probing. Zypper sees it as a valid but empty repo. Remove the 'type=...' line and refresh the repo. Zypper will detect the 'rpm-md' type then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=744735 https://bugzilla.novell.com/show_bug.cgi?id=744735#c2 --- Comment #2 from wah ming <wahming@gmail.com> 2012-02-03 02:39:21 UTC --- Will try it out ASAP, and if it works, you have my grateful thanks! Can't believe this wasn't mentioned anywhere in my many many hours of googling. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com