Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: file command produces different results in 18.04 vs 16.04

  1. #1
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    file command produces different results in 18.04 vs 16.04

    Just downloaded the new Xubuntu 18.04 beta 2 ISO, and was going to customise it, but my LiveCD customisation script complained that it's not a valid CD image.

    Turns out it's because of the result of the first command here -
    Code:
    $ file -b --mime-type xubuntu-18.04-beta2-desktop-amd64.iso
    application/octet-stream
    
    $ file xubuntu-18.04-beta2-desktop-amd64.iso
    xubuntu-18.04-beta2-desktop-amd64.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 2716460, 4672 sectors
    In 16.04 with the same file, I get this -
    Code:
    $ file -b --mime-type xubuntu-18.04-beta2-desktop-amd64.iso
    application/x-iso9660-image
    
    $ file xubuntu-18.04-beta2-desktop-amd64.iso
    xubuntu-18.04-beta2-desktop-amd64.iso: DOS/MBR boot sector ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'Xubuntu 18.04 LTS amd64' (bootable); partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 2716460, 4672 sectors
    Why the difference?
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: file command produces different results in 18.04 vs 16.04

    a think you get the usual output: an alpha/beta image is not a final image (not yet released, so no trusted)

  3. #3
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: file command produces different results in 18.04 vs 16.04

    Quote Originally Posted by dino99 View Post
    a think you get the usual output: an alpha/beta image is not a final image (not yet released, so no trusted)
    But I get the same discrepancy with the official Xubuntu 16.04 release ISO.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  4. #4
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: file command produces different results in 18.04 vs 16.04


  5. #5
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: file command produces different results in 18.04 vs 16.04

    Quote Originally Posted by dino99 View Post
    Possible explication:
    Nope. That is unrelated to the behavior of the file command.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  6. #6
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: file command produces different results in 18.04 vs 16.04

    In 18.04 do:
    Code:
    apt changelog file
    Ignota nulla curatio morbi.
    Quod nocet saepe docet.

  7. #7
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: file command produces different results in 18.04 vs 16.04

    Thanks zika, that looks useful - it downloads and displays http://changelogs.ubuntu.com/changel...32-2/changelog.
    (For comparison, 16.04 has file version 5.25-2ubuntu1.)

    What are we looking for in there?
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  8. #8
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: file command produces different results in 18.04 vs 16.04

    As a test, I tried building the 16.04's version of file on 18.04. The result works same as in 16.04.

    I'm thinking the change in behavior is a bug.

    Edit: Filed https://bugs.launchpad.net/ubuntu/+s...e/+bug/1763570
    Last edited by halogen2; April 13th, 2018 at 05:48 AM.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

  9. #9
    Join Date
    Jun 2015
    Beans
    Hidden!

    Re: file command produces different results in 18.04 vs 16.04

    Quote Originally Posted by halogen2 View Post
    As a test, I tried building the 16.04's version of file on 18.04. The result works same as in 16.04.

    I'm thinking the change in behavior is a bug.

    Edit: Filed https://bugs.launchpad.net/ubuntu/+s...e/+bug/1763570
    Have you tested this with ubuntu itself?

    Edit : if something is likely to not be 'Xubuntu' eg not Xfce then I try to test it with Ubuntu as well - less chance of them blaming us then Also - if it is in fact a regression - you can tag bugs as such.
    Last edited by flocculant; April 13th, 2018 at 05:58 AM.

  10. #10
    Join Date
    Jun 2016
    Beans
    2,831
    Distro
    Xubuntu

    Re: file command produces different results in 18.04 vs 16.04

    Quote Originally Posted by flocculant View Post
    Have you tested this with ubuntu itself?
    No I only have Xubuntu set up at the moment.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    When your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •