BLAG

BLAG Forums
It is currently Sat Dec 20, 2014 3:07 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Nov 17, 2006 5:21 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Code:
[jayeola@tp20 ~]$ cat /etc/issue
BLAG release 59999.00000 (POST)
Kernel \r on an \m

[jayeola@tp20 ~]$ apt-cache stats
Segmentation fault


Every time I've run apt it seg faults. Have read the results of strace apt-cache stats and the are reports of a few missing files here and there. Any one else using this alpha facing this issue? I want to trace/debig before I submit it to bugzilla. Ready to show the output of strace apt-cache stats but it's 2400+ lines of code.

Machine:- Thinkpad T21 and Thinkpad X30.
Environment:- Blag running as a Xen domain on X30 and traditional "single OS" on T21.

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 6:54 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Just the end of the strace is likely useful, like the last 50 lines or so.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 8:26 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
#--- start of extract ---#

rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/etc/apt/vendors.list.d/", 0xbfd84ad0) = -1 ENOENT (No such file or directory)
stat64("/etc/apt/vendors.list", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/etc/apt/vendors.list", O_RDONLY|O_LARGEFILE) = 4
read(4, "", 8191) = 0
close(4) = 0
stat64("/etc/apt/sources.list", 0xbfd84ba0) = -1 ENOENT (No such file or directory)
stat64("/etc/apt/sources.list.d/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/apt/sources.list.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 3 entries */, 4096) = 56
stat64("/etc/apt/sources.list.d/blag.list", {st_mode=S_IFREG|0644, st_size=391, ...}) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
open("/etc/apt/sources.list.d/blag.list", O_RDONLY|O_LARGEFILE) = 4
read(4, "### blag Apt Repository\n### \"\"\"\""..., 8191) = 391
read(4, "", 8191) = 0
close(4) = 0
access("/var/cache/apt/", W_OK) = -1 EACCES (Permission denied)
stat64("/var/cache/apt/pkgcache.bin", {st_mode=S_IFREG|0644, st_size=6064773, ...}) = 0
open("/var/cache/apt/pkgcache.bin", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=6064773, ...}) = 0
mmap2(NULL, 6064773, PROT_READ, MAP_SHARED, 4, 0) = 0xb7686000
stat64("/etc/apt/rpmpriorities", {st_mode=S_IFREG|0644, st_size=149, ...}) = 0
stat64("/var/state/apt/lists/www.blagblagblag.org_60000_i386_base_pkglist.os", {st_mode=S_IFREG|0644, st_size=16180766, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 24850 detached


#--- end of extract ---#

I can also run `strace apt-cache stats | sed -ne '/no such/Ip' to show you where missing files and dirs where reported.

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 8:30 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Perhaps remove apt and it's various /var directories and re-install apt using yum.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 8:43 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Code:
% rpm -q yum
yum-3.0.1-2.fc6

(/root/)
% uname -a
Linux bxvm_a.localdomain 2.6.16-xen #3 Sat Nov 4 01:50:32 GMT+1 2006 i686 i686 i386 GNU/Linux

(/root/)
% yum -y remove apt && yum -y install apt
Loading "installonlyn" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package apt.i386 0:0.5.15lorg3.2-9blag.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 apt                     i386       0.5.15lorg3.2-9blag.fc6  installed         2.2 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       1 Package(s)

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction

Removed: apt.i386 0:0.5.15lorg3.2-9blag.fc6
Complete!
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apt to pack into transaction set.
---> Downloading header for apt to pack into transaction set.
---> Package apt.i386 0:0.5.15lorg3.2-9blag.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 apt                     i386       0.5.15lorg3.2-9blag.fc6  extras            944 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 944 k
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
^M  Installing: apt                          ######################### [1/1]

Installed: apt.i386 0:0.5.15lorg3.2-9blag.fc6
Complete!

(/root/)
% apt-cache stats

(/root/)
%
% man apt
No manual entry for apt


(/root/)
% rpm -qa apt
apt-0.5.15lorg3.2-9blag.fc6

(/root/)
% rpm -qi  apt
Name        : apt                          Relocations: (not relocatable)
Version     : 0.5.15lorg3.2                     Vendor: (none)
Release     : 9blag.fc6                     Build Date: Fri 27 Oct 2006 09:23:30 PM BST
Release     : 9blag.fc6                     Build Date: Fri 27 Oct 2006 09:23:30 PM BST
Install Date: Fri 17 Nov 2006 07:48:55 PM GMT      Build Host: blag60k
Group       : System Environment/Base       Source RPM: apt-0.5.15lorg3.2-9blag.fc6.src.rpm
Size        : 2344927                          License: GPL
Signature   : (none)
Packager    : Brixton Linux Action Group
URL         : http://apt-rpm.org
Summary     : Debian's Advanced Packaging Tool with RPM support.
Description :
A port of Debian's apt tools for RPM based distributions, or at least
originally for Conectiva and now Red Hat Linux. It provides the apt-get
utility that provides a simpler, safer way to install and upgrade packages.
APT features complete installation ordering, multiple source capability and
several other unique features.

(/root/)

_________________
BLAG 'em up!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group