Bug#391094: packaging errors remove old apache2 but prevent install of apache2.2

2006-10-05 Thread Steve Langasek
On Thu, Oct 05, 2006 at 09:36:29AM +0200, David Paleino wrote:
> Hi Moshe,
> it's not that serious problem.
> You can solve by simply doing a:

> # dpkg --force-overwrite -i
> /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb

Which can break your system in all kinds of other subtle ways...

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#391094: packaging errors remove old apache2 but prevent install of apache2.2

2006-10-05 Thread David Paleino
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Langasek wrote:
> On Thu, Oct 05, 2006 at 09:36:29AM +0200, David Paleino wrote:
>> Hi Moshe,
>> it's not that serious problem.
>> You can solve by simply doing a:
>> 
>> # dpkg --force-overwrite -i
>> /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb
> 
> Which can break your system in all kinds of other subtle ways...

How could it?

It will overwrite only /usr/share/man/man8/suexec.8.gz , and that's just
a man page.

I've never had problems with --force-overwrite, have I just been lucky?

David

- --
Linux Registered User #334216
Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1
Staff >> http://www.debianizzati.org <<
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.9.20 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJV0k5qqQFxOSsXQRAuYbAKCAGI4f/rOtHjAOghgC2ctnEIEHkwCgqe1B
LyR/2Pxx09SOyCkTptgS6W4=
=DLAX
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#391094: packaging errors remove old apache2 but prevent install of apache2.2

2006-10-05 Thread David Paleino
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Moshe,
it's not that serious problem.
You can solve by simply doing a:

# dpkg --force-overwrite -i
/var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb

That should work.

Secondly, the package apache2.2 doesn't appear because it simply does
not exist. It's apache2 with version 2.2.3-1.

And, by the way, you are lucky you had only this problem: in fact, I
can't use PHP, because there's not a libapache2-mod-php5 for this
version of apache (just upgraded today). But that's another question.

Cheers,
David

- --
Linux Registered User #334216
Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1
Staff >> http://www.debianizzati.org <<
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.9.20 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJLX95sXXcRsFI+cRApZHAKClafDfA1m1zX6JqTYMnRcQ0qleVgCgpC9b
fKhDB3aKOX+3Sr4wfiiRW7A=
=Sg2N
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#391094: packaging errors remove old apache2 but prevent install of apache2.2

2006-10-04 Thread Moshe Yudkowsky
Package: apache2.2
Version: 2.2.3-1
Severity: grave
Justification: renders package unusable

When I attempted to dist-upgrade, my apache2 was removed, but apache2.2 was not 
installed.

I had a series of complaints about -- I do not have the output saved, my 
apologies -- that vesion 2.0-something of apache2-common (IIRC) was stricly 
required, but I had 2.2-something installed.

I then attempted some manual fixes. What I get is:

# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apache2.2-common
The following NEW packages will be installed:
  apache2.2-common
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
Need to get 0B/917kB of archives.
After unpacking 3314kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  apache2.2-common
Install these packages without verification [y/N]? y
(Reading database ... 269191 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.3-1_i386.deb) ...
dpkg: error processing 
/var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man8/suexec.8.gz', which is also in 
package apache-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/apache2.2-common_2.2.3-1_i386.deb

In other words: apt-get removed my working apache2 installation but failed to 
install the apache2.2 replacement and my web server is down. I expect I'll 
figure it out eventually (suggestions welcome). My somewhat practiced eye makes 
me think it's a packaging problem, as the dist-upgrade process chokes on 
unresolved dependencies.

Side comment: if the package is named apache2.2, it ought to show up as 
apache2.2 in the dpkg -l listings.

# dpkg -l apache2*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version  Description
+++---
iU  apache2  2.2.3-1  Next generation, 
scalable, extendable web server
rc  apache2-common   2.0.55-4.2   next generation, 
scalable, extendable web server
un  apache2-dev (no description 
available)
un  apache2-doc (no description 
available)
un  apache2-modules (no description 
available)
un  apache2-mpm-perchild(no description 
available)
pn  apache2-mpm-prefork (no description 
available)
un  apache2-mpm-threadpool  (no description 
available)
iU  apache2-mpm-worker   2.2.3-1  High speed 
threaded model for Apache HTTPD 2.1
un  apache2-prefork-dev (no description 
available)
un  apache2-threaded-dev(no description 
available)
ii  apache2-utils2.2.3-1  utility programs 
for webservers
in  apache2.2-common(no description 
available)



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]