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 Date Time Name
--------- ---------- ----- ----
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 Date Time Name
--------- ---------- ----- ----
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
00000000 50 4b 03 04 0a 00 00 00 00 00 90 b0 44 44 00 00 |PK..........DD..|
00000010 00 00 00 00 00 00 00 00 00 00 09 00 15 00 31 38 |..............18|
00000020 30 33 31 36 38 33 2f 55 54 09 00 03 6f d4 f1 52 |031683/UT...o..R|
00000030 6f d4 f1 52 55 78 04 00 09 35 34 21 50 4b 03 04 |o..RUx...54!PK..|
00000040 0a 00 00 00 00 00 74 b0 44 44 00 00 00 00 00 00 |......t.DD......|
00000050 00 00 00 00 00 00 12 00 15 00 31 38 30 33 31 36 |..........180316|
00000060 38 33 2f 31 37 35 34 30 35 38 32 2f 55 54 09 00 |83/17540582/UT..|
00000070 03 3c d4 f1 52 4a d4 f1 52 55 78 04 00 09 35 34 |.<..RJ..RUx...54|
00000080 21 50 4b 03 04 0a 00 00 00 00 00 76 b0 44 44 00 |!PK........v.DD.|
00000090 00 00 00 00 00 00 00 00 00 00 00 18 00 15 00 31 |...............1|
$ hd p18031683_112030_LINUX.zip | head
00000000 50 4b 03 04 0a 00 00 00 00 00 51 af 4b 44 00 00 |PK........Q.KD..|
00000010 00 00 00 00 00 00 00 00 00 00 09 00 15 00 31 38 |..............18|
00000020 30 33 31 36 38 33 2f 55 54 09 00 03 89 0d fb 52 |031683/UT......R|
00000030 89 0d fb 52 55 78 04 00 09 35 34 21 50 4b 03 04 |...RUx...54!PK..|
00000040 0a 00 00 00 00 00 3c af 4b 44 00 00 00 00 00 00 |......<.KD......|
00000050 00 00 00 00 00 00 12 00 15 00 31 38 30 33 31 36 |..........180316|
00000060 38 33 2f 31 36 39 30 32 30 34 33 2f 55 54 09 00 |83/16902043/UT..|
00000070 03 63 0d fb 52 68 0d fb 52 55 78 04 00 09 35 34 |.c..Rh..RUx...54|
00000080 21 50 4b 03 04 0a 00 00 00 00 00 3c af 4b 44 00 |!PK........<.KD.|
00000090 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]