Jump to content

uracolix

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by uracolix

  1. Hi,

     

    I recently upgraded from Armbian 5.38 to 5.70 (using apt-get upgrade). 

     

    I regularly use  /etc/init.d/resize2fs to enlarge the partition for the actual given SD-Card after installing the image.

    (Usually I copy a 4GB image on an 8GB card and run at the first boot

    sudo  /etc/init.d/resize2fs start

     

    So how can I do increasing of the image now ?

     

    Thanks and Best Regards, Axel

     

     

  2. <SOLVED>

     

    Hi, I could fix the above described issue, but it requires an extra mile to go.

    Furhter I recommend to save the python:armhf in a virtualenv, because any later "apt-get install ..." may wipe the python:armhf.

    Here are the fabric commands that I use.

     

        
    sudo("apt-get purge -y python2.7 python2.7-dev python2.7-minimal")
    sudo("apt-get install -y linux-libc-dev:armhf")
    sudo("apt-get install -y python2.7:armhf python2.7-dev:armhf python2.7-minimal:armhf")
    
    # other python modules that will not install w/ pip because something won't compile, e.g. pillow
    sudo("apt-get install -y python-pillow:armhf")
    
    # get-pip is the only way to go here, apt install python-pip will wipe python:armhf
    with cd("/tmp"):
        run("curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py")
        sudo("/usr/bin/python2.7 get-pip.py")
    
    # install virtualenv for saving python:armhf
    with cd("/usr/bin/"):
        sudo("ln -sfv python2.7 python")
        sudo("pip install virtualenv")
        run("virtualenv -p /usr/bin/python2.7 --system-site-packages /home/uracolix/ve_py27_armhf")

     

  3. Hello guys,

     

    at first I want to says thanks for the great OS that you deliver. I use it since 8 months on a bunch of nano-pi neo2's and it runs rock solid.

     

    However i rebuild from time to time the image I use from scratch in order to see that the installation is reproducable and repeatable.

     

    Today it has encountered that the installation of

     

    'apt-get install python:armhf  python-dev:armhf' failed with:

    # dpkg --add-architecture armhf
    
    # sudo apt-get update
    ....
    Reading package lists... Done
    
    # sudo apt-get install -y python-pip python:armhf python-dev:armhf
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     python-dev:armhf : Depends: libpython-dev:armhf (= 2.7.12-1~16.04) but it is not going to be installed
                        Depends: python2.7-dev:armhf (>= 2.7.12-1~) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    I use armbian_5.38_Nanopineo2_Ubuntu_xenial_next_4.14.14.img.

     

    The reason I do this, is that I want to use Segger Debugger on the platform, but Segger only provides armhf-libs (used by Pylink-square). Asking Segger to release arm64 libraries already failed.

     

    Thanks in advance, Axel.

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines