Linux mint installation issues

I have been trying to install Linux Mint on my Raspberry Pi 400. I kept getting an error that the raspian buster inrelease changed its Suite value from stable to old stable. I ran sudo apt update and it updated but when I tried to run sudo apt upgrade I got the following message
178 upgraded, 70 newly installed, 0 to remove and 11 not upgraded. Need to get 1,210 mb of archives.
After this operation, 1,125 mb of additional disk space will be used. E: you don’t have enough free space in /car/cache/apt/archives/.
Can someone help me out?

Hi @Gerelyn222 - Well firstly, I have no idea how you got Mint on a RaspberryPi. Mint is not compatible with the Pi’s ARM architecture. This could be your issue.

Secondly, the error you received tells me that your storage device is not large enough to handle all the updates. You may need to upgrade it.

Can you tell me what size SD card you are using? And have you installed anything else?

1 Like

Thanks so much for your response! I haven’t succeeded in installing Mint as yet and you have given me the reason. I have a 128 gb SD card and I haven’t installed anything else. That is another question. Would it help if I installed Nextcloud first, and then use it to store my programs? I don’t have it clear in my mind how the storage works.

1 Like

Well, NextCloud doesn’t store programs. They only store documents, pictures, and files (such as PDFs and ZIPs). But if there are files that you want to put on your Pi, yes, upload those files to NextCloud first and then login on your new Pi machine once it is running to download them.

You can check distrowatch for distros that support ARM.

1 Like

I have tried to install Ubuntu tonight and it shows up on my dashboard but I don’t know what to do then. I had two options, one did not say Arm and the other said Arm but had server. I don’t have a server.
I have decided to purchase an external hard drive to use and then backup to NextCloud. I have lots of genealogy stuff to get to a safe place.
Can you help with my Ubuntu issue??

Yes, select the non-server ARM option. That should get you going.

I know you have got to be tired of me. I downloaded the Ubuntu 20.04.3 LTS amd64 and then used Etcher to write to SD. when I get back to my Pi, it recognizes that it is a bootable disk but all it does is place an icon for Ubuntu on my desktop. Is there something else I should be doing???

Hey @Gerelyn222!
You might want to use the Raspberry Pi Ubuntu Imager. That’s what got mine working!

Hi I tried the Ubuntu install again and it failed. This is the error I received after I tried to update:

pi@raspberrypi:~ $ sudo apt update
Get:1 Index of /debian buster InRelease [32.6 kB]
Get:2 Index of /raspbian buster InRelease [15.0 kB]
E: Repository ‘Index of /raspbian buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
E: Repository ‘Index of /debian buster InRelease’ changed its ‘Suite’ value from ‘testing’ to ‘oldstable’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:3 Index of /raspbian buster/main armhf Packages [13.0 MB]
Get:4 Index of /raspbian buster/contrib armhf Packages [58.8 kB]
Get:5 Index of /raspbian buster/non-free armhf Packages [104 kB]
Get:6 Index of /debian buster/main armhf Packages [393 kB]
Ign:3 Index of /raspbian buster/main armhf Packages
Get:3 Index of /raspbian buster/main armhf Packages [18.3 MB]
Ign:3 Index of /raspbian buster/main armhf Packages
Get:3 Index of /raspbian buster/main armhf Packages [69.2 MB]
Err:3 Index of /raspbian buster/main armhf Packages
Error writing to output file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Fetched 441 kB in 55s (7,949 B/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
190 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/main/binary-armhf/Packages Error writing to output file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi:~ $
Can you help??

That’s the first thing that came into my sights and seems to be the cause of the errors. How much space do you have on your little guy?

Well, it came with 8 gb and my SD card has 128. I have been thinking of purchasing an external hard drive as I have lots of genealogy and pictures that I need to work with and then store on NextCloud. Your thoughts are very welcome.

It would be a good idea to transfer all your data to the external drive then and try the update again. Once safely copied, you can delete them from your SD card. This should solve your issue. :slight_smile:

I’m still having problems. I have purchased the external hard drive and want to install it. I thought I had transferred my data to the external drive but I am now getting this message. I am trying to follow you on your video 008 - Expand your Home Folder. I am not sure what I have missed but obviously something.

pi@raspberrypi:~ $ sudo apt autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 190 not upgraded.
pi@raspberrypi:~ $ sudo apt install gparted
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5 libgtkmm-2.4-1v5
libpangomm-1.4-1v5 libsigc+±2.0-0v5
Suggested packages:
xfsprogs reiserfsprogs reiser4progs jfsutils mtools yelp kpartx dmraid gpart
udftools
The following NEW packages will be installed:
gparted libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5
libgtkmm-2.4-1v5 libpangomm-1.4-1v5 libsigc+±2.0-0v5
0 upgraded, 7 newly installed, 0 to remove and 190 not upgraded.
Need to get 3,431 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.
pi@raspberrypi:~ $

This is with both the external and SD card plugged in. The new external drive has 2T. WooHoo!

Thinking back over my last message, I thought it might be helpful to expand the screen image to include all that I have done tonight. It might make it easier to see what I have done wrong.

pi@raspberrypi:~ $ sudo apt update
Hit:1 Index of /debian buster InRelease
Get:2 Index of /raspbian buster InRelease [15.0 kB]
E: Repository ‘Index of /raspbian buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Get:3 Index of /raspbian buster/main armhf Packages [13.0 MB]
Get:4 Index of /raspbian buster/contrib armhf Packages [58.8 kB]
Get:5 Index of /raspbian buster/non-free armhf Packages [104 kB]
Ign:3 Index of /raspbian buster/main armhf Packages
Get:3 Index of /raspbian buster/main armhf Packages [18.3 MB]
Ign:3 Index of /raspbian buster/main armhf Packages
Get:3 Index of /raspbian buster/main armhf Packages [69.2 MB]
Err:3 Index of /raspbian buster/main armhf Packages
Error writing to output file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
Fetched 13.0 MB in 1min 21s (160 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
190 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/main/binary-armhf/Packages Error writing to output file - write (28: No space left on device) [IP: 2a00:1098:0:80:1000:75:0:3 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
pi@raspberrypi:~ $ sudo apt autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 190 not upgraded.
pi@raspberrypi:~ $ sudo apt install gparted
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5 libgtkmm-2.4-1v5
libpangomm-1.4-1v5 libsigc+±2.0-0v5
Suggested packages:
xfsprogs reiserfsprogs reiser4progs jfsutils mtools yelp kpartx dmraid gpart
udftools
The following NEW packages will be installed:
gparted libatkmm-1.6-1v5 libcairomm-1.0-1v5 libglibmm-2.4-1v5
libgtkmm-2.4-1v5 libpangomm-1.4-1v5 libsigc+±2.0-0v5
0 upgraded, 7 newly installed, 0 to remove and 190 not upgraded.
Need to get 3,431 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.
pi@raspberrypi:~ $

That’s quite persistent. First, run in the following - in terminal:

sudo apt autoclean

When packages are downloaded, they usually remain in cache. While autoremove uninstalls packages that are no longer needed, the autoclean deletes the packages that are downloaded (upgrades included) that have already been installed.

Then, remain in terminal and type in:

sudo baobab

Then look at the capacity of your fullest drive (or partition), open it up and wait until it becomes populated. It will show you which directories take up the most space. Please send me a photo of that, if you can. :slight_smile:

Thanks for your help! Here is what happened this morning.

pi@raspberrypi:~ $ sudo apt autoclean
Reading package lists… Done
Building dependency tree
Reading state information… Done
pi@raspberrypi:~ $ sudo baobab
sudo: baobab: command not found
pi@raspberrypi:~ $

I’m not sure how to look at the capacity of a drive.

You’re very welcome!
I find it interesting that the Pi doesn’t come with this app. In other words, baobab is the “Disk Use Analyzer.” The reason I suggested the command prompt was to run it as root and gain access to folder sizes in all places. That’s all right.

So, we’ll try to install it. If it appears to be too big (it’s not), then we’ll try something even smaller.

sudo apt install baobab

If it’s too big or – if it doesn’t exist in the Raspberry Pi’s official repositories (I am not certain - as I run Ubuntu server on mine), then there is a solution:

sudo apt install ncdu

If baobab installed, then run it via sudo. If not, then do the same for NCDU:

sudo ncdu /

Please take a photo of that, if you can. Then take a photo of the following output:

df -h

This last command will show you all mounted partitions and their sizes. :slight_smile:

Hi again

I have followed the instructions in the last message (hopefully).
pi@raspberrypi:~ $ sudo at install baobab
sudo: at: command not found
pi@raspberrypi:~ $ sudo apt install baobab
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libyelp0 python3-distro yelp yelp-xsl
The following NEW packages will be installed:
baobab libyelp0 python3-distro yelp yelp-xsl
0 upgraded, 5 newly installed, 0 to remove and 190 not upgraded.
Need to get 1,687 kB of archives.
After this operation, 6,655 kB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.
pi@raspberrypi:~ $ sudo apt install ncdu
Reading package lists… Done
Building dependency tree
Reading state information… Done
ncdu is already the newest version (1.13-1).
0 upgraded, 0 newly installed, 0 to remove and 190 not upgraded.
pi@raspberrypi:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 14G 0 100% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.9G 66M 1.8G 4% /dev/shm
tmpfs 1.9G 8.7M 1.9G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 54M 199M 22% /boot
tmpfs 378M 0 378M 0% /run/user/1000
/dev/sde1 1.9T 335M 1.9T 1% /media/pi/TOSHIBA EXT
/dev/sdc1 120G 2.9G 117G 3% /media/pi/UBUNTU 20_0
pi@raspberrypi:~ $

Again thanks!!

Hello @Gerelyn222!
I believe I see the problem. It doesn’t seem you installed Linux Mint on your Raspberry Pi, as it seems to be running on an approximately 16GB partition. No wonder you have no space.

What medium are you running Linux Mint from?

Hi, I wasn’t aware that the Linux Mint was still on the system. What is next? Should I format the 128 SD?