Udoobuntu 2 dtweb upgrade error

Discussion in 'UDOO NEO' started by waltervl, Nov 12, 2016.

  1. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    After doing a "sudo apt-get update" and upgrade I get the following error on dtweb. I did not test it fully so i don't know if I have a big problem yet but wanted the Udoo team to know. @Andrea Rovai @Francesco

    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up dtweb (1.13) ...
    Removing dtbkernel...
    3
    /var/lib/dpkg/info/dtweb.postinst: 13: [: 3: unexpected operator
    Linux 3 detected!
    Unpacking dtbkernel...
    /var/lib/dpkg/info/dtweb.postinst: 27: cd: can't cd to arch/arm/boot/dts/include
    dpkg: error processing package dtweb (--configure):
     subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing:
     dtweb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    udooer@udooneo:~$
    
     
  2. Gary Huband

    Gary Huband New Member

    Joined:
    Aug 1, 2016
    Messages:
    22
    Likes Received:
    7
    I have the same problem:

    sudo dpkg --configure -a
    Setting up dtweb (1.13) ...
    Removing dtbkernel...
    3
    /var/lib/dpkg/info/dtweb.postinst: 13: [: 3: unexpected operator
    Linux 3 detected!
    Unpacking dtbkernel...
    /var/lib/dpkg/info/dtweb.postinst: 27: cd: can't cd to arch/arm/boot/dts/include
    dpkg: error processing package dtweb (--configure):
    subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing:
    dtweb
     
  3. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    How did you solve? It happened with my new Udoo Neo today
     
  4. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    That was my fault. Fix is already pushed to github and packaged. I have sent the updated .deb files to the guy who manages our repo.
    In the next hours it should be uploaded.
     
    Gary Huband, waltervl and Gorgo like this.
  5. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    The sudo apt-get update failed too (Ethernet's ok)

    Code:
    udooer@udooneo:~$ sudo apt-get update
    [sudo] password for udooer: 
    Ign http://ports.ubuntu.com trusty InRelease
    Hit http://ports.ubuntu.com trusty-updates InRelease 
    Hit http://ports.ubuntu.com trusty-security InRelease 
    Hit http://ports.ubuntu.com trusty Release.gpg                          
    Hit http://ports.ubuntu.com trusty Release                              
    Hit http://repository.udoo.org udoobuntu InRelease
    Hit http://ports.ubuntu.com trusty-updates/main armhf Packages          
    Hit http://repository.udoo.org trusty InRelease                        
    Hit http://ports.ubuntu.com trusty-updates/universe armhf Packages    
    Hit http://ports.ubuntu.com trusty-updates/multiverse armhf Packages  
    Hit http://ports.ubuntu.com trusty-updates/main Translation-en        
    Hit http://ports.ubuntu.com trusty-updates/multiverse Translation-en  
    Hit http://ports.ubuntu.com trusty-updates/universe Translation-en    
    Hit http://ports.ubuntu.com trusty-security/main armhf Packages      
    Hit http://ports.ubuntu.com trusty-security/universe armhf Packages 
    Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages
    Hit http://ports.ubuntu.com trusty-security/main Translation-en    
    Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
    Hit http://ports.ubuntu.com trusty-security/universe Translation-en 
    Hit http://ports.ubuntu.com trusty/main armhf Packages                
    Hit http://ports.ubuntu.com trusty/universe armhf Packages                    
    Hit http://ports.ubuntu.com trusty/multiverse armhf Packages                  
    Hit http://ports.ubuntu.com trusty/main Translation-en                        
    Hit http://ports.ubuntu.com trusty/multiverse Translation-en                  
    Hit http://ports.ubuntu.com trusty/universe Translation-en                    
    Hit http://repository.udoo.org udoobuntu/main armhf Packages                  
    Hit http://repository.udoo.org trusty/main armhf Packages
    Ign http://repository.udoo.org udoobuntu/main Translation-en
    Ign http://repository.udoo.org trusty/main Translation-en
    Ign https://deb.nodesource.com trusty InRelease
    Ign https://deb.nodesource.com trusty Release.gpg
    Ign https://deb.nodesource.com trusty Release                                  
    Ign https://deb.nodesource.com trusty/main Sources/DiffIndex                  
    Ign https://deb.nodesource.com trusty/main armhf Packages/DiffIndex            
    Ign https://deb.nodesource.com trusty/main Translation-en                      
    Err https://deb.nodesource.com trusty/main Sources
      server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    Err https://deb.nodesource.com trusty/main armhf Packages
      server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    W: Failed to fetch https://deb.nodesource.com/node_5.x/dists/trusty/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    
    W: Failed to fetch https://deb.nodesource.com/node_5.x/dists/trusty/main/binary-armhf/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    
     
  6. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    That's a different thing. Let ntp some time to sync the clock.
    Without the proper date set, SSL certificates cannot be validated. If you have a broken certificate store you can run:
    Code:
    sudo apt-get install --reinstall ca-certificates
     
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    We are all humans and so make errors. :) Thanks for the quick fix!
     
  8. 09Laura09

    09Laura09 New Member

    Joined:
    Mar 23, 2018
    Messages:
    2
    Likes Received:
    0
    i'm having the same issue. How did you solve it?
     
  9. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
  10. 09Laura09

    09Laura09 New Member

    Joined:
    Mar 23, 2018
    Messages:
    2
    Likes Received:
    0
    Hi there,

    Do you how can I solve these errors?

    W: Failed to fetch https://repository.udoo.org/trusty/dists/udoobuntu/main/binary-armhf/Packages gnutls_handshake() failed: Handshake failed

    E: Some index files failed to download. They have been ignored, or old ones used instead.
     
  11. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580

Share This Page