[Dapper] Debtags

Bug #26007 reported by William Shand
24
Affects Status Importance Assigned to Milestone
debtags (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

i think the current debtags package is broken

 will@ubuntu:~$ sudo apt-get dist-upgrade
 Password:
 Reading package lists... Done
 Building dependency tree... Done
 Calculating upgrade... Done
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 1 not fully installed or removed.
 Need to get 0B of archives.
 After unpacking 0B of additional disk space will be used.
 Do you want to continue [Y/n]? y
 Setting up debtags (1.5.2) ...
 /var/lib/dpkg/info/debtags.postinst: line 22: 15394 Segmentation fault debtags update
 dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 139
 Errors were encountered while processing:
 debtags
 E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Same thing here on dapper AMD64 :

Paramétrage de debtags (1.5.2) ...
*** glibc detected *** corrupted double-linked list: 0x00000000007442c0 ***
/var/lib/dpkg/info/debtags.postinst: line 22: 14850 Abandon
debtags update
dpkg : erreur de traitement de debtags (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie
d'état 134

Revision history for this message
fimbulvetr (fimbulvetr) wrote :
Download full text (9.1 KiB)

Same here:

danv@ubuntu:~$ sudo strace debtags update
execve("/usr/bin/debtags", ["debtags", "update"], [/* 36 vars */]) = 0
uname({sys="Linux", node="ubuntu", ...}) = 0
brk(0) = 0x81c8000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f34000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f32000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85416, ...}) = 0
old_mmap(NULL, 85416, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f1d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\36\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=28244, ...}) = 0
old_mmap(NULL, 31016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f15000
old_mmap(0xb7f1c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xb7f1c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libtdb.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\20\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=25008, ...}) = 0
old_mmap(NULL, 28088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f0e000
old_mmap(0xb7f14000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0xb7f14000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=77496, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f0d000
old_mmap(NULL, 80452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7ef9000
old_mmap(0xb7f0c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0xb7f0c000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libapt-pkg-libc6.3-6.so.3.10", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\230"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=665092, ...}) = 0
old_mmap(NULL, 668740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e55000
old_mmap(0xb7ef6000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa0000) = 0xb7ef6000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\310\3"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=878228, ...}) = 0
old_mmap(NU...

Read more...

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I compiled a debug package using this page :
https://wiki.ubuntu.com/DebuggingProgramCrash?highlight=%28debug%29

And I don't get the segfault anymore.

Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed in the latest version of debtags in dapper. Please reopen if the
latest version still does not work for you.

Revision history for this message
Rocco Stanzione (trappist) wrote :

Broken again.

Changed in debtags:
status: Fix Released → Unconfirmed
Revision history for this message
Rocco Stanzione (trappist) wrote :

Broken... still?
$ sudo apt-get upgrade
<snip>
Errors were encountered while processing:
 /var/cache/apt/archives/debtags_1.5.2ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

subsequent apt-get upgrade shows this:
dpkg: error processing /var/cache/apt/archives/debtags_1.5.2ubuntu5_i386.deb (--unpack):
 trying to overwrite `/usr/lib/libapt-front.la', which is also in package libapt-front-dev

Changed in debtags:
status: Unconfirmed → Confirmed
Revision history for this message
William Shand (williamshand14) wrote :

It installed fine here, when i upgraded the package awhile ago

Revision history for this message
Michael Vogt (mvo) wrote :

I can't reproduce this anymore. I purged debtags and reinstalled it and it installs cleanly. Is this still a problem?

Changed in debtags:
status: Confirmed → Needs Info
Revision history for this message
Michael Vogt (mvo) wrote :

Ok, libapt-front-dev triggers the problem

Changed in debtags:
status: Needs Info → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

I subsribed Enrico for input. The current debtags package has:
/usr/lib/libapt-front.la
/usr/lib/libapt-front.a

in it's binary. I don't think we need it?

Cheers,
 Michael

Revision history for this message
Elijah Lofgren (elijahlofgren) wrote :

While Upgrading to Ubuntu 6.10 using the update-manager I get the following:

Could not install 'debtags'

The upgrade aborts now. Please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.

subprocess post-installation script returned error exit status 1

Revision history for this message
Elijah Lofgren (elijahlofgren) wrote :
Revision history for this message
Elijah Lofgren (elijahlofgren) wrote :
Revision history for this message
Elijah Lofgren (elijahlofgren) wrote :

I was able to work around the problem this bug cause by running:
sudo apt-get install --reinstall debtags

See: https://bugs.launchpad.net/distros/ubuntu/+source/libapt-front/+bug/64531

Revision history for this message
ikesterhaney (ikesterhaney) wrote :

I have it on feisty, since the version of debtags is not listed i think mine might be the same issue.
Here is what I get.

ian@ian-desktop:~/UbuntuStuff$ sudo apt-get install --reinstall debtags
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gtk-qt-engine blt python-tk libopenobex1 debtags tk8.4 avahi-autoipd python-opengl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up debtags (1.6.6ubuntu2) ...
Unable to find any tag data. Context: Reading debtags sources from /var/lib/debtags/ and /root/.debtags/
dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 debtags
E: Sub-process /usr/bin/dpkg returned an error code (1)

and here is the log from dpkg
root@ian-desktop:/home/ian/UbuntuStuff# dpkg --debug=2000 --configure debtags >debtags.debug.log
Unable to find any tag data. Context: Reading debtags sources from /var/lib/debtags/ and /root/.debtags/
dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 debtags

Revision history for this message
ikesterhaney (ikesterhaney) wrote :

debtags 1.6.6ubuntu3 fixes it

Revision history for this message
PeterDz (pdzwig) wrote :

As of this am it is still bust.

While doing Dapper -> Edgy in the HOPE of eventually getting to Feisty (There SURELY has to be a better way!)

gksu "update manager -c"

message is:

post-installation script returned error exit status 1

Could not install debtags

This looks the same as Elijah's problem above.

Will try ikesterhaney's workround

Michael Vogt (mvo)
Changed in debtags:
assignee: mvo → nobody
Revision history for this message
dino99 (9d9) wrote :

outdated report & no more maintained distro; please send a new one if that issue still exist (using ubuntu-bug)

Changed in debtags (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.