RaspberryPiSlice
Posts: 6
Joined: Sat Aug 31, 2013 2:59 am

Not enough space to install KDE

Sat Aug 31, 2013 3:05 am

I have just recently acquired a Raspberry Pi and decided to pit Arch Linux on it. I wrote it to a 8gb memory card. Whenever I try to install KDE via

Code: Select all

pacman -s kde xorg
it downloads everything and then says I do not have enough space even though I know for a fact I do. Is there any way to get Arch to use the rest of my SD card? Thanks in advance.

User avatar
joan
Posts: 14470
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Not enough space to install KDE

Sat Aug 31, 2013 8:18 am

Have you expanded the ext4 partition to use all the available room on the SD card?

What does

df -h

report?

Using KDE as a graphical front-end on the Pi is likely to be a challenging experience.

RaspberryPiSlice
Posts: 6
Joined: Sat Aug 31, 2013 2:59 am

Re: Not enough space to install KDE

Sat Aug 31, 2013 3:55 pm

When I do that I get

Code: Select all

Filesystem    Size    Used    Avail    Use    Mount on
           /dev/root        1.7G   1.3G    352M    78%  /
           devtmpfs        83M    0          83M      0%    /dev
           I'm leaving out all the tmpfs stuff
     /dev/mmcblk0p1 90M     24M    67M     27%  /boot
     /dev/mmcblk0p3 5.7G    140M   5.3G   /dev/extra
When I use fdisk -l /dev/mmcblk0p3 has 6026240 blocks and the kde install and download needs 582776 blocks so I know I have enough blocks. I created mmcblk0p3 and made it use all the extra space on the card(5.7G)

Oakham
Posts: 366
Joined: Tue Aug 20, 2013 9:11 pm

Re: Not enough space to install KDE

Sat Aug 31, 2013 4:09 pm

"kde install and download needs 582776 blocks" how did you arrive at that figure and does this include all the dependencies ??
Searching is easy, most questions have been asked before !

RaspberryPiSlice
Posts: 6
Joined: Sat Aug 31, 2013 2:59 am

Re: Not enough space to install KDE

Sat Aug 31, 2013 8:52 pm

I arrived at that figure because of this line that appeared when the install failed

Code: Select all

error: Partition / too full: 582776 blocks needed, 115790 blocks free
I am not quite sure how it arrived at the 115790 blocks free because in my Extended partition I have 7634072 blocks free.
If I type in fdisk /dev/mmcblk0 and the command p I get this

Code: Select all

     Device Boot              Start              End             Blocks           ID             System
      /dev/mmcblk0p1                  2048             186367       92160          c               W95 FAT32 (LBA)
     /dev/mmcblk0p2                  186368         1545411     7634072      5              Extended
      /dev/mmcblk0p5                 188416          3667967    3667967      83            Linux        
Sorry for the weird formatting, couldn't figure out how to make it look like a table
I managed to resize the Extended partition by deleting it and then creating it again but with the end block 3760127(The size of the linux and fat32 partitions) less than the total size. I did this because the amount of space it said I had before I resized was the previous amount of the extended partition. I assumed by making it bigger(Now 7.3GB) it would allow it to install. However I was mistaken. Can you see any reason even after resizing the partition it would fail?

User avatar
joan
Posts: 14470
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Not enough space to install KDE

Sat Aug 31, 2013 9:50 pm

The large partition with free space seems to be mounted under /dev/extra. Is this an Arch thing? The Debian based distributions could not install packages to that location. They'd install to places like /lib, /usr etc. under /.

drirr
Posts: 54
Joined: Sun Sep 09, 2012 8:06 am

Re: Not enough space to install KDE

Sun Sep 01, 2013 6:27 am

Yeah, mounting the extra partition under /dev will not let you use it. If possible you should use another machine to resize your root partition instead. It's dead easy if you got another linux machine, just install and start gparted. If not then I'd suggest using a boot cd, check this tutorial out: http://www.raspberrypi-spy.co.uk/2012/0 ... artitions/
Raspberry Pi (rev 000f, 512MB RAM) with heatsinks and a modmypi case running Arch Linux ARM (armv6h) hooked up to a 750GB 2.5" USB-harddrive

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Not enough space to install KDE

Sun Sep 01, 2013 1:40 pm

You actually need more free space than is required by the package because pacman puts copies of the package and all of it's dependencies into a cache before it installs it, so you actually might need double the space!

When pacman sees there is not room to complete the process, it will fail, as you see.

One solution is to, of course, expand your root partition to use the rest of the SD card. But another factor might be to consider clearing pacman's cache of packages already installed that you do not intend to roll back to.

See /var/cache/pacman/pkg
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Tmr
Posts: 1
Joined: Tue Sep 10, 2013 6:20 pm

Re: Not enough space to install KDE

Tue Sep 10, 2013 6:23 pm

Try to install kde using the code

pacman -S kdebase

that only installs the basic stuff and then you just install the programes you want

example scratch, python, libreofffice...

Return to “Arch”