Comment 4 for bug 1001846

Revision history for this message
airtonix (airtonix-gmail) wrote : Re: [Bug 1001846] Re: cobbler fails to install with error code 1

Thanks for the reply, i'll perform these actions but please for the love of
all that is sane never suggest to use vim, it is a most horribly
frustrating text editor.
this isn't gentoo after all.
On May 22, 2012 11:50 PM, "Andres Rodriguez" <email address hidden>
wrote:

> Oh, forgot to say. Please edit the following file:
>
> sudo vim /var/lib/dpkg/info/cobbler.config
>
> and add 'x' to the first line:
>
> #! /bin/sh -e
>
> So it looks like:
>
> #! /bin/sh -ex
>
> Once this is done, do:
>
> sudo dpkg-reconfigure cobbler
>
> Answer the questions and please paste the output as that information
> will help us determine what the issue might be.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1001846
>
> Title:
> cobbler fails to install with error code 1
>
> Status in “cobbler” package in Ubuntu:
> New
>
> Bug description:
> From http://ubuntuforums.org/showthread.php?t=1982943:
>
> Setting up cobbler (2.2.2-0ubuntu33) ...
> Usage: ip addr {add|change|replace} IFADDR dev STRING [ LIFETIME ]
> [ CONFFLAG-LIST ]
> ip addr del IFADDR dev STRING
> ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]
> [ to PREFIX ] [ FLAG-LIST ] [ label PATTERN ]
> IFADDR := PREFIX | ADDR peer PREFIX
> [ broadcast ADDR ] [ anycast ADDR ]
> [ label STRING ] [ scope SCOPE-ID ]
> SCOPE-ID := [ host | link | global | NUMBER ]
> FLAG-LIST := [ FLAG-LIST ] FLAG
> FLAG := [ permanent | dynamic | secondary | primary |
> tentative | deprecated | dadfailed | temporary |
> CONFFLAG-LIST ]
> CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG
> CONFFLAG := [ home | nodad ]
> LIFETIME := [ valid_lft LFT ] [ preferred_lft LFT ]
> LFT := forever | SECONDS
> dpkg: error processing cobbler (--configure):
> subprocess installed post-installation script returned error exit status
> 255
> Errors were encountered while processing:
> cobbler
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ProblemType: Bug
> DistroRelease: Ubuntu 12.04
> Package: cobbler 2.2.2-0ubuntu33
> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
> Uname: Linux 3.2.0-24-generic x86_64
> NonfreeKernelModules: rr64x zfs zcommon znvpair zavl zunicode
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: amd64
> Date: Sun May 20 13:42:26 2012
> InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release
> amd64 (20120424.1)
> PackageArchitecture: all
> ProcEnviron:
> LANGUAGE=en_AU:en
> TERM=screen
> PATH=(custom, user)
> LANG=en_AU.UTF-8
> SHELL=/bin/bash
> SourcePackage: cobbler
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1001846/+subscriptions
>