Bug#748892: file: Many zip files are being misidentified as Microsoft Office OOXML
Package: file Version: 1:5.18-1 Followup-For: Bug #748892 The example with Oracle RDBMS patches, one file detects correct and another one incorrect: $ LANG=C ls -lhr p18031683* -rw-r--r-- 1 hamer hamer 74M Apr 14 09:47 p18031683_112030_Linux-x86-64.zip -rw-r--r-- 1 hamer hamer 67M Apr 15 12:33 p18031683_112030_LINUX.zip $ file p18031683_112030_Linux-x86-64.zip p18031683_112030_Linux-x86-64.zip: Zip archive data, at least v1.0 to extract $ file p18031683_112030_LINUX.zip p18031683_112030_LINUX.zip: Microsoft OOXML $ unzip -l p18031683_112030_Linux-x86-64.zip | head Archive: p18031683_112030_Linux-x86-64.zip Length DateTimeName - -- - 0 2014-02-05 09:04 18031683/ 0 2014-02-05 09:03 18031683/17540582/ 0 2014-02-05 09:03 18031683/17540582/files/ 0 2014-02-05 09:03 18031683/17540582/files/patch/ 0 2014-02-05 09:03 18031683/17540582/files/patch/scripts/ 1074 2014-02-05 09:03 18031683/17540582/files/patch/scripts/bug14121009.sql 1946 2014-02-05 09:03 18031683/17540582/files/patch/scripts/bug17088068.sql $ unzip -l p18031683_112030_LINUX.zip | head Archive: p18031683_112030_LINUX.zip Length DateTimeName - -- - 0 2014-02-12 08:58 18031683/ 0 2014-02-12 08:57 18031683/16902043/ 0 2014-02-12 08:57 18031683/16902043/etc/ 0 2014-02-12 08:57 18031683/16902043/etc/config/ 9281 2014-02-12 08:57 18031683/16902043/etc/config/inventory.xml 22 2014-02-12 08:57 18031683/16902043/etc/config/deploy.xml 12564 2014-02-12 08:57 18031683/16902043/etc/config/actions.xml $ hd p18031683_112030_Linux-x86-64.zip | head 50 4b 03 04 0a 00 00 00 00 00 90 b0 44 44 00 00 |PK..DD..| 0010 00 00 00 00 00 00 00 00 00 00 09 00 15 00 31 38 |..18| 0020 30 33 31 36 38 33 2f 55 54 09 00 03 6f d4 f1 52 |031683/UT...o..R| 0030 6f d4 f1 52 55 78 04 00 09 35 34 21 50 4b 03 04 |o..RUx...54!PK..| 0040 0a 00 00 00 00 00 74 b0 44 44 00 00 00 00 00 00 |..t.DD..| 0050 00 00 00 00 00 00 12 00 15 00 31 38 30 33 31 36 |..180316| 0060 38 33 2f 31 37 35 34 30 35 38 32 2f 55 54 09 00 |83/17540582/UT..| 0070 03 3c d4 f1 52 4a d4 f1 52 55 78 04 00 09 35 34 |...RJ..RUx...54| 0080 21 50 4b 03 04 0a 00 00 00 00 00 76 b0 44 44 00 |!PKv.DD.| 0090 00 00 00 00 00 00 00 00 00 00 00 18 00 15 00 31 |...1| $ hd p18031683_112030_LINUX.zip | head 50 4b 03 04 0a 00 00 00 00 00 51 af 4b 44 00 00 |PKQ.KD..| 0010 00 00 00 00 00 00 00 00 00 00 09 00 15 00 31 38 |..18| 0020 30 33 31 36 38 33 2f 55 54 09 00 03 89 0d fb 52 |031683/UT..R| 0030 89 0d fb 52 55 78 04 00 09 35 34 21 50 4b 03 04 |...RUx...54!PK..| 0040 0a 00 00 00 00 00 3c af 4b 44 00 00 00 00 00 00 |...KD..| 0050 00 00 00 00 00 00 12 00 15 00 31 38 30 33 31 36 |..180316| 0060 38 33 2f 31 36 39 30 32 30 34 33 2f 55 54 09 00 |83/16902043/UT..| 0070 03 63 0d fb 52 68 0d fb 52 55 78 04 00 09 35 34 |.c..Rh..RUx...54| 0080 21 50 4b 03 04 0a 00 00 00 00 00 3c af 4b 44 00 |!PK.KD.| 0090 00 00 00 00 00 00 00 00 00 00 00 16 00 15 00 31 |...1| -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (400, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14.4-zen (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages file depends on: ii libc6 2.18-7 ii libmagic1 1:5.18-1 ii zlib1g 1:1.2.8.dfsg-1 file recommends no packages. file suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#748198: ark: Ark fails to produce a valid .zip archive
Package: ark Version: 4:4.12.4-1 Followup-For: Bug #748198 I think the problem is in debian's patch use_libarchive_for_zip_files in the last section. In the last substitution the semicolon is missing after application/zip (lines 27-28): --- 8 --- -...application/x-xz-compressed-tar;application/x-lzma-compressed-tar;) +...application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/zip) --- 8 --- Because of this after compilation of ark_part.desktop we got a application/zipapplication/x-deb; in MimeType field. After adding ; after application/zip in patch file the problem was solved. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (400, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14.4-zen+ (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ark depends on: ii kde-runtime 4:4.12.4-1 ii libarchive13 3.1.2-8 ii libc6 2.18-5 ii libkdecore5 4:4.13.1-1 ii libkdeui5 4:4.13.1-1 ii libkfile4 4:4.13.1-1 ii libkhtml5 4:4.13.1-1 ii libkio5 4:4.13.1-1 ii libkonq5abi1 4:4.12.4-1 ii libkparts44:4.13.1-1 ii libkpty4 4:4.13.1-1 ii libqt4-dbus 4:4.8.6+dfsg-1 ii libqtcore44:4.8.6+dfsg-1 ii libqtgui4 4:4.8.6+dfsg-1 ii libstdc++64.9.0-3 Versions of packages ark recommends: ii bzip2 1.0.6-5 ii p7zip-full 9.20.1~dfsg.1-4 ii unzip 6.0-12 ii zip 3.0-8 Versions of packages ark suggests: ii rar2:4.2.0-1 ii unrar 1:4.2.4-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#688794: scripts/hook-functions: breaks boot if /tmp noexec
Hello! Maybe is the problem in names of variables? $ eval array_intel-microcode=udev bash: array_intel-microcode=udev: command not found $ echo $? 127 $ echo $array_intel-microcode -microcode $ eval array_intel_microcode=udev $ echo $? 0 $ echo $array_intel_microcode udev WBR, Mihail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#688794: Circular dependancy after reboot when..
Hello! I think the initrd scripts should be renamed to use _ instead of -. WBR, Mihail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#635563: kernel-package: kernel-headers broken by linux-3.0
Hello! I use this patch to solve the issue with broken symlinks and kernel version 3.x: hamer@h13e:~/download/kernel-package$ cat kernel-package_headers.diff diff -Naurb kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk --- kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk 2009-09-11 17:24:42.0 +0300 +++ kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk 2011-10-10 12:24:47.734584775 +0300 @@ -31,7 +31,7 @@ ### LINK_ARCH=$(KERNEL_ARCH) -ifeq ($(shell if [ $(PATCHLEVEL) -eq 6 ] [ $(SUBLEVEL) -gt 23 ] ; then \ +ifeq ($(shell if [ $(VERSION) -eq 3 ] || [ $(PATCHLEVEL) -eq 6 -a $(SUBLEVEL) -gt 23 ] ; then \ if [ $(KERNEL_ARCH) = i386 ] || [ $(KERNEL_ARCH) = x86_64 ] ; then \ echo yes ; fi ; fi ),yes) LINK_ARCH=x86 @@ -101,7 +101,7 @@ -tar cfh - scripts | (cd $(SRCDIR); umask 000; tar xsf -) test ! -e arch/powerpc/lib/crtsavres.o || \ tar cfh - arch/powerpc/lib/crtsavres.o | (cd $(SRCDIR); umask 000; tar xsf -) - (cd $(SRCDIR)/include; rm -rf asm; ln -s asm-$(LINK_ARCH) asm) + (cd $(SRCDIR)/include; rm -rf asm; ln -s ../arch/$(LINK_ARCH)/include/asm asm) find . -path './scripts/*' -prune -o -path './Documentation/*' -prune -o \ -path './debian/*'-prune -o -type f \ \( -name Makefile -o -name 'Kconfig*' \) -print | \ @@ -115,7 +115,7 @@ -tar cf - scripts |(cd $(SRCDIR); umask 000; tar xsf -) test ! -e arch/powerpc/lib/crtsavres.o || \ tar cfh - arch/powerpc/lib/crtsavres.o | (cd $(SRCDIR); umask 000; tar xsf -) - (cd $(SRCDIR)/include; rm -f asm; ln -s asm-$(LINK_ARCH) asm) + (cd $(SRCDIR)/include; rm -f asm; ln -s ../arch/$(LINK_ARCH)/include/asm asm) find . -path './scripts/*' -prune -o -path './Documentation/*' -prune -o \ -path './debian/*' -prune -o -type f \ \( -name Makefile -o -name 'Kconfig*' \) -print | \ WBR, Mihail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#639123: kernel-package: kernel-headers package does not contain all the necessary includes
Package: kernel-package Version: 12.036+nmu1.1 Followup-For: Bug #639123 This issue is similar as #635563. I use this patch to solve the issue with broken symlinks and kernel version 3.x: hamer@h13e:~/download/kernel-package$ cat kernel-package_headers.diff diff -Naurb kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk --- kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk 2009-09-11 17:24:42.0 +0300 +++ kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk 2011-10-10 12:24:47.734584775 +0300 @@ -31,7 +31,7 @@ ### LINK_ARCH=$(KERNEL_ARCH) -ifeq ($(shell if [ $(PATCHLEVEL) -eq 6 ] [ $(SUBLEVEL) -gt 23 ] ; then \ +ifeq ($(shell if [ $(VERSION) -eq 3 ] || [ $(PATCHLEVEL) -eq 6 -a $(SUBLEVEL) -gt 23 ] ; then \ if [ $(KERNEL_ARCH) = i386 ] || [ $(KERNEL_ARCH) = x86_64 ] ; then \ echo yes ; fi ; fi ),yes) LINK_ARCH=x86 @@ -101,7 +101,7 @@ -tar cfh - scripts | (cd $(SRCDIR); umask 000; tar xsf -) test ! -e arch/powerpc/lib/crtsavres.o || \ tar cfh - arch/powerpc/lib/crtsavres.o | (cd $(SRCDIR); umask 000; tar xsf -) - (cd $(SRCDIR)/include; rm -rf asm; ln -s asm-$(LINK_ARCH) asm) + (cd $(SRCDIR)/include; rm -rf asm; ln -s .../arch/$(LINK_ARCH)/include/asm asm) find . -path './scripts/*' -prune -o -path './Documentation/*' -prune -o \ -path './debian/*'-prune -o -type f \ \( -name Makefile -o -name 'Kconfig*' \) -print | \ @@ -115,7 +115,7 @@ -tar cf - scripts |(cd $(SRCDIR); umask 000; tar xsf -) test ! -e arch/powerpc/lib/crtsavres.o || \ tar cfh - arch/powerpc/lib/crtsavres.o | (cd $(SRCDIR); umask 000; tar xsf -) - (cd $(SRCDIR)/include; rm -f asm; ln -s asm-$(LINK_ARCH) asm) + (cd $(SRCDIR)/include; rm -f asm; ln -s .../arch/$(LINK_ARCH)/include/asm asm) find . -path './scripts/*' -prune -o -path './Documentation/*' -prune -o \ -path './debian/*' -prune -o -type f \ \( -name Makefile -o -name 'Kconfig*' \) -print | \ -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (600, 'testing'), (500, 'unstable'), (400, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.0.6-zen+ (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kernel-package depends on: ii binutils 2.21.52.20110606-2 ii build-essential11.5 ii debianutils4.0.2 ii file 5.08-1 ii gettext0.18.1.1-4 ii make 3.81-8.1 ii module-init-tools 3.16-1 ii po-debconf 1.0.16+nmu1 ii util-linux 2.19.1-5 Versions of packages kernel-package recommends: ii cpio 2.11-7 Versions of packages kernel-package suggests: pn btrfs-tools none pn bzip2 1.0.5-7 pn docbook-utils none pn e2fsprogs 1.42~WIP-2011-07-02-1 pn grub | grub2none pn initramfs-tools [linux-initramfs-tool] 0.99 pn jfsutilsnone pn libncurses5-dev [libncurses-dev]5.9-2 pn linux-source | kernel-sourcenone pn mcelog none pn oprofilenone pn pcmciautils 018-4 pn ppp 2.4.5-5 pn procps 1:3.2.8-11 pn quota none pn reiserfsprogs none pn squashfs-tools none pn udev172-1 pn xfsprogsnone pn xmlto none diff -Naurb kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk --- kernel-package-12.036+nmu1.orig//kernel/ruleset/targets/headers.mk 2009-09-11 17:24:42.0 +0300 +++ kernel-package-12.036+nmu1.1//kernel/ruleset/targets/headers.mk 2011-10-10 12:24:47.734584775 +0300 @@ -31,7 +31,7 @@ ### LINK_ARCH=$(KERNEL_ARCH) -ifeq ($(shell if [ $(PATCHLEVEL) -eq 6 ] [ $(SUBLEVEL) -gt 23 ] ; then \ +ifeq ($(shell if [ $(VERSION) -eq 3 ] || [ $(PATCHLEVEL) -eq 6 -a $(SUBLEVEL) -gt 23 ] ; then \ if [ $(KERNEL_ARCH) = i386 ] || [ $(KERNEL_ARCH) = x86_64 ] ; then \ echo yes ; fi ; fi ),yes) LINK_ARCH=x86 @@ -101,7 +101,7 @@ -tar cfh - scripts | (cd $(SRCDIR); umask 000; tar xsf -) test ! -e arch/powerpc/lib/crtsavres.o || \