suse 9.3 install: E: Couldn't find package ncftp

Discussion in 'Installation/Configuration' started by aallen, Jan 25, 2006.

  1. aallen

    aallen New Member

    Hi,
    Your howto site looks promising. I've followd instructions so far, but, having installed apt, I am experiencing difficulties with the installation of certain packages, notably
    ncftp, quota, and now mysql. A transcript of my shell session is attached.
    Any ideas anyone?
    Thanks, Arthur

    linux:/home/aallen # rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/ap...os/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm
    Retrieving ftp://ftp.gwdg.de/pub/linux/suse/ap...os/apt-libs-0.5.15cnc7-0.suse093.rb0.i586.rpm
    warning: /var/tmp/rpm-xfer.uQJMYZ: V3 DSA signature: NOKEY, key ID 8c9b4b0d
    Preparing... ########################################### [100%]
    1:apt-libs ########################################### [100%]
    linux:/home/aallen # rpm -ivh ftp://ftp.gwdg.de/pub/linux/suse/ap...er-rbos/apt-0.5.15cnc7-0.suse093.rb0.i586.rpm
    Retrieving ftp://ftp.gwdg.de/pub/linux/suse/ap...er-rbos/apt-0.5.15cnc7-0.suse093.rb0.i586.rpm
    warning: /var/tmp/rpm-xfer.PpG53E: V3 DSA signature: NOKEY, key ID 8c9b4b0d
    Preparing... ########################################### [100%]
    1:apt ########################################### [100%]
    linux:/home/aallen # vi /etc/apt/sources.list
    linux:/home/aallen # apt-get update
    Get:1 ftp://ftp.gwdg.de SuSE/9.3-i386 release [11.5kB]
    Get:2 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386 release [11.5kB]
    Fetched 23.0kB in 3s (7485B/s)
    Get:1 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/update pkglist [741kB]
    Get:2 ftp://ftp.gwdg.de SuSE/9.3-i386/update pkglist [743kB]
    Get:3 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/update release [131B]
    Get:4 ftp://ftp.gwdg.de SuSE/9.3-i386/update release [131B]
    Get:5 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/security pkglist [530kB]
    Get:6 ftp://ftp.gwdg.de SuSE/9.3-i386/security pkglist [535kB]
    Get:7 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/security release [133B]
    Get:8 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/rpmkeys pkglist [5801B]
    Get:9 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/rpmkeys release [132B]
    Get:10 ftp://ftp.gwdg.de SuSE/9.3-i386/security release [133B]
    Get:11 ftp://ftp.gwdg.de SuSE/9.3-i386/rpmkeys pkglist [5801B]
    Get:12 ftp://ftp.gwdg.de SuSE/9.3-i386/rpmkeys release [132B]
    Fetched 2562kB in 44s (57.7kB/s)
    Reading Package Lists... Done
    Building Dependency Tree... Done
    linux:/home/aallen # apt-get install findutils ncftp readline libgcc glibc-devel
    Reading Package Lists... Done
    Building Dependency Tree... Done
    findutils is already the newest version.
    E: Couldn't find package ncftp
    linux:/home/aallen # findutils-locate gcc flex lynx compat-readline4 db-devel
    bash: findutils-locate: command not found
    linux:/home/aallen # apt-get install findutils ncftp readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel
    Reading Package Lists... Done
    Building Dependency Tree... Done
    findutils is already the newest version.
    E: Couldn't find package ncftp
    linux:/home/aallen # /etc/init.d/SuSEfirewall2_setup stop
    Shutting down the Firewall SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
    done
    linux:/home/aallen # chkconfig --del SuSEfirewall2_setup
    SuSEfirewall2_setup 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    linux:/home/aallen # chkconfig --del SuSEfirewall2_init
    SuSEfirewall2_init 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
    linux:/home/aallen # apt-get install quota
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Couldn't find package quota
    linux:/home/aallen # apt-get install bind bind-chrootenv bind-devel bind-utils
    Reading Package Lists... Done
    Building Dependency Tree... Done
    bind is already the newest version.
    bind-chrootenv is already the newest version.
    bind-utils is already the newest version.
    The following NEW packages will be installed:
    bind-devel
    0 upgraded, 1 newly installed, 0 removed and 11 not upgraded.
    Need to get 1297kB of archives.
    After unpacking 4756kB of additional disk space will be used.
    Get:1 ftp://mirrors.mathematik.uni-bielefeld.de SuSE/9.3-i386/update bind-devel 9.3.1-3.2 [1297kB]
    Fetched 1297kB in 13s (95.7kB/s)
    Checking GPG signatures...
    Committing changes...
    Preparing... ########################################### [100%]
    1:bind-devel ########################################### [100%]
    Done.
    apt executing: /sbin/SuSEconfig
    Starting SuSEconfig, the SuSE Configuration Tool...
    Running in full featured mode.
    Reading /etc/sysconfig and updating the system...
    Executing /sbin/conf.d/SuSEconfig.desktop-file-utils...
    File '/opt/kde3/share/applications/kde/knights.desktop' contains invalid MIME type 'application/x-chess-pgn,Application' that contains invalid characters
    Executing /sbin/conf.d/SuSEconfig.fonts...
    Creating cache files for Xft ......................
    Creating fonts.{scale,dir} files ..........
    Executing /sbin/conf.d/SuSEconfig.groff...
    Executing /sbin/conf.d/SuSEconfig.gtk2...
    Executing /sbin/conf.d/SuSEconfig.guile...
    Executing /sbin/conf.d/SuSEconfig.isdn...
    Modify isdn.conf
    Executing /sbin/conf.d/SuSEconfig.ispell...
    Executing /sbin/conf.d/SuSEconfig.kde...
    Executing /sbin/conf.d/SuSEconfig.kdm3...
    Executing /sbin/conf.d/SuSEconfig.libxml2...
    Executing /sbin/conf.d/SuSEconfig.news...
    Executing /sbin/conf.d/SuSEconfig.pango...
    Executing /sbin/conf.d/SuSEconfig.perl...
    Executing /sbin/conf.d/SuSEconfig.permissions...
    Executing /sbin/conf.d/SuSEconfig.postfix...
    Setting up postfix local as MDA...
    Setting SPAM protection to "off"...
    Executing /sbin/conf.d/SuSEconfig.profiles...
    Executing /sbin/conf.d/SuSEconfig.scpm...
    Executing /sbin/conf.d/SuSEconfig.sortpasswd...
    Executing /sbin/conf.d/SuSEconfig.susehelp...
    DOCALLOW: localhost
    Executing /sbin/conf.d/SuSEconfig.syslog-ng...
    Executing /sbin/conf.d/SuSEconfig.words...
    Executing /sbin/conf.d/SuSEconfig.xdm...
    Executing /sbin/conf.d/SuSEconfig.zmessages...
    Finished.
    apt executing: /sbin/ldconfig
    linux:/home/aallen # chkconfig --add named
    named 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:ff 5:eek:n 6:eek:ff
    linux:/home/aallen # /etc/init.d/named start
    Starting name server BIND
    Warning: File, /etc/named.conf.include not found. Creating it.
    done
    linux:/home/aallen # apt-get install mysql mysql-client mysql-shared mysql-devel perl-DBD-mysql perl-DBI perl-Data-ShowTable
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Package mysql-client 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
    E: Package mysql-client has no installation candidate
    linux:/home/aallen # chkconfig --add mysql
    mysql: unknown service
    mysql: not a runlevel service
    linux:/home/aallen # apt-get install mysq mysql-shared mysql-devel perl-DBD-mysql perl-DBI perl-Data-ShowTable
    Reading Package Lists... Done
    Building Dependency Tree... Done
    E: Couldn't find package mysq
    linux:/home/aallen # apt-get install mysql mysql-shared mysql-devel perl-DBD-mysql perl-DBI perl-Data-ShowTable
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Package mysql-shared 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
    E: Package mysql-shared has no installation candidate
     
  2. falko

    falko Super Moderator

    Please post /etc/apt/sources.list here. Do you use a 32-bit or a 64-bit system?
     
  3. aallen

    aallen New Member

    I'm ruuning on a pentium 4, (T30 laptop) which I believe to be a 32 bit system.
    The file you ask for is
    A very basic sources.list file.
    # Remove "base" in case you are behind a slow connection.
    # Fastest repository comes first, with netselect it is possible to determine
    # the fastest repository easily.
    # Visit the server to determine which apt components are provided.
    rpm ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt/ SuSE/9.3-i386 update security rpmkeys
    rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.3-i386 update security rpmkeys

    # The list with all available components can be found at:
    # http://linix01.gwdg.de/apt4rpm
    # Some components provide experimental software, select wisely!
    # http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-i386/examples/sources.list.FTP

    # Consult the link above if you want to include uri's for src rpms

    ----------------------------------------------------------------------------------

    I was able to make good progress regardless, using Yast and apt together. It took a bit of doing, but so far
    I seem to be ok. Thanks a bunch for a useful howto. It is nice to know that the expertize is there when needed.
     
  4. falko

    falko Super Moderator

    Your /etc/apt/sources.list is wrong. It should contain only

    Code:
    rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.3-i386 [B][COLOR="Red"]base[/COLOR][/B] update security
    as described on http://www.howtoforge.com/perfect_setup_suse_9.3_p4.

    Please change that and run
    Code:
    apt-get update
    afterwards.
     
  5. aallen

    aallen New Member

    Thanks. I did not realize that the truncated instruction line could be scrolled.
     

Share This Page