Fix crash when opening DepCache before Cache
Bug #1815188 reported by
Julian Andres Klode
This bug report is a duplicate of:
Bug #1815187: Fix crash when opening DepCache before Cache.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[Impact]
apt search and probably other code crashes some time, as GetDepCache() in trusty does not call BuildCaches() first.
[Test case]
TODO, some apt search -o RootDir=<something> foobar
[Regression potential]
There may be some locking implications, as we build caches when opening depcache first, without locks. That said, the same code is in use in all post-trusty releases, and they work fine.
To post a comment you must log in.