HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   suse 9.3 install: E: Couldn't find package ncftp (http://www.howtoforge.com/forums/showthread.php?t=2245)

aallen 25th January 2006 20:55

suse 9.3 install: E: Couldn't find package ncftp
 
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/apt...3.rb0.i586.rpm
Retrieving ftp://ftp.gwdg.de/pub/linux/suse/apt...3.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/apt...3.rb0.i586.rpm
Retrieving ftp://ftp.gwdg.de/pub/linux/suse/apt...3.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:off 1:off 2:off 3:off 4:off 5:off 6:off
linux:/home/aallen # chkconfig --del SuSEfirewall2_init
SuSEfirewall2_init 0:off 1:off 2:off 3:off 4:off 5:off 6:off
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:off 1:off 2:off 3:on 4:off 5:on 6:off
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

falko 25th January 2006 22:07

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

aallen 26th January 2006 02:31

suse 9.3 install: E: Couldn't find package ncftp
 
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-bielefe...inux/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/ap...urces.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.

falko 26th January 2006 06:11

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 base 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.

aallen 26th January 2006 20:02

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


All times are GMT +2. The time now is 20:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.