Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0005573: "An error occurred while installing packages" message during upgrade

$
0
0
While doing an upgrade from CentOS 5.7 to 5.8 with the installer on the CD, I get a message saying "An error occurred while installing packages. Please examine /root/install.log on your installed system for detailed information".<br /> <br /> This occurs first at the end of the second CD and may occur again at the end of subsequent CDs. The error message may be suppressed for the last CD in the set. The error message seems to be bogus, as there are no errors in install.log and the system seems to get upgraded just fine. However, there are some entries in upgrade.log.syslog which may explain the error message:<br /> <br /> <86>Mar 6 09:07:03 useradd[1213]: failed adding user `mailnull', data deleted<br /> <86>Mar 6 09:07:03 useradd[1214]: failed adding user `smmsp', data deleted<br /> <86>Mar 6 09:07:03 useradd[1232]: failed adding user `nscd', data deleted<br /> <86>Mar 6 09:07:20 useradd[1298]: failed adding user `sshd', data deleted<br /> <86>Mar 6 09:07:44 useradd[1361]: failed adding user `dbus', data deleted<br /> <86>Mar 6 09:08:07 useradd[2052]: failed adding user `rpcuser', data deleted<br /> <86>Mar 6 09:11:49 useradd[2450]: failed adding user `apache', data deleted<br /> <86>Mar 6 09:12:04 useradd[2486]: failed adding user `gdm', data deleted<br /> <86>Mar 6 09:12:15 useradd[2557]: failed adding user `ntp', data deleted<br /> <br /> These users were already present in CentOS 5.7. It's possible that the installer get confused about useradd's exit value of 9 in cases like this.<br /> <br /> This error message does not seem to occur when upgrading 5.7 to 5.8 with a DVD, because only the first DVD is used in 5.7->5.8 upgrades and the installer seems to disregard any errors that show up during the installation of the last CD/DVD in the set.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>