Tuesday, December 4, 2012, 4:09 PM, Dan wrote:

G> Greetings all...

G> I've received a few requests lately from people wanting the latest
G> QMT-CentOS6 script... the latest of which is attached (with the
G> file extension changed to avoid being blocked by spam/av filters).

G> Save the file, remove the .TXT from the name and run it as a bash
G> script (as root: "bash QMT-CentOS6-12.10.28.sh")

G> Please provide feedback as to how well it works for you!

First attempt at the script: Started off fine, but quit with the
message "No package courier-authlib-toaster-0.59.2-1.3.10.src.rpm
available".

So, I tried the script again with the -a option to see if I could
get more details. This time, it quit much sooner:

# bash QMT-CentOS6-12.10.28.sh -a
QMailToaster UNOFFICIAL Build/Update for RHEL/CentOS 6 - Version 2012.10.27
Building for x86_64 on CentOS release 6.3 (Final)
Removing conflicting mail packages... [ DONE ]  
Updating existing packages...Loaded plugins: fastestmirror, priorities, 
refresh-packagekit
Determining fastest mirrors
 * base: less.cogeco.net
 * centosplus: less.cogeco.net
 * extras: less.cogeco.net
 * updates: less.cogeco.net
base                                                     | 3.7 kB     00:00     
base/primary_db                                          | 4.5 MB     00:03     
centosplus                                               | 3.5 kB     00:00     
centosplus/primary_db                                    | 1.8 MB     00:01     
extras                                                   | 3.5 kB     00:00     
extras/primary_db                                        |  23 kB     00:00     
updates                                                  | 3.5 kB     00:00     
updates/primary_db                                       | 4.1 MB     00:03     
56 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update [ DONE ]
Checking for EPEL repository... [ DONE ]
Checking for RPMforge/RepoForge... [ DONE ]  
Verifying CentOS Dependencies... [ -OK- ]  
Verifying Perl Dependencies in EPEL...Loaded plugins: fastestmirror, 
priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * centosplus: less.cogeco.net
 * epel: mirror.steadfast.net
 * extras: less.cogeco.net
 * updates: less.cogeco.net
146 packages excluded due to repository priority protections
Setting up Install Process
No package razor-agents available.
Error: Nothing to do
QMT-CentOS6-12.10.28.sh: Exiting from YUM error

Used RPMBone to search for razor-agents - turned out that it's on
RPMForge, but not EPEL. Edited the script accordingly and ran it again.

Checking for EPEL repository... [ DONE ]
Checking for RPMforge/RepoForge... [ DONE ]  
Verifying CentOS Dependencies... [ -OK- ]  
Verifying Perl Dependencies in EPEL... [ -OK- ]  
Verifying Perl Dependencies in RepoForge...Loaded plugins: fastestmirror, 
priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: less.cogeco.net
 * centosplus: less.cogeco.net
 * extras: less.cogeco.net
 * rpmforge: mirror.us.leaseweb.net
 * updates: less.cogeco.net
rpmforge                                                 | 1.9 kB     00:00     
69 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package razor-agents.x86_64 0:2.85-1.el6.rf will be installed
--> Processing Dependency: perl-Razor-Agent = 2.85-1.el6.rf for package: 
razor-agents-2.85-1.el6.rf.x86_64
--> Finished Dependency Resolution
Error: Package: razor-agents-2.85-1.el6.rf.x86_64 (rpmforge)
           Requires: perl-Razor-Agent = 2.85-1.el6.rf
           Installed: perl-Razor-Agent-2.85-6.el6.x86_64 (@epel)
               perl-Razor-Agent = 2.85-6.el6
           Available: perl-Razor-Agent-2.84-1.el6.rf.x86_64 (rpmforge)
               perl-Razor-Agent = 2.84-1.el6.rf
           Available: perl-Razor-Agent-2.85-1.el6.rf.x86_64 (rpmforge)
               perl-Razor-Agent = 2.85-1.el6.rf
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
qmailadmin-toaster-1.2.16-1.4.0.x86_64 has missing requires of 
control-panel-toaster >= ('0', '0.2', None)
qmailmrtg-toaster-4.2-1.3.7.x86_64 has missing requires of 
control-panel-toaster >= ('0', '0.2', None)
ucspi-tcp-toaster-0.88-1.3.9.x86_64 has missing requires of daemontools-toaster 
>= ('0', '0.76', '1.2.2')
vqadmin-toaster-2.3.7-1.4.1.x86_64 has missing requires of 
control-panel-toaster >= ('0', '0.2', None)
QMT-CentOS6-12.10.28.sh: Exiting from YUM error

So - yum remove to get rid of perl-Razor-Agent with the problematic
version number, edited the script again to use RPMForge for
perl-Razor-Agent as well. Re-ran the script. All is well until:

Checking courier-authlib-toaster-0.59.2-1.3.10.src.rpm  [FAILED]
Check /tmp/courier-authlib-toaster-0.59.2-1.3.10.log
[root@qmail2012 ~]# cat /tmp/courier-authlib-toaster-0.59.2-1.3.10.log
warning: line 452: buildprereq is deprecated: BuildPreReq:    
/usr/include/ltdl.h
warning: line 453: buildprereq is deprecated: BuildPreReq:libtool, mysql-devel, 
zlib-devel, gdbm-devel, expect, gcc-c++
warning: line 454: buildprereq is deprecated: BuildPreReq:qmail-toaster >= 
1.03-1.3.15
error: Failed build dependencies:
libtool is needed by courier-authlib-toaster-0.59.2-1.3.10.x86_64
expect is needed by courier-authlib-toaster-0.59.2-1.3.10.x86_64
Installing courier-authlib-toaster-0.59.2-1.3.10.src.rpm

*Sigh*. Back to the original source of the script failure. At least
this time I got the details that I was looking for - now I just have
to figure out how to deal with them.

-- 
Best regards,
 Diana                            mailto:[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to