Page 1 of 1

installation transactions failed

PostPosted: Jan 13th, '17, 13:25
by emlou
I am suddenly unable to install anything in mageia 5. I receive this error message:

1 installation transactions failed

There was a problem during the installation:

installing package x11-driver-video-nvidia340-340.101-1.mga5.nonfree.i586 needs 65MB on the / filesystem

installing package thunderbird-0:45.6.0-1.mga5.i586 needs 179MB on the / filesystem

installing package thunderbird-en_GB-45.6.0-1.mga5.noarch needs 163MB on the / filesystem

installing package nvidia340-doc-html-340.101-1.mga5.nonfree.i586 needs 163MB on the / filesystem

any advice appreciated
thanks

Re: installation transactions failed

PostPosted: Jan 13th, '17, 14:26
by Ken-Bergen
Please post the output of
Code: Select all
df

Re: installation transactions failed

PostPosted: Jan 16th, '17, 01:52
by emlou
Hi Ken
I am a linux novice so sorry for the slow response. I realise from your reply that I am out of space on my linux partition
Not sure how to get the info you need, will l look into it.
I think there are a lot of files that can be deleted from root, just not sure what is ok to clear.
thanks
Emma

Re: installation transactions failed

PostPosted: Jan 16th, '17, 11:51
by doktor5000
Please open a terminal, and enter the following commands as root. To switch to the root user, enter
Code: Select all
su -

followed by your root password (password will not be shown when you type it)

Then copy&paste the following commands and post the output here
Code: Select all
df -Pm
du -mx / | sort -rn | head -35

Re: installation transactions failed

PostPosted: Jan 16th, '17, 22:06
by emlou
Here is the output
Thanks Emma
Code: Select all
[root@localhost ~]# df -Pm
Filesystem     1048576-blocks  Used Available Capacity Mounted on
devtmpfs                 1767     0      1767       0% /dev
tmpfs                    1772     2      1770       1% /dev/shm
tmpfs                    1772     1      1771       1% /run
/dev/sda5               11974 11318        25     100% /
tmpfs                    1772     0      1772       0% /sys/fs/cgroup
tmpfs                    1772     1      1772       1% /tmp
/dev/sda7               89095 23488     65591      27% /home
tmpfs                     355     1       355       1% /run/user/500
[root@localhost ~]# du -mx / | sort -rn | head -35
11288   /
8632    /usr
4461    /usr/lib
2750    /usr/share
1981    /var
1453    /usr/lib/modules
1162    /var/log
1161    /var/log/journal/23a43bfcbb724d39926398827a46ee23
1161    /var/log/journal
1151    /usr/share/clipart
925     /usr/src
528     /boot
395     /usr/bin
374     /var/lib
295     /usr/lib/libreoffice
277     /usr/share/clipart/johnny_automatic
209     /usr/share/foomatic/db/source
209     /usr/share/foomatic/db
209     /usr/share/foomatic
203     /var/tmp/kdecache-relativity
203     /var/tmp
198     /usr/lib/libreoffice/program
195     /var/cache
183     /usr/lib/python2.7
180     /usr/lib/firmware
173     /usr/share/foomatic/db/source/opt
165     /var/cache/urpmi/rpms
165     /var/cache/urpmi
161     /usr/share/doc
155     /usr/lib/python2.7/site-packages
140     /var/lib/rpm
139     /var/lib/dkms
136     /usr/share/icons
136     /usr/lib/mono
134     /usr/src/debug/wine-1.6.1


I added code tags
~Germ

Re: installation transactions failed

PostPosted: Jan 17th, '17, 10:54
by doktor5000
The current issue is that the journal logs are taking up more than 1GB.

emlou wrote:
Code: Select all
1162    /var/log
1161    /var/log/journal/23a43bfcbb724d39926398827a46ee23
1161    /var/log/journal



You can mitigate that by reducing the maximum size for logs, by editing as root /etc/systemd/journald.conf
and changing SystemMaxUse to 100M (megabytes) and then restarting journald as root via
Code: Select all
systemctl restart systemd-journald.service


Apart from that, you seem to have installed one of the bigger clipart packages which also takes up more than one 1GB, you could install those to gain some more space.

But the original problem is that your / partition is not that big, I'd suggest to reinstall if you haven't done a lot of modifications yet and go at least for a 25GB / or more if you plan on installing bigger packages likes games or such.

Re: installation transactions failed

PostPosted: Jan 17th, '17, 15:51
by emlou
Thanks for the help.
I have a dual boot with windows xp so I could take some from that partition.

Re: installation transactions failed

PostPosted: Jan 18th, '17, 08:24
by jiml8
I presume there is a reason for having the clipart and uninstalling it might not be what you want.

So, what you could easily do is move the clipart to another partition, then symlink from its old location to the new one.

I recognize /dev/sda7 as the other partition you have available for linux on your hard drive, so you could move the clipart there (which means moving it into /home). This is a somewhat bastardized thing, but linux will let you do it without trouble.

To move it into /home/yourhome (where yourhome is the name of your home directory), do this (probably as root):
Code: Select all
mv /usr/share/clipart /home/yourhome/
ln -s /home/yourhome/clipart /usr/share/clipart


When you do this, your clipart will continue to function the way you are used to, and will no longer occupy space on your system partition.

Now, I emphasize that this is not what would be called a standard practice; /home is supposed to be reserved for user files specifically. But there is no reason you cannot do it - the system will let you - and it will let you keep going while you learn. At a later time, you might reorganize your system and you can fix it then.