urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

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

urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby bjarne_thomsen » Jul 6th, '19, 12:15

urpmi --replacefiles --auto-update --auto --download-all (--test)
It reported OK for upgrade with (--test)
There are 2620 packages. It all went very well until it hangs at
1526/2620 atop
so it is quite far in the process.
atop is a System and Processor monitor that I had forgotten existed. It has been carried along during upgrades.
My current kernel is
kernel 4.14.131-server-1.mga6 on a 4-processor i686
I do not need to upgrade atop.
How do I proceed ? I cannot just remove it from anoter terminal as the urpmi db is locked?
It is just sitting there...
bjarne_thomsen
 
Posts: 5
Joined: Feb 26th, '14, 17:03

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby bjarne_thomsen » Jul 6th, '19, 14:18

Followup question:
I have found the process ID by ps aux|grep urpmi
Can I just kill the process?
followed by a repeat of the urpmi command?
I have removed the package "atop" from the downloads.
bjarne_thomsen
 
Posts: 5
Joined: Feb 26th, '14, 17:03

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby doktor5000 » Jul 6th, '19, 14:57

Just Ctrl+C the running urpmi process, then remove atop and start again. But I'd guess there's something else going on, like the space filled up for /var/cache/urpmi.
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: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby bjarne_thomsen » Jul 6th, '19, 15:27

Ctrl+C does nothing in the Alt+F2 terminal. atop is really hanging.
There is 15 GB of free space in /
and var is in /
My suspicion is rather the new microcode for the kernel, but I have no idea if this is true.
atop makes a hardware investigation of the processor.
But atop is an official Mageia package.
I am afraid that I cannot kill the urpmi process from the Alt-F2 terminal.
Should I try?
bjarne_thomsen
 
Posts: 5
Joined: Feb 26th, '14, 17:03

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby bjarne_thomsen » Jul 6th, '19, 16:00

Added information:
Ctl+C produces a new line and ^C
It looks as if the install terminal has Ctl+C disabled.
I can brobably kill the urpmi process from another terminal and remove atop by using urpme.
bjarne_thomsen
 
Posts: 5
Joined: Feb 26th, '14, 17:03

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby bjarne_thomsen » Jul 6th, '19, 17:41

I would just let you know that it worked that way.
It has now been upgradet to Mageia-7 and it is working.
I have no idea what went wrong with atop.
bjarne_thomsen
 
Posts: 5
Joined: Feb 26th, '14, 17:03

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby isadora » Jul 6th, '19, 18:17

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: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: urpmi upgrade of mga6 to mga7 i586 hangs at atop-2.4.0

Postby doktor5000 » Jul 8th, '19, 16:05

bjarne_thomsen wrote:But atop is an official Mageia package.
I am afraid that I cannot kill the urpmi process from the Alt-F2 terminal.


FWIW, I've seen the same issue during my upgrade, it was hung during the %post section of atop running /etc/atop/atop.daily
I just did "kill -9" on the process that ran the rpm %post script and the upgrade continued just fine.

Code: Select all
[doktor5000@Mageia6]─[20:56:04]─[~] pstree -pas 3779
systemd,1 nokmsboot splash noiswmd 3
  └─login,17976
      └─bash,18039
          └─sudo,3779 -E urpmi --debug --replacefiles --auto-update --auto
              └─urpmi,3784 /sbin/urpmi --debug --replacefiles --auto-update --auto
                  └─sh,31012 /var/tmp/rpm-tmp.3lSBGy 2
                      └─atop,31041 -R -w /var/log/atop/atop_20190707 600

[doktor5000@Mageia6]─[20:57:20]─[~] sudo cat /var/tmp/rpm-tmp.3lSBGy
/usr/share/rpm-helper/add-service atop $1 atop


# save today's logfile (format might be incompatible)
mv /var/log/atop/atop_`date +%Y%m%d` /var/log/atop/atop_`date +%Y%m%d`.save \
        2> /dev/null || :

# create dummy files to be rotated
touch /var/log/atop/dummy_before /var/log/atop/dummy_after

# activate daily logging for today
/etc/atop/atop.daily[doktor5000@Mageia6]─[20:57:24]─[~]
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: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest