[SOLVED] installation transactions failed

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] installation transactions failed

Postby chip » Jun 10th, '19, 02:51

I seem to be having trouble updating my system via the mgaapplet.
This is the error message I get after trying to install.

Code: Select all
1 installation transactions failed

There was a problem during the installation:

installing package kernel-desktop-4.14.116-1.mga6-1-1.mga6.x86_64 needs 1744 inodes on the / filesystem

installing package lib64jasper1-1.900.23-5.2.mga6.x86_64 needs 1747 inodes on the / filesystem

installing package openssh-7.5p1-2.4.mga6.x86_64 needs 1771 inodes on the / filesystem

installing package openssh-clients-7.5p1-2.4.mga6.x86_64 needs 1765 inodes on the / filesystem

installing package jasper-1.900.23-5.2.mga6.x86_64 needs 1761 inodes on the / filesystem

installing package kernel-desktop-devel-latest-4.14.116-1.mga6.x86_64 needs 1750 inodes on the / filesystem

installing package lib64qtdesigner4-4:4.8.7-15.1.mga6.x86_64 needs 1757 inodes on the / filesystem

installing package lib64qtdeclarative4-4:4.8.7-15.1.mga6.x86_64 needs 1755 inodes on the / filesystem

installing package lib64qtscripttools4-4:4.8.7-15.1.mga6.x86_64 needs 1756 inodes on the / filesystem

installing package qt4-qtdbus-4:4.8.7-15.1.mga6.x86_64 needs 1756 inodes on the / filesystem

installing package lib64qt3support4-4:4.8.7-15.1.mga6.x86_64 needs 1758 inodes on the / filesystem

installing package lib64qt4-database-plugin-sqlite-4:4.8.7-15.1.mga6.x86_64 needs 1757 inodes on the / filesystem

installing package lib64qt4-database-plugin-mysql-4:4.8.7-15.1.mga6.x86_64 needs 1758 inodes on the / filesystem

installing package cronie-1.5.4-1.mga6.x86_64 needs 1779 inodes on the / filesystem

installing package cronie-anacron-1.5.4-1.mga6.x86_64 needs 1775 inodes on the / filesystem

installing package tar-1.31-1.1.mga6.x86_64 needs 1787 inodes on the / filesystem

installing package bluez-5.45-2.3.mga6.x86_64 needs 1815 inodes on the / filesystem

installing package binutils-1:2.32-1.1.mga6.x86_64 needs 1813 inodes on the / filesystem

installing package cpupower-4.14.116-1.mga6.x86_64 needs 1787 inodes on the / filesystem

installing package lib64qtmultimedia4-4:4.8.7-15.1.mga6.x86_64 needs 1777 inodes on the / filesystem

installing package lib64qtopengl4-4:4.8.7-15.1.mga6.x86_64 needs 1778 inodes on the / filesystem

installing package lib64qttest4-4:4.8.7-15.1.mga6.x86_64 needs 1779 inodes on the / filesystem

installing package lib64bluez3-5.45-2.3.mga6.x86_64 needs 1779 inodes on the / filesystem

installing package openssh-askpass-common-7.5p1-2.4.mga6.x86_64 needs 1780 inodes on the / filesystem

installing package lib64ilmimf2_2_22-2.2.0-10.1.mga6.x86_64 needs 1784 inodes on the / filesystem

installing package kernel-userspace-headers-4.14.116-1.mga6.x86_64 needs 2726 inodes on the / filesystem


This is the laptop I am using.
Lenovo Thinkpad Mageia 6
KDE Plasma Version 5.12.2
KDE Frameworks Version 5.42.0
QT Version 5.9.4
Kernel Version4.14.106-desktop-1.mga6
OS type 64 bit
Processors 4xAMD A4-5000 APU/Radeon
Memory 3.1 GiB RAM
Sda: 450G
sda1: 12G
Does anyone have any ideas for me to try and fix this?
Thank you
Last edited by doktor5000 on Jun 18th, '19, 18:16, edited 2 times in total.
Reason: added code tags, marked as solved
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby doktor5000 » Jun 10th, '19, 07:46

Well, the issue is pretty obvious in each and every line:

installing package [...] needs 1744 inodes on the / filesystem


The amount of inodes on your / filesystem is insufficient to contain a few more files, which usually means that you have a huge amount of files somewhere. Please show the output as root of

Code: Select all
df -i /
du --inodes -d 3 / | sort -rn | head


For some context information, check e.g. https://www.ctrl.blog/entry/how-to-all- ... nodes.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby chip » Jun 11th, '19, 01:57

Code: Select all
[chippermon@localhost ~]$ su
Password:
[root@localhost chippermon]# df -i /
Filesystem     Inodes IUsed IFree IUse% Mounted on
/dev/sda1        770K  746K   25K   97% /
[root@localhost chippermon]# du --inodes -d 3 / | sort -rn | head
du: cannot access '/proc/23953/task/23953/fd/4': No such file or directory
du: cannot access '/proc/23953/task/23953/fdinfo/4': No such file or directory
du: cannot access '/proc/23953/fd/3': No such file or directory
du: cannot access '/proc/23953/fdinfo/3': No such file or directory
1021    /proc/3893/map_files
1007    /usr/share/mime
998     /proc/4971/map_files
987     /proc/3646
979     /proc/3916/task
969     /home/chippermon/.mozilla
967     /proc/3614
960     /proc/3491
959     /proc/3595/map_files
956     /proc/5698/map_files
[root@localhost chippermon]#
Last edited by isadora on Jun 11th, '19, 08:25, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby doktor5000 » Jun 12th, '19, 08:30

Yep, as expected - 97% inodes in use. Although it seems the filesystem might be messed up. I'd suggest a reboot, then try the second command again and post the output here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby chip » Jun 12th, '19, 13:27

[root@localhost chippermon]# du --inodes -d 3 / | sort -rn | head
du: cannot access '/proc/4340/task/4340/fd/4': No such file or directory
du: cannot access '/proc/4340/task/4340/fdinfo/4': No such file or directory
du: cannot access '/proc/4340/fd/3': No such file or directory
du: cannot access '/proc/4340/fdinfo/3': No such file or directory
1021 /proc/3902/map_files
1007 /usr/share/mime
987 /proc/3617
979 /proc/3946/task
967 /proc/3589
950 /home/chippermon/.mozilla
925 /proc/3745
923 /proc/3895/map_files
919 /proc/3954/map_files
911 /proc/987
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby isadora » Jun 12th, '19, 15:06

We did it a couple of times for you, but will you please put command-output in between [CODE]-tags, to keep the whole thing a little bit readable.
Thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2457
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands

Re: 1 installation transactions failed

Postby doktor5000 » Jun 13th, '19, 08:23

Output seems strange. Can you try again with

Code: Select all
find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n


This will not show the number of inodes, but the directories with the most files inside of them. And please add code-tags around the output as mentioned by isadora.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby chip » Jun 15th, '19, 02:29

Code: Select all
[chippermon@localhost ~]$ su
Password:
[root@localhost chippermon]# find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
      1 07507260-f.pdf
      1 ATT001.jpg
      1 .audacity-data
      1 avery template.odt
      1 .bash_completion
      1 .bash_history
      1 .bash_logout
      1 .bash_profile
      1 .bashrc
      1 .bogofilter
      1 .chbg_prop
      1 .cups
      1 Dave Wood 130 High.xls
      1 ._DigitalBitbox_2.2.2_Linux64
      1 DigitalBitbox_2.2.2_Linux64
      1 DigitalBitbox_2.2.2_Linux64.tar.gz
      1 .directory
      1 .dmrc
      1 .e
      1 .esd_auth
      1 .gstreamer-0.10
      1 hs_err_pid17643.log
      1 hs_err_pid26302.log
      1 hs_err_pid9438.log
      1 .i18n
      1 .ICEauthority
      1 .icons
      1 journal.log
      1 .lesshst
      1 LifeLabReportJuly152016.pdf
      1 Macs Circle K.ods
      1 .mageiawelcome
      1 .mdk-menu-migrated
      1 .menu-updates.stamp
      1 .MgaOnline
      1 Mike Rossi.ods
      1 Odroid
      1 .odt
      1 .pan2
      1 Problem during installation
      1 .qt
      1 .recently-used
      1 resize partition.odt
      1 .screenrc
      1 Shoeless Joe.ods
      1 Shoeless Joe.pdf
      1 Shoeless Joe.pdf.xml
      1 Stocks
      1 Trim.ods
      1 troubleshoot.txt
      1 Truck Frame.ods
      1 .Xauthority
      1 .Xdefaults
      1 .xfce4-session.verbose-log
      1 .xfce4-session.verbose-log.last
      1 .xscreensaver
      1 .xsession-errors
      2 .alsaplayer
      2 .dbus
      2 .gnome2
      2 .hplip
      2 .pdf.xml
      2 .winff
      2 .xdg_menu_cache
      2 .xls
      3 .gnupg
      3 .java
      3 .openshot
      3 .pki
      3 .sane
      3 .xine
      4 .dia
      4 .icedtea
      4 .xchat-gnome
      5 .pdf
      6 .scribus
      7 Coat of Arms
      8 Desktop
      8 kmail
      9 Linux Course
     12 .sabnzbd
     13 Books
     13 .ods
     16 .gimp-2.8
     17 .adobe
     18 .dropbox
     22 .kompozer.net
     24 .luckyBackup
     30 .macromedia
     38 .AMD
     54 Calibre Library
     58 firefox
     63 .fontconfig
    118 Azureus Downloads
    124 .dropbox-dist
    151 Snowboard Addiction
    152 Phone photos
    223 Videos
    232 .cinnamon
    308 .thunderbird
    396 TSPA
    485 Photos
    539 .mozilla
    543 tmp
    747 .config
    796 Pictures
   1038 London
   1042 .kde4
   1285 Downloads
   2132 .local
   2717 .thumbnails
   9761 Documents
  25307 Music
  57641 .cache
[root@localhost chippermon]#



Yes. Code Brackets. Sorry for that. I will do that always. The .cache looks to be abnormally high. Is this something I should be deleting regularly?
Thank you.
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby benmc » Jun 15th, '19, 03:12

observation:
chip wrote:[chippermon@localhost ~]$ su
,

I note you are using "su" to enable root user.
Have a read here: https://unix.stackexchange.com/question ... ot-just-su

cheers
benmc
 
Posts: 746
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: 1 installation transactions failed

Postby doktor5000 » Jun 15th, '19, 15:00

doktor5000 wrote:Output seems strange. Can you try again with

Code: Select all
find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n



As you ran that in your home folder, this won't help much with / filesystem. Try again as root with

Code: Select all
find / -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby doktor5000 » Jun 15th, '19, 15:01

chip wrote:The .cache looks to be abnormally high. Is this something I should be deleting regularly?

No, in generally not.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby chip » Jun 17th, '19, 03:24

Code: Select all
[chippermon@localhost ~]$ su-
bash: su-: command not found
[chippermon@localhost ~]$ su -
Password:
[root@localhost ~]# find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
      1 .aria2-adaptive-stats
      1 .bash_completion
      1 .bash_history
      1 .bash_logout
      1 .bash_profile
      1 .bashrc
      1 .cshrc
      1 .dbus
      1 .local
      1 .rpmdrake
      1 .tcshrc
      1 .vimrc
      1 .xauth
      1 .xauthDx0ZRP
      1 .Xdefaults
      2 .MgaOnline
      4 .AMD
      4 .config
      9 drakx
     34 .mozilla
     43 .kde4
    558 .cache
[root@localhost ~]# find / -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
      1 .cache
      1 .dbus
      1 dead.letter
      1 .kde4
      1 .readahead_collect
    150 boot
    669 root
   1443 var
   1933 etc
 600277 usr
[root@localhost ~]#
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby doktor5000 » Jun 17th, '19, 12:14

Looks like you have quite a lot installed under /usr. Did you maybe install kernel sources or any of the bigger game packages ? Please run this command on /usr as root:

Code: Select all
find /usr -xdev -type f | cut -d "/" -f 2,3,4 | sort | uniq -c | sort -rn | head -25


FWIW, just tested on a regular mga6 installation and here /usr only has 100.000 inodes ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14770
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: 1 installation transactions failed

Postby chip » Jun 18th, '19, 03:29

Hmmm. I haven't any games on my computer and if I did install any kernel sources there it was totally by mistake. Here is the output.

Code: Select all
[root@localhost ~]# find /usr -xdev -type f | cut -d "/" -f 2,3,4 | sort | uniq -c | sort -rn | head -25
 108758 usr/lib/modules
  26422 usr/share/icons
  15288 usr/src/kernel-4.14.106-desktop-1.mga6
  15288 usr/src/kernel-4.14.104-desktop-2.mga6
  15288 usr/src/kernel-4.14.100-desktop-1.mga6
  15286 usr/src/kernel-4.14.89-desktop-1.mga6
  15284 usr/src/kernel-4.14.78-desktop-1.mga6
  15284 usr/src/kernel-4.14.70-desktop-2.mga6
  15284 usr/src/kernel-4.14.69-desktop-1.mga6
  15284 usr/src/kernel-4.14.65-desktop-1.mga6
  15283 usr/src/kernel-4.14.62-desktop-2.mga6
  15283 usr/src/kernel-4.14.56-desktop-1.mga6
  13623 usr/share/doc
  13577 usr/src/kernel-4.4.114-desktop-1.mga5
  13576 usr/src/kernel-4.4.111-desktop-1.mga5
  13573 usr/src/kernel-4.4.92-desktop-1.mga5
  13573 usr/src/kernel-4.4.88-desktop-1.mga5
  13573 usr/src/kernel-4.4.105-desktop-1.mga5
  13571 usr/src/kernel-4.4.82-desktop-1.mga5
  13571 usr/src/kernel-4.4.79-desktop-1.mga5
  13571 usr/src/kernel-4.4.74-desktop-1.mga5
  13569 usr/src/kernel-4.4.39-desktop-1.mga5
  13567 usr/src/kernel-4.4.68-desktop-1.mga5
  13567 usr/src/kernel-4.4.65-desktop-1.mga5
  13567 usr/src/kernel-4.4.59-desktop-1.mga5
[root@localhost ~]#
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby daniewicz » Jun 18th, '19, 04:02

Looks like you need to uninstall some (all) of those older kernels. You only need one (the latest).
The dude abides.
User avatar
daniewicz
 
Posts: 158
Joined: Feb 10th, '13, 03:37

Re: 1 installation transactions failed

Postby chip » Jun 18th, '19, 04:23

I see. So, is it possible or advisable to navigate to that folder and simply delete the old kernels? I had no idea they were still hanging around. I was not aware that the old kernels still remained. Foolishly I presumed they were removed automatically. Periodically I would remove the old ones from my boot menu via the Mageia control painel but clearly that was only specific to the boot menu.

When I do navigate to the folders and right click a menu there is not an option to move it to the trash so I am not sure how this could be achieved.
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby chip » Jun 18th, '19, 04:54

okay, I finally found it in the MCC. Thank you
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby benmc » Jun 18th, '19, 04:56

chip wrote:So, is it possible or advisable to navigate to that folder and simply delete the old kernels?

best not.

you can safely remove all .mga5 kernels, and mga6 up to 4.14.100. (I generally keep 2 kernels myself)
start Mageia Control Centre.

the two radio buttons to the left of the search window should both read "all".
in the search window just enter "kernel" (no quotation marks).

should return a list of all installed kernels ( and headers etc.)
Just untick the excess kernels and "apply", (bottom right)

a window will popup listing all the kernels you have marked for removal and associated packages. (ok)
this will take some time.
upon completion, a new grub menu will be created.

note: removing the kernel entries from grub does not remove the kernels, as you have noted, just the entry from grub.

now, upon completion, if you re-run the code that you initially had issues with, what is returned?

oops, just read your opening post again.

in a root terminal run
Code: Select all
urpmi --auto-update

does this now return any errors
benmc
 
Posts: 746
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: 1 installation transactions failed

Postby chip » Jun 18th, '19, 05:41

I uninstalled the redundant kernels via Mageia Control Centre. I updated the system via the mgaaplet and everything worked perfectly.

Thank you
doktor 5000
isadora
benmc
daniewicz
chip
 
Posts: 9
Joined: Jun 10th, '19, 02:35

Re: 1 installation transactions failed

Postby isadora » Jun 18th, '19, 09:05

Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2457
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron