[tools] mrepo create wrong sha1sum

Stephan Hendl Stephan.Hendl at lds.brandenburg.de
Wed May 2 10:18:56 CEST 2007


Hi list,

I've a strange problem running mrepo during night on an CentOS 4.4 system for FC6 updates.

The calculated sha1sum by mrepo for the updated tcpdump as well as the libpcap packets (and only for these two packets!) are different to the estimated by the FC6 installation program - therefor the http based installation with kickstart fails.

Regards,
Stephan

[root at lkvbb2 repodata]# rpm -qa mrepo
mrepo-0.8.4-1.el4.rf

[root at lkvbb2 repodata]# sha1sum /ftp/mrepo/FC6-i386/updates/tcpdump-3.9.4-10.fc6.i386.rpm
ff96b19fc143e19d2154cc1a65dceb5d64f7fdf3  /ftp/mrepo/FC6-i386/updates/tcpdump-3.9.4-10.fc6.i386.rpm

[root at lkvbb2 repodata]# zcat filelists.xml.gz | grep tcpdump
<package pkgid="b800f281187f03a9b3d6242b99d128e925b4f5b9" name="tcpdump" arch="i386">
  <file>/usr/sbin/tcpdump</file>
  <file>/usr/share/doc/tcpdump-3.9.4/CHANGES</file>
  <file>/usr/share/doc/tcpdump-3.9.4/LICENSE</file>
  <file>/usr/share/doc/tcpdump-3.9.4/README</file>
  <file>/usr/share/man/man8/tcpdump.8.gz</file>
  <file type="dir">/usr/share/doc/tcpdump-3.9.4</file>

[root at lkvbb2 repodata]# cat /etc/mrepo.conf
### Configuration file for mrepo

### The [main] section allows to override mrepo's default settings
### The mrepo-example.conf gives an overview of all the possible settings
[main]
srcdir = /var/mrepo
wwwdir = /var/www/mrepo
confdir = /etc/mrepo.conf.d
arch = i386
apt = yes
createrepo = yes
yum = yes

## Specify the required proxy settings
no_proxy = localhost,lkvbb2
ftp_proxy = ***
http_proxy = ***
https_proxy = ***

mailto = stephan.hendl at lds.brandenburg.de 
smtp-server = mailrelay.lvnbb.de

#rhnlogin = username:password
rhnlogin = ***:****

### Any other section is considered a definition for a distribution
### You can put distribution sections in /etc/mrepo.conf.d/
### Examples can be found in the documentation at:
###     /usr/share/doc/mrepo-0.8.4/dists/.

[root at lkvbb2 repodata]# cat /etc/mrepo.conf.d/fc6.conf
[FC6]
name = Fedora Core $release ($arch)
release = 6
iso = FC-$release-$arch-DVD.iso
core = http://wftp.tu-chemnitz.de/pub/linux/fedora-core/$release/$arch/os/ 
updates = http://wftp.tu-chemnitz.de/pub/linux/fedora-core/updates/$release/$arch/ 
extras = http://wftp.tu-chemnitz.de/pub/linux/fedora-core-extras/$release/$arch/ 
livna = http://rpm.livna.org/fedora/6/i386/ 
dag = http://ftp-stud.fht-esslingen.de/dag/fedora/6/en/i386/dries/RPMS/ 
lds = file:///ftp/Linux/ldsrpms/





More information about the tools mailing list