[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re-Need advice on Upgrade Apache apache-dev_1.3.9-13.2.deb



Hi mike,
Thank you for your help on the previous email.
I would like to upgrade apache using debian package.

1)I think I make a mistake on the path setting for sources.list:
should be :
deb file:/var/ftp/debian potato main
instead of :
deb file:/var/ftp/debian potato main apache-dev_1.3.9-13.2.deb
I think the path setting so set anydirectory befoe binary-i386, please correct me if I am wrong.

2) I think I shouldn't download the whole package from /potato, since my interest is on upgrading apache. So, I download only the apache-dev_1.3.9-13.2 and run dpkg --install :

/home/lchan/temp/testinstall>dpkg --install apache-dev_1.3.9-13.2.deb

msg displayed :
(Reading database ... 25731 files and directories currently installed.)
Preparing to replace apache-dev 1.3.9-13.2 (using apache-dev_1.3.9-13.2.deb) ...
Unpacking replacement apache-dev ...
Setting up apache-dev (1.3.9-13.2) ...

Can anyone tell me is these mean the upgrading done ? When I run dpkg -l | pager, I can view :

ii  apache        1.3.9-13.2     Versatile, high-performance HTTP server
ii  apache-common 1.3.9-13.2     Support files for all Apache webservers
ii  apache-dev    1.3.9-13.2     Apache webserver development kit

and I able to find apxs command.

3) The old version is installed in /etc/apache. When I view the version :
/usr/sbin>apache -v
Server version: Apache/1.3.9 (Unix) Debian/GNU
Server built:   Jan 26 2001 00:10:13

Does it means the version is not upgrading to apache-dev ??

Anyhelp is appreciated.  Thanks in advance.

Best Regards,
Kennice
-----------------------------------------------------------------------

wrote by Kennice on 22/08/01:

Hi,

I would like to upgrade apache version from 1.3.9-13.2 to apache-dev_1.3.9-13.2 which allow me to used apxs command. I follow the instruction on Release Notes for Debian GNU/Linux 2.2('potato'), Intelx86 Chapter 3 Upgrades from previous release (http://www.debian.org/releases/2.2/i386/release-notes/ch-upgrading.en.html). Here is the setting in sources.list

------------------------------------------------------------------------
deb file:/var/ftp/debian potato main apache-dev_1.3.9-13.2.deb

------------------------------------------------------------------------
I stored the .deb file in :
/var/ftp/debian/dists/potato/main/binary-i386/apache-dev.1.3.9-13.2.deb

A error message displayed :
------------------------------------------------------------------------
Err file: potato/main Packages
 File not found
Ign file: potato/main Release
Err file: potato/apache-dev_1.3.9-13.2.deb Packages
 File not found
Ign file: potato/apache-dev_1.3.9-13.2.deb Release
Failed to fetch file:/var/ftp/debian/dists/potato/main/binary-i386/Packages
 File not found
Failed to fetch file:/var/ftp/debian/dists/potato/apache-dev_1.3.9-13.2.deb/binary-i386/Packages
 File not found
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'file: potato/main Packages' (/var/state/apt/lists/_var_ftp_debian_dists_potato_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list 'file: potato/apache-dev_1.3.9-13.2.deb Packages' (/var/state/apt/lists/_var_ftp_debian_dists_potato_apache-dev%5f1.3.9-13.2.deb_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
E: Some index files failed to download, they have been ignored, or old ones used instead.
------------------------------------------------------------------------
questions:
1) I suspect I make a mistake on the path setting. I have tried to amend the directory path with few combination. Unfortunately it not work. Can anyone help me on this ?

2) Can I upgrade apache from apache orginasation www.apache.org instead of .deb file ??

3) May I know what is the command to check the version of debian that I am using ?

Any help is appreciated.  Thanks in advance.

best regards,
Kennice
------------------------------------------------------------------------

*-*-*-*-*-*---*-*-*-*---**-*-*--*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-

wrote by mike on 9/8/01:

Assuming that you really need to upgrade to a source package instead of
waiting for the deb package and assuming you installed the compiled
binaries in /usr/local instead of /usr you should be able to use the
same config files, assuming that they take the same options between
versions.  Make sure that the package doesn't install defaults in /etc
as well.  Make backups before you make install it.  The short answer:
*shrugs shoulders* Try it and see.  As long as it's in /usr/local it
shouldn't pollute the rest of your system.

--mike

wrote by kennice on 9/8/01


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

Hi,

I am using Debian Apache Web server package. The Apache is 1.3.9.  I would
like to upgrade the Apache server.   Can I download from the apache web site
?   How would this effect my existing work  (ie. the configuration file -
access.conf... and the html file and servlet script)?

Thanks in advance.

best regards,
Kennice

-*-*-*-*-*-*--*-*-*-*-*-*------*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



Reply to: