Apt crashes with SIGSEGV in pkgCache::FindPkg() on corrupted pkgcache.bin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
aptitude (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
synaptic (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Apt, aptitude and synaptic crash soon after accessing /var/lib/
stat("/
msync(0x2aefaad
stat("/
open("/
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
read(7, "Package: python-
) = 29g package lists... 0% lists... 0%\r", 29
stat("/
fstat(7, {st_mode=
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Changed in apt (Ubuntu): | |
status: | Incomplete → Invalid |
status: | Invalid → Confirmed |
Changed in aptitude (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in synaptic (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in aptitude (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in synaptic (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in apt (Ubuntu): | |
assignee: | nobody → Benjamin (mastermindbird) |
Changed in aptitude (Ubuntu): | |
assignee: | nobody → Benjamin (mastermindbird) |
Changed in synaptic (Ubuntu): | |
assignee: | nobody → Benjamin (mastermindbird) |
tags: | added: karmic |
tags: | added: lucid |
apt and synaptic problems often occur after installing: googleearth, sun java, etc, programs which needs a license-agreement.
not signing these programs results in broken packages and apt/synaptic problems.
/var/lib/dpkg/info shows the broken packages.