HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Perfect Setup Suse9.3 (http://www.howtoforge.com/forums/showthread.php?t=1517)

kingkunt 3rd December 2005 02:01

Perfect Setup Suse9.3
 
I folowed the tutorial and get to the installing apt part and i get ERRORS.

Code:

auto:~ # 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

If i continue to the next part i get:

E: Couldn't find package quota
auto:~ #

My sources.list file has both the gwdg.de and the mathematik mirror uncommented,but after i run apt-get update all i get is package not found errors??

What am i missing?

falko 3rd December 2005 02:12

What's in /etc/apt/sources.list?

Instead of using apt, you can also try to install these packages with yast.

kingkunt 3rd December 2005 02:33

thanks for the quick reply.

my sources.list contains this

Code:

# 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


falko 3rd December 2005 03:14

It should contain this line:

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

Don't forget to run
Code:

apt-get update
after you've changed /etc/apt/sources.list.

kingkunt 3rd December 2005 22:04

Thanks
my problem was the file wasnt saving properly.


I ran into this problem with proftp when trying to start it

Code:

auto:/tmp # /etc/init.d/proftpd start
/etc/init.d/proftpd: line 1: {rtf1ansiansicpg1252deff0deflang1033{fonttbl{f0fromanfcharset0: command not found
/etc/init.d/proftpd: line 1: }{f1fswissfcharset0: command not found
: command not found: line 1: }}
/etc/init.d/proftpd: line 2: {*generator: command not found
/etc/init.d/proftpd: line 2: }viewkind4uc1pardsb100sa100f0fs24: command not found
: command not found: line 3: pardf1fs20par
: command not found: line 4: }

I compiled it ok and copied the proftp text to a file called proftp and saved it in init.d but when i issue the start command i get all these errors?
Do i need to save the proftp file with a certain extension.
thanks for all the help :rolleyes:

falko 3rd December 2005 22:07

Quote:

Originally Posted by kingkunt
I compiled it ok and copied the proftp text to a file called proftp and saved it in init.d

You mean proftpd, I guess?

Quote:

Originally Posted by kingkunt
but when i issue the start command i get all these errors?
Do i need to save the proftp file with a certain extension.
thanks for all the help :rolleyes:

Did you save the file with Unix linebreaks? When you created the file on a Windows system, it is likely to have Windows linebreaks.

till 4th December 2005 14:25

Quote:

Originally Posted by kingkunt
Thanks
my problem was the file wasnt saving properly.


I ran into this problem with proftp when trying to start it

Code:

auto:/tmp # /etc/init.d/proftpd start
/etc/init.d/proftpd: line 1: {rtf1ansiansicpg1252deff0deflang1033{fonttbl{f0fromanfcharset0: command not found
/etc/init.d/proftpd: line 1: }{f1fswissfcharset0: command not found
: command not found: line 1: }}
/etc/init.d/proftpd: line 2: {*generator: command not found
/etc/init.d/proftpd: line 2: }viewkind4uc1pardsb100sa100f0fs24: command not found
: command not found: line 3: pardf1fs20par
: command not found: line 4: }

I compiled it ok and copied the proftp text to a file called proftp and saved it in init.d but when i issue the start command i get all these errors?
Do i need to save the proftp file with a certain extension.
thanks for all the help :rolleyes:


For me the error message looks like you have written the file with word or wordpad and saved it as rtf file. Better use an linux editor to create the file or use an windows editor like edit or notepad and convert the linebreaks to linux linebreaks when you transfer the file with scp or ftp to your linux server.


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

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