[ATrpms-users] [newbie] How did I kill my system with 'apt-get update'?

Bill Stout billbrietstout at yahoo.com
Mon Apr 11 08:07:16 CEST 2005


I'm a first-time user of atrpms.net, followed
instructions and I killed my server.  What went wrong?

1st-> Followed instructions at:
http://atrpms.net/install.html

--Imported key
wget http://ATrpms.net/RPM-GPG-KEY.atrpms
rpm --import RPM-GPG-KEY.atrpms 

--Updated /etc/apt/sources.list:

# ATrpms for Fedora Core 1
# Possible sections: at-stable, at-good, at-testing,
at-bleeding
rpm http://apt.atrpms.net fedora/2/en/i386 at-testing
#rpm-src http://apt.atrpms.net fedora/2/en/i386
at-testing

2nd-> ran apt-get update
 *Everything looked OK*

3rd-> ran apt-get dist-upgrade
 *Things went to the crapper*

The following packages will be UPDATED: <blah>
The following packages will be REPLACED: <blah>
The following NEW packages will be installed: <blah>
The following packages have been kept back <blah>
This should NOT be done unless you know exactly what
you are doing!
  apt rpm (due to apt)
71 packages upgraded, 42 newly installed, 1 replaced,
27 removed and 19 not upgr
aded.
Need to get 83.8MB of archives.
After unpacking 103MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!
Get :1
...
Get :113
Fetched 83.8MB in 11m18s (123kB/s)
Executing RPM (-e)...
warning: /etc/webalizer.conf saved as
/etc/webalizer.conf.rpmsave
groupdel: group rpm does not exist
warning: /etc/sysconfig/rhn/up2date-uuid saved as
/etc/sysconfig/rhn/up2date-uuid.rpmsave
warning: /etc/sysconfig/rhn/up2date saved as
/etc/sysconfig/rhn/up2date.rpmsave
warning: /etc/sysconfig/rhn/rhn-applet saved as
/etc/sysconfig/rhn/rhn-applet.rpmsave
warning: /etc/apt/sources.list saved as
/etc/apt/sources.list.rpmsave
Executing RPM (-Uvh)...
Could not exec /bin/rpm
E: Sub-process /bin/rpm returned an error code (100)
[root at Lincoln nagios-2.0b1]# apt-get --help
-bash: /usr/bin/apt-get: No such file or directory
[root at Lincoln nagios-2.0b1]# which rpm
/usr/bin/which: no rpm in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[root at Lincoln nagios-2.0b1]# apt-get update
-bash: /usr/bin/apt-get: No such file or directory



...ah...dammit...I'm running EL3.  Refer back to
phrase "This should NOT be done unless you know
exactly what you are doing!"

ok, is there a way to back out of this?  Or should I
copy off my config and data files and rebuild?

Bill



More information about the atrpms-users mailing list