Package: debtags
Version: 1.12.3
Severity: normal

Hi,

debtags update --local exits with a non‐zero exit code, which causes
update and installation of the package fails:

# agi debtags
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Vorgeschlagene Pakete:
  tagcoll
Die folgenden NEUEN Pakete werden installiert:
  debtags
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 6 nicht aktualisiert.
Es müssen noch 0 B von 614 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 910 kB Plattenplatz zusätzlich benutzt.
etcgit: Updating configuration files in branch master...done.
etcgit: Merging new configuration files into branch local_config...done.
Vormals nicht ausgewähltes Paket debtags wird gewählt.
(Lese Datenbank ... 280914 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../debtags_1.12.3_amd64.deb ...
Entpacken von debtags (1.12.3) ...
Trigger für man-db (2.7.0.2-2) werden verarbeitet ...
debtags (1.12.3) wird eingerichtet ...
No such file or directory. Context:
    writing item
dpkg: Fehler beim Bearbeiten des Paketes debtags (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 debtags
etcgit: seems installation broke; don't capturing current state of /etc
mount: / is busy
[ Rootkit Hunter version 1.4.2 ]

Looking with strace what's happening I see this:

14217 23:46:54.957741 open("/usr/share/debtags/vocabulary", O_RDONLY) = 3 
<0.000021>
14217 23:46:54.957819 fstat(3, {st_dev=makedev(8, 1), st_ino=5154, 
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, 
st_blocks=136, st_size=65984, st_atime=2014/10/14-23:44:03, 
st_mtime=2014/10/05-22:27:21, st_ctime=2014/10/14-23:44:04}) = 0 <0.000012>
14217 23:46:54.957890 mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac496750000 <0.000024>
14217 23:46:54.957947 read(3, "Facet: accessibility\nStatus: nee"..., 4096) = 
4096 <0.000022>
14217 23:46:54.958596 read(3, "gali\n\nTag: culture::bokmaal\nDesc"..., 4096) = 
4096 <0.000014>
14217 23:46:54.959395 read(3, "g: devel::lang:haskell\nDescripti"..., 4096) = 
4096 <0.000016>
14217 23:46:54.960029 read(3, "cs\n\nTag: field::medicine\nDescrip"..., 4096) = 
4096 <0.001314>
14217 23:46:54.962280 read(3, "s lacking.\n\n\nFacet: made-of\nStat"..., 4096) 
= 4096 <0.001124>
14217 23:46:54.963746 brk(0x2b44000)    = 0x2b44000 <0.000019>
14217 23:46:54.964264 read(3, "o signal the vocabulary maintain"..., 4096) = 
4096 <0.000016>
14217 23:46:54.964956 read(3, "n be categorised along this face"..., 4096) = 
4096 <0.000886>
14217 23:46:54.966861 read(3, "here the current tag set is lack"..., 4096) = 
4096 <0.000054>
14217 23:46:54.968664 read(3, "e package can be categorised alo"..., 4096) = 
4096 <0.000023>
14217 23:46:54.969358 read(3, "\nDescription: Roxen\n\nTag: suite:"..., 4096) = 
4096 <0.001169>
14217 23:46:54.971041 read(3, "sually carried\n out over the tel"..., 4096) = 
4096 <0.000017>
14217 23:46:54.971460 read(3, "Link: http://www.ipv6.org/\n\nTag:";..., 4096) = 
4096 <0.001109>
14217 23:46:54.973012 read(3, "e only intermittent connection t"..., 4096) = 
4096 <0.000017>
14217 23:46:54.973332 read(3, "emote logins.\n .\n Link: http://e";..., 4096) = 
4096 <0.001392>
14217 23:46:54.975024 brk(0x2b65000)    = 0x2b65000 <0.000019>
14217 23:46:54.975319 read(3, "facet, but the right tag for it "..., 4096) = 
4096 <0.000016>
14217 23:46:54.976098 read(3, " can be categorised along this f"..., 4096) = 
4096 <0.001114>
14217 23:46:54.978124 read(3, "upport\nDescription: Limited scop"..., 4096) = 
448 <0.001370>
14217 23:46:54.979683 read(3, "", 4096) = 0 <0.000013>
14217 23:46:54.979785 stat("/root/.debtags", 0x7fff3d5723a0) = -1 ENOENT (No 
such file or directory) <0.000021>
14217 23:46:54.979875 umask(022)        = 022 <0.000012>
14217 23:46:54.979940 open("/var/lib/debtags/vocabulary.aXjIgh", 
O_RDWR|O_CREAT|O_EXCL, 0600) = 4 <0.000121>
14217 23:46:54.980101 umask(0)          = 022 <0.000011>
14217 23:46:54.980139 umask(022)        = 0 <0.000010>
14217 23:46:54.980182 fchmod(4, 0644)   = 0 <0.000025>
14217 23:46:54.980242 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) 
<0.000012>
14217 23:46:54.980293 fstat(4, {st_dev=makedev(8, 2), st_ino=8527365, 
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, 
st_blocks=0, st_size=0, st_atime=2014/10/14-23:46:54, 
st_mtime=2014/10/14-23:46:54, st_ctime=2014/10/14-23:46:54}) = 0 <0.000013>
14217 23:46:54.980360 mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac496751000 <0.000022>
14217 23:46:54.980419 lseek(4, 0, SEEK_CUR) = 0 <0.001390>
14217 23:46:54.982071 write(4, "Facet: accessibility\nDescription"..., 4096) = 
4096 <0.000074>
14217 23:46:54.982513 write(4, "signal the vocabulary maintainer"..., 4096) = 
4096 <0.000236>
14217 23:46:54.983019 write(4, "escription: C Development\n\nTag: "..., 4096) = 
4096 <0.000030>
14217 23:46:54.984650 write(4, "nancial software\n\nTag: field::ge"..., 4096) = 
4096 <0.000075>
14217 23:46:54.984956 write(4, "\n\nFacet: implemented-in\nDescript"..., 4096) 
= 4096 <0.000029>
14217 23:46:54.985172 write(4, "::syrc\nDescription: Syriac\n\nTag:"..., 4096) 
= 4096 <0.000029>
14217 23:46:54.985367 write(4, "ng this facet, but the right tag"..., 4096) = 
4096 <0.000028>
14217 23:46:54.986991 write(4, "cation between the clients and F"..., 4096) = 
4096 <0.000077>
14217 23:46:54.987268 write(4, " used.\n .\n Link: http://en.wikip";..., 4096) = 
4096 <0.000028>
14217 23:46:54.987457 write(4, "ils from a mail server,\n designe"..., 4096) = 
4096 <0.000026>
14217 23:46:54.987652 write(4, "ol Protocol, a core protocol of "..., 4096) = 
4096 <0.000033>
14217 23:46:54.989240 write(4, "le::metapackage\nDescription: Met"..., 4096) = 
4096 <0.000074>
14217 23:46:54.989534 write(4, "ulary maintainers of cases\n wher"..., 4096) = 
4096 <0.000030>
14217 23:46:54.989860 write(4, "e.\n .\n Link: http://en.wikipedia";..., 4096) = 
4096 <0.000033>
14217 23:46:54.990078 write(4, "at kind of tools for the World W"..., 4096) = 
4096 <0.001423>
14217 23:46:54.991726 write(4, "icrosoft_Compiled_HTML_Help\n\nTag"..., 4096) = 
4096 <0.000028>
14217 23:46:54.991850 write(4, "gers (graphical login screens)\n\n"..., 407) = 
407 <0.000027>
14217 23:46:54.991919 fdatasync(4)      = 0 <0.012761>
14217 23:46:55.004777 close(4)          = 0 <0.000041>
14217 23:46:55.004863 munmap(0x2ac496751000, 4096) = 0 <0.000045>
14217 23:46:55.004951 rename("/var/lib/debtags/vocabulary.aXjIgh", 
"/var/lib/debtags/vocabulary") = 0 <0.000222>
14217 23:46:55.005227 umask(022)        = 022 <0.000011>
14217 23:46:55.005311 open("/var/lib/debtags/package-tags.b8J8Hh", 
O_RDWR|O_CREAT|O_EXCL, 0600) = 4 <0.000069>
14217 23:46:55.005432 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) 
<0.000083>
14217 23:46:55.005630 fstat(4, {st_dev=makedev(8, 2), st_ino=8524699, 
st_mode=S_IFREG|0600, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, 
st_blocks=0, st_size=0, st_atime=2014/10/14-23:46:54, 
st_mtime=2014/10/14-23:46:54, st_ctime=2014/10/14-23:46:54}) = 0 <0.000030>
14217 23:46:55.005826 mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac496751000 <0.000042>
14217 23:46:55.005933 lseek(4, 0, SEEK_CUR) = 0 <0.000023>
14217 23:46:55.006304 futex(0x2ac497d6f850, FUTEX_WAKE_PRIVATE, 2147483647) = 0 
<0.000029>
14217 23:46:55.006616 unlink("/var/lib/debtags/package-tags.b8J8Hh") = 0 
<0.000102>
14217 23:46:55.006804 close(4)          = 0 <0.000078>
14217 23:46:55.006938 munmap(0x2ac496751000, 4096) = 0 <0.000062>
14217 23:46:55.007076 close(3)          = 0 <0.000027>
14217 23:46:55.007154 munmap(0x2ac496750000, 4096) = 0 <0.000042>
14217 23:46:55.055208 write(2, "No such file or directory. Conte"..., 52) = 52 
<0.000069>
14217 23:46:55.055390 write(2, "\n", 1) = 1 <0.000021>
14217 23:46:55.055745 exit_group(1)     = ?
14217 23:46:55.061981 +++ exited with 1 +++

When I create the directory /root/.debtags I get this:

# strace -o /tmp/debtags-2.st debtags update --local
Success. Context:
    writing item
# echo $?
1

I guess, the exit code is not related to the existence of /root/.debtags.

Hope that helps. If you need more informations, tell me.

Bye, Jörg

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debtags depends on:
ii  apt             1.0.9.3
ii  libapt-pkg4.12  1.0.9.3
ii  libc6           2.19-12
ii  libept1.4.12    1.0.12.1
ii  libgcc1         1:4.9.1-19
ii  libstdc++6      4.9.1-19
ii  libxapian22     1.2.19-1
ii  python          2.7.8-2
ii  zlib1g          1:1.2.8.dfsg-2

debtags recommends no packages.

Versions of packages debtags suggests:
pn  tagcoll  <none>

-- no debconf information

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to