*** This bug is a duplicate of bug 535509 ***
https://bugs.launchpad.net/bugs/535509
I'll mark this bug as a dup of bug 535509 as we already have a branch
attached there.
** This bug has been marked a duplicate of bug 535509
apt-get always crash with Segmentation fault (core dumped) if
Look like 595795
--
apt-get crashed with SIGSEGV in __fprintf_chk()
https://bugs.launchpad.net/bugs/506342
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
I mount my /var/log on a ramfs (since I run off a 4G thumbdrive), and
worked around the problem by creating any necessary directories in
rc.local. I've also created in rc.local a link from /var/cache/apt to a
/tmp/debs (with /tmp mounted as tmpfs) and create the /archives/partial
directory
Here is a patch to fix the problem. I've tested it with latest apt bzr branch.
After changes, apt-get logs the following lines instead of giving a
segmentation fault.
E: Directory '/var/log/apt/' missing
E: Directory '/var/log/apt/' missing
** Patch added: CloseLog.patch
I think crash happens because code snippet below (from apt-
pkg/deb/dpkgpm.cc:656) does not check if history_out is valid.
string history_name = flCombine(_config-FindDir(Dir::Log),
_config-Find(Dir::Log::History));
if (!history_name.empty())
{
** Visibility changed to: Public
** Changed in: apt (Ubuntu)
Status: New = Confirmed
--
apt-get crashed with SIGSEGV in __fprintf_chk()
https://bugs.launchpad.net/bugs/506342
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--