Bug 894159

Summary: zypper keeps _tmpRPMcache_ repo
Product: [openSUSE] openSUSE 12.3 Reporter: Bernhard Wiedemann <bwiedemann>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.3   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Wiedemann 2014-08-29 07:20:51 UTC
# zypper in http://download.opensuse.org/update/12.3/x86_64/zsh-5.0.2-2.9.1.x86_64.rpm
Repository named '_tmpRPMcache_' already exists. Please use another alias.

# zypper lr -d _tmpRPMcache_
Repository '_tmpRPMcache_' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.

# zypper lr -d |grep RPM


Not sure, how I got into this state (maybe by installing an rpm directly similar to the first line, maybe using Ctrl-C)

The problem was gone after a zypper clean
Comment 1 Michael Andres 2017-07-12 09:20:10 UTC
Meanwhile fixed (happened if 'zypper in *.rpm' crashed or killed without being able to clean up a temporary _tmpRPMcache_ repo. The next call finds it, prints the error, but also removes the tmp repo in it's cleanup).