FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-18-2009, 11:26 AM
"Dean Chester"
 
Default APT Help

Hi
When ever i try to update my SID box i keep getting these errors and it doesn't update does anyone know* how i can fix it? Here is the out put in the console:
Extracting templates from packages: 100%
Preconfiguring packages ...

(Reading database ... 267846 files and directories currently installed.)
Removing libghc6-highlighting-kate-dev ...
ghc-pkg: cannot find package highlighting-kate-0.2.1
dpkg: error processing libghc6-highlighting-kate-dev (--remove):

*subprocess pre-removal script returned error exit status 1
Reading package info from "/usr/lib/haskell-packages/ghc6/lib/highlighting-kate-0.2.1/installed-pkg-config" ... done.
ghc-pkg: dependency parsec-2.1.0.0 doesn't exist (use --force to override)

dpkg: error while cleaning up:
*subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
*libghc6-highlighting-kate-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)

A package failed to install.* Trying to recover:
Press return to continue.

Dean
 
Old 01-18-2009, 02:09 PM
Djingo Cacadril
 
Default APT Help

From: Dean Chester <dean.g.chester@googlemail.com>
> When ever i try to update my SID box i keep getting these errors and it
> doesn't update does anyone know how i can fix it?
> Here is the out put in the console:
[snip]
> Removing libghc6-highlighting-kate-dev ...
> ghc-pkg: cannot find package highlighting-kate-0.2.1

Sid is like this. Use testing instead.

Or wait a few days, till somebody uploads a fixed set of packages.

Cacadril






--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-18-2009, 02:24 PM
Daniel Burrows
 
Default APT Help

On Sun, Jan 18, 2009 at 07:09:10AM -0800, Djingo Cacadril <cacadril@yahoo.com> was heard to say:
> From: Dean Chester <dean.g.chester@googlemail.com>
> > When ever i try to update my SID box i keep getting these errors and it
> > doesn't update does anyone know how i can fix it?
> > Here is the out put in the console:
> [snip]
> > Removing libghc6-highlighting-kate-dev ...
> > ghc-pkg: cannot find package highlighting-kate-0.2.1
>
> Sid is like this. Use testing instead.
>
> Or wait a few days, till somebody uploads a fixed set of packages.

Since that's a preremoval script, waiting won't help. Luckily, the
fix is simple: he needs to get ghc-pkg onto his system. Installing
the package "ghc6" should do the trick.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-18-2009, 02:45 PM
"Dean Chester"
 
Default APT Help

GHC6 is already installed on my system apparently.
Dean

On Sun, Jan 18, 2009 at 3:24 PM, Daniel Burrows <dburrows@debian.org> wrote:

On Sun, Jan 18, 2009 at 07:09:10AM -0800, Djingo Cacadril <cacadril@yahoo.com> was heard to say:


> From: Dean Chester <dean.g.chester@googlemail.com>

> > When ever i try to update my SID box i keep getting these errors and it

> > doesn't update does anyone know *how i can fix it?

> > Here is the out put in the console:

> [snip]

> > Removing libghc6-highlighting-kate-dev ...

> > ghc-pkg: cannot find package highlighting-kate-0.2.1

>

> Sid is like this. Use testing instead.

>

> Or wait a few days, till somebody uploads a fixed set of packages.



*Since that's a preremoval script, waiting won't help. *Luckily, the

fix is simple: he needs to get ghc-pkg onto his system. *Installing

the package "ghc6" should do the trick.



*Daniel





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-18-2009, 07:35 PM
Daniel Burrows
 
Default APT Help

On Sun, Jan 18, 2009 at 03:45:55PM +0000, Dean Chester <dean.g.chester@googlemail.com> was heard to say:
> GHC6 is already installed on my system apparently.

Ah, sorry. I somehow misread / hallucinated that you got the message
"ghc-pkg: command not found". If you had, my fix would have worked
great. :-)

According to http://bugs.debian.org/507338, the fix here is to edit

/usr/lib/haskell-packages/ghc6/lib/highlighting-kate-0.2.1/installed-pkg-config

and remove the reference to "parsec". That is, change

depends: base-3.0.1.0 containers-0.1.0.1 parsec-2.1.0.0
pcre-light-0.3.1 xhtml-3000.0.2.1 base-3.0.1.0 filepath-1.1.0.0

to

depends: base-3.0.1.0 containers-0.1.0.1
pcre-light-0.3.1 xhtml-3000.0.2.1 base-3.0.1.0 filepath-1.1.0.0

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-18-2009, 08:01 PM
"Dean Chester"
 
Default APT Help

Thanks Daniel that did the trick
Dean

On Sun, Jan 18, 2009 at 8:35 PM, Daniel Burrows <dburrows@debian.org> wrote:

On Sun, Jan 18, 2009 at 03:45:55PM +0000, Dean Chester <dean.g.chester@googlemail.com> was heard to say:


> GHC6 is already installed on my system apparently.



*Ah, sorry. *I somehow misread / hallucinated that you got the message

"ghc-pkg: command not found". *If you had, my fix would have worked

great. :-)



*According to http://bugs.debian.org/507338, the fix here is to edit



/usr/lib/haskell-packages/ghc6/lib/highlighting-kate-0.2.1/installed-pkg-config



*and remove the reference to "parsec". *That is, change



depends: base-3.0.1.0 containers-0.1.0.1 parsec-2.1.0.0

* * * * pcre-light-0.3.1 xhtml-3000.0.2.1 base-3.0.1.0 filepath-1.1.0.0



*to



depends: base-3.0.1.0 containers-0.1.0.1

* * * * pcre-light-0.3.1 xhtml-3000.0.2.1 base-3.0.1.0 filepath-1.1.0.0



*Daniel





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org