Issue with apt-get

Discussion in 'UDOO NEO' started by modjo, Jan 15, 2016.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi, i have received my udoo neo full (congratulation udoo team for your job, very nice ;)) but i have a problem with ubuntu package (i have the lasted image of neo Rc1) it didn't work, for example under :

    Code:
    udooer@udooneo:~$ sudo apt-get install htop
    Reading package lists... Done
    Building dependency tree     
    Reading state information... Done
    Suggested packages:
      strace ltrace
    The following NEW packages will be installed:
      htop
    0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
    Need to get 0 B/60.4 kB of archives.
    After this operation, 147 kB of additional disk space will be used.
    debconf: Perl may be unconfigured (Can't locate loadable object for module re in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl/5.18/Text/Wrap.pm line 58.
    Compilation failed in require at /usr/share/perl/5.18/Text/Wrap.pm line 58.
    BEGIN failed--compilation aborted at /usr/share/perl/5.18/Text/Wrap.pm line 58.
    Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10.
    BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10.
    Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
    BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
    Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
    BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
    Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
    Compilation failed in require at (eval 1) line 4.
    BEGIN failed--compilation aborted at (eval 1) line 4.
    ) -- aborting
    Selecting previously unselected package htop.
    dpkg: unrecoverable fatal error, aborting:
    files list file for package 'pv' is missing final newline
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    udooer@udooneo:~$
    
    Do you have an idea how to resolve this ?
     
  2. Pilif

    Pilif New Member

    Joined:
    Jan 11, 2016
    Messages:
    15
    Likes Received:
    2
    what about sudo apt-get update ?
     
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    yes it work but sudo apt-get upgrade have the same issue !
     
  4. Pilif

    Pilif New Member

    Joined:
    Jan 11, 2016
    Messages:
    15
    Likes Received:
    2
    did you do something to the pearl package? the perl package is messed up.

    I think you should download the latest image and put it on the SD card. Back up on external device files that you created on the SD card - files that are not part of the image, but such who you need and created yourself, cause they will be lost if you re-flash the SD card.
    Alternatively you could try to chroot into the sd card and reinstall perl:

    take the card out, put it on another pc and then look at dmesg (run it terminal) to see something like[1] at the end of output. be SURE you found the correct device
    [1]'[ 6088.190702] sdd: sdd1 sdd2
    [ 6088.191669] sd 7:0:0:0: [sdd] Attached SCSI removable disk'
    from this example output you have to mount the second file system - sdd2 - /dev/sdd2 then follow the instructions in the link (mount commands are in the link). if the card is auto mounted when you insurt it in the pc you have to unmount in .
    http://ubuntuforums.org/showthread....c4544b1c123b49d9816a5&p=13221381#post13221381


    alternative 3
    you can try the solutions here
    http://www.perlmonks.org/?node_id=1016135
     
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thank's Pilif, i didn't touch anything on the neo before ... i will download another image and try it (it's the more simple way for the moment) ! I let you know if it's solve the problem.
     
  6. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Problem resolved with a new installation !
     
    Andrea Rovai likes this.

Share This Page