On Tue, 30 May 2006, Sven Luther wrote:

> On Tue, May 30, 2006 at 03:50:41AM -0400, Michael Furr wrote:
> > On Tue, 30 May 2006, Sven Luther wrote:
> > >   dpkg-reconfigure linux-image-2.6.16-2-powerpc
> > Well, running -reconfigure just complains its not installed... Trying to
> dpkg-reconfigure is a separate package that you need to install.
Sorry, I didn't say that very well.  I have dpkg-reconfigure installed, it
complained that linux-image-2.6.16-2-powerpc wasn't installed.

> > reinstall from aptitude with the added set -x yields exactly as you say:
> > [...]
> > + bootloader=yaboot
> > + '[' yaboot = mkvmlinuz ']'
>
> So, where is the failure ?  Can you give me the complete log ?
I have no idea where the failure is... its obviously not in that
particular script.  The only thing I see of (minute) interest is "Ok,
Aborting".  Here is the complete log of running 'aptitude install
linux-image-2.6.16-2-powerpc' with the extra set -x you mentioned before.

[EMAIL PROTECTED]:~# aptitude install linux-image-2.6.16-2-powerpc
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
  linux-image-2.6.16-2-powerpc
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/15.7MB of archives. After unpacking 48.7MB will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 95047 files and directories currently installed.)
Unpacking linux-image-2.6.16-2-powerpc (from
.../linux-image-2.6.16-2-powerpc_2.
6.16-14_powerpc.deb) ...
Ok, Aborting
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.16-2-powerpc_2.6.
16-14_powerpc.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/mkvmlinuz
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_get mkvmlinuz/bootloaders
+ _db_cmd 'GET mkvmlinuz/bootloaders'
+ echo 'GET mkvmlinuz/bootloaders'
+ IFS='
'
+ read -r _db_internal_line
+ RET=yaboot
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ bootloader=yaboot
+ '[' yaboot = mkvmlinuz ']'
Errors were encountered while processing:

/var/cache/apt/archives/linux-image-2.6.16-2-powerpc_2.6.16-14_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
[EMAIL PROTECTED]:~#




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

Reply via email to