[CentOS] Install from cdrom and Update repo

Sat Mar 15 15:53:47 UTC 2014
EljiUdia <eljiudia at yahoo.com>

I expose my supposition, wherewith I try to close this thread..
The /root/install.log contains the installed package in order to installed moments. The first remark is the packages from update are install the last. Begining to coreutils package, all following packages belong to update repository.

An example from  install.log file:

Installing rt73usb-firmware-1.8-7.el6.noarch
Installing ipw2100-firmware-1.3-11.el6.noarch
Installing ql23xx-firmware-3.03.27-3.1.el6.noarch
Installing ipw2200-firmware-3.1-4.el6.noarch
Installing rootfiles-8.1-6.1.el6.noarch

Installing coreutils-libs-8.4-31.el6_5.1.x86_64
Installing coreutils-8.4-31.el6_5.1.x86_64
Installing nspr-4.10.2-1.el6_5.x86_64
Installing nss-util-3.15.3-1.el6_5.x86_64
Installing nss-3.15.3-6.el6_5.x86_64
Installing nss-sysinit-3.15.3-6.el6_5.x86_64
Installing p11-kit-0.18.5-2.el6_5.2.x86_64
Installing p11-kit-trust-0.18.5-2.el6_5.2.x86_64
Installing ca-certificates-2013.1.95-65.1.el6_5.noarch
Installing openssl-1.0.1e-16.el6_5.4.x86_64
Installing mysql-libs-5.1.73-3.el6_5.x86_64


My supposition is Anaconda works in this way:
- Get package lists from all repositories. 
- Install packages from cdrom, which have no corespondent is other repository(updates)
- Install the remaining packages from update. Because coreutils have a new build in Updates, it is installed after all packages in cdrom repository.

I have been working with this kickstart since few months and it had ran correctly .. until March 12. 
Coincidence or not, coreutils has been added on the same date
File:coreutils-8.4-31.el6_5.1.x86_64.rpm        3109 KB         12-Mar-14       4:30:00 PM

 
 
 
 




On Saturday, March 15, 2014 4:55 PM, Eero Volotinen <eero.volotinen at iki.fi> wrote:
 
Maybe your cd is broken..
15.3.2014 16.45 kirjoitti "EljiUdia" <eljiudia at yahoo.com>:

> Why it works if I install from URL, not cdrom ?
> With the same kickstart file
>
>
>
>
>
> On Saturday, March 15, 2014 4:40 PM, Eero Volotinen <eero.volotinen at iki.fi>
> wrote:
>
> well, your kickstart is broken: see line:  %packages --nobase
>
> --
> Eero
>
>
> 2014-03-15 16:33 GMT+02:00 EljiUdia <eljiudia at yahoo.com>:
>
> >
> > Is not from me.
> > Anaconda tries to install other packages which depend on coreutil before
> > coreutils.
> > I saw this in /root/install.log .
> >
> > By example, cronie-anacon uses touch command in its postinstalls script,
> > but anaconda don't install coreutil before
> >
> >
> >
> >
> >
> > On , EljiUdia <eljiudia at yahoo.com> wrote:
> >
> > Is not from me.
> > Anaconda tries to install other packages which depend on coreutil before
> > coreutils.
> > I saw this in /root/install.log .
> >
> > By example, cronie-anacon uses touch command in its postinstalls script,
> > but anaconda don't install coreutil before
> >
> >
> >
> >
> >
> >
> > On Saturday, March 15, 2014 4:24 PM, Reindl Harald <
> h.reindl at thelounge.net>
> > wrote:
> >
> >
> > Am 15.03.2014 15:20, schrieb EljiUdia:
> > > Moving forward, I have found that some packages are installed before
> > other which depends on them.
> > > By example, rsyslog requires command "touch" , but package containing
> > this command(coreutils) is installed after the rsyslog.
> > Selinux-policy-target is one of them
> > >
> > > Installing rsyslog-5.8.10-8.el6.x86_64
> > > /var/tmp/rpm-tmp.pg2Vvm: line 5: touch: command not found
> > > /var/tmp/rpm-tmp.pg2Vvm: line 5: touch: command not found
> > > /var/tmp/rpm-tmp.pg2Vvm: line 5: touch: command not found
> > > /var/tmp/rpm-tmp.pg2Vvm: line 5:
> >  touch: command not found
> > > warning: %post(rsyslog-5.8.10-8.el6.x86_64) scriptlet failed, exit
> > status 127
> > >
> > > And is not the only one
> >
> > how do you manage to install a system without coreutils?
> > this would be a completly broken setup from the first second
> > look at what *essential* commands it provides
> >
> > [root at openvas:~]$ rpm -q --filesbypkg coreutils | grep /bin
> > coreutils                 /bin/arch
> > coreutils                 /bin/basename
> > coreutils                 /bin/cat
> > coreutils
> >  /bin/chgrp
> > coreutils                 /bin/chmod
> > coreutils                 /bin/chown
> > coreutils                 /bin/cp
> > coreutils                 /bin/cut
> > coreutils                 /bin/date
> > coreutils                 /bin/dd
> > coreutils                 /bin/df
> > coreutils                 /bin/echo
> > coreutils                 /bin/env
> > coreutils                 /bin/false
> > coreutils
> >               /bin/link
> > coreutils                 /bin/ln
> > coreutils                 /bin/ls
> > coreutils                 /bin/mkdir
> > coreutils                 /bin/mknod
> > coreutils                 /bin/mktemp
> > coreutils                 /bin/mv
> > coreutils                 /bin/nice
> > coreutils                 /bin/pwd
> > coreutils                 /bin/readlink
> > coreutils
> >  /bin/rm
> > coreutils                 /bin/rmdir
> > coreutils                 /bin/sleep
> > coreutils                 /bin/sort
> > coreutils                 /bin/stty
> > coreutils                 /bin/su
> > coreutils                 /bin/sync
> > coreutils                 /bin/touch
> > coreutils                 /bin/true
> > coreutils                 /bin/uname
> > coreutils                 /bin/unlink
> > coreutils
> >                 /usr/bin/[
> > coreutils                 /usr/bin/base64
> > coreutils                 /usr/bin/chcon
> > coreutils                 /usr/bin/cksum
> > coreutils                 /usr/bin/comm
> > coreutils                 /usr/bin/csplit
> > coreutils                 /usr/bin/cut
> > coreutils                 /usr/bin/dir
> > coreutils                 /usr/bin/dircolors
> > coreutils                 /usr/bin/dirname
> > coreutils                 /usr/bin/du
> > coreutils                 /usr/bin/env
> > coreutils                 /usr/bin/expand
> > coreutils                 /usr/bin/expr
> > coreutils                 /usr/bin/factor
> > coreutils                 /usr/bin/fmt
> > coreutils                 /usr/bin/fold
> > coreutils                 /usr/bin/groups
> > coreutils                 /usr/bin/head
> > coreutils                 /usr/bin/hostid
> > coreutils                 /usr/bin/id
> > coreutils                 /usr/bin/install
> > coreutils                 /usr/bin/join
> > coreutils                 /usr/bin/logname
> > coreutils                 /usr/bin/md5sum
> > coreutils                 /usr/bin/mkfifo
> > coreutils                 /usr/bin/nl
> > coreutils                 /usr/bin/nohup
> > coreutils                 /usr/bin/nproc
> > coreutils                 /usr/bin/od
> > coreutils                 /usr/bin/paste
> > coreutils                 /usr/bin/pathchk
> > coreutils                 /usr/bin/pinky
> > coreutils                 /usr/bin/pr
> > coreutils                 /usr/bin/printenv
> > coreutils                 /usr/bin/printf
> > coreutils                 /usr/bin/ptx
> > coreutils                 /usr/bin/readlink
> > coreutils                 /usr/bin/runcon
> > coreutils
> >  /usr/bin/seq
> > coreutils                 /usr/bin/sha1sum
> > coreutils                 /usr/bin/sha224sum
> > coreutils                 /usr/bin/sha256sum
> > coreutils                 /usr/bin/sha384sum
> > coreutils                 /usr/bin/sha512sum
> > coreutils                 /usr/bin/shred
> > coreutils                 /usr/bin/shuf
> > coreutils                 /usr/bin/split
> > coreutils                 /usr/bin/stat
> > coreutils
> >         /usr/bin/stdbuf
> > coreutils                 /usr/bin/sum
> > coreutils                 /usr/bin/tac
> > coreutils                 /usr/bin/tail
> > coreutils                 /usr/bin/tee
> > coreutils                 /usr/bin/test
> > coreutils                 /usr/bin/timeout
> > coreutils                 /usr/bin/tr
> > coreutils                 /usr/bin/truncate
> > coreutils                 /usr/bin/tsort
> > coreutils
> >         /usr/bin/tty
> > coreutils                 /usr/bin/unexpand
> > coreutils                 /usr/bin/uniq
> > coreutils                 /usr/bin/users
> > coreutils                 /usr/bin/vdir
> > coreutils                 /usr/bin/wc
> > coreutils                 /usr/bin/who
> > coreutils                 /usr/bin/whoami
> > coreutils                 /usr/bin/yes
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos

>
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos