http://bugzilla.opensuse.org/show_bug.cgi?id=969569
http://bugzilla.opensuse.org/show_bug.cgi?id=969569#c1
Stefan Brüns changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan.bruens@rwth-aachen.d
| |e
Severity|Minor |Normal
--- Comment #1 from Stefan Brüns ---
This also affects Tumbleweed 2016-10-19
The problem is actually much worse - if you modify the list from inside the
zypper shell, you may end up with a lock list 2, 4, 8 ... times the original
list.
e.g:
pebbles:~ # mv /etc/zypp/locks{,_}
pebbles:~ # zypper ll
There are no package locks defined.
pebbles:~ # zypper sh
zypper> ll
There are no package locks defined.
zypper> al foo
Specified lock has been successfully added.
zypper> ll
# | Name | Type | Repository
--+------+---------+-----------
1 | foo | package | (any)
2 | foo | package | (any)
zypper> ll
# | Name | Type | Repository
--+------+---------+-----------
1 | foo | package | (any)
2 | foo | package | (any)
3 | foo | package | (any)
zypper> al bar
Specified lock has been successfully added.
zypper> ll
# | Name | Type | Repository
---+------+---------+-----------
1 | foo | package | (any)
2 | foo | package | (any)
3 | foo | package | (any)
4 | foo | package | (any)
5 | bar | package | (any)
6 | foo | package | (any)
7 | foo | package | (any)
8 | foo | package | (any)
9 | foo | package | (any)
10 | bar | package | (any)
zypper> quit
pebbles:~ # wc -l /etc/zypp/locks
30 /etc/zypp/locks
--
You are receiving this mail because:
You are on the CC list for the bug.