Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    sources.list problem with FreeCad installation...

    Hi all... I was trying to install FreeCad on my system and ran into a few problems. I still haven't mastered the sources.list file for aptitude and apt-get, so I was hoping for some help... Before anyone says, I'm on a Debian not Ubuntu, I know but I'm following what the site stated in that the installation was very similar.

    First I followed the instructions for putting a new package in, with this, as indicated in the FreeCad site

    root# add-apt-repository ppa:freecad-maintainers/freecad-stable
    You are about to add the following PPA to your system:
     This PPA repository hosts stable releases of FreeCAD for all supported versions of Ubuntu in 32 and 64-Bit architecture. These packages are more up to date than those found on the Ubuntu repositories.
     More info:
    Press [ENTER] to continue or ctrl-c to cancel adding it
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.TkutA7XA0a --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver hkp:// --recv 83193AA3B52FF6FCF10A1BBF005EAE8119BB5BCA
    gpg: requesting key 19BB5BCA from hkp server
    gpg: key 19BB5BCA: public key "Launchpad PPA for FreeCAD maintainers" imported
    gpg: Total number processed: 1
    gpg:               imported: 1  (RSA: 1)
    The next step is to update sources.list, and by the example I felt that this was what was wanted (I used $(uname -r) for the string "3.14-0.bpo.2-amd64"):

    # FreeCad entry
    deb 3.14-0.bpo.2-amd64 main
    deb-src 3.14-0.bpo.2-amd64 main
    This was how it's described on the site:

    When I try the next step, it chokes on the entry that I made in the sources.list file, I believe.

    root# apt-get update
    Hit wheezy/updates Release.gpg
    Hit wheezy Release.gpg                                                                        
    Hit wheezy Release                                                                            
    Hit wheezy/updates Release                                             
    Hit wheezy/updates/main amd64 Packages    
    Ign 3.14-0.bpo.2-amd64 Release.gpg                              
    Hit wheezy/updates/main Translation-en     
    Ign wheezy Release.gpg                         
    Hit wheezy-backports Release.gpg   
    Ign wheezy Release.gpg           
    Ign 3.14-0.bpo.2-amd64 Release
    Hit wheezy-backports Release
    Ign wheezy Release     
    Ign wheezy Release
    Hit wheezy-backports/main amd64 Packages/DiffIndex
    Hit wheezy-backports/main Translation-en/DiffIndex
    Err 3.14-0.bpo.2-amd64/main Sources                                                                                                             
      404  Not Found
    Err 3.14-0.bpo.2-amd64/main amd64 Packages                                                                                                      
      404  Not Found
    Ign 3.14-0.bpo.2-amd64/main Translation-en_US                                                                                                   
    Ign 3.14-0.bpo.2-amd64/main Translation-en                                                                                                      
    Err wheezy/main Sources                                                                                                                         
      404  Not Found
    Err wheezy/main amd64 Packages                                                                                                                  
      404  Not Found
    Ign wheezy/main Translation-en_US                                                                                                               
    Ign wheezy/main Translation-en                                                                                                                  
    Err wheezy/main Sources                                                                                                                         
      404  Not Found
    Err wheezy/main amd64 Packages                                                                                                                  
      404  Not Found
    Ign wheezy/main Translation-en_US                                                                                                               
    Ign wheezy/main Translation-en
    W: Failed to fetch  Unable to find expected entry 'universe/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
    W: Failed to fetch  404  Not Found
    W: Failed to fetch  404  Not Found
    W: Failed to fetch  404  Not Found
    W: Failed to fetch  404  Not Found
    W: Failed to fetch  404  Not Found
    W: Failed to fetch  404  Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    I am running a backport, and don't know if that does anything or not...

    I'm hoping that someone will spot what I tried to do, incorrectly and I can get this up and running...



  2. #2
    I did find that the 'your ubuntu version' would probably be 'wheezy'. However I still had errors when I tried to update the package. Even when I tried to make the source lines read for ubuntu, it failed. There appears to be no where to get answers from the FreeCad people.


  3. #3
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris

    I have not used FreeCAD that I can recall, however:
    Notes for Debian users

    Because of a licensing conflict between third-party libraries required by FreeCAD, the freecad package was removed from the current Debian stable (wheezy) repository. This will be solved when the next stable release of FreeCAD comes out. In the meanwhile, you can either compile FreeCAD or use an alternate build.

    You should also note that although Ubuntu is based on Debian, the Ubuntu PPA packages are NOT compatible with Debian.
    -- Download - FreeCAD Documentation

    That suggests that one would wait for the next rev, use Ubuntu, or try compiling: CompileOnUnix - FreeCAD Documentation

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  4. $spacer_open
  5. #4
    Drl: Thanks, I didn't find that note that you added, I assume I missed it on the FreeCad page? I do have the source, but haven't found out how to successfully build it. I will read further and try that approach. I'm hoping that Debian will have it soon as I would like to learn a 3D cad program to assist in the many plans I do. If you didn't find that 'note to Debian users' in the freecad area, please let me know where you found it.

    Sometimes I think I'm going blind...



Posting Permissions

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