bricscad 11.3.16.1 on Ubuntu 12.04 64 bit

Hello,

Who can help me to install Bricscad bricscad 11.3.16.1 on Ubuntu 12.04 64 bit?

When I use the recommended method:

sudo dpkg --force-architecture -i ./Bricscad-V11.3.16-1-en_US.deb

I get an error:

dpkg: fout bij afhandelen van ./Bricscad-V11.3.16-1-en_US.deb (--install):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 10 package 'bricscadv11':
 blank line in value of field 'Description'
Fouten gevonden tijdens behandelen van:
 ./Bricscad-V11.3.16-1-en_US.deb

Any help is welcome!

Thanks a lot, Patrick

Comments

  • This is the  syntax problem with older versions of Bricscad and the new dpkg
    http://bricsys.com/common/support/forumthread.jsp?id=18173
    You have to edit manually the control file of the deb installer in order to fix that problem
    http://bricsys.com/common/support/forumthread.jsp?id=16420
    Add a full stop character "." at every empty line of the description field



  • When I follow the instructions on this page: http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html
    and try to edit the 2 files, I can not find anything in that files that has to do with bricscad. I have a fresh Ubuntu 12.04.

    What do I have to edit in these files /var/lib/dpkg/available and /var/lib/dpkg/status ?

    I have included these 2 files from my system.

    statusavailable

  • When I follow the instructions of this website: http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html

    And edit these two files, I do not understand WHAT I should change.

    I have included these files from my system. I can not find anything in these files that have to do with bricscad.




    statusavailable

  • When I follow the instructions of this website: http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html

    And edit these two files, I do not understand WHAT I should change.

    I have included these files from my system. I can not find anything in these files that have to do with bricscad.

    dpkg.tar.gz

  •  

    When I follow the instructions of this website: http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html

    And edit these two files, I do not understand WHAT I should change.

    I have included these files from my system. I can not find anything in these files that have to do with bricscad.  

    dpkg.tar.gz

  • When I follow the instructions of this website: http://linuxaideddesign.blogspot.com/2012/03/important-notice-for-bricscad-linux.html

    And edit these two files, I do not understand WHAT I should change. I can not find anything in these files that have to do with bricscad. 

    When I try to include these file the forum system crashes...

  • This blog post is a solution for the upgrade error.
    You have a fresh installation. The reason of your problem is the same syntax incompatibility between older  Bricscad installers and the new dpkg but the solution is different.
    You don't have to edit any system files.
    You have to edit the  control file of the deb installer. The second link in my first answer gives some instructions about this.
  • I tried this solution:

    NB : you can bypass this problem by modifying the deb file.
    Here's a solution that is certainly not the best :

    • Create a directory with the deb file.

     

    • Start a console in the newly created directory.

     

    • Extract the file control.tar.gz from the deb file :

    ar x Bricscad-[version].deb control.tar.gz

     

    • Extract the control file from control.tar.gz :

    tar xf control.tar.gz

     

    • Edit the control file with vim, gedit or other ...

    Delete the blank line ( before last line, just before homepage ).

     

    • Recreate control.tar.gr :

    tar cfz control.tar.gz ./control ./postinst ./postrm

     

    • Replace control.tar.gz in the deb file :

    ar r Bricscad-[version].deb control.tar.gz



    Now you can install Bricscad again.





    But it does not help, same error. I've included my control file, is it OK this way?

    control

  • I made the necessary changes to the file.
    Replace the original control file with this an re-create the deb installer.
    I also change the architecture from all to i386. This is better for Ubuntu  12.04 which has multi-arch support.
    Install it using gdebi and install also ia32-libs from your package manager

    control

  • I do not know why but after using your control file and recreating the .deb file, when I try to install the file gdebi crashes.

    When I run gdebi from terminal this is the output:

    patrick@ubuntu1204:~/cad$ sudo gdebi ./Bricscad-V11.3.16-1-en_US.deb
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Building data structures... Done
    Traceback (most recent call last):
      File "/usr/bin/gdebi", line 84, in
        if not debi.open(args[0]):
      File "/usr/share/gdebi/GDebi/GDebiCli.py", line 73, in open
        self._deb = DebPackage(file, self._cache)
      File "/usr/share/gdebi/GDebi/DebPackage.py", line 32, in __init__
        super(DebPackage, self).__init__(cache=cache, filename=filename)
      File "/usr/lib/python2.7/dist-packages/apt/debfile.py", line 57, in __init__
        self.open(filename)
      File "/usr/lib/python2.7/dist-packages/apt/debfile.py", line 69, in open
        self.pkgname = self._sections["Package"]
    KeyError: 'Package'


    CAN you please send me a link tot a working Bricscad-V11.3.16-1-en_US.deb file which is modified for Ubuntu 12.04 64 bit?

  • I'm doing IT for an engineering firm and have been trying to pitch Linux+Bricscad for a while. Let me just say that these ridiculous problems are making it impossible to convince them and I am lacking in support myself. AutoCAD and it's 3d support are just blowing away Linux right now for problems that should be relatively simple to fix. Based on the amount of progress being made, I sincerely doubt that it takes all that time for you to repackage it in a working fashion.
  • Patrick
    Just do these two steps after the replacement of the original control file with the modified one.
    • Recreate control.tar.gr :

    tar cfz control.tar.gz ./control ./postinst ./postrm

     

    • Replace control.tar.gz in the deb file :

    ar r Bricscad-[version].deb control.tar.gz

    I don't have a V11.3.16-1 deb file to modify it but I tested this method with another V11 version that had the same problem. It works fine.

    imagebricsv11-10.png
  • Spyros,

    These last two steps are part of the proces that has to be done, so I don't see why that should change something. I have a better plan, I send you my original .deb file with WeTransfer, you modify it and send it back to me. All I need is your e-mail address.

    Regards,

    Patrick
This discussion has been closed.