excid3 / excid3/python-apt

cache.py stalls causing my 17.10->18.04 LTS upgrade to hang

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
67
Forks
42
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It looks like when you instantiate the apt/cache.py class with rootdir="/" on my plain vanilla 17.10 system, it hangs. CPU spikes to 100%+ and just sits there. It smells like a deadlock. This is right after the first "Reading cache..." message after calling do-release-upgrade (which spawns the "bionic" process which uses apt-pkg).

Looking at the python test code, it seems to hang when "rootdir" = "/" in the Ctor.

It does enter the C module apt_pkg, during this call:

apt_pkg.read_config_file(...)

I'm not sure if it's the locking causing the issue (that is what it feels like again). This is a 32 CPU Threadripper system (AMD64).

I have libapt-pkg5.0, pythona-pt 1.4.0-beta3build2 installed. I'm not sure what to do other than to reinstall my system from scratch which I really don't want to do.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.