Re: dpkg: error processing package mysql-client

2023-07-20 Thread Andy Smith
Hello,

On Thu, Jul 20, 2023 at 08:17:34PM -0400, Greg Wooledge wrote:
> On Thu, Jul 20, 2023 at 05:55:12PM -0600, William Torrez Corea wrote:
> > Setting up mysql-common (8.0.34-1debian11) ...
> 
> This package did not come from Debian.

[…]

> If your third-party MySQL packages are not working, you might seek help
> from whoever built them.

I would add that the fact that OP is having problems on an upgrade
with third party packages probably means that OP did not read the
release notes regarding identifying third party repositories, so OP
should also definitely go and read those before any upgrade.

https://www.debian.org/releases/stable/releasenotes
https://www.debian.org/releases/bullseye/releasenotes

(not sure which release OP is upgrading to; 11 (bullseye)
maybe.)

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: dpkg: error processing package mysql-client

2023-07-20 Thread Greg Wooledge
On Thu, Jul 20, 2023 at 05:55:12PM -0600, William Torrez Corea wrote:
> Setting up mysql-common (8.0.34-1debian11) ...

This package did not come from Debian.  That's not a Debian version
string (*none* of them have that pattern, with the literal word "debian"
in between numbers), and besides, looking at
 you can clearly see that no
version of Debian has a mysql-common package with a version number
that high.

If your third-party MySQL packages are not working, you might seek help
from whoever built them.  Failing that, you should *definitely* back
up your database(s) if possible, and then give serious thought to
purging these packages by whatever means, and then reinstalling them.
Or installing Debian's Mariadb packages instead.

Once you get a working database back on the system, then you can restore
your backed-up data.



dpkg: error processing package mysql-client

2023-07-20 Thread William Torrez Corea
*I try to update, upgrade my operating system but i get the following
error:*

Setting up mysql-common (8.0.34-1debian11) ...
update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback
doesn't
exist
dpkg: error processing package mysql-common (--configure):
 installed mysql-common package post-installation script subprocess
returned err
or exit status 2
dpkg: dependency problems prevent configuration of mysql-community-server:
 mysql-community-server depends on mysql-common (>= 8.0.34-1debian11);
however:
  Package mysql-common is not configured yet.
  Version of mysql-common on system, provided by mysql-common:amd64, is
.

dpkg: error processing package mysql-community-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-community-server (= 8.0.34-1debian11);
however:
  Package mysql-community-server is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-community-client:
 mysql-community-client depends on mysql-common (>= 8.0.34-1debian11);
however:
  Package mysql-common is not configured yet.
  Version of mysql-common on system, provided by mysql-common:amd64, is
.

dpkg: error processing package mysql-community-client (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-client:
 mysql-client depends on mysql-community-client (= 8.0.34-1debian11);
however:
  Package mysql-community-client is not configured yet.

dpkg: error processing package mysql-client (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-common
 mysql-community-server
 mysql-server
 mysql-community-client
 mysql-client
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 

With kindest regards, William.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄


Re: debian 9.1 dpkg error when installing xemacs and erlang

2017-08-14 Thread Mark Fletcher
On Fri, Aug 11, 2017 at 04:19:24PM +0200, Rémy Noulin wrote:
> Hi Mark,
> After running:
> apt-get install emacs25-el
> 
> I get another error:
> 
> While compiling erlang-edoc-xml-context in file
> /usr/share/xemacs21/site-lisp/erlang/erlang-edoc.el:
>   !! File error (("Cannot open load file" "xmltok"))
> 
> According to apt-file, xmltok is in emacs25-el and should be already
> installed:
> 
> emacs25-common: /usr/share/emacs/25.1/lisp/nxml/xmltok.elc
> emacs25-el: /usr/share/emacs/25.1/lisp/nxml/xmltok.el.gz
> 
> Cheers,
> Remy
> 
What about emacs25-common?

Mark



Re: debian 9.1 dpkg error when installing xemacs and erlang

2017-08-11 Thread Rémy Noulin
Hi Mark,
After running:
apt-get install emacs25-el

I get another error:

While compiling erlang-edoc-xml-context in file
/usr/share/xemacs21/site-lisp/erlang/erlang-edoc.el:
  !! File error (("Cannot open load file" "xmltok"))

According to apt-file, xmltok is in emacs25-el and should be already
installed:

emacs25-common: /usr/share/emacs/25.1/lisp/nxml/xmltok.elc
emacs25-el: /usr/share/emacs/25.1/lisp/nxml/xmltok.el.gz

Cheers,
Remy


On Fri, Aug 11, 2017 at 3:41 AM, Mark Fletcher <mark2...@gmail.com> wrote:

> On Thu, Aug 10, 2017 at 06:37:41PM +0200, Rémy Noulin wrote:
> > On a freshly installed debian 9.1, apt-get fails to install xemacs due to
> > some compilation related to erlang, here is the interesting part of log:
> >
> > Compiling /usr/share/xemacs21/site-lisp/erlang/erldoc.el...
> > While compiling toplevel forms in file
> > /usr/share/xemacs21/site-lisp/erlang/erldoc.el:
> >   !! File error (("Cannot open load file" "cl-lib"))
> > >>Error occurred processing erldoc.el: Cannot open load file: cl-lib
> >
> > Compiling /usr/share/xemacs21/site-lisp/erlang/path.el...
> > Wrote /usr/share/xemacs21/site-lisp/erlang/path.elc
> > Done
> > ERROR: install script from erlang-mode package failed
> > dpkg: error processing package xemacs21-mule (--configure):
> >  subprocess installed post-installation script returned error exit
> status 1
> > dpkg: dependency problems prevent configuration of xemacs21:
> >  xemacs21 depends on xemacs21-mule (>= 21.4.24-4) |
> xemacs21-mule-canna-wnn
> > (>= 21.4.24-4) | xemacs21-nomule (>= 21.4.24-4); however:
> >   Package xemacs21-mule is not configured yet.
> >   Package xemacs21-mule-canna-wnn is not installed.
> >   Package xemacs21-nomule is not installed.
> >
> > dpkg: error processing package xemacs21 (--configure):
> >  dependency problems - leaving unconfigured
> > Errors were encountered while processing:
> >  xemacs21-mule
> >  xemacs21
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
>
> OK so it looks like it can't complete the build because the cl-lib
> component it needs is missing.
>
> A good guess would be that this file is in another package that isn't
> installed, that the package for xemacs assumes will be installed but
> which isn't in its dependencies. That would arguably be a bug, but even
> if it is a bug that doesn't help you much, you still need to navigate
> out of the situation you are in.
>
> So here's how to determine where that cl-lib component is:
>
> 1. Install apt-file if you don't have it already.
> 2. sudo apt-file update
> <you'll get a bunch of irrelevant output and it will take a minute or two>
> 3. apt-file search cl-lib
>
> On my system the 3rd command produces:
>
> aolserver4-doc: /usr/share/doc/aolserver4-doc/
> html/devel/tcl/tcl-libraries.html
> emacs24-common: /usr/share/emacs/24.5/lisp/emacs-lisp/cl-lib.elc
> emacs24-el: /usr/share/emacs/24.5/lisp/emacs-lisp/cl-lib.el.gz
> emacs25-common: /usr/share/emacs/25.1/lisp/emacs-lisp/cl-lib.elc
> emacs25-el: /usr/share/emacs/25.1/lisp/emacs-lisp/cl-lib.el.gz
> maxima-src: /usr/share/maxima/5.38.1/src/numerical/f2cl-lib.lisp
>
> aolserver4-doc and maxima-src are probably red herrings. You need one or
> more of emacs2{4,5}-{common,el} installed. I _think_ you are going to
> want to go either with the -24 or -25 series, not both, and if you held
> a gun to my head I would say it's probably the -el package rather than
> the -common package that you need, but that could easily be wrong. See
> which ones are not already installed on your system -- something that's
> already there isn't the missing package! :)
>
> Hope that helps.
>
> Mark
>
>


Re: debian 9.1 dpkg error when installing xemacs and erlang

2017-08-10 Thread Mark Fletcher
On Thu, Aug 10, 2017 at 06:37:41PM +0200, Rémy Noulin wrote:
> On a freshly installed debian 9.1, apt-get fails to install xemacs due to
> some compilation related to erlang, here is the interesting part of log:
> 
> Compiling /usr/share/xemacs21/site-lisp/erlang/erldoc.el...
> While compiling toplevel forms in file
> /usr/share/xemacs21/site-lisp/erlang/erldoc.el:
>   !! File error (("Cannot open load file" "cl-lib"))
> >>Error occurred processing erldoc.el: Cannot open load file: cl-lib
> 
> Compiling /usr/share/xemacs21/site-lisp/erlang/path.el...
> Wrote /usr/share/xemacs21/site-lisp/erlang/path.elc
> Done
> ERROR: install script from erlang-mode package failed
> dpkg: error processing package xemacs21-mule (--configure):
>  subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of xemacs21:
>  xemacs21 depends on xemacs21-mule (>= 21.4.24-4) | xemacs21-mule-canna-wnn
> (>= 21.4.24-4) | xemacs21-nomule (>= 21.4.24-4); however:
>   Package xemacs21-mule is not configured yet.
>   Package xemacs21-mule-canna-wnn is not installed.
>   Package xemacs21-nomule is not installed.
> 
> dpkg: error processing package xemacs21 (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  xemacs21-mule
>  xemacs21
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 

OK so it looks like it can't complete the build because the cl-lib 
component it needs is missing. 

A good guess would be that this file is in another package that isn't 
installed, that the package for xemacs assumes will be installed but 
which isn't in its dependencies. That would arguably be a bug, but even 
if it is a bug that doesn't help you much, you still need to navigate 
out of the situation you are in.

So here's how to determine where that cl-lib component is:

1. Install apt-file if you don't have it already.
2. sudo apt-file update
<you'll get a bunch of irrelevant output and it will take a minute or two>
3. apt-file search cl-lib

On my system the 3rd command produces:

aolserver4-doc: /usr/share/doc/aolserver4-doc/html/devel/tcl/tcl-libraries.html
emacs24-common: /usr/share/emacs/24.5/lisp/emacs-lisp/cl-lib.elc
emacs24-el: /usr/share/emacs/24.5/lisp/emacs-lisp/cl-lib.el.gz
emacs25-common: /usr/share/emacs/25.1/lisp/emacs-lisp/cl-lib.elc
emacs25-el: /usr/share/emacs/25.1/lisp/emacs-lisp/cl-lib.el.gz
maxima-src: /usr/share/maxima/5.38.1/src/numerical/f2cl-lib.lisp

aolserver4-doc and maxima-src are probably red herrings. You need one or 
more of emacs2{4,5}-{common,el} installed. I _think_ you are going to 
want to go either with the -24 or -25 series, not both, and if you held 
a gun to my head I would say it's probably the -el package rather than 
the -common package that you need, but that could easily be wrong. See 
which ones are not already installed on your system -- something that's 
already there isn't the missing package! :)

Hope that helps.

Mark



debian 9.1 dpkg error when installing xemacs and erlang

2017-08-10 Thread Rémy Noulin
On a freshly installed debian 9.1, apt-get fails to install xemacs due to
some compilation related to erlang, here is the interesting part of log:

Compiling /usr/share/xemacs21/site-lisp/erlang/erldoc.el...
While compiling toplevel forms in file
/usr/share/xemacs21/site-lisp/erlang/erldoc.el:
  !! File error (("Cannot open load file" "cl-lib"))
>>Error occurred processing erldoc.el: Cannot open load file: cl-lib

Compiling /usr/share/xemacs21/site-lisp/erlang/path.el...
Wrote /usr/share/xemacs21/site-lisp/erlang/path.elc
Done
ERROR: install script from erlang-mode package failed
dpkg: error processing package xemacs21-mule (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of xemacs21:
 xemacs21 depends on xemacs21-mule (>= 21.4.24-4) | xemacs21-mule-canna-wnn
(>= 21.4.24-4) | xemacs21-nomule (>= 21.4.24-4); however:
  Package xemacs21-mule is not configured yet.
  Package xemacs21-mule-canna-wnn is not installed.
  Package xemacs21-nomule is not installed.

dpkg: error processing package xemacs21 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 xemacs21-mule
 xemacs21
E: Sub-process /usr/bin/dpkg returned an error code (1)


Cheers
Remy


Re: dpkg error

2017-05-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, May 31, 2017 at 01:37:45PM +0200, tony wrote:
> On 31/05/17 10:46, to...@tuxteam.de wrote:
> >
> > There is an error in uvl-raspidisp-extra's post-remove script. You
> > have several options:
> >
> >  - Yell (OK, be gentle and polite: after all they've worked for you
> >for free :) at the packagers. Perhaps they have a mailing list?
> >
> >  - try "apt-get remove --force-yes --purge uv4l-raspidisp-extras"
> >This is somewhat risky, since you don't know what exactly broke
> >in the postrm script and whether it has left sharp and/or flammable
> >debris behind it.
> >
> >  - try to debug the post-remove script. The script itself is located
> >in /var/lib/dpkg/info/uv4l-raspidisp-extras.postrm (I'm assuming
> >a Debian-ish layout). If you find anything of relevance, you should
> >contact the packagers. It seems that the post-remove script is
> >stumbling upon an unexpected condition.
> >
> >Those scripts are supposed to be idempotent, i.e. calling them
> >several times in a row should have the same effect than calling
> >them just once. But since the script is freaking out, tread
> >carefully...
> >
> > Good luck
> > -- tomás
> >
> Thanks for your reply, Tomas. You are correct, it's not a debian
> package; it comes from here: https://www.linux-projects.org/.
> 
> I tried (2), with no useful effect. I've now done (1), and await a
> result.  I don't think I'm up to (3), which is why I'm asking here.

It actually just takes a bit of stubbornness and lots of patience.
A little help from your friends... and of course, good backups :-)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlkur/UACgkQBcgs9XrR2kZ0kgCfXSUjNqiEAMHRoNC+DOlj9lVL
SHIAmwT+RyfbENGTCdzQ8iEHfpAC4buB
=dNbO
-END PGP SIGNATURE-



Re: dpkg error

2017-05-31 Thread tony
On 31/05/17 10:46, to...@tuxteam.de wrote:
>
> There is an error in uvl-raspidisp-extra's post-remove script. You
> have several options:
>
>  - Yell (OK, be gentle and polite: after all they've worked for you
>for free :) at the packagers. Perhaps they have a mailing list?
>
>  - try "apt-get remove --force-yes --purge uv4l-raspidisp-extras"
>This is somewhat risky, since you don't know what exactly broke
>in the postrm script and whether it has left sharp and/or flammable
>debris behind it.
>
>  - try to debug the post-remove script. The script itself is located
>in /var/lib/dpkg/info/uv4l-raspidisp-extras.postrm (I'm assuming
>a Debian-ish layout). If you find anything of relevance, you should
>contact the packagers. It seems that the post-remove script is
>stumbling upon an unexpected condition.
>
>Those scripts are supposed to be idempotent, i.e. calling them
>several times in a row should have the same effect than calling
>them just once. But since the script is freaking out, tread
>carefully...
>
> Good luck
> -- tomás
>
Thanks for your reply, Tomas. You are correct, it's not a debian
package; it comes from here: https://www.linux-projects.org/.

I tried (2), with no useful effect. I've now done (1), and await a
result.  I don't think I'm up to (3), which is why I'm asking here.






Re: dpkg error

2017-05-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, May 31, 2017 at 09:46:46AM +0200, tony wrote:
> Anyone, please?
> 
> On 30/05/17 16:21, tony wrote:
> > I'm trying to upgrade my packages, but am getting:
> >
> > root@picam1:~# apt-get upgrade
> > Reading package lists... Done
> > Building dependency tree   
> > Reading state information... Done
> > Calculating upgrade... Done
> > The following packages will be REMOVED:
> >   uv4l-raspidisp-extras

Difficult to say. The package in question (uvl-raspidisp-extras) doesn't
seem to be part of Debian...

> > 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> > 1 not fully installed or removed.
> > After this operation, 422 kB disk space will be freed.
> > Do you want to continue? [Y/n] y
> > (Reading database ... 104725 files and directories currently installed.)
> > Removing uv4l-raspidisp-extras (1.5) ...
> > insserv: warning: script 'uv4l_uvc' missing LSB tags and overrides

The above seems harmless, but reveals some sloppiness on the part
of uvl-raspidisp's packagers.

> > insserv: There is a loop between service watchdog and uv4l_uvc if stopped
> > insserv:  loop involving service uv4l_uvc at depth 2
> > insserv:  loop involving service watchdog at depth 1
> > insserv: Stopping uv4l_uvc depends on watchdog and therefore on system
> > facility `$all' which can not be true!
> > insserv: exiting now without changing boot order!
> > update-rc.d: error: insserv rejected the script header
> > dpkg: error processing package uv4l-raspidisp-extras (--remove):
> >  subprocess installed post-removal script returned error exit status 1
> > Errors were encountered while processing:
> >  uv4l-raspidisp-extras
> > E: Sub-process /usr/bin/dpkg returned an error code (1)

There is an error in uvl-raspidisp-extra's post-remove script. You
have several options:

 - Yell (OK, be gentle and polite: after all they've worked for you
   for free :) at the packagers. Perhaps they have a mailing list?

 - try "apt-get remove --force-yes --purge uv4l-raspidisp-extras"
   This is somewhat risky, since you don't know what exactly broke
   in the postrm script and whether it has left sharp and/or flammable
   debris behind it.

 - try to debug the post-remove script. The script itself is located
   in /var/lib/dpkg/info/uv4l-raspidisp-extras.postrm (I'm assuming
   a Debian-ish layout). If you find anything of relevance, you should
   contact the packagers. It seems that the post-remove script is
   stumbling upon an unexpected condition.

   Those scripts are supposed to be idempotent, i.e. calling them
   several times in a row should have the same effect than calling
   them just once. But since the script is freaking out, tread
   carefully...

Good luck
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlkugt4ACgkQBcgs9XrR2kZV+ACfdGorIh+6SqHrIAbmeeseBsrT
E8cAmwV4ELsoH9JhMsn/L6raArjqkzga
=9SaQ
-END PGP SIGNATURE-



Re: dpkg error

2017-05-31 Thread tony
Anyone, please?

On 30/05/17 16:21, tony wrote:
> I'm trying to upgrade my packages, but am getting:
>
> root@picam1:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> Calculating upgrade... Done
> The following packages will be REMOVED:
>   uv4l-raspidisp-extras
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 422 kB disk space will be freed.
> Do you want to continue? [Y/n] y
> (Reading database ... 104725 files and directories currently installed.)
> Removing uv4l-raspidisp-extras (1.5) ...
> insserv: warning: script 'uv4l_uvc' missing LSB tags and overrides
> insserv: There is a loop between service watchdog and uv4l_uvc if stopped
> insserv:  loop involving service uv4l_uvc at depth 2
> insserv:  loop involving service watchdog at depth 1
> insserv: Stopping uv4l_uvc depends on watchdog and therefore on system
> facility `$all' which can not be true!
> insserv: exiting now without changing boot order!
> update-rc.d: error: insserv rejected the script header
> dpkg: error processing package uv4l-raspidisp-extras (--remove):
>  subprocess installed post-removal script returned error exit status 1
> Errors were encountered while processing:
>  uv4l-raspidisp-extras
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> How do I get out of this pickle?
>



dpkg error

2017-05-30 Thread tony
I'm trying to upgrade my packages, but am getting:

root@picam1:~# apt-get upgrade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  uv4l-raspidisp-extras
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 422 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 104725 files and directories currently installed.)
Removing uv4l-raspidisp-extras (1.5) ...
insserv: warning: script 'uv4l_uvc' missing LSB tags and overrides
insserv: There is a loop between service watchdog and uv4l_uvc if stopped
insserv:  loop involving service uv4l_uvc at depth 2
insserv:  loop involving service watchdog at depth 1
insserv: Stopping uv4l_uvc depends on watchdog and therefore on system
facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package uv4l-raspidisp-extras (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 uv4l-raspidisp-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)


How do I get out of this pickle?



dpkg: error: error executing hook

2016-05-10 Thread Curt
I just now installed several fresh security updates for Wheezy LTS and received
the following error from dpkg (and I quote):

 dpkg: error: error executing hook 'if [ -x 
/usr/share/debian-security-support/check-support-status.hook ] ; then 
/usr/share/debian-security-support/check-support-status.hook ; fi', exit code 
2560
 E: Sub-process /usr/bin/dpkg returned an error code (2)

I guess it won't kill me but is there anything I should do (apart from filing a 
bug
report)?

-- 
Hypertext--or should I say the ideology of hypertext?--is ultrademocratic and
so entirely in harmony with the demagogic appeals to cultural democracy that
accompany (and distract one’s attention from) the ever-tightening grip of 
plutocratic capitalism. - Susan Sontag



Re: dpkg error (I think)

2015-02-20 Thread Reco
 Hi again.

On Wed, Feb 18, 2015 at 12:38:54PM +0300, Reco wrote:
  Hi.
 
 On Wed, Feb 18, 2015 at 02:47:58AM -0500, Brian Chrzanowski wrote:
  Hello debian heroes,
  
  I have a problem with installing packages with aptitude, and dpkg. I'm 
  running debian 7.8, but the problem arose when I foolishly canceled 
  apt-get autoremove
  when I saw that gnome was getting removed. Now, every time I attempt to 
  install any package, I see something like the following: 
  http://paste.debian.net/151248
  / 
  
  All help and input is appreciated.
 
 Looks like a corrupted /var/lib/dpkg/triggers/File to me.
 Can you post its contents please?

I received your private e-mail with the contents of triggers/File, but I
prefer list e-mails to the private ones.

Try to backup /var/lib/dpkg/triggers/File and replace its contents with
the result of (basically, it should remove arch identifier from the
package name):

sed -r 's/:[^:]+$//' /var/lib/dpkg/triggers/File

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150220130824.GA25305@x101h



dpkg error (I think)

2015-02-18 Thread Brian Chrzanowski
Hello debian heroes,

I have a problem with installing packages with aptitude, and dpkg. I'm
running debian 7.8, but the problem arose when I foolishly canceled
apt-get autoremove when I saw that gnome was getting removed. Now, every
time I attempt to install any package, I see something like the following:
http://paste.debian.net/151248/

All help and input is appreciated.

-A helpless Debian user


Re: dpkg error (I think)

2015-02-18 Thread Reco
 Hi.

On Wed, Feb 18, 2015 at 02:47:58AM -0500, Brian Chrzanowski wrote:
 Hello debian heroes,
 
 I have a problem with installing packages with aptitude, and dpkg. I'm 
 running debian 7.8, but the problem arose when I foolishly canceled apt-get 
 autoremove
 when I saw that gnome was getting removed. Now, every time I attempt to 
 install any package, I see something like the following: 
 http://paste.debian.net/151248
 / 
 
 All help and input is appreciated.

Looks like a corrupted /var/lib/dpkg/triggers/File to me.
Can you post its contents please?

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150218093854.GA9955@x101h



Re: dpkg error (I think)

2015-02-18 Thread Darac Marjal
On Wed, Feb 18, 2015 at 02:47:58AM -0500, Brian Chrzanowski wrote:
Hello debian heroes,
I have a problem with installing packages with aptitude, and dpkg. I'm
running debian 7.8, but the problem arose when I foolishly canceled
apt-get autoremove when I saw that gnome was getting removed. Now, every
time I attempt to install any package, I see something like the
following: [1]http://paste.debian.net/151248/ 
All help and input is appreciated.

Autoremove will uninstall packages that are A) installed, B) marked as
automatically installed (in other words, not explicitly required by the
administrator) and C) not depended upon by any other package. So, if
it's trying to remove gnome, it's because the system thinks it's not
not needed. The simplest solution there is to apt-get install gnome
which should unmark it as automatic as well as making sure it's fully
installed.

As to the error (which, given the paste was only a dozen lines, you
probably should have put directly into your mail), check that your
system is properly multiarch-enabled ('dpkg --version' should report
1.16.2 or later, 'dpkg --print-architecture' should print your preferred
architecture and 'dpkg --print-foreign-architectures' should print your
alternative architecture(s)).

You might also try running dpkg --audit to see what state your system
is in (no output is good output :)

-A helpless Debian user
 
 References
 
Visible links
1. http://paste.debian.net/151248/


signature.asc
Description: Digital signature


unstable: dpkg: error processing package dbus

2015-02-14 Thread Felix Natter
hello debian users,

I just tried to update my unstable VM, but I get this:

dpkg: error processing package dbus (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for dbus:
 dbus depends on libdbus-1-3 (= 1.7.6); however:
  Package libdbus-1-3:amd64 is not configured yet.

(many times...)

-- Is this a known problem?

Many Thanks and Best Regards,
-- 
Felix Natter


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87egpsu4lu@bitburger.home.felix



dpkg error installing ncurses deb made with checkinstall

2015-01-18 Thread Linux4Bene
Hi,

I have previously compiled ncurses 5.9 without a problem.
The config command:
./configure --with-shared --enable-termcap --prefix=/usr/local

make install also works on my Debian Wheezy.
I want to use this same package on my server, so I decided to build a deb
using checkinstall. Building is done with this command:

sudo checkinstall -D --pkgname=ictforce-ncurses-5.9 make install

However, when I try to install the package I get an error on a man page:

Uitpakken van myncurses-5.9 (uit .../myncurses-5.9_5.9-1_amd64.deb) ...
dpkg: error processing /home/user/src/ncurses-5.9/
myncurses-5.9_5.9-1_amd64.deb (--install):
 unable to open '/usr/local/share/man/man3/menu_new.3menu.gz.dpkg-new': 
Bestand of map bestaat niet
 Processing triggers for man-db ...
 Fouten gevonden tijdens behandelen van:
  /home/user/src/ncurses-5.9/myncurses-5.9_5.9-1_amd64.deb

I have tried copying another man page to the location dpkg complains 
about, but that doesn't work. Neither does creating an file in the ncurses 
man directory prior to running the checkinstall command.
To me, I couldn't care less about the referenced man page, I don't need 
it. I can see 2 solutions that could work for me:

1. force install the package as I don't care about the man page and the 
man page is not going to hinder the way ncurses runs.

2. get the missing man page in the package so dpkg doesn't complain when 
installing.

Any ideas?

Thanks,
Bene 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/m9gfjo$6mu$1...@ger.gmane.org



dpkg error, `aptitude safe-upgrade` leaves zsh unconfigured

2013-06-09 Thread John Magolske
After an `aptitude safe-upgrade` I'm getting the following, which
leaves zsh unconfigured. Any suggestions about how to untangle this?

*

% sudo aptitude install zsh
The following NEW packages will be installed:
  zsh-common{a}
The following partially installed packages will be configured:
  zsh zsh-doc
0 packages upgraded, 1 newly installed, 0 to remove and 438 not upgraded.
Need to get 0 B/2,964 kB of archives. After unpacking 10.4 MB will be used.
Do you want to continue? [Y/n/?] y
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 267491 files and directories currently installed.)
Unpacking zsh-common (from .../zsh-common_5.0.2-3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb 
(--unpack):
 trying to overwrite '/etc/zsh/zshenv', which is also in package zsh 5.0.2-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of zsh-doc:
 zsh-doc depends on zsh-common (= 5.0.2-3); however:
  Package zsh-common is not installed.

dpkg: error processing zsh-doc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zsh:
 zsh depends on zsh-common (= 5.0.2-3); however:
  Package zsh-common is not installed.

dpkg: error processing zsh (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zsh-doc
 zsh


Thanks for any help,

John


-- 
John Magolske
http://B79.net/contact


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130609081018.ga1...@s70206.gridserver.com



Re: dpkg error, `aptitude safe-upgrade` leaves zsh unconfigured

2013-06-09 Thread Andrei POPESCU
On Du, 09 iun 13, 01:10:18, John Magolske wrote:
 After an `aptitude safe-upgrade` I'm getting the following, which
 leaves zsh unconfigured. Any suggestions about how to untangle this?
...
 Unpacking zsh-common (from .../zsh-common_5.0.2-3_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb 
 (--unpack):
  trying to overwrite '/etc/zsh/zshenv', which is also in package zsh 5.0.2-3

I can't reproduce this and I can't find any bug filed against zsh. 
Installing zsh and zsh-common 5.0.2-3 works fine here. I also looked at 
the zsh:i386 package and it doesn't contain any files in etc, only 
zsh-common does.

If you still have the debs (they should be in /var/cache/apt/archives) 
it would be interesting to inspect them closer (dpkg-deb -c, md5sum, 
etc.)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: dpkg error, `aptitude safe-upgrade` leaves zsh unconfigured

2013-06-09 Thread Sven Joachim
On 2013-06-09 10:10 +0200, John Magolske wrote:

 After an `aptitude safe-upgrade` I'm getting the following, which
 leaves zsh unconfigured. Any suggestions about how to untangle this?

 *

 % sudo aptitude install zsh
 The following NEW packages will be installed:
   zsh-common{a}
 The following partially installed packages will be configured:
   zsh zsh-doc
 0 packages upgraded, 1 newly installed, 0 to remove and 438 not upgraded.
 Need to get 0 B/2,964 kB of archives. After unpacking 10.4 MB will be used.
 Do you want to continue? [Y/n/?] y
 Retrieving bug reports... Done
 Parsing Found/Fixed information... Done
 (Reading database ... 267491 files and directories currently installed.)
 Unpacking zsh-common (from .../zsh-common_5.0.2-3_all.deb) ...
 dpkg: error processing /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb 
 (--unpack):
  trying to overwrite '/etc/zsh/zshenv', which is also in package zsh 5.0.2-3

That looks like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709974.
Do you have the grml-etc-core package installed?

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip1n4nxo@turtle.gmx.de



Re: dpkg error, `aptitude safe-upgrade` leaves zsh unconfigured

2013-06-09 Thread John Magolske
* Sven Joachim svenj...@gmx.de [130609 06:12]:
 On 2013-06-09 10:10 +0200, John Magolske wrote:
  After an `aptitude safe-upgrade` I'm getting the following, which
  leaves zsh unconfigured. Any suggestions about how to untangle this?
  [...]
  % sudo aptitude install zsh
[...]
  Unpacking zsh-common (from .../zsh-common_5.0.2-3_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb 
  (--unpack):
   trying to overwrite '/etc/zsh/zshenv', which is also in package zsh 5.0.2-3
 
 That looks like http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709974.
 Do you have the grml-etc-core package installed?

Yes, that was indeed the problem. An `aptitude remove grml-etc-core`
fixed things, removing various grml-related packages and zsh in the
process. After this I was able to successfully re-install zsh. I'd
originally installed Debian on this machine via grml2hd, which is no
longer supported.

Thanks for the quick  helpful reply!

John

-- 
John Magolske
http://B79.net/contact


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130609192010.ga19...@s70206.gridserver.com



dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Nicolas Hémard
Je m'aperçois que rsync n'est pas complètement supprimé de mon ordinateur,
avec dpkg -l:
rc rsync 3.0.9-3 etc...

1- # apt-get purge rsync
E: dpkg was interrupted, you must manually run 'dpkg  --configure -a' to
correct the problem

2- # dpkg --configure -a
dpkg: error: failed to write status database record about
'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': *No space left on device*

Rien de ce qui suit m'a permis de résoudre le problème (
http://doc.ubuntu-fr.org/probleme_apt#dpkg_was_interrupted):

# dpkg --configure -a

# apt-get install -f

# dpkg --force-all --configure -a

# dpkg -P --force-all 'le paquet qui bloque'


Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Bzzz
On Sun, 2 Sep 2012 19:00:12 +0200
Nicolas Hémard nico...@hemard.eu wrote:

 *No space left on device*

Wai, ben y'a pas à chercher bien loin la source de _tous_
tes déboires...

-- 
Xanatos: Albanel vient de découvrir ce que ça fait de se
 retrouver à 99% sans aucun seeders...

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20120902191312.2db3f19b@anubis.defcon1



Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Ken-Patrick Lehrmann
Le 02/09/2012 19:00, Nicolas Hémard a écrit :
 2- # dpkg --configure -a
 dpkg: error: failed to write status database record about
 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': *No space left on device*
 

 df -h
et va faire de la place là où c'est plein ?

ou bien 'apt-get autoclean' ou 'aptitude clean' ?

Bon courage
++
KP

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/504392af.8010...@gmail.com



Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Nicolas Hémard
En fait, j'ai l'impression qu'avec rsync, je ne faisais que copier les
documents non pas sur le DD externe ms directement dans l'ordinateur.

rootfs51 GB 100% /
/dev/disk/by-uuid/b3b853b6-0e94-etc... 51 GB 100%

Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?


Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Nicolas Hémard

 Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?

Non, j'ai compris qu'il ne faut pas le faire... Inconscient !


Le 2 septembre 2012 19:35, Nicolas Hémard nico...@hemard.eu a écrit :

 En fait, j'ai l'impression qu'avec rsync, je ne faisais que copier les
 documents non pas sur le DD externe ms directement dans l'ordinateur.

 rootfs51 GB 100% /
 /dev/disk/by-uuid/b3b853b6-0e94-etc... 51 GB 100%

 Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?



Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Ken-Patrick Lehrmann
Le 02/09/2012 19:35, Nicolas Hémard a écrit :
 En fait, j'ai l'impression qu'avec rsync, je ne faisais que copier les
 documents non pas sur le DD externe ms directement dans l'ordinateur.
 
 rootfs51 GB 100% /
 /dev/disk/by-uuid/b3b853b6-0e94-etc... 51 GB 100%

Bon ben il faut faire de la place là dedans.
 
 Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?

Euh non, /dev/disk/by-uuid/ contient simplement des liens vers les block
devices de tes partitions. C'est pas ça qui prend de la place.

Tu peux jouer avec 'du -sh *' pour voir quels sont les fichiers et
dossiers qui prennent de la place. Ou bien en graphique baobab (menu
Applications - Outils systèmes - Analyseur d'utilisation des disques).

Ou bien 'dpkg-query -W -f='${Installed-Size} ${Package}\n' | sort -n'
pour lister les packages installés en fonction de leur taille et
supprimer ensuite ceux que tu n'utilises pas.


++
KP

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/50439bce.1030...@hotmail.com



Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Nicolas Hémard
J'ai résolu mon problème. J'avais copié mon home dans /media au lieu du
disque dur externe, donc j'avais bourré la racine / et le manque de place
m'empechait de démarrer.

Je vous remercie tous beaucoup pour votre aide et votre patience.

Nicolas



Le 2 septembre 2012 19:47, Ken-Patrick Lehrmann kp_lehrm...@hotmail.com a
écrit :

 Le 02/09/2012 19:35, Nicolas Hémard a écrit :
  En fait, j'ai l'impression qu'avec rsync, je ne faisais que copier les
  documents non pas sur le DD externe ms directement dans l'ordinateur.
 
  rootfs51 GB 100% /
  /dev/disk/by-uuid/b3b853b6-0e94-etc... 51 GB 100%

 Bon ben il faut faire de la place là dedans.
 
  Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?

 Euh non, /dev/disk/by-uuid/ contient simplement des liens vers les block
 devices de tes partitions. C'est pas ça qui prend de la place.

 Tu peux jouer avec 'du -sh *' pour voir quels sont les fichiers et
 dossiers qui prennent de la place. Ou bien en graphique baobab (menu
 Applications - Outils systèmes - Analyseur d'utilisation des disques).

 Ou bien 'dpkg-query -W -f='${Installed-Size} ${Package}\n' | sort -n'
 pour lister les packages installés en fonction de leur taille et
 supprimer ensuite ceux que tu n'utilises pas.


 ++
 KP

 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/fr/FrenchLists

 Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
 vers debian-user-french-requ...@lists.debian.org
 En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
 Archive: http://lists.debian.org/50439bce.1030...@hotmail.com




Re: dpkg: error: failed to write status database record about 'libclutter-1.0-0:i386' to 'var/lib/dpkg/status': No space left on device

2012-09-02 Thread Nicolas Hémard
Le 2 septembre 2012 20:07, Nicolas Hémard nico...@hemard.eu a écrit :

 J'ai résolu mon problème. J'avais copié mon home dans /media au lieu du
 disque dur externe, donc j'avais bourré la racine / et le manque de place
 m'empechait de démarrer  *en mode graphique*

 Je vous remercie tous beaucoup pour votre aide et votre patience.

 Nicolas



 Le 2 septembre 2012 19:47, Ken-Patrick Lehrmann kp_lehrm...@hotmail.coma 
 écrit :

 Le 02/09/2012 19:35, Nicolas Hémard a écrit :
  En fait, j'ai l'impression qu'avec rsync, je ne faisais que copier les
  documents non pas sur le DD externe ms directement dans l'ordinateur.
 
  rootfs51 GB 100% /
  /dev/disk/by-uuid/b3b853b6-0e94-etc... 51 GB 100%

 Bon ben il faut faire de la place là dedans.
 
  Est-ce que je peux supprimer directement by-uuid sans faire de dég^ats ?

 Euh non, /dev/disk/by-uuid/ contient simplement des liens vers les block
 devices de tes partitions. C'est pas ça qui prend de la place.

 Tu peux jouer avec 'du -sh *' pour voir quels sont les fichiers et
 dossiers qui prennent de la place. Ou bien en graphique baobab (menu
 Applications - Outils systèmes - Analyseur d'utilisation des disques).

 Ou bien 'dpkg-query -W -f='${Installed-Size} ${Package}\n' | sort -n'
 pour lister les packages installés en fonction de leur taille et
 supprimer ensuite ceux que tu n'utilises pas.


 ++
 KP

 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/fr/FrenchLists

 Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
 vers debian-user-french-requ...@lists.debian.org
 En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
 Archive: http://lists.debian.org/50439bce.1030...@hotmail.com





Re: how to fix dpkg error about

2011-10-28 Thread Mitchell Laks

The answer to how to fix dpkg errors caused by faulty entries in the available 
file is the following

see this url for the solution
http://www.bitsbythepound.com/fix-dpkg-available-file-in-ubuntu-364.html


Symptom: Every time an apt-get command is run, some sort of error or warning is 
reported stating that an available package has a corrupt version number.

Cause: The ‘available’ file used by dpkg contains erroneous information or is 
corrupted.

Solution: Rebuild the ‘available’ file.

Recipe:

1. Back up current file
as root do the following

 cp /var/lib/dpkg/available /var/lib/dpkg/available.broken

2. Delete current ‘available’ file
 dpgk --clear-avail

3. Rebuild ‘available’ file
apt-get  update

then it will be ok


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028124556.ga3...@earthlink.net



how to fix dpkg error about

2011-10-27 Thread Mitchell Laks

I get errors when using apt-get that are not fatal but are annoying.

I made my own kernel a while ago and used the wrong syntax. I have already 
removed this old kernel but the error
messages keep hanging around.

dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 25351 pack
age 'linux-image-2.6.20':
 error in Version string 'custon.1.0': version number does not start with digit
/etc/cron.daily/man-db:
dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 25351 pack
age 'linux-image-2.6.20':
 error in Version string 'custon.1.0': version number does not start with digit


Should i simply edit that file /var/lib/dpkg/available 

and delete the lines

Package: linux-image-2.6.20
Priority: optional
Section: base
Installed-Size: 62588
Maintainer: Unknown Kernel Package Maintainer 
unkn...@unconfigured.in.etc.kernel-pkg.conf
Architecture: amd64
Source: linux-source-2.6.20
Version: custon.1.0
Provides: linux-image, linux-image-2.6
Depends: coreutils (= 5.2.1)
Pre-Depends: debconf (= 0.2.17) | debconf-2.0
Suggests: lilo (= 19.1) | grub, fdutils, linux-doc-2.6.20 | linux-source-2.6.20
Size: 16788016
Description: Linux kernel binary image for version 2.6.20
 This package contains the Linux kernel image for version
 2.6.20.
 .
 It also contains the corresponding System.map file, and the modules
 built by the packager.  It also contains scripts that try to ensure
 that the system is not left in a unbootable state after an update.
 .
 Kernel image packages are generally produced using kernel-package,
 and it is suggested that you install that package if you wish to
 create a custom kernel from the sources. Please look at kernel-img.conf(5),
 and /usr/share/doc/kernel-package/README.gz  from the package kernel-package
 for details on how to tailor the  installation of this or any other kernel
 image package


the package was already removed i think

Rashi:/home/mlaks# dpkg -l|grep linux-image
ii  linux-image-2.6-amd643.0.0+39   
   Linux for 64-bit PCs (dummy package)
ii  linux-image-2.6-amd64-generic2.6.18+6   
   Linux 2.6 image on all x86-64 - transition package
ii  linux-image-2.6.32-3-amd64   2.6.32-9   
   Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.32-5-amd64   2.6.32-30  
   Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.39.4-meshul  1  
   Linux kernel binary image for version 2.6.39.4-meshul
ii  linux-image-3.0.0-1-amd643.0.0-3
   Linux 3.0.0 for 64-bit PCs
ii  linux-image-3.0.4-meshul 1  
   Linux kernel binary image for version 3.0.4-meshul
ii  linux-image-amd643.0.0+39   
   Linux for 64-bit PCs (meta-package)
Rashi:/home/mlaks# 

thanks
MItchell Laks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111027221649.ga16...@earthlink.net



RE: hdparm - dpkg error on update

2010-12-01 Thread Mike Viau

 On Tue, 30 Nov 2010 16:37:47 -0700 b...@proulx.com wrote:

 That reads like a similar problem to one reported in this (old) bug
 report:

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558478

  Has anyone else gotten this issue and did you come across a fix for
  this version or the dpkg system?

 I don't recognize the 'nxsensor' service in your output. Is that in
 the current Debian archive? 

'nxsensor was from a remote desktop software called no-machine.

I am guessing the problem exists in that
 script. What is the header for that script, the part between BEGIN
 INIT INFO and END INIT INFO? Because I think the problem is probably
 there.


You were absolutely correct!

I was pressed for time to troubleshoot the init script, so after simply purging 
the no-machine package I was able to complete the hdparm update.

Thanks Bob :)
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay148-w198652c5c2a6604705e12ef...@phx.gbl



hdparm - dpkg error on update

2010-11-30 Thread Mike Viau

Hello,

This morning I discovered an update for the hdparm package on my debian squeeze 
system. Update have been perfect for numerous other packages.

When I tried to update this package I got errors and now the package is in a 
broken state.

I am not too sure where I should be fiddling to remedy there error messages.

They seem to be related to init scripts (update-rc.d: error: insserv rejected 
the script header),
and (insserv: exiting now without changing boot order!).

DPKG error output:
http://paste.debian.net/101135/

Has anyone else gotten this issue and did you come across a fix for this 
version or the dpkg system?

Thanks.


-M

  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay148-w179fc9be39e230fa9104d8ef...@phx.gbl



Re: hdparm - dpkg error on update

2010-11-30 Thread Bob Proulx
Mike Viau wrote:
 DPKG error output:
 http://paste.debian.net/101135/

That reads like a similar problem to one reported in this (old) bug
report:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558478

 Has anyone else gotten this issue and did you come across a fix for
 this version or the dpkg system?

I don't recognize the 'nxsensor' service in your output.  Is that in
the current Debian archive?  I am guessing the problem exists in that
script.  What is the header for that script, the part between BEGIN
INIT INFO and END INIT INFO?  Because I think the problem is probably
there.

Bob


signature.asc
Description: Digital signature


dpkg error code 2

2010-06-29 Thread ph
I got the following error while attempting an update and continue to get that
error when I run 'dpkg --configure -a'.

dpkg: parse error, in file '/var/lib/dpkg/available' near line 46290 package
'libgnome-menu2':
 missing version

I've never been much good at fixing dpkg issues. Any suggestions?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100629105130.ga20...@ph-desktop



Re: dpkg error code 2

2010-06-29 Thread Celejar
On Tue, 29 Jun 2010 03:51:31 -0700
ph hpypenguin.li...@gmail.com wrote:

 I got the following error while attempting an update and continue to get that
 error when I run 'dpkg --configure -a'.
 
 dpkg: parse error, in file '/var/lib/dpkg/available' near line 46290 package
 'libgnome-menu2':
  missing version
 
 I've never been much good at fixing dpkg issues. Any suggestions?

I think that means that the file is corrupted.  *Why* is a good
question, but you can try running dpkg --clear-avail and see if that
solves the problem (I'd suggest first making a backup of the file for
future reference / troubleshooting / bugreporting), as per here:

https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/326037

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100629152742.7fc42dfd.cele...@gmail.com



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sat, 26 Jun 2010 16:23:17 -0400 (EDT), Mizanur Khondoker wrote:

 I am having the following error while upgrading lenny. Any help would
 be greatly appreciated.

 debian:/home/mizanur# aptitude safe-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following partially installed packages will be configured:
   linux-image-2.6.26-2-686
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686

 Mizanur,

 Please provide the following information:

 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

 (4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /

 --
  .''`.     Stephen Powell
  : :'  :
  `. `'`
   `-
Dear Stephen,

Thanks for trying to help. Please find below the information you requested.

(1)
debian:/home/mizanur# grub-install -v
grub-install (GNU GRUB 0.97)

(2)
debian:/home/mizanur# cat /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook   = update-grub

(3)

None of these directories seem to exist. In fact there is no kernel
directory under /etc/.

debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
ls: cannot access /etc/kernel/preinst.d: No such file or directory

debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
ls: cannot access /etc/kernel/prerm.d: No such file or directory

debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
ls: cannot access /etc/kernel/postinst.d: No such file or directory

debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
ls: cannot access /etc/kernel/postrm.d: No such file or directory

(4)

debian:/home/mizanur#  ls -Al /boot/
total 16594
-rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
-rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
-rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.bak
-rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
-rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686


debian:/home/mizanur# ls -Al /
total 75
drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdrom
drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img -
boot/initrd.img-2.6.26-1-486
lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old
- boot/initrd.img-2.6.26-2-686
drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
-rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
-rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
drwxr-xr-x  14

Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Stephen Powell
On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

 (4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /


 Dear Stephen,
 
 Thanks for trying to help. Please find below the information you requested.
 
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
 
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks = yes
 relative_links = yes
 do_bootloader = no
 do_bootfloppy = no
 do_initrd = yes
 link_in_boot = no
 postinst_hook = update-grub
 postrm_hook   = update-grub
 
 (3)
 
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
 
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
 
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
 
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
 
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
 
 (4)
 
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.bak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
 
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdrom
 drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img - 
 boot/initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old - 
 boot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
 drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
 drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
 drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
 drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 rootroot 4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 rootroot 4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 rootroot   25 2009-05-10 12:05 vmlinuz - 
 boot/vmlinuz-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   25 2009-04-13 10:45 vmlinuz.old - 
 boot/vmlinuz-2.6.26-2-686

OK, I see what's wrong.  You've got your symlinks messed up.
I'm not sure how things got into that state, but they're all
messed up.  You could fix your symlinks, but since grub doesn't
need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

Then edit the file /etc/kernel-img.conf and change

   do_symlinks = yes

to

  do_symlinks = no

File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

That should put you back in business.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/247712580.316973.1277635542895.javamail.r...@md01.wow.synacor.com



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using? =C2=A0(Grub version 1? =C2=A0Grub v=
 ersion 2?
 =C2=A0lilo? =C2=A0extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

 =C2=A0 /etc/kernel/preinst.d
 =C2=A0 /etc/kernel/prerm.d
 =C2=A0 /etc/kernel/postinst.d
 =C2=A0 /etc/kernel/postrm.d

 (4) What is the output of the following commands?

 =C2=A0 ls -Al /boot/
 =C2=A0 ls -Al /


 Dear Stephen,
=20
 Thanks for trying to help. Please find below the information you requeste=
 d.
=20
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
=20
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks =3D yes
 relative_links =3D yes
 do_bootloader =3D no
 do_bootfloppy =3D no
 do_initrd =3D yes
 link_in_boot =3D no
 postinst_hook =3D update-grub
 postrm_hook   =3D update-grub
=20
 (3)
=20
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
=20
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
=20
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
=20
 (4)
=20
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root    1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.b=
 ak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
=20
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 root    root     5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 root    root     1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 root    root       11 2007-11-14 20:27 cdrom - media/cdro=
 m
 drwxr-xr-x  16 root    root     3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 root    root     9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 root    root     4096 2010-06-26 08:32 home
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 root    root       28 2009-05-10 12:05 initrd.img - boot/=
 initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 root    root       28 2009-04-13 10:45 initrd.img.old - b=
 oot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 root    root     9216 2010-06-23 22:04 lib
 drwx--   2 root    root    12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 root    root     1024 2010-06-27 10:05 media
 drwxr-xr-x   5 root    root     1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 root    root        0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 root    root     1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 root    root     1024 2010-06-24 21:43 root
 drwxr-xr-x   2 root    root     6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 root    root     1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 root    root     1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 root    root        0 2010-06-27 11:03 sys
 drwxrwxrwt  12 root    root     8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 root    root     4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 root    root     4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 root    root       25 2009-05-10 12:05 vmlinuz - boot/vml=
 inuz-2.6.26-1-486
 lrwxrwxrwx   1 root    root       25 2009-04-13 10:45 vmlinuz.old - boot=
 /vmlinuz-2.6.26-2-686

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks =3D yes

 to

  do_symlinks =3D no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 --=20
  .''`.     Stephen Powell   =20
  : :'  :
  `. `'`
   `-

Dear Stephen,

Deleting the symlinks solved the problem.

dpkg-reconfigure  did not work, but  aptitude safe-upgrade
reconfigured the kernel-image.

Thanks very much for your help.
==


debian:/home/mizanur# dpkg-reconfigure linux-image-2.6.26-2-686
/usr/sbin/dpkg-reconfigure: linux-image-2.6.26-2-686 is broken or not
fully installed



[SOLVED] dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Stephen Powell
On Sun, 27 Jun 2010 10:51:49 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks = yes

 to

  do_symlinks = no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 
 Deleting the symlinks solved the problem.
 
 dpkg-reconfigure  did not work, but  aptitude safe-upgrade
 reconfigured the kernel-image.
 
 Thanks very much for your help.
 
 -
 
 debian:/home/mizanur# aptitude safe-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following partially installed packages will be configured:
   linux-image-2.6.26-2-686
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Running postinst hook script update-grub.
 Searching for GRUB installation directory ... found: /boot/grub
 Searching for default file ... found: /boot/grub/default
 Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
 Searching for splash image ... found: (hd0,3)/boot/grub/grub_face1.xpm.gz
 
 Found kernel: /boot/vmlinuz-2.6.26-2-686
 Updating /boot/grub/menu.lst ... done
 
 -

I see why dpkg-reconfigure didn't work.  The package was
classified as partially installed.  The package has to be
installed successfully before it can be re-configured.

Anyway, you're welcome.  I'm glad you got it working.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/760923506.322297.1277660592795.javamail.r...@md01.wow.synacor.com



[SOLVED] Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Mizanur Khondoker
 On Sun, 27 Jun 2010 05:38:50 -0400 (EDT), Mizanur Khondoker wrote:
 Stephen Powell wrote:

 Please provide the following information:

 (1) Which boot loader are you using? =C2=A0(Grub version 1? =C2=A0Grub v=
 ersion 2?
 =C2=A0lilo? =C2=A0extlinux?)

 (2) What is the contents of /etc/kernel-img.conf?

 (3) What are the names of the files in the following directories?

 =C2=A0 /etc/kernel/preinst.d
 =C2=A0 /etc/kernel/prerm.d
 =C2=A0 /etc/kernel/postinst.d
 =C2=A0 /etc/kernel/postrm.d

 (4) What is the output of the following commands?

 =C2=A0 ls -Al /boot/
 =C2=A0 ls -Al /


 Dear Stephen,
=20
 Thanks for trying to help. Please find below the information you requeste=
 d.
=20
 (1)
 debian:/home/mizanur# grub-install -v
 grub-install (GNU GRUB 0.97)
=20
 (2)
 debian:/home/mizanur# cat /etc/kernel-img.conf
 # Kernel image management overrides
 # See kernel-img.conf(5) for details
 do_symlinks =3D yes
 relative_links =3D yes
 do_bootloader =3D no
 do_bootfloppy =3D no
 do_initrd =3D yes
 link_in_boot =3D no
 postinst_hook =3D update-grub
 postrm_hook   =3D update-grub
=20
 (3)
=20
 None of these directories seem to exist. In fact there is no kernel
 directory under /etc/.
=20
 debian:/home/mizanur# ls -l  /etc/kernel/preinst.d
 ls: cannot access /etc/kernel/preinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/prerm.d
 ls: cannot access /etc/kernel/prerm.d: No such file or directory
=20
 debian:/home/mizanur# ls -l  /etc/kernel/postinst.d
 ls: cannot access /etc/kernel/postinst.d: No such file or directory
=20
 debian:/home/mizanur# ls -l   /etc/kernel/postrm.d
 ls: cannot access /etc/kernel/postrm.d: No such file or directory
=20
 (4)
=20
 debian:/home/mizanur#  ls -Al /boot/
 total 16594
 -rw-r--r-- 1 root root   91746 2010-06-21 11:42 config-2.6.26-2-686
 drwxr-xr-x 2 root root1024 2010-06-26 21:08 grub
 -rw-r--r-- 1 root root 7197441 2010-06-26 21:16 initrd.img-2.6.26-2-686
 -rw-r--r-- 1 root root 7190250 2009-04-13 10:45 initrd.img-2.6.26-2-686.b=
 ak
 -rw-r--r-- 1 root root  928782 2010-06-21 11:42 System.map-2.6.26-2-686
 -rw-r--r-- 1 root root 1507408 2010-06-21 11:42 vmlinuz-2.6.26-2-686
=20
 debian:/home/mizanur# ls -Al /
 total 75
 drwxr-xr-x   2 rootroot 5120 2010-06-26 20:20 bin
 drwxr-xr-x   3 rootroot 1024 2010-06-26 21:16 boot
 lrwxrwxrwx   1 rootroot   11 2007-11-14 20:27 cdrom - media/cdro=
 m
 drwxr-xr-x  16 rootroot 3980 2010-06-27 10:04 dev
 drwxr-xr-x 152 rootroot 9216 2010-06-27 10:06 etc
 drwxr-xr-x   5 rootroot 4096 2010-06-26 08:32 home
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 initrd
 lrwxrwxrwx   1 rootroot   28 2009-05-10 12:05 initrd.img - boot/=
 initrd.img-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   28 2009-04-13 10:45 initrd.img.old - b=
 oot/initrd.img-2.6.26-2-686
 drwxr-xr-x  16 rootroot 9216 2010-06-23 22:04 lib
 drwx--   2 rootroot12288 2007-11-14 20:27 lost+found
 drwxr-xr-x   4 rootroot 1024 2010-06-27 10:05 media
 drwxr-xr-x   5 rootroot 1024 2009-08-01 23:42 mnt
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 opt
 dr-xr-xr-x 163 rootroot0 2010-06-27 11:03 proc
 -rw-r--r--   1 mizanur mizanur  4400 2008-03-31 13:04 programmes
 -rw---   1 rootroot 1024 2007-11-14 20:55 .rnd
 drwxr-xr-x  32 rootroot 1024 2010-06-24 21:43 root
 drwxr-xr-x   2 rootroot 6144 2010-06-26 20:20 sbin
 drwxr-xr-x   2 rootroot 1024 2007-03-07 22:56 selinux
 drwxr-xr-x   2 rootroot 1024 2007-11-14 20:29 srv
 drwxr-xr-x  11 rootroot0 2010-06-27 11:03 sys
 drwxrwxrwt  12 rootroot 8192 2010-06-27 10:18 tmp
 drwxr-xr-x  14 rootroot 4096 2008-03-31 12:52 usr
 drwxr-xr-x  16 rootroot 4096 2007-11-14 20:57 var
 lrwxrwxrwx   1 rootroot   25 2009-05-10 12:05 vmlinuz - boot/vml=
 inuz-2.6.26-1-486
 lrwxrwxrwx   1 rootroot   25 2009-04-13 10:45 vmlinuz.old - boot=
 /vmlinuz-2.6.26-2-686

 OK, I see what's wrong.  You've got your symlinks messed up.
 I'm not sure how things got into that state, but they're all
 messed up.  You could fix your symlinks, but since grub doesn't
 need them, here's what I would do if it were me.  Do all this as root.

   rm /vmlinuz
   rm /initrd.img
   rm /vmlinuz.old
   rm /initrd.img.old

 Then edit the file /etc/kernel-img.conf and change

   do_symlinks =3D yes

 to

  do_symlinks =3D no

 File the change.  Then issue

   dpkg-reconfigure linux-image-2.6.26-2-686

 That should put you back in business.

 --=20
  .''`. Stephen Powell   =20
  : :'  :
  `. `'`
   `-

Dear Stephen,

Deleting the symlinks solved the problem.

dpkg-reconfigure  did not work, but  aptitude safe-upgrade
reconfigured the kernel-image.

Thanks very much for your help.
==


debian:/home/mizanur# dpkg-reconfigure linux-image-2.6.26-2-686
/usr/sbin/dpkg-reconfigure: linux-image-2.6.26-2-686 is broken or not
fully installed



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure):

2010-06-27 Thread Andrei Popescu
On Sb, 26 iun 10, 20:22:20, Stephen Powell wrote:
 
 Please provide the following information:
 
 (1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
  lilo?  extlinux?)
 
 (2) What is the contents of /etc/kernel-img.conf?
 
 (3) What are the names of the files in the following directories?
 
/etc/kernel/preinst.d
/etc/kernel/prerm.d
/etc/kernel/postinst.d
/etc/kernel/postrm.d
 
 (4) What is the output of the following commands?
 
ls -Al /boot/
ls -Al /

and 

df -h

please.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: [SOLVED] dpkg: error processing linux-image-2.6.26-2-686 (--configure)

2010-06-27 Thread Andrei Popescu
On Du, 27 iun 10, 13:43:12, Stephen Powell wrote:

[big snip]

 I see why dpkg-reconfigure didn't work.  The package was
 classified as partially installed.  The package has to be
 installed successfully before it can be re-configured.

JFTR, 'dpkg --configure -a' would have done the trick.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


dpkg: error processing linux-image-2.6.26-2-686 (--configure):

2010-06-26 Thread Mizanur Khondoker
I am having the following error while upgrading lenny. Any help would
be greatly appreciated.

debian:/home/mizanur# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following partially installed packages will be configured:
  linux-image-2.6.26-2-686
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
Running depmod.
Running mkinitramfs-kpkg.
Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
dpkg: error processing linux-image-2.6.26-2-686 (--configure):
 subprocess post-installation script returned error exit status 17
Errors were encountered while processing:
 linux-image-2.6.26-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
Running depmod.
Running mkinitramfs-kpkg.
Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
dpkg: error processing linux-image-2.6.26-2-686 (--configure):
 subprocess post-installation script returned error exit status 17
Errors were encountered while processing:
 linux-image-2.6.26-2-686


Regards,
Mizanur Khondoker


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimjphs-zybn8wyu0plvhf_lgxzolrx8-ipdc...@mail.gmail.com



Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure):

2010-06-26 Thread Stephen Powell
On Sat, 26 Jun 2010 16:23:17 -0400 (EDT), Mizanur Khondoker wrote:
 
 I am having the following error while upgrading lenny. Any help would
 be greatly appreciated.
 
 debian:/home/mizanur# aptitude safe-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Reading extended state information
 Initializing package states... Done
 Reading task descriptions... Done
 The following partially installed packages will be configured:
   linux-image-2.6.26-2-686
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:
 Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
 Running depmod.
 Running mkinitramfs-kpkg.
 Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
 dpkg: error processing linux-image-2.6.26-2-686 (--configure):
  subprocess post-installation script returned error exit status 17
 Errors were encountered while processing:
  linux-image-2.6.26-2-686

Mizanur,

Please provide the following information:

(1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
 lilo?  extlinux?)

(2) What is the contents of /etc/kernel-img.conf?

(3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

(4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1293901814.313673.1277598140743.javamail.r...@md01.wow.synacor.com



apt-get upgrade dpkg error in chroot environment

2009-07-30 Thread Kushal Koolwal

SO I have a debootrap Debian 5.0 (i386) on /home/kushalk/debianTest

I chroot into it by:

#chroot  /home/kushalk/debianTest

and then mount the /proc by:

#mount -t proc proc /proc

Now when I run:

#apt-get update
#apt-get upgrade

 I always noticed that whenever a kernel tries to get upgraded,
I get the following error message:
..
Setting up linux-image-2.6.26-2-686 (2.6.26-17lenny1) ...
Running depmod.
Running mkinitramfs-kpkg.
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.26-17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.26-17 was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
User postinst hook script [update-grub] exited with value 1
dpkg: error processing linux-image-2.6.26-2-686 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.26-2-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/#
..

However if the upgrade process does not involve any kernel upgrade then apt-get 
does not complain about anything.

Any ideas?

Please CC me as I am not on the Mailing List.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. 
Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009cat=sports

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: today's upgrade error: dpkg: error processing ed

2009-06-02 Thread Paul Scott
This may show up twice.  I previously sent it from an unsubscribed address.

明覺 wrote:
 today's upgrade has the following error:
 ---
 Setting up ed (1.3-2) ...
 install-info(/usr/share/info/ed.info.gz): no file /usr/share/info/dir,
 retrieving backup file /var/backups/infodir.bak.
 update-alternatives: error: alternative path /bin/ed doesn't exist.
 dpkg: error processing ed (--configure):
  subprocess installed post-installation script returned error exit status 2

 Processing triggers for menu ...
 Errors were encountered while processing:
  ed
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 does it matter? if yes,  how to solve it? thanks

   
If you had been using apt-listbugs you would have been warned that it
would be fixed in the next version.

How to fix this is mentioned on this list also.

HTH,

Paul Scott





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: today's upgrade error: dpkg: error processing ed

2009-06-02 Thread Paul Scott
明覺 wrote:
 today's upgrade has the following error:
 ---
 Setting up ed (1.3-2) ...
 install-info(/usr/share/info/ed.info.gz): no file /usr/share/info/dir,
 retrieving backup file /var/backups/infodir.bak.
 update-alternatives: error: alternative path /bin/ed doesn't exist.
 dpkg: error processing ed (--configure):
  subprocess installed post-installation script returned error exit status 2

 Processing triggers for menu ...
 Errors were encountered while processing:
  ed
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 does it matter? if yes,  how to solve it? thanks

   
If you had been using apt-listbugs you would have been warned that it
would be fixed in the next version.

How to fix this is mentioned on this list also.

HTH,

Paul Scott




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: today's upgrade error: dpkg: error processing ed

2009-06-02 Thread Paul Scott
Paul Scott wrote:
 明覺 wrote:
   
 today's upgrade has the following error:
 ---
 Setting up ed (1.3-2) ...
 install-info(/usr/share/info/ed.info.gz): no file /usr/share/info/dir,
 retrieving backup file /var/backups/infodir.bak.
 update-alternatives: error: alternative path /bin/ed doesn't exist.
 dpkg: error processing ed (--configure):
  subprocess installed post-installation script returned error exit status 2

 Processing triggers for menu ...
 Errors were encountered while processing:
  ed
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 does it matter? if yes,  how to solve it? thanks

   
 
 If you had been using apt-listbugs you would have been warned that it
 would be fixed in the next version.

 How to fix this is mentioned on this list also.

 HTH,
   


The fixed version (1.3-4) is now in sid.

Paul




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: today's upgrade error: dpkg: error processing ed

2009-06-02 Thread 明覺
2009/6/3 Paul Scott pasl...@ultrasw.com:
 Paul Scott wrote:
 明覺 wrote:

 today's upgrade has the following error:
 ---
 Setting up ed (1.3-2) ...
 install-info(/usr/share/info/ed.info.gz): no file /usr/share/info/dir,
 retrieving backup file /var/backups/infodir.bak.
 update-alternatives: error: alternative path /bin/ed doesn't exist.
 dpkg: error processing ed (--configure):
  subprocess installed post-installation script returned error exit status 2

 Processing triggers for menu ...
 Errors were encountered while processing:
  ed
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 does it matter? if yes,  how to solve it? thanks



 If you had been using apt-listbugs you would have been warned that it
 would be fixed in the next version.

 How to fix this is mentioned on this list also.

 I also found that today's upgrade of ed fixed the bug, thank you for
fixing it so quickly!


 HTH,



 The fixed version (1.3-4) is now in sid.

 Paul




 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org





-- 
不苦不樂正念正智
Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



today's upgrade error: dpkg: error processing ed

2009-06-01 Thread 明覺
today's upgrade has the following error:
---
Setting up ed (1.3-2) ...
install-info(/usr/share/info/ed.info.gz): no file /usr/share/info/dir,
retrieving backup file /var/backups/infodir.bak.
update-alternatives: error: alternative path /bin/ed doesn't exist.
dpkg: error processing ed (--configure):
 subprocess installed post-installation script returned error exit status 2

Processing triggers for menu ...
Errors were encountered while processing:
 ed
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
does it matter? if yes,  how to solve it? thanks

-- 
不苦不樂正念正智
Gnu.Linux.(Debian|gNewSense).Gnome.(Mozilla|Gmail|Evolution|Scim|Flashplayer)
Microsoft.Windows.(Vista|XP).(QQ|Game|Notepad++) Gcc.Gtkmm.Opengl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



how to solve the dpkg: error processing issue when installing a package?

2009-04-30 Thread 明覺
when  i tries to install the gvfs package(it should not be specific to
this package, the error may occur when installing any package), it
shows the following error
---
After this operation, 463kB of additional disk space will be used.
(Reading database ... 127441 files and directories currently installed.)
Preparing to replace gvfs 1.0.3-4 (using .../gvfs_1.2.2-1_amd64.deb) ...
Unpacking replacement gvfs ...
dpkg: error processing /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
(--unpack):
 trying to overwrite `/usr/lib/libgvfscommon.so.0.0.0', which is also
in package libgvfscommon0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
what's the problem? how to solve it? thanks


-- 
My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the dpkg: error processing issue when installing a package?

2009-04-30 Thread Mr. Wang Long
On Thu, Apr 30, 2009 at 17:10, 明覺 shi.min...@gmail.com wrote:
 when  i tries to install the gvfs package(it should not be specific to
 this package, the error may occur when installing any package), it
 shows the following error
 ---
 After this operation, 463kB of additional disk space will be used.
 (Reading database ... 127441 files and directories currently installed.)
 Preparing to replace gvfs 1.0.3-4 (using .../gvfs_1.2.2-1_amd64.deb) ...
 Unpacking replacement gvfs ...
 dpkg: error processing /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
 (--unpack):
  trying to overwrite `/usr/lib/libgvfscommon.so.0.0.0', which is also
 in package libgvfscommon0
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 what's the problem? how to solve it? thanks


 --
 My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
 Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



This problem also annoyed me today. It was solved by doing this:
dpkg --force-all -P libgvfscommon0
apt-get -f install

Regards,
Wang Long


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: how to solve the dpkg: error processing issue when installing a package?

2009-04-30 Thread 明覺
On Thu, Apr 30, 2009 at 6:47 PM, Mr. Wang Long mr.wang.l...@gmail.com wrote:
 On Thu, Apr 30, 2009 at 17:10, 明覺 shi.min...@gmail.com wrote:
 when  i tries to install the gvfs package(it should not be specific to
 this package, the error may occur when installing any package), it
 shows the following error
 ---
 After this operation, 463kB of additional disk space will be used.
 (Reading database ... 127441 files and directories currently installed.)
 Preparing to replace gvfs 1.0.3-4 (using .../gvfs_1.2.2-1_amd64.deb) ...
 Unpacking replacement gvfs ...
 dpkg: error processing /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
 (--unpack):
  trying to overwrite `/usr/lib/libgvfscommon.so.0.0.0', which is also
 in package libgvfscommon0
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ---
 what's the problem? how to solve it? thanks


 --
 My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
 Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



 This problem also annoyed me today. It was solved by doing this:
 dpkg --force-all -P libgvfscommon0
 apt-get -f install
yes, i solved it the similar way by dpkg -i --force-overwrite
/var/cache/apt/archives/gvfs_1.2.2-1_amd64.deb :)

 Regards,
 Wang Long




-- 
My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome
Mozilla/Iceweasel Gmail/Evolution GTK/Anjuta Scim Totem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: dpkg error

2009-04-18 Thread Javier Barroso
On Thu, Apr 16, 2009 at 7:53 PM, Faheem Mitha fah...@email.unc.edu wrote:

 Hi,

 I'm getting the following error on upgrade (debian Lenny). As suggested by
 the error message, there is some funny stuff in /var/lib/dpkg/available in
 the kdebase package section.

 Is this is a known issue? If not, can anyone suggest how to debug this? For
 the record, I've being using and adminstering Debian since 2001, and don't
 recall having ever seen an error like this before.

 Please CC me on any reply. Thanks.

                                                   Regards, Faheem Mitha.

 merlin:/home/faheem# apt-get upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages have been kept back:
  linux-image-2.6-686
 The following packages will be upgraded:
  base-files bind9-host dnsutils firmware-iwlwifi gdm gtk2-engines-pixbuf
 imagemagick libbind9-40 libdns45 libgtk2.0-0
  libgtk2.0-bin libgtk2.0-common libisc45 libisccc40 libisccfg40 liblwres40
 libmagick10 libpam-modules libpam-runtime
  libpam0g libpq5 libsmbclient libvolume-id0 libwbclient0 linux-libc-dev
 openoffice.org openoffice.org-base
  openoffice.org-base-core openoffice.org-calc openoffice.org-common
 openoffice.org-core openoffice.org-draw
  openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gcj
 openoffice.org-gnome openoffice.org-gtk
  openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common
 openoffice.org-math
  openoffice.org-officebean openoffice.org-report-builder-bin
 openoffice.org-style-andromeda
  openoffice.org-style-tango openoffice.org-writer postgresql postgresql-8.3
 postgresql-client-8.3 python-uno
  texlive-bibtex-extra texlive-fonts-extra texlive-fonts-extra-doc
 texlive-generic-extra texlive-humanities
  texlive-humanities-doc texlive-latex-extra texlive-latex-extra-doc
 texlive-math-extra texlive-pstricks
  texlive-pstricks-doc texlive-publishers texlive-publishers-doc
 ttf-opensymbol udev xserver-xorg-core
  xserver-xorg-video-savage
 67 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 Need to get 0B/331MB of archives.
 After this operation, 3119kB of additional disk space will be used.
 Do you want to continue [Y/n]?
 Extracting templates from packages: 100%
 Preconfiguring packages ...
 dpkg: parse error, in file `/var/lib/dpkg/available' near line 11824 package
 `kdebase':
  `Recommends' field, reference to `kdm': version contains ` '

It seems like /var/lib/dpkg/available is corrupt ? Does aptitude update help ?

If not,  'dpkg --clear-avail' , could help.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SOLVED] Re: dpkg error

2009-04-18 Thread Faheem Mitha


Hi Javier,

On Sat, 18 Apr 2009, Javier Barroso wrote:


On Thu, Apr 16, 2009 at 7:53 PM, Faheem Mitha fah...@email.unc.edu wrote:


[snip]


It seems like /var/lib/dpkg/available is corrupt ? Does aptitude update help ?

If not,  'dpkg --clear-avail' , could help.


Thanks for the reply. I got some help on IRC and dealt with the problem. 
The recommended approach was to remove /var/lib/dpkg/available and run 
dselect update which regenerates it, which worked. Maybe aptitude update 
would work too.


I should have posted to the list saying this query was resolved. Sorry.

 Regards, Faheem Mitha.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




dpkg error

2009-04-16 Thread Faheem Mitha


Hi,

I'm getting the following error on upgrade (debian Lenny). As suggested by 
the error message, there is some funny stuff in /var/lib/dpkg/available in 
the kdebase package section.


Is this is a known issue? If not, can anyone suggest how to debug this? 
For the record, I've being using and adminstering Debian since 2001, and 
don't recall having ever seen an error like this before.


Please CC me on any reply. Thanks.

   Regards, Faheem Mitha.

merlin:/home/faheem# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  linux-image-2.6-686
The following packages will be upgraded:
  base-files bind9-host dnsutils firmware-iwlwifi gdm gtk2-engines-pixbuf 
imagemagick libbind9-40 libdns45 libgtk2.0-0
  libgtk2.0-bin libgtk2.0-common libisc45 libisccc40 libisccfg40 
liblwres40 libmagick10 libpam-modules libpam-runtime
  libpam0g libpq5 libsmbclient libvolume-id0 libwbclient0 linux-libc-dev 
openoffice.org openoffice.org-base
  openoffice.org-base-core openoffice.org-calc openoffice.org-common 
openoffice.org-core openoffice.org-draw
  openoffice.org-evolution openoffice.org-filter-mobiledev 
openoffice.org-gcj openoffice.org-gnome openoffice.org-gtk
  openoffice.org-help-en-us openoffice.org-impress 
openoffice.org-java-common openoffice.org-math
  openoffice.org-officebean openoffice.org-report-builder-bin 
openoffice.org-style-andromeda
  openoffice.org-style-tango openoffice.org-writer postgresql 
postgresql-8.3 postgresql-client-8.3 python-uno
  texlive-bibtex-extra texlive-fonts-extra texlive-fonts-extra-doc 
texlive-generic-extra texlive-humanities
  texlive-humanities-doc texlive-latex-extra texlive-latex-extra-doc 
texlive-math-extra texlive-pstricks
  texlive-pstricks-doc texlive-publishers texlive-publishers-doc 
ttf-opensymbol udev xserver-xorg-core

  xserver-xorg-video-savage
67 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/331MB of archives.
After this operation, 3119kB of additional disk space will be used.
Do you want to continue [Y/n]?
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 11824 
package `kdebase':

 `Recommends' field, reference to `kdm': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)

*

Package: kdebase
Priority: optional
Section: kde
Installed-Size: 68
Maintainer: Debian Qt/KDE Maintainers debian-qt-...@lists.debian.org
Architecture: all
Version: 4:3.5.9.dfsg.1-6
Depends: kappfinder (= 4:3.5.9.dfsg.1-6), kate (= 4:3.5.9.dfsg.1-6), 
kcontrol (= 4:3.5.9.dfsg.1-6), kdebase-bin (= \
4:3.5.9.dfsg.1-6), kdebase-data (= 4:3.5.9.dfsg.1-6), kdebase-kio-plugins 
(= 4:3.5.9.dfsg.1-6), kdepasswd (= 4:3.5.9\
.dfsg.1-6), kdeprint (= 4:3.5.9.dfsg.1-6), kdesktop (= 
4:3.5.9.dfsg.1-6), kfind (= 4:3.5.9.dfsg.1-6), khelpcenter (\
= 4:3.5.9.dfsg.1-6), kicker (= 4:3.5.9.dfsg.1-6), klipper (= 
4:3.5.9.dfsg.1-6), kmenuedit (= 4:3.5.9.dfsg.1-6), konq\
ueror-nsplugins (= 4:3.5.9.dfsg.1-6), konqueror (= 4:3.5.9.dfsg.1-6), 
konsole (= 4:3.5.9.dfsg.1-6), kpager (= 4:3.5\
.9.dfsg.1-6), kpersonalizer (= 4:3.5.9.dfsg.1-6), ksmserver (= 
4:3.5.9.dfsg.1-6), ksplash (= 4:3.5.9.dfsg.1-6), ksys\
guard (= 4:3.5.9.dfsg.1-6), ktip (= 4:3.5.9.dfsg.1-6), kwin (= 
4:3.5.9.dfsg.1-6), libkonq4 (= 4:3.5.9.dfsg.1-6), ha\

l | kfreebsd-gnu | hurd, pmount | kfreebsd-gnu | hurd
Recommends: kdm (= 4:3.5.9^Fd^O^Fg.^A-
^...@^@^...@\377\373\353\277sts: kdebase-doc-html (GenuineIntelsg.1-6)
Size: 38376
Description: base components from the official KDE release
 KDE (the K Desktop Environment) is a powerful Open Source graphical
 desktop environment for Unix workstations. It combines ease of use,
 contemporary functionality, and outstanding graphical design with the
 technological superiority of the Unix operating system.
 .
 This metapackage includes the nucleus of KDE, namely the minimal package
 set necessary to run KDE as a desktop environment. This includes the
 window manager, taskbar, control center, a text editor, file manager,
 web browser, X terminal emulator, and many other programs and components.
Homepage: http://www.kde.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




dpkg error!! says no space left in device

2008-11-30 Thread raman narasimhan
i was installing new packages into my lenny system via synaptic.. when it
was applying the changes, i got the following error message:

*E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
correct the problem.
E: _cache-open() failed, please report.
*
so i tried dpkg --configure -a

i got this message
*dpkg: unrecoverable fatal error, aborting:
failed to write status record about `libmng-dev' to `/var/lib/dpkg/status':
No space left on device
*
what should i do??


Re: dpkg error!! says no space left in device

2008-11-30 Thread Ron Johnson

On 11/30/08 22:19, raman narasimhan wrote:
i was installing new packages into my lenny system via synaptic.. when 
it was applying the changes, i got the following error message:


*E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem.

E: _cache-open() failed, please report.
*
so i tried dpkg --configure -a

i got this message
*dpkg: unrecoverable fatal error, aborting:
failed to write status record about `libmng-dev' to 
`/var/lib/dpkg/status': No space left on device

*
what should i do??


$ du -m

# apt-get clean

$ du -m

--
Ron Johnson, Jr.
Jefferson LA  USA

How does being physically handicapped make me Differently-Abled?
What different abilities do I have?


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




Re: dpkg error!! says no space left in device

2008-11-30 Thread Kent West

raman narasimhan wrote:
i was installing new packages into my lenny system via synaptic.. when 
it was applying the changes, i got the following error message:


*E: dpkg was interrupted, you must manually run 'dpkg --configure -a' 
to correct the problem.

E: _cache-open() failed, please report.
*
so i tried dpkg --configure -a

i got this message
*dpkg: unrecoverable fatal error, aborting:
failed to write status record about `libmng-dev' to 
`/var/lib/dpkg/status': No space left on device

*
what should i do??


This means that the partition on which your /var/cache/apt/archives 
directory sits is full.


If this is on the same partition as your /home directory, you might can 
delete/move some movies or other large files to an external disk, etc, 
to free up some space.


At any rate, you'll have to do something to free up space in this 
directory (and this may or may not affect other parts of your system, 
depending on if this (or more of the /var directory) is on a separate 
partition or not).


If you have a lot of older .debs in that directory that you no longer 
need, you can run aptitude autoclean to clear out the ones that are no 
longer (by default) installable. Or you can clean out all the .debs with 
aptitude clean. Or you can manually delete a few .debs to make enough 
room to install a few smaller packages, then install those few smaller 
packages and then delete their .debs, and continue on in this fashion. 
But if you're running low on space in your /var/apt/cache/archives 
directory, you're probably running low elsewhere, and this method 
probably won't help much.


If /lib/modules is on the same partition, you might have three of seven 
older kernel directories there, which you can remove to free up space.


You can always uninstall stuff to perhaps help, or move/recreate 
partitions to resize them as needed.


df -h and such (like df -h /var/cache/apt/archives) will give you a 
good feel for how much space is free where.



--
Kent


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




Re: dpkg error!! says no space left in device

2008-11-30 Thread Thierry Chatelet
On Monday 01 December 2008 05:19:36 raman narasimhan wrote:
 No space left on device

What's the output of df ?
An a bit of google give me:
http://www.linuxquestions.org/questions/debian-26/dpkg-error-no-space-left-on-device-603279/


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



Re: dpkg error!! says no space left in device

2008-11-30 Thread A. F. Cano
On Sun, Nov 30, 2008 at 11:19:36PM -0500, raman narasimhan wrote:
 ...
 failed to write status record about `libmng-dev' to `/var/lib/dpkg/status': No
 space left on device
 
 what should i do??

Clean up some files to make space?  Check particularly that some log
files in /var/log have not grown to unreasonable size, or that there
isn't something unreasonbale in /tmp or /var/tmp.  Of course all this
depends on your partitioning scheme.

A.


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



Re: dpkg: error,processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb,(--unpack):

2008-07-05 Thread Sven Joachim
On 2008-07-05 07:49 +0200, gary turner wrote:

 (Reading database ... 85648 files and directories currently installed.)
 Unpacking ia32-libs-gtk (from .../ia32-libs-gtk_2.5_amd64.deb) ...
 dpkg: error
 processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb
 (--unpack):
  failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
 `./emul/ia32-linux/usr/lib/libQtCore.so.4.4.0': No space left on device
 
 If the No space left on device means what I think it does, I'm
 confused.  This is a new install with lots of room on the disk.  2.1GB
 used in /usr, and 407MB in /var

Learn reading. ;-)  The offending file lives is in /emul, i.e. on the
root partition, not in /usr.

 aretha:/home/gt# fdisk -l

 Disk /dev/sda: 320.0 GB, 320072933376 bytes
 255 heads, 63 sectors/track, 38913 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x2000

Device Boot  Start End  Blocks   Id  System
 /dev/sda1   *   1  31  248976   83  Linux
 /dev/sda2  32 274 1951897+  82  Linux swap /
 Solaris
 /dev/sda3 2751490 9767520   83  Linux
 /dev/sda41491   37477   289065577+   5  Extended
 /dev/sda514912706 9767488+  83  Linux
 /dev/sda62707635329294496   83  Linux
 /dev/sda76354   37477   250003498+  83  Linux

 aretha:/home/gt# cat /etc/fstab
 # /etc/fstab: static file system information.
 #
 # file system mount point   type  options   dump  pass
 proc/proc   procdefaults0   0
 /dev/sda1   /   ext3errors=remount-ro 0   1
 /dev/sda7   /home   ext3defaults0   2
 /dev/sda6   /optext3defaults0   2
 /dev/sda3   /usrext3defaults0   2
 /dev/sda5   /varext3defaults0   2
 /dev/sda2   noneswapsw  0   0
 /dev/scd0   /media/cdrom0   udf,iso9660 user,noauto 0   0

So you have less than 250 Megabyte for the root partition.  With today's
big kernels that is pretty tight.

 The question is how do I clean up the mess?  Right now, I'm unable to
 remove or install anything (apt) as any attempt recalls this error.
 I'm not averse to simply re-installing the dist, but would rather know
 how I got into the mess in the first place, and what to do about it.

Try to remove old kernels, that should give you back some space.  But in
the long run you may need to increase the root filesystem to prevent the
error from reoccuring.

Sven


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



Re: dpkg: error,processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb,(--unpack):

2008-07-05 Thread gary turner

Sven Joachim wrote:

On 2008-07-05 07:49 +0200, gary turner wrote:


(Reading database ... 85648 files and directories currently installed.)
Unpacking ia32-libs-gtk (from .../ia32-libs-gtk_2.5_amd64.deb) ...
dpkg: error
processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb
(--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
`./emul/ia32-linux/usr/lib/libQtCore.so.4.4.0': No space left on device

If the No space left on device means what I think it does, I'm
confused.  This is a new install with lots of room on the disk.  2.1GB
used in /usr, and 407MB in /var


Learn reading. ;-)  The offending file lives is in /emul, i.e. on the
root partition, not in /usr.


I was fooled by the ./, assuming (wrongly, it seems) that the current 
directory was /var or possibly /usr.  This is my first look at a 64bit 
machine, and was not ready for a 32bit emulation under /.



aretha:/home/gt# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2000

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  31  248976   83  Linux


snip


aretha:/home/gt# cat /etc/fstab
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/sda1   /   ext3errors=remount-ro 0   1


snip



So you have less than 250 Megabyte for the root partition.  With today's
big kernels that is pretty tight.

The question is how do I clean up the mess?  


snip


Try to remove old kernels, that should give you back some space.  But in
the long run you may need to increase the root filesystem to prevent the
error from reoccuring.


Repartitioning, and giving / a GB seems to have done the job.  Thanks 
for pointing out the /emul directory.  It's one I was completely unaware of.


gary
--
Anyone can make a usable web site. It takes a graphic
designer to make it slow, confusing and painful to use.
begin:vcard
fn:Gary Turner
n:Turner;Gary
org:Gary Turner, Web Developer
adr:;;USA
email;internet:[EMAIL PROTECTED]
title:Czar
x-mozilla-html:FALSE
url:http://gtwebdev.com/
version:2.1
end:vcard



dpkg: error,processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb,(--unpack):

2008-07-04 Thread gary turner
While trying to install acroread from debian-multimedia, I got the above 
error with the suggestion to try again with the -f option.  The result 
of that is:


aretha:/home/gt# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
  python2.4 python2.4-minimal
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ia32-libs-gtk
The following NEW packages will be installed:
  ia32-libs-gtk
0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.
12 not fully installed or removed.
Need to get 12.2MB of archives.
After this operation, 30.3MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 ftp://ftp.us.debian.org lenny/main ia32-libs-gtk 2.5 [12.2MB]
Fetched 12.2MB in 35s
(346kB/s)
(Reading database ... 85648 files and directories currently installed.)
Unpacking ia32-libs-gtk (from .../ia32-libs-gtk_2.5_amd64.deb) ...
dpkg: error
processing /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb
(--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
`./emul/ia32-linux/usr/lib/libQtCore.so.4.4.0': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/ia32-libs-gtk_2.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

If the No space left on device means what I think it does, I'm 
confused.  This is a new install with lots of room on the disk.  2.1GB 
used in /usr, and 407MB in /var


aretha:/home/gt# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2000

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  31  248976   83  Linux
/dev/sda2  32 274 1951897+  82  Linux swap /
Solaris
/dev/sda3 2751490 9767520   83  Linux
/dev/sda41491   37477   289065577+   5  Extended
/dev/sda514912706 9767488+  83  Linux
/dev/sda62707635329294496   83  Linux
/dev/sda76354   37477   250003498+  83  Linux

aretha:/home/gt# cat /etc/fstab
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/sda1   /   ext3errors=remount-ro 0   1
/dev/sda7   /home   ext3defaults0   2
/dev/sda6   /optext3defaults0   2
/dev/sda3   /usrext3defaults0   2
/dev/sda5   /varext3defaults0   2
/dev/sda2   noneswapsw  0   0
/dev/scd0   /media/cdrom0   udf,iso9660 user,noauto 0   0

The question is how do I clean up the mess?  Right now, I'm unable to 
remove or install anything (apt) as any attempt recalls this error.  I'm 
not averse to simply re-installing the dist, but would rather know how I 
got into the mess in the first place, and what to do about it.


thanks,

gary
--
Anyone can make a usable web site. It takes a graphic
designer to make it slow, confusing and painful to use.
begin:vcard
fn:Gary Turner
n:Turner;Gary
org:Gary Turner, Web Developer
adr:;;USA
email;internet:[EMAIL PROTECTED]
title:Czar
x-mozilla-html:FALSE
url:http://gtwebdev.com/
version:2.1
end:vcard



Re: dpkg error: unable to make backup link of '...'

2008-05-27 Thread Florian Kulzer
On Tue, May 27, 2008 at 04:25:03 -0700, yinglcs wrote:
 
 Hi,
 
 I have been getting this dpkg error: unable to make backup link of '...'.
 I have been posting my question on various forum and I still cant' resolve
 it.
 
 dpkg: error processing
 /var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb
 (--unpack):
  unable to make backup link of
 `./usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz' before
 installing new version: Operation not permitted
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/python-gnome2-extras_2.19.1-0ubuntu7_i386.deb
  /var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 The closest thing I can find in google is this bug report.
 
 https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/93320
 
 But i don't know how to solve my problem.
 
 I appreciate if anyone can help.

Have a look at the output of

lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

If you see any problematic attributes then you can change them with the
chattr command.

(Send the lsattr ... output to the list if you are not sure what it
 means.) 

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: dpkg error: unable to make backup link of '...'

2008-05-27 Thread ying lcs
On Tue, May 27, 2008 at 1:29 PM, Florian Kulzer
[EMAIL PROTECTED] wrote:
 On Tue, May 27, 2008 at 04:25:03 -0700, yinglcs wrote:

 Hi,

 I have been getting this dpkg error: unable to make backup link of '...'.
 I have been posting my question on various forum and I still cant' resolve
 it.

 dpkg: error processing
 /var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb
 (--unpack):
  unable to make backup link of
 `./usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz' before
 installing new version: Operation not permitted
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/python-gnome2-extras_2.19.1-0ubuntu7_i386.deb
  /var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 The closest thing I can find in google is this bug report.

 https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/93320

 But i don't know how to solve my problem.

 I appreciate if anyone can help.

 Have a look at the output of

 lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

 If you see any problematic attributes then you can change them with the
 chattr command.

 (Send the lsattr ... output to the list if you are not sure what it
  means.)


thank you.

I get this:

$ lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz
--SDi-dAc-Z-E---T- /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

How to change using 'chattr' command?


 --
 Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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




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



Re: dpkg error: unable to make backup link of '...'

2008-05-27 Thread Mike Bird
On Tue May 27 2008 12:20:45 ying lcs wrote:
 I get this:

 $ lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz
 --SDi-dAc-Z-E---T- /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

 How to change using 'chattr' command?

chattr = /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

--Mike Bird


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



Re: dpkg error: unable to make backup link of '...'

2008-05-27 Thread ying lcs
On Tue, May 27, 2008 at 2:30 PM, Mike Bird [EMAIL PROTECTED] wrote:
 On Tue May 27 2008 12:20:45 ying lcs wrote:
 I get this:

 $ lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz
 --SDi-dAc-Z-E---T- /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

 How to change using 'chattr' command?

 chattr = /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

 --Mike Bird


 --

I have tried you suggestion. And it becomes:

$ lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz
--Z-E- /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

But I still get the same error:

pkg: error processing
/var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb
(--unpack):
 unable to make backup link of
`./usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz' before
installing new version: Operation not permitted

dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python-gnome2-extras_2.19.1-0ubuntu7_i386.deb
/var/cache/apt/archives/xfonts-encodings_1%3a1.0.2-3_all.deb E:



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




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



Re: dpkg error: unable to make backup link of '...'

2008-05-27 Thread Mike Bird
On Tue May 27 2008 12:41:19 ying lcs wrote:
 I have tried you suggestion. And it becomes:

 $ lsattr /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz
 --Z-E- /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz

 But I still get the same error:

Try rm /usr/share/fonts/X11/encodings/large/big5hkscs-0.enc.gz.  If
that doesn't work try fsck-ing the partition containing the file with
the bad attributes.  You may have to boot from a recovery CD or live CD
in order to fsck.

--Mike Bird


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



Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etc h6_i386.deb (--unpack):

2008-04-09 Thread Kevin Mark
On Wed, Apr 09, 2008 at 12:11:06AM +0200, Mathieu Malaterre wrote:
 Hi there,
 
   Has anyone seen this issue before (*). I am running a linux debian
 stable (etch).
 
 Thanks
 left on device
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Running postrm hook script /sbin/update-grub.
 Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
 file and follow its instructions.
 
  1. /usr/share/doc/grub/NEWS.Debian.gz
 
 
 You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub 
 instead!

Now that other folks pointed out the full root. Change this also!
like it says:
read /usr/share/doc/grub/NEWS.Debian.gz
edit /etc/kernel-img.conf
HTH,
K
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|


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



dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Mathieu Malaterre
Hi there,

  Has anyone seen this issue before (*). I am running a linux debian
stable (etch).

Thanks


(*)
(Reading database ... 66650 files and directories currently installed.)
Preparing to replace linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4
(using .../linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb)
...
The directory /lib/modules/2.6.18-5-486 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.18-5-486 ...
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb
(--unpack):
 failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.18-5-486/kernel/drivers/md/dm-mod.ko': No space
left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/update-grub.
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.

 1. /usr/share/doc/grub/NEWS.Debian.gz


You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.22-3-486
Found kernel: /vmlinuz-2.6.21-2-486
Found kernel: /vmlinuz-2.6.18-5-486
Found kernel: /vmlinuz-2.6.18-4-486
Found kernel: /vmlinuz-2.6.15-1-486
Updating /boot/grub/menu.lst ... done

Preparing to replace libpam0g 0.79-4 (using .../libpam0g_0.79-5_i386.deb) ...
Unpacking replacement libpam0g ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- 
Mathieu


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



Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Damon L. Chesser

Mathieu Malaterre wrote:

Hi there,

  Has anyone seen this issue before (*). I am running a linux debian
stable (etch).

Thanks


(*)
(Reading database ... 66650 files and directories currently installed.)
Preparing to replace linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4
(using .../linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb)
...
The directory /lib/modules/2.6.18-5-486 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.18-5-486 ...
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb
(--unpack):
 failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.18-5-486/kernel/drivers/md/dm-mod.ko': No space
left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/update-grub.
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.

 1. /usr/share/doc/grub/NEWS.Debian.gz


You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.22-3-486
Found kernel: /vmlinuz-2.6.21-2-486
Found kernel: /vmlinuz-2.6.18-5-486
Found kernel: /vmlinuz-2.6.18-4-486
Found kernel: /vmlinuz-2.6.15-1-486
Updating /boot/grub/menu.lst ... done

Preparing to replace libpam0g 0.79-4 (using .../libpam0g_0.79-5_i386.deb) ...
Unpacking replacement libpam0g ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


  
Guess here: 


you are out of room on one of your devices, I would guess /

/var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb
(--unpack):
failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.18-5-486/kernel/drivers/md/dm-mod.ko': No space
left on device

IF I read this correctly, you ran out of room at ./lib/modules/etc/etc, 
which should be on /


do a df -h /

HTH

--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Mike Bird
On Tue April 8 2008 15:11:06 Mathieu Malaterre wrote:
   Has anyone seen this issue before (*). I am running a linux debian
 stable (etch).

Yes.  Wou were lucky.  Sometimes when /boot is full it silently
corrupts the initramfs without any error message.  You probably
need to make room in /boot, perhaps by deleting an old unused
kernel.


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



Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Damon L. Chesser

Mike Bird wrote:

On Tue April 8 2008 15:11:06 Mathieu Malaterre wrote:
  

  Has anyone seen this issue before (*). I am running a linux debian
stable (etch).



Yes.  Wou were lucky.  Sometimes when /boot is full it silently
corrupts the initramfs without any error message.  You probably
need to make room in /boot, perhaps by deleting an old unused
kernel.


  
And that was my 2nd guess, but I have never had a full /boot so I can 
only read the place where it errored, which was with the modules unpacking.


you can do a df -h /boot to test.  most people put /boot on / if they 
are not running raid or LVM or have some other reason to hang it alone.  
If /boot is not on it's own partition, look at a full /


HTH

--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Mathieu Malaterre
On Wed, Apr 9, 2008 at 12:32 AM, Damon L. Chesser [EMAIL PROTECTED] wrote:
 Mike Bird wrote:

  On Tue April 8 2008 15:11:06 Mathieu Malaterre wrote:
 
 
Has anyone seen this issue before (*). I am running a linux debian
   stable (etch).
  
  
 
  Yes.  Wou were lucky.  Sometimes when /boot is full it silently
  corrupts the initramfs without any error message.  You probably
  need to make room in /boot, perhaps by deleting an old unused
  kernel.
 
 
 
 
  And that was my 2nd guess, but I have never had a full /boot so I can only
 read the place where it errored, which was with the modules unpacking.

  you can do a df -h /boot to test.  most people put /boot on / if they are
 not running raid or LVM or have some other reason to hang it alone.  If
 /boot is not on it's own partition, look at a full /


  HTH

  --
  Damon L. Chesser
  [EMAIL PROTECTED]



  --

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



What I am reading wrong:

$ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/mapper/Debian-root
264854255254 0 100% /
tmpfs91848 0 91848   0% /lib/init/rw
udev 1024068 10172   1% /dev
tmpfs91848 0 91848   0% /dev/shm
/dev/hdb6   25 49336171551  23% /boot
/dev/mapper/Debian-home
   9913988   3348716   6061672  36% /home
/dev/mapper/Debian-tmp
376197  8274347853   3% /tmp
/dev/mapper/Debian-usr
   4922684   1202764   3469860  26% /usr
/dev/mapper/Debian-var
   2955216261392   2543708  10% /var


everything looks fine, right ?

$ df -h /boot
FilesystemSize  Used Avail Use% Mounted on
/dev/hdb6 228M   49M  168M  23% /boot


thx
-- 
Mathieu


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



Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Mike Bird
On Tue April 8 2008 15:37:25 Mathieu Malaterre wrote:
 What I am reading wrong:

 $ df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/mapper/Debian-root
 264854255254 0 100% /

 everything looks fine, right ?

Damon is right.  Your root is full.  You could start with
du -x --max-depth=1 / to see what's taking up the space.


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



Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Damon L. Chesser

Mathieu Malaterre wrote:

On Wed, Apr 9, 2008 at 12:32 AM, Damon L. Chesser [EMAIL PROTECTED] wrote:
  

Mike Bird wrote:



On Tue April 8 2008 15:11:06 Mathieu Malaterre wrote:


  

 Has anyone seen this issue before (*). I am running a linux debian
stable (etch).




Yes.  Wou were lucky.  Sometimes when /boot is full it silently
corrupts the initramfs without any error message.  You probably
need to make room in /boot, perhaps by deleting an old unused
kernel.




  

 And that was my 2nd guess, but I have never had a full /boot so I can only
read the place where it errored, which was with the modules unpacking.

 you can do a df -h /boot to test.  most people put /boot on / if they are
not running raid or LVM or have some other reason to hang it alone.  If
/boot is not on it's own partition, look at a full /


 HTH

 --
 Damon L. Chesser
 [EMAIL PROTECTED]



 --

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





What I am reading wrong:

$ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/mapper/Debian-root
264854255254 0 100% /
tmpfs91848 0 91848   0% /lib/init/rw
udev 1024068 10172   1% /dev
tmpfs91848 0 91848   0% /dev/shm
/dev/hdb6   25 49336171551  23% /boot
/dev/mapper/Debian-home
   9913988   3348716   6061672  36% /home
/dev/mapper/Debian-tmp
376197  8274347853   3% /tmp
/dev/mapper/Debian-usr
   4922684   1202764   3469860  26% /usr
/dev/mapper/Debian-var
   2955216261392   2543708  10% /var


everything looks fine, right ?

$ df -h /boot
FilesystemSize  Used Avail Use% Mounted on
/dev/hdb6 228M   49M  168M  23% /boot


thx
  

Wrong!

two things: 


One:  do this:  df -h /

it is just easier to read.

Two:  the first line of the report:

Filesystem   1K-blocks  Used Available Use% Mounted on

/dev/mapper/Debian-root   264854   255254 0  
100%   /


Shows you have used 100% of / (root)

the reason that it shows 1K-blocks 264854 but only shows 255254 used and 
says it is full is because 5% by default is reserved for user root.


is your /home on / or it's own partition?  If it is on /, time to cut 
down your collection of what-ever-you-downloaded (just guessing).  you 
could have a run-a-way log filling up your space.


time to do some detective work and find out what is filling up your / space.

HTH

--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch6_i386.deb (--unpack):

2008-04-08 Thread Mathieu Malaterre
On Wed, Apr 9, 2008 at 12:41 AM, Mike Bird [EMAIL PROTECTED] wrote:
 On Tue April 8 2008 15:37:25 Mathieu Malaterre wrote:
   What I am reading wrong:
  
   $ df
   Filesystem   1K-blocks  Used Available Use% Mounted on
   /dev/mapper/Debian-root
   264854255254 0 100% /
  
   everything looks fine, right ?

  Damon is right.  Your root is full.  You could start with
  du -x --max-depth=1 / to see what's taking up the space.

Thanks ! I was only looking at the /boot line. :)


Will fix asap, thanks all!
-- 
Mathieu


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



Re: dpkg error

2008-03-28 Thread Sven Joachim
On 2008-03-28 01:43 +0100, Jude DaShiell wrote:

 This is one dpkg failed to recover from; just the relevant lines of
 the script file follow:
 Selecting previously deselected package libdjvulibre21.
 Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
 dpkg: error processing 
 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
  trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
 package libdjvulibre15

A general advice: learn to use the BTS, it is IMHO Debian's most
important resource, especially if you run unstable.  I was bitten by
that bug too, and it only took a few minutes to find and read
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471650, where a
workaround is described.

Sven


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



Re: dpkg error

2008-03-28 Thread Damon L. Chesser

Sven Joachim wrote:

On 2008-03-28 01:43 +0100, Jude DaShiell wrote:

  

This is one dpkg failed to recover from; just the relevant lines of
the script file follow:
Selecting previously deselected package libdjvulibre21.
Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb 
(--unpack):
 trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
package libdjvulibre15



A general advice: learn to use the BTS, it is IMHO Debian's most
important resource, especially if you run unstable.  I was bitten by
that bug too, and it only took a few minutes to find and read
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471650, where a
workaround is described.

Sven


  
I hate to ask this, this is so stupid!  I gave up using the bug search 
function long ago.  I can't ever find anything!


If I go to http://www.debian.org/Bugs/ and put in libjvulibre I get 
nada.  Same result if I search for


libdjvulibre21_3.5.20-5_i386.deb or libdjvulibre15.  So, what is it my brain 
does not parse that everybody else knows?

BTW, this is not to say I don't google, I find lots of fun things that way, but 
I never find anything with the bug system.  I am not stupid, I just don't grok 
it.


Now, as to the OP issues:  in unstable you get this issue often and you run 
into it doing dist-upgrades from some stable or testing.  No need even to 
google this, just use the dpkg -i --force-overwrite 
/path/in/error/message/packagename.deb OR wait until some one releases a newer 
version of the package.



--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg error

2008-03-28 Thread Bob Cox
On Fri, Mar 28, 2008 at 10:18:00 -0400, Damon L. Chesser ([EMAIL PROTECTED]) 
wrote: 

 I hate to ask this, this is so stupid!  I gave up using the bug search 
 function long ago.  I can't ever find anything!
 
 If I go to http://www.debian.org/Bugs/ and put in libjvulibre I get 
 nada.  Same result if I search for
 
 libdjvulibre21_3.5.20-5_i386.deb or libdjvulibre15.  So, what is it my 
 brain does not parse that everybody else knows?

Try with libdjvulibre21 - that seems to produce something.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.


signature.asc
Description: Digital signature


Re: dpkg error

2008-03-28 Thread Damon L. Chesser

Bob Cox wrote:
On Fri, Mar 28, 2008 at 10:18:00 -0400, Damon L. Chesser ([EMAIL PROTECTED]) wrote: 

  
I hate to ask this, this is so stupid!  I gave up using the bug search 
function long ago.  I can't ever find anything!


If I go to http://www.debian.org/Bugs/ and put in libjvulibre I get 
nada.  Same result if I search for


libdjvulibre21_3.5.20-5_i386.deb or libdjvulibre15.  So, what is it my 
brain does not parse that everybody else knows?



Try with libdjvulibre21 - that seems to produce something.

  
Well, I said it was stupid.  It does show up something.  I could have 
sworn I did that and nothing showed.  For being so smart, I can be so 
stupid sometimes.


--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg error

2008-03-28 Thread Andrew Sackville-West
On Fri, Mar 28, 2008 at 10:31:02AM -0400, Damon L. Chesser wrote:
 Bob Cox wrote:
 On Fri, Mar 28, 2008 at 10:18:00 -0400, Damon L. Chesser 
 ([EMAIL PROTECTED]) wrote: 

   
 I hate to ask this, this is so stupid!  I gave up using the bug 
 search function long ago.  I can't ever find anything!

 If I go to http://www.debian.org/Bugs/ and put in libjvulibre I get  
 nada.  Same result if I search for

 libdjvulibre21_3.5.20-5_i386.deb or libdjvulibre15.  So, what is it 
 my brain does not parse that everybody else knows?
 

 Try with libdjvulibre21 - that seems to produce something.

   
 Well, I said it was stupid.  It does show up something.  I could have  
 sworn I did that and nothing showed.  For being so smart, I can be so  
 stupid sometimes.

nah, not stupid. just gifted in non-obvious ways? ;-)

seriously though, here are a couple of pointers.

there is a better bug search at:

http://merkel.debian.org/~don/cgi/search.cgi

that does turn up results for the string libjvulibre

and its important to understand how BTS search works. If you enter a
string for the package name to search for, it looks for bugs against
that package. It doesn't check the validity of the package name. You
can test this by entering nonsense in the search field: 

http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkgdata=goobersarchive=noversion=dist=unstable

it blithely reports that there are no bugs for the package goobers,
which is of course true. It neglects to mention that there is no such
package. But if you read between the lines there, you'll realise that
it hints at there being no such package. And if you follow the link to
goobers package page it returns no results. 

With that bit of information about BTS, you'll now realise when you've
entered an incorrect packages name and try again. :)

A


signature.asc
Description: Digital signature


dpkg error

2008-03-27 Thread Jude DaShiell
This is one dpkg failed to recover from; just the relevant lines of the 
script file follow:

Selecting previously deselected package libdjvulibre21.
Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb 
(--unpack):
 trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
package libdjvulibre15



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




Re: dpkg error

2008-03-27 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/27/08 19:43, Jude DaShiell wrote:
 This is one dpkg failed to recover from; just the relevant lines of the
 script file follow:
 Selecting previously deselected package libdjvulibre21.
 Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
 dpkg: error processing
 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
  trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is
 also in package libdjvulibre15

Don't panic!  You're not the only one...

- --
Ron Johnson, Jr.
Jefferson LA  USA

Supporting World Peace Through Nuclear Pacification
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH7EIyS9HxQb37XmcRAkxYAJ9BqEM9MLzoq+Hlwd/C8NPh+R6wawCg0VrV
wq4gsBuVnYt+e4JdE+EC/qw=
=XDWg
-END PGP SIGNATURE-


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



Re: dpkg error

2008-03-27 Thread Michael Marsh
On Thu, Mar 27, 2008 at 8:43 PM, Jude DaShiell [EMAIL PROTECTED] wrote:
 This is one dpkg failed to recover from; just the relevant lines of the
  script file follow:
  Selecting previously deselected package libdjvulibre21.
  Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
  dpkg: error processing 
 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
   trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
 package libdjvulibre15

If you've gotten to that point, presumably you have partially updated
packages that depend on those (such as evince).  What worked for me
was to do a
$ dpkg -r libdjvulibre15
followed by a normal run of aptitude.  Removing the old library
doesn't cause evince to be removed, because the new version is already
there, just broken.

YMMV.

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com


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



Re: dpkg error

2008-03-27 Thread Damon L. Chesser

Michael Marsh wrote:

On Thu, Mar 27, 2008 at 8:43 PM, Jude DaShiell [EMAIL PROTECTED] wrote:
  

This is one dpkg failed to recover from; just the relevant lines of the
 script file follow:
 Selecting previously deselected package libdjvulibre21.
 Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
 dpkg: error processing 
/var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
  trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
package libdjvulibre15



If you've gotten to that point, presumably you have partially updated
packages that depend on those (such as evince).  What worked for me
was to do a
$ dpkg -r libdjvulibre15
followed by a normal run of aptitude.  Removing the old library
doesn't cause evince to be removed, because the new version is already
there, just broken.

YMMV.

  

Really?  I would have done this:

dpkg -i --force-overwrite 
/var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb


which ignores the fact that another file also wants to own that

/usr/share/djvu/osi/cs/messages.xml

However, I see your reasoning.  Assuming that libdjvulibre15 is NOT needed 
since you are updating to libjvulibre21.

However, if anything is deping on libdjvulibre15, you just un-installed it.

I only posted this for the benefit of anybody who wants to know how to get 
dpkg to handle such things.

You (the person who thinks this is a cool option) might want to read  dpkg --force-help 
to find out all the things you can force and all the breakage that can happen.

After having warned you, I have never caused breakage from using this option 
and a few others as needed.

You mostly need this command switch (dpkg --force-option) if you run into 
issues doing a dist-upgrade and dpkg gets stuck

Note to Ron Johnson:  is this happening a lot?  I did not see any posts on this.

HTH



--
Damon L. Chesser
[EMAIL PROTECTED]



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




Re: dpkg error

2008-03-27 Thread Michael Marsh
On Thu, Mar 27, 2008 at 10:34 PM, Damon L. Chesser [EMAIL PROTECTED] wrote:
 Michael Marsh wrote:
   If you've gotten to that point, presumably you have partially updated
   packages that depend on those (such as evince).  What worked for me
   was to do a
   $ dpkg -r libdjvulibre15
   followed by a normal run of aptitude.  Removing the old library
   doesn't cause evince to be removed, because the new version is already
   there, just broken.
  
  Really?  I would have done this:

  dpkg -i --force-overwrite

 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb

  which ignores the fact that another file also wants to own that


  /usr/share/djvu/osi/cs/messages.xml

Good to know.  I hardly ever use dpkg, so I was just looking for a way
to force the removal of a no-longer-needed and update-blocking
package.

 you are updating to libjvulibre21.

  However, if anything is deping on libdjvulibre15, you just un-installed it.

Yes, I verified that in aptitude first.

  Note to Ron Johnson:  is this happening a lot?  I did not see any posts on 
 this.

querybts shows 4 distinct bug reports for the same problem, with
almost identical subjects.  Do people even *read* the listings in
reportbug? (Check that -- I know the answer.)

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com


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



re: dpkg error

2008-03-27 Thread Jude DaShiell

Selecting previously deselected package libdjvulibre21.
Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb 
(--unpack):
 trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also 
in package libdjvulibre15 This package is preventing evince from being 
configured since it's an evince dependency.



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




Re: dpkg error

2008-03-27 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/27/08 22:38, Jude DaShiell wrote:
 Selecting previously deselected package libdjvulibre21.
 Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
 dpkg: error processing
 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
  trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is
 also in package libdjvulibre15 This package is preventing evince from
 being configured since it's an evince dependency.

Follow Damon's advice, and everything will work out fine.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Supporting World Peace Through Nuclear Pacification
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH7GqsS9HxQb37XmcRAuQkAKCn2P/PMy+oknLPcNRDf92SrWUYFwCfTKCK
bkGcmc1pmCgZ2jJkEVnOG2w=
=jshd
-END PGP SIGNATURE-


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



Re: dpkg error

2008-03-27 Thread Damon L. Chesser

Damon L. Chesser wrote:

Michael Marsh wrote:
On Thu, Mar 27, 2008 at 8:43 PM, Jude DaShiell 
[EMAIL PROTECTED] wrote:
 

This is one dpkg failed to recover from; just the relevant lines of the
 script file follow:
 Selecting previously deselected package libdjvulibre21.
 Unpacking libdjvulibre21 (from 
.../libdjvulibre21_3.5.20-5_i386.deb) ...
 dpkg: error processing 
/var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb (--unpack):
  trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which 
is also in package libdjvulibre15



If you've gotten to that point, presumably you have partially updated
packages that depend on those (such as evince).  What worked for me
was to do a
$ dpkg -r libdjvulibre15
followed by a normal run of aptitude.  Removing the old library
doesn't cause evince to be removed, because the new version is already
there, just broken.

YMMV.

  

Really?  I would have done this:

dpkg -i --force-overwrite 
/var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb


which ignores the fact that another file also wants to own that

/usr/share/djvu/osi/cs/messages.xml

However, I see your reasoning.  Assuming that libdjvulibre15 is NOT 
needed since you are updating to libjvulibre21.


However, if anything is deping on libdjvulibre15, you just 
un-installed it.


I only posted this for the benefit of anybody who wants to know how 
to get dpkg to handle such things.


You (the person who thinks this is a cool option) might want to read  
dpkg --force-help to find out all the things you can force and all 
the breakage that can happen.


After having warned you, I have never caused breakage from using this 
option and a few others as needed.


You mostly need this command switch (dpkg --force-option) if you run 
into issues doing a dist-upgrade and dpkg gets stuck


Note to Ron Johnson:  is this happening a lot?  I did not see any 
posts on this.


HTH



BTW, by using the dpkg --force-architecture switch you can install, say, 
i386.debs on a x64 machine.  Why would you want to do this?  What if you 
want skype which only come in a i386.deb and you don't/can't compile 
from source?  Note:  you will get dep issues for about 3 or 4 things.  
search for the package that contains these 3 or 4 things on debian.org 
i386, and download the .deb and use the same command to install the 
deps, repeat until skype installs.  Now don't do this and claim I broke 
your system.  If this breaks your system, YOU broke it.  I can only 
speak about forcing the architecture for skype on MY box with my 
packages installed.  It worked.  I only want to show the nice tricks 
dpkg can do and show how easy it is to totally break your box and give 
you reason to test your backup/re-installation skills.  You have been 
warned.


--
Damon L. Chesser
[EMAIL PROTECTED]



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




dpkg: error processing texlive-common (--configure)

2007-07-04 Thread H.S.


In Debian testing, I am getting this error after an upgrade:

-
Setting up texlive-common (2005.dfsg.3-1) ...
/var/lib/dpkg/info/texlive-common.postinst: line 118: 
/usr/share/tex-common/tetex-bin-upgrade: No such file or directory

dpkg: error processing texlive-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of 
texlive-latex-recommended:
 texlive-latex-recommended depends on texlive-common (= 
2005.dfsg.2-1); however:

  Package texlive-common is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-xcolor:
 latex-xcolor depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
dpkg: error processing latex-xcolor (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pgf:
 pgf depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
 pgf depends on latex-xcolor (= 2.00-1); however:
  Package latex-xcolor is not configured yet.
dpkg: error processing pgf (--configure):
 dependency problems - leaving unconfigured
Setting up prosper (1.00.4+cvs.2007.05.01-1) ...
Running mktexlsr. This may take some time... done.
.
.
.
.
.
.
Errors were encountered while processing:
 texlive-common
 texlive-latex-recommended
 latex-xcolor
 pgf
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up texlive-common (2005.dfsg.3-1) ...
/var/lib/dpkg/info/texlive-common.postinst: line 118: 
/usr/share/tex-common/tetex-bin-upgrade: No such file or directory

dpkg: error processing texlive-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of 
texlive-latex-recommended:
 texlive-latex-recommended depends on texlive-common (= 
2005.dfsg.2-1); however:

  Package texlive-common is not configured yet.
dpkg: error processing texlive-latex-recommended (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of latex-xcolor:
 latex-xcolor depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
dpkg: error processing latex-xcolor (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pgf:
 pgf depends on texlive-latex-recommended; however:
  Package texlive-latex-recommended is not configured yet.
 pgf depends on latex-xcolor (= 2.00-1); however:
  Package latex-xcolor is not configured yet.
dpkg: error processing pgf (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 texlive-common
 texlive-latex-recommended
 latex-xcolor
 pgf
-


What should I do next? It is probably not okay to leave the things in 
this state, is it?


thanks,
-HS



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




Re: dpkg: error processing texlive-common (--configure)

2007-07-04 Thread Florian Kulzer
On Wed, Jul 04, 2007 at 12:40:09 -0400, H.S. wrote:

 In Debian testing, I am getting this error after an upgrade:

 -
 Setting up texlive-common (2005.dfsg.3-1) ...
 /var/lib/dpkg/info/texlive-common.postinst: line 118: 
 /usr/share/tex-common/tetex-bin-upgrade: No such file or directory
 dpkg: error processing texlive-common (--configure):
  subprocess post-installation script returned error exit status 1

[ snip: more errors for packages that depend on texlive-common ]

 What should I do next? It is probably not okay to leave the things in this 
 state, is it?

Seems to be this issue:

#429753 [FIXED 2007-10]: texlive-commong post-install action fails, blocking 
tex/latex install
#425270 [FIXED texlive-base 2007-7]: texlive-common: still calling 
tetex-bin-upgrade

One of the follow-ups of #429753 suggests that it is enough to comment
out line 118 in the post-installation script. (tetex-bin-upgrade is
obsolete for Lenny; it only exists in the Etch version the tex-common
package.) If that is the case then it should also be possible to provide
a symlink to /bin/true as a fake tetex-bin-upgrade command:

ln -s /bin/true /usr/share/tex-common/tetex-bin-upgrade
dpkg --configure texlive-common
rm -i /usr/share/tex-common/tetex-bin-upgrade
aptitude install -f

(You can of course also use apt-get for the last step if you prefer.)

If you want to play it safe then you can simply wait for texlive-common
2007-10 to come to Lenny. This might still take a while, though:

http://bjorn.haxx.se/debian/testing.pl?package=texlive-base

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: dpkg: error processing texlive-common (--configure)

2007-07-04 Thread H.S.

Florian Kulzer wrote:

On Wed, Jul 04, 2007 at 12:40:09 -0400, H.S. wrote:

In Debian testing, I am getting this error after an upgrade:

-
Setting up texlive-common (2005.dfsg.3-1) ...
/var/lib/dpkg/info/texlive-common.postinst: line 118: 
/usr/share/tex-common/tetex-bin-upgrade: No such file or directory

dpkg: error processing texlive-common (--configure):
 subprocess post-installation script returned error exit status 1


[ snip: more errors for packages that depend on texlive-common ]

What should I do next? It is probably not okay to leave the things in this 
state, is it?


Seems to be this issue:

#429753 [FIXED 2007-10]: texlive-commong post-install action fails, blocking 
tex/latex install
#425270 [FIXED texlive-base 2007-7]: texlive-common: still calling 
tetex-bin-upgrade

One of the follow-ups of #429753 suggests that it is enough to comment
out line 118 in the post-installation script. (tetex-bin-upgrade is
obsolete for Lenny; it only exists in the Etch version the tex-common
package.) If that is the case then it should also be possible to provide
a symlink to /bin/true as a fake tetex-bin-upgrade command:

ln -s /bin/true /usr/share/tex-common/tetex-bin-upgrade
dpkg --configure texlive-common
rm -i /usr/share/tex-common/tetex-bin-upgrade
aptitude install -f

(You can of course also use apt-get for the last step if you prefer.)


Thanks. I will do as you suggest below, unless I have to use latex and 
see that I need to fix the package (in which case, I will try one of the 
above two methods).




If you want to play it safe then you can simply wait for texlive-common
2007-10 to come to Lenny. This might still take a while, though:

http://bjorn.haxx.se/debian/testing.pl?package=texlive-base





regards,
-HS


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




Re: dpkg: error while cleaning up

2006-10-22 Thread Hans du Plooy
On Wed, 2006-10-18 at 15:57 +0200, Florian Kulzer wrote:
  dpkg: error processing postfix-policyd (--remove):
   subprocess pre-removal script returned error exit status 10
  Errors were encountered while processing:
   postfix-policyd
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  mail:~#

 We have to identify the problem in the pre-removal script:
 /var/lib/dpkg/info/postfix-policyd.prerm

It looks like this:

#!/bin/sh

set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/share/dbconfig-common/dpkg/prerm.mysql
dbc_go postfix-policyd $@

# Automatically added by dh_installinit
if [ -x /etc/init.d/postfix-policyd ]; then
if [ -x `which invoke-rc.d 2/dev/null` ]; then
invoke-rc.d postfix-policyd stop || exit $?
else
/etc/init.d/postfix-policyd stop || exit $?
fi
fi
# End automatically added section

I don't see a dbc_go command anywhere?

 If you don't know shell scripting well enough to figure it out yourself
 then tell us which version of the postfix-policyd package is currently
 installed on your system. (dpkg -l postfix-policyd)
My scripting skill is very basic, but enough to get a rough idea of what
most scripts do.

I have postfix-policyd 1.80-2.1

Thanks
Hans


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



Re: dpkg: error while cleaning up

2006-10-22 Thread Florian Kulzer
On Sun, Oct 22, 2006 at 15:18:21 +0200, Hans du Plooy wrote:
 On Wed, 2006-10-18 at 15:57 +0200, Florian Kulzer wrote:
   dpkg: error processing postfix-policyd (--remove):
subprocess pre-removal script returned error exit status 10
   Errors were encountered while processing:
postfix-policyd
   E: Sub-process /usr/bin/dpkg returned an error code (1)
   mail:~#
 
  We have to identify the problem in the pre-removal script:
  /var/lib/dpkg/info/postfix-policyd.prerm
 
 It looks like this:
 
 #!/bin/sh
 
 set -e
 #set -x
 
 . /usr/share/debconf/confmodule
 . /usr/share/dbconfig-common/dpkg/prerm.mysql
 dbc_go postfix-policyd $@
 
 # Automatically added by dh_installinit
 if [ -x /etc/init.d/postfix-policyd ]; then
 if [ -x `which invoke-rc.d 2/dev/null` ]; then
 invoke-rc.d postfix-policyd stop || exit $?
 else
 /etc/init.d/postfix-policyd stop || exit $?
 fi
 fi
 # End automatically added section
 
 I don't see a dbc_go command anywhere?

It is defined in /usr/share/dbconfig-common/dpkg/prerm which is sourced
by /usr/share/dbconfig-common/dpkg/prerm.mysql. Seems to be part of a
general system to help with packages that use databases. Do you have the
latest version of package dbconfig-common installed?

[...]

 I have postfix-policyd 1.80-2.1

If all else fails then I myself would be sorely tempted to simply
comment out the dbc_go line in the pre-removal script.

-- 
Regards,
  Florian


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



Re: dpkg: error while cleaning up

2006-10-22 Thread Hans du Plooy
On Sun, 2006-10-22 at 17:09 +0200, Florian Kulzer wrote:
 It is defined in /usr/share/dbconfig-common/dpkg/prerm which is sourced
 by /usr/share/dbconfig-common/dpkg/prerm.mysql. Seems to be part of a
 general system to help with packages that use databases. Do you have the
 latest version of package dbconfig-common installed?
 
 [...]
 
  I have postfix-policyd 1.80-2.1
 
 If all else fails then I myself would be sorely tempted to simply
 comment out the dbc_go line in the pre-removal script.

Florian, Thanks.  I'll check this out further tomorrow - don't have
access to the box right now.  I'm sure apt-get update/upgrade will
eventually fix it, but I've gotten this error before, so I would like to
learn it inside-out.

Thanks
Hans


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



  1   2   3   >