Bananian

bananian-update not working

4 1051
Edited by vsp33ddyv at Jun 26, 2016 12:59

Hi

First poster here. I have a problem with updating my bananian. This is the error:

  1. Welcome to bananian-update!

  2. This script upgrades your Bananian installation.

  3. For news and updates check: http://www.bananian.org

  4. Don't panic, you will be asked to confirm before applying any updates!

  5. --------------------------------------------------------------------------------                                     -
  6. receiving/updating public key...

  7. gpg: requesting key ******** from hkp server keys.gnupg.net
  8. gpg: key ********: "Nico Isenbeck (Bananian Linux) <download@bananian.org>" not                                      changed
  9. gpg: Total number processed: 1
  10. gpg:              unchanged: 1

  11. --------------------------------------------------------------------------------                                     -
  12. downloading latest upgrade from dl.bananian.org... (this might take a while)

  13.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  14.                                  Dload  Upload   Total   Spent    Left  Speed
  15. 100  4032  100  4032    0     0   6071      0 --:--:-- --:--:-- --:--:--  6072
  16.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  17.                                  Dload  Upload   Total   Spent    Left  Speed
  18. 100   819  100   819    0     0   1574      0 --:--:-- --:--:-- --:--:--  1578

  19. --------------------------------------------------------------------------------                                     -
  20. verifying signature...

  21. gpg: assuming signed data in `/tmp/tmp.ZeOvnOKdsu/update.tar.gz'
  22. gpg: Signature made Fri 22 Apr 2016 04:25:09 PM CEST using RSA key ID ********
  23. gpg: error writing to `/root/.gnupg/.#lk0x1a81b28.bananapi.1643': No space left                                      on device
  24. gpg: fatal: can't create lock for `/root/.gnupg/trustdb.gpg'
  25. secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/65536
Copy the Code


I find it weird it says it has no space left because it is a 16 GB SD-card and everything I do is on external harrdrives:
  1. root@bananapi ~ # fdisk -l

  2. Disk /dev/sda: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
  3. Units: sectors of 1 * 512 = 512 bytes
  4. Sector size (logical/physical): 512 bytes / 512 bytes
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes
  6. Disklabel type: dos
  7. Disk identifier: 0x000dc86f

  8. Device     Boot Start        End    Sectors  Size Id Type
  9. /dev/sda1          63 2930277166 2930277104  1.4T  7 HPFS/NTFS/exFAT

  10. Disk /dev/mmcblk0: 14.5 GiB, 15548284928 bytes, 30367744 sectors
  11. Units: sectors of 1 * 512 = 512 bytes
  12. Sector size (logical/physical): 512 bytes / 512 bytes
  13. I/O size (minimum/optimal): 512 bytes / 512 bytes
  14. Disklabel type: dos
  15. Disk identifier: 0x0ccea0b3

  16. Device         Boot Start     End Sectors  Size Id Type
  17. /dev/mmcblk0p1       2048   43007   40960   20M 83 Linux
  18. /dev/mmcblk0p2      43008 3710936 3667929  1.8G 83 Linux

  19. Disk /dev/sdb: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
  20. Units: sectors of 1 * 512 = 512 bytes
  21. Sector size (logical/physical): 512 bytes / 4096 bytes
  22. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  23. Disklabel type: gpt
  24. Disk identifier: A6685C03-F11F-4980-A98E-679EE809BC0B

  25. Device     Start        End    Sectors  Size Type
  26. /dev/sdb1   2048 7814037133 7814035086  3.7T Microsoft basic data
Copy the Code
This is how my sources.list files looks like:

  1. cd /etc/apt/
  2. root@bananapi /etc/apt #
  3. root@bananapi /etc/apt # cat sources.list
  4. deb http://ftp.de.debian.org/debian/ jessie main non-free contrib
  5. deb-src http://ftp.de.debian.org/debian/ jessie main non-free contrib

  6. deb http://security.debian.org/ jessie/updates main contrib non-free
  7. deb-src http://security.debian.org/ jessie/updates main contrib non-free
  8. deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main
Copy the Code
I also can't do any apt-get updates or upgrades because it says repositories missing:

  1. apt-get update
  2. Hit http://dl.bananian.org jessie InRelease
  3. Hit http://dl.bananian.org jessie/main armhf Packages
  4. Ign http://dl.bananian.org jessie/main Translation-en_US
  5. Ign http://dl.bananian.org jessie/main Translation-en
  6. Hit http://ppa.launchpad.net precise InRelease
  7. Ign http://ppa.launchpad.net jessie InRelease
  8. Ign http://ppa.launchpad.net jessie InRelease
  9. Ign http://ppa.launchpad.net jessie Release.gpg
  10. Ign http://ftp.de.debian.org jessie InRelease
  11. Ign http://ppa.launchpad.net jessie Release.gpg
  12. Ign http://ppa.launchpad.net jessie Release
  13. Hit http://ftp.de.debian.org jessie Release.gpg
  14. Hit http://ppa.launchpad.net precise/main armhf Packages
  15. Hit http://ppa.launchpad.net precise/main Translation-en
  16. Ign http://ppa.launchpad.net jessie Release
  17. Hit http://ftp.de.debian.org jessie Release
  18. Err http://ppa.launchpad.net jessie/main armhf Packages
  19.   404  Not Found
  20. Ign http://ppa.launchpad.net jessie/main Translation-en_US
  21. Ign http://ppa.launchpad.net jessie/main Translation-en
  22. Err http://ppa.launchpad.net jessie/main armhf Packages
  23.   404  Not Found
  24. Ign http://ppa.launchpad.net jessie/main Translation-en_US
  25. Ign http://ppa.launchpad.net jessie/main Translation-en
Copy the Code
Is there anything wrong with the bananapi? I want to upgrade to the newer version and play with it. Anyone knows why this happens? If you need more information I'm happy to provide.

swipon  
Can you post the return of a simple
  1. df -h
Copy the Code


Fdisk is orrible to read simply the usage.

In some cases you can clean a little of space doing
  1. apt-get clean
Copy the Code
  1. rm -f /var/log/*.gz /var/log/*1* /var/log/*2* /var/log/*3*
Copy the Code


If /dev/mmcblk0p2 is full you can use the bananian-config to expand this file system to the maximum size of sd card.

Edited by vsp33ddyv at Jul 05, 2016 16:10
swipon replied at Jul 01, 2016 01:56
Can you post the return of a simple

Used bananian-config to maximize size. Got a message that said I needed to reboot because I used the old table.

This is the requested output:

  1. root@bananapi ~ # df -h
  2. Filesystem      Size  Used Avail Use% Mounted on
  3. /dev/root       1.8G  1.8G     0 100% /
  4. devtmpfs        486M     0  486M   0% /dev
  5. tmpfs            98M  792K   97M   1% /run
  6. tmpfs           5.0M     0  5.0M   0% /run/lock
  7. tmpfs           195M     0  195M   0% /run/shm
  8. tmpfs           297M     0  297M   0% /tmp
  9. /dev/sda1       1.4T  1.3T  163G  89% /media/USBHDD1
  10. /dev/sdb1       3.7T  2.4T  1.4T  64% /media/USBHDD2
Copy the Code


apt-get upgrade ends in the same error.
Note in my first post that mcblk0 = 14.5 GB



swipon  
You need to reboot and retry the df -h to verify if the filesystem is maximized to 14.5Gb

If it is then you can try apt-get upgrade.

After reboot i think it would be ok.

swipon replied at Jul 06, 2016 01:43
You need to reboot and retry the df -h to verify if the filesystem is maximized to 14.5Gb

If it is  ...

I rebooted, it's not working :/

You have to log in before you can reply Login | Sign Up

Points Rules