Mandriva 10.2 Perfect Setup Install Problems...

Discussion in 'Installation/Configuration' started by ctroyp, Dec 29, 2005.

  1. ctroyp

    ctroyp New Member HowtoForge Supporter

    Well, I began the install of Mandriva for ISPConfig using the "Perfect Setup".

    During the install of Mandriva 2005 (10.2), there was a problem installing some packages:
    Code:
    tkinter-2.4-5mdk.i586
    libgtkhtml-3.1_11-3.2.5-1mdk.i586
    libgal-2.2_1-2.2.5-1mdk.i586
    mailman-2.1.5-15mdk.i586
    I reinstalled Mandriva and got the same results the second time. This time I went on with the install and completed it. I then began the rest of the instructions with the "Perfect Setup".

    When installing:
    Code:
    Install Some Software
    
    apt-get install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp flex
    
    I got:
    Code:
    [root@server1 ~]# apt-get install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp flex
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Package fileutils has no available version, but exists in the database.
    This typically means that the package was mentioned in a dependency and
    never uploaded, has been obsoleted or is not available with the contents
    of sources.list
    However the following packages replace it:
      coreutils
    E: Package fileutils has no installation candidate
    
    So I went on to:
    Code:
    Quota
    
    apt-get install quota
    
    and I got:
    Code:
    [root@server1 ~]# apt-get install quota
    Reading Package Lists... Done
    Building Dependency Tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
      evolution: Depends: libgal-2.2_1 (>= 2.2.5) but it is not installable
                 Depends: libgal-2.2.so.1 but it is not installable
                 Depends: libgal-a11y-2.2.so.1 but it is not installable
                 Depends: libgtkhtml-3.1.so.11
      gtkhtml-3.1: Depends: libgtkhtml-3.1_11 (>= 3.2.5-1mdk) but it is not going to be installed
                   Depends: libgtkhtml-3.1.so.11
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    I tried:
    Code:
    [root@server1 ~]# apt-get -f install quota
    Reading Package Lists... Done
    Building Dependency Tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
      evolution: Depends: libgal-2.2_1 (>= 2.2.5) but it is not installable
                 Depends: libgal-2.2.so.1 but it is not installable
                 Depends: libgal-a11y-2.2.so.1 but it is not installable
                 Depends: libgtkhtml-3.1.so.11
      gtkhtml-3.1: Depends: libgtkhtml-3.1_11 (>= 3.2.5-1mdk) but it is not going to be installed
                   Depends: libgtkhtml-3.1.so.11
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
    Then I tried to fetch the packages with apt:
    Code:
    [root@server1 ~]# apt-get -f install libgal-2.2_1-2.2.5-1mdk.i586
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Couldn't find package libgal-2.2_1-2.2.5-1mdk.i586
    
    Any thoughts? How can I get the missing packages?
     
  2. ctroyp

    ctroyp New Member HowtoForge Supporter

    Well, disregard the above message. I got everything installed except mailman.

    I downloaded it and attempted the install but had an error:
    Code:
    [root@server1 ~]# rpm -i http://search.belnet.be/packages/mandrake/10.2/i586/media/main/mailman-2.1.5-15mdk.i586.rpm
    Reloading httpd2: [  OK  ]
    postalias: warning: My hostname server1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
    Create a new, unpopulated mailing list.
    
    Usage: /usr/lib/mailman/bin/newlist [options] [listname [listadmin-addr [admin-password]]]
    
    Options:
    
        -l language
        --language language
            Make the list's preferred language `language', which must be a two
            letter language code.
    
        -q/--quiet
            Normally the administrator is notified by email (after a prompt) that
            their list has been created.  This option suppresses the prompt and
            notification.
    
        -h/--help
            Print this help text and exit.
    
    You can specify as many of the arguments as you want on the command line:
    you will be prompted for the missing ones.
    
    Every Mailman list has two parameters which define the default host name for
    outgoing email, and the default URL for all web interfaces.  When you
    configured Mailman, certain defaults were calculated, but if you are running
    multiple virtual Mailman sites, then the defaults may not be appropriate for
    the list you are creating.
    
    You can specify the domain to create your new list in by spelling the listname
    like so:
    
        [email protected]
    
    where `www.mydom.ain' should be the base hostname for the URL to this virtual
    hosts's lists.  E.g. with is setting people will view the general list
    overviews at http://www.mydom.ain/mailman/listinfo.  Also, www.mydom.ain
    should be a key in the VIRTUAL_HOSTS mapping in mm_cfg.py/Defaults.py.  It
    will be looked up to give the email hostname.  If this can't be found, then
    www.mydom.ain will be used for both the web interface and the email
    interface.
    
    If you spell the list name as just `mylist', then the email hostname will be
    taken from DEFAULT_EMAIL_HOST and the url will be taken from DEFAULT_URL (as
    defined in your Defaults.py file or overridden by settings in mm_cfg.py).
    
    Note that listnames are forced to lowercase.
    
    Illegal list name: mailman@server1
    error: %post(mailman-2.1.5-15mdk) scriptlet failed, exit status 1
    
    Is mailman even required for the "Perfect Setup" for Mandriva 2005?

    -
     
  3. ctroyp

    ctroyp New Member HowtoForge Supporter

    Further problems...
    I tried to go on with installing MySQL and postfix. I kept getting a ton of errors:
    1) MySQL could not install because it was missing some dependencies mysql-client and mysql-common. I tried installing these and it said that I was missing perl(dbi).
    2) I could not connect to localhost through telnet...

    I am beginning to think that this Mandriva install is not for me...:rolleyes:

    The frustration has overcome me this time.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No, it is not even mentioned in the tutorial...

    Never had such problems. Make sure you follow the tutorial to the letter (except where you have to provide custom information).
    One question: is it maybe a 64-bit Mandirva you're trying to install? Maybe that's why some of the packages are missing.
     
    Last edited: Dec 29, 2005
  5. ctroyp

    ctroyp New Member HowtoForge Supporter

    I don't know how mailman was installed. The only additional packages I installed was GNOME--during the Mandriva setup. I have been using http://www.falkotimme.com/howtos/perfect_setup_mandrake_10_2/index.php. I downloaded from the mirror you provided as well. I made sure the mode date of the tutorial was the same as the one on HTF. Everything I entered was copied and pasted from the tutorial (except for settings unique to my install--ip addresses, domain, etc.). I will mention that after I installed the o/s, I switched over to my WXP machine so I could putty the rest.

    I understand now, why the four packages were missing:
    Code:
    tkinter-2.4-5mdk.i586
    libgtkhtml-3.1_11-3.2.5-1mdk.i586
    libgal-2.2_1-2.2.5-1mdk.i586
    mailman-2.1.5-15mdk.i586
    They are on the cd-rom #3, but they must have corrupted during the download, because I tried to install them after the fact; it asked for cd #3 and errored out because they corrupt. I was able to successfully download and install them from the ftp.lip6.fr mirror.

    fileutils was replaced by a newer file, but I can't remember the name.

    Went on to installing quota and it went okay (at least after I installed the above packages).

    Everything seemed to be okay again until I got to the MySQL install. I ran:
    Code:
    apt-get install MySQL MySQL-client libmysql14-devel
    This is what happened:
    Code:
    [root@server1 ~]# apt-get install MySQL MySQL-client libmysql14-devel
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      libmysql14-devel: Depends: MySQL-common (= 4.1.11-1mdk) but 5.0.17-1mdk is to be installed
                        Depends: MySQL-client (= 4.1.11-1mdk) but 5.0.17-1mdk is to be installed
    E: Broken packages
    
    I tried installing these packages (MySQL-common and MySQL-client), but was unsuccessful. It said that I needed perl(dbi), which is a dependency of MySQL-client.

    I thought I'd go on to perl, just to see what would happen there. Well, I went through all the configuration and when I tried to telnet localhost, it would not connect.

    This is when I decided to put it to rest...

    Any idea why I would have had the errors with MySQL? ...just for starters.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    It seems as if Mandriva has updated the MySQL packages to version 5.
    You can use
    Code:
    apt-cache search mysql
    to find MySQL packages for version 4.1 and install these instead.
     
  7. ctroyp

    ctroyp New Member HowtoForge Supporter

    Okay, cool. I will try that. Thanks falko!
     
  8. ctroyp

    ctroyp New Member HowtoForge Supporter

    How do I know which ones are for 4.1?
    Code:
    [root@server1 ~]# apt-cache search mysql
    libmysql15 - MySQL - Shared libraries
    libkoffice2-kexi - Libraries files for Kexi
    php-pear - PEAR - PHP Extension and Application Repository
    php-pear-MDB - MDB - unified database API
    php-pear-MDB2 - MDB2 - unified database API
    php-pear-Text_Highlighter - Text_Highlighter - Syntax highlighting
    snort - An intrusion detection system
    postfix - Postfix Mail Transport Agent
    cyrus-sasl - SASL is the Simple Authentication and Security Layer
    perl-DBD-mysql - MySQL-Perl bindings
    perl-Mail-SpamAssassin - Mail::SpamAssassin -- SpamAssassin e-mail filter Perl m                                              odules
    libfreeradius1 - Libraries for freeradius
    bind - A DNS (Domain Name System) server
    MySQL-client - MySQL - Client
    MySQL-common - MySQL: common files
    libmysql15-devel - MySQL - Development header files and libraries
    libfreeradius1-mysql - The MySQL module for freeradius
    libmysql15-static-devel - MySQL - Static development libraries
    libqt3-mysql - MySQL plugin for Qt
    libsasl2-plug-sql - SASL sql auxprop plugin
    MySQL - MySQL: a very fast and reliable SQL database engine
    MySQL-Max - MySQL - server with extended functionality
    MySQL-bench - MySQL - Benchmarks and test system
    MySQL-ndb-extra - MySQL - ndbcluster storage engine extra tools
    MySQL-ndb-management - MySQL - ndbcluster storage engine management
    MySQL-ndb-storage - MySQL - ndbcluster storage engine
    MySQL-ndb-tools - MySQL - ndbcluster storage engine basic tools
    apache-mod_auth_mysql - Basic authentication for the apache web server using a M                                              ySQL database
    gda-mysql0 - GDA MySQL Provider
    gda2.0-mysql - GDA MySQL Provider
    php-dbx - DBX extension module for PHP
    php-mysql - MySQL database module for PHP
    php-mysqli - MySQL database module for PHP
    php-pdo_mysql - MySQL Interface driver for PDO
    postfix-mysql - MYSQL map support for Postfix
    prelude-manager-mysql-plugin - MySQL report plugin for Prelude IDS Manager
    samba-passdb-mysql - Samba password database plugin for MySQL
    snort-bloat - Snort with Flexible Response
    snort-mysql - Snort with Flexible Response
    snort-mysql+flexresp - Snort with Flexible Response
    libmysql14 - MySQL - Shared libraries
    perl-Apache-Session - Apache-Session: Apache persistent user sessions
    libmysql12 - MySQL - Shared libraries
    libmysql14-devel - MySQL - Development header files and libraries
    MySQL-NDB - MySQL - server with Berkeley DB, Innodb and NDB Cluster support
    apache2-mod_auth_mysql - Basic authentication for the apache2 web server using a                                               MySQL database
    fpc - Free Pascal Compiler
    fpc-docs - Free Pascal Compiler - Documentation
    
     
  9. falko

    falko Super Moderator Howtoforge Staff

    It seems as if MySQL 4.1 is no longer available. You can try to install MySQL 5 like this instead:

    Code:
    apt-get install MySQL MySQL-client libmysql15-devel
     
  10. ctroyp

    ctroyp New Member HowtoForge Supporter

    Okay thanks again. That alowed me to move on. I hope that my 3rd party software accepts version 5 like they say they do...

    Now on to the next problem...

    When installing postfix I cannot telnet localhost. It locks up here:
    Code:
    [root@server1 ssl]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to server1 (127.0.0.1).
    Escape character is '^]'.
    
    
    Nothing happens after that...

    This is the same problem I have with Debian. This time I have entered a host and domain that is active on the internet and will not be hosted from ISPConfig. To be sure, what DNS servers should I have entered during the Mandriva setup? I am still trying to understand what DNS servers go where--still a newbie, but not a quiter!

    Thanks in advance for helping me through this...
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors in the mail log or when you restart postfix?

    You must enter external DNS Servers to resolve Domain names that are not hosted by your server. Normally you get the IP addresses of these name servers from your DSL or datacenter provider.
     
  12. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/postfix/main.cf?

    You can simply use the ones mentioned in the tutorial. What's in your /etc/resolv.conf?
     
  13. ctroyp

    ctroyp New Member HowtoForge Supporter

    Disregard gentlemen...

    I landed up aborting the Mandriva install due to these problems. I stayed up all night and reinstalled Debian. I don't know if you remember from before, but I had this same postfix problem with Debian.

    Well, I had some luck reinstalling Debian. I have ISPConfig running on it as well as postfix. Everything went flawlessly!

    All I have to do now is move the data to the new hd. I am just going to recreate my websites in ISPConfig just to keep it clean. I only have 4 hosted currently so it shouldn't be a big deal. Then I can move the site files over as required.

    Thanks!
     

Share This Page