Re: dpkg returned an error code 1

2019-12-19 Thread Marco Shaw
I might have fixed this by simply running:
dpkg --configure -a

My highest priority was to be able to install mycustompackage.deb.  I'm a
bit less concerned if I'm slightly behind on qmail versions (or a few other
packages).

On Thu, Dec 19, 2019 at 2:54 PM Marco Shaw  wrote:

> (I'm not sure if I'm on the right track and whether the information below
> is everything.  I'm still researching and trying to figure out what to do.
> There's no backup available.  I'm looking for any possible
> hints/logs/commands/etc.)
>
> Debian Wheezy 7.x 32-bit (I know I should upgrade, but bear with me)
>
> I'm in a bit of a pickle. I tried to upgrade a chroot'ed environment and
> it seems I broke dpkg in the process.
>
> I don't know if the cause of the problems is that apt-get isn't able to
> handle a qmail upgrade or if it's something else (it seems snmpd also
> didn't "finish" during the last round).
>
> I think the error I'm trying to address is:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I might have some of the information from the console when this first
> broke, but it seems I can reproduce as per below.
>
> It seems I have a very old version of qmail, and upgrading to the one in
> my apt mirror is too much of a change. I've googled, and have not been able
> to find anything between 1.03-38 and 1.06-5 yet.
>
> (Removed a few lines and struggled with the formatting)
> # apt-get install qmail
> The following extra packages will be installed:
>   qmail-run qmail-uids-gids
> Suggested packages:
>   dot-forward qmail-tools
> The following NEW packages will be installed:
>   qmail-run qmail-uids-gids
> The following packages will be upgraded:
>   qmail
> 1 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
> 107 not fully installed or removed.
> Do you want to continue [Y/n]?
> Get:1 http://10.105.176.67/debian/ wheezy/main snmpd i386
> 5.4.3~dfsg-2.8+deb7u1 [964 kB]
> Fetched 964 kB in 0s (6,685 kB/s)
> Can not write log, openpty() failed (/dev/pts not mounted?)
> (Reading database ... 1852018 files and directories currently installed.)
> Preparing to replace qmail 1.03-38 (using
> .../archives/qmail_1.06-5_i386.deb) ...
> Upgrading from qmail version 1.03-38 is not yet supported.
> dpkg: error processing /var/cache/apt/archives/qmail_1.06-5_i386.deb
> (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> rmdir: failed to remove `/var/lib/qmail': Directory not empty
> insserv: warning: script 'K01qmail' missing LSB tags and overrides
> insserv: warning: script 'qmail' missing LSB tags and overrides
> dpkg: regarding .../qmail-uids-gids_1.06-5_all.deb containing
> qmail-uids-gids:
>  qmail conflicts with qmail-uids-gids
>   qmail-uids-gids (version 1.06-5) is to be installed.
> dpkg: error processing
> /var/cache/apt/archives/qmail-uids-gids_1.06-5_all.deb (--unpack):
>  conflicting packages - not installing qmail-uids-gids
> dpkg: regarding .../qmail-run_2.0.2_all.deb containing qmail-run:
>  qmail-run conflicts with mail-transport-agent
>   qmail provides mail-transport-agent and is present and installed.
>


Re: dpkg returned an error code 1

2019-12-19 Thread Greg Wooledge
On Thu, Dec 19, 2019 at 03:30:37PM -0400, Marco Shaw wrote:
> (I'm not sure how well Gmail will format things.)

Seems OK, mostly.

> Also in my chroot:

Ah.  You likely forgot to bind-mount the various little things that
one has to bind-mount inside a chroot to get full functionality.  This
is probably not immediately relevant to your problem.  Probably.

> # dpkg -i /tmp/mycustompackage_i386.deb
> Selecting previously unselected package mycustompackage.

One has to wonder whether this package is even properly built.

> dpkg: dependency problems prevent configuration of mycustompackage:
> mycustompackage depends on libmysqlclient18 (>= 5.5.43-0+deb7u1); however:
>   Package libmysqlclient18:i386 is not configured yet.
> mycustompackage depends on libk5crypto3 (>= 1.10.1+dfsg-5+deb7u3); however:
>   Package libk5crypto3:i386 is not configured yet.
> mycustompackage depends on perl-modules (>= 5.14.2-21+deb7u2); however:
>   Package perl-modules is not configured yet.
> mycustompackage depends on libxml2 (>= 2.8.0+dfsg1-7+wheezy4); however:
>   Package libxml2:i386 is not configured yet.
> mycustompackage depends on libkrb5support0 (>= 1.10.1+dfsg-5+deb7u3);
> however:
>   Package libkrb5support0:i386 is not configured yet.
> mycustompackage depends on libcurl3 (>= 7.26.0-1+wheezy17); however:
>   Package libcurl3:i386 is not configured yet.
> mycustompackage depends on libssl1.0.0 (>= 1.0.1t-1+deb7u1); however:
>   Package libssl1.0.0:i386 is not configured yet.
> mycustompackage depends on libxml-libxml-perl (>= 2.0001+dfsg-1+deb7u1);
> however:
>   Package libxml-l

The errors cut off here, perhaps due to a cut and paste failure, or
perhaps due to something else.  I suspect the important bits are in
this missing segment.  There's some long chain of A depends on B
depends on C depends on D... and we need to see the end of this chain.



Re: dpkg returned an error code 1

2019-12-19 Thread Marco Shaw
(I'm not sure how well Gmail will format things.)

I'm adding one more piece of information and I've also answered/commented
much further below.

I tried to install a customer .deb file and it threw these types of errors
as copied below.  I don't know if this adds/clarifies anything.

I'm 99% certain this is the chain of events to where I'm at:
1. I changes the sources.list to point to an Internet site (my local Wheezy
repo was badly broken - long story)
2. Installed a whole bunch of updates (including the ones showing "not
configured" above, and the qmail and snmpd that are showing errors.  Ended
up with a "dpkg error 1".
3. Tried to install mycustompackage and see the above error.
4. Tried a apt-get install/dist-upgrade to see if it helps any to help me
figure out the problem.

Also in my chroot:
# dpkg -i /tmp/mycustompackage_i386.deb
Selecting previously unselected package mycustompackage.
(Reading database ... 1834636 files and directories currently installed.)
Unpacking mycustompackage (from .../mycustompackage_i386.deb) ...
dpkg: dependency problems prevent configuration of mycustompackage:
mycustompackage depends on libmysqlclient18 (>= 5.5.43-0+deb7u1); however:
  Package libmysqlclient18:i386 is not configured yet.
mycustompackage depends on libk5crypto3 (>= 1.10.1+dfsg-5+deb7u3); however:
  Package libk5crypto3:i386 is not configured yet.
mycustompackage depends on perl-modules (>= 5.14.2-21+deb7u2); however:
  Package perl-modules is not configured yet.
mycustompackage depends on libxml2 (>= 2.8.0+dfsg1-7+wheezy4); however:
  Package libxml2:i386 is not configured yet.
mycustompackage depends on libkrb5support0 (>= 1.10.1+dfsg-5+deb7u3);
however:
  Package libkrb5support0:i386 is not configured yet.
mycustompackage depends on libcurl3 (>= 7.26.0-1+wheezy17); however:
  Package libcurl3:i386 is not configured yet.
mycustompackage depends on libssl1.0.0 (>= 1.0.1t-1+deb7u1); however:
  Package libssl1.0.0:i386 is not configured yet.
mycustompackage depends on libxml-libxml-perl (>= 2.0001+dfsg-1+deb7u1);
however:
  Package libxml-l
dpkg: error processing mycustompackage (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mycustompackage

On Thu, Dec 19, 2019 at 3:02 PM Greg Wooledge  wrote:

> On Thu, Dec 19, 2019 at 02:54:18PM -0400, Marco Shaw wrote:
> > # apt-get install qmail
> [...]
> > Can not write log, openpty() failed (/dev/pts not mounted?)
>
> Not reassuring.  Is this a real computer?  Or even a real virtual
> machine?  If it's some kind of container, well... good luck with that.
>
>
Yes, I think this is related to the chroot.  I checked a training video
from 2017 and this comes up often.


> > Upgrading from qmail version 1.03-38 is not yet supported.
> > rmdir: failed to remove `/var/lib/qmail': Directory not empty
>
> Sounds like you will need to clean up some stuff by hand.
>
>
I will work on that.


Re: dpkg returned an error code 1

2019-12-19 Thread Greg Wooledge
On Thu, Dec 19, 2019 at 02:54:18PM -0400, Marco Shaw wrote:
> # apt-get install qmail
[...]
> Can not write log, openpty() failed (/dev/pts not mounted?)

Not reassuring.  Is this a real computer?  Or even a real virtual
machine?  If it's some kind of container, well... good luck with that.

> Upgrading from qmail version 1.03-38 is not yet supported.
> rmdir: failed to remove `/var/lib/qmail': Directory not empty

Sounds like you will need to clean up some stuff by hand.

I recommend that you make a backup of *everything*.  Then make a separate
backup of just the qmail configuration.  Then purge your existing
qmail* packages (use --force-depends to prevent it from screaming).
Then nuke the directories that it wants you to nuke, like the one shown
above.

Then install the new qmail* packages, and merge your old configuration
into the new configuration, manually.



dpkg returned an error code 1

2019-12-19 Thread Marco Shaw
(I'm not sure if I'm on the right track and whether the information below
is everything.  I'm still researching and trying to figure out what to do.
There's no backup available.  I'm looking for any possible
hints/logs/commands/etc.)

Debian Wheezy 7.x 32-bit (I know I should upgrade, but bear with me)

I'm in a bit of a pickle. I tried to upgrade a chroot'ed environment and it
seems I broke dpkg in the process.

I don't know if the cause of the problems is that apt-get isn't able to
handle a qmail upgrade or if it's something else (it seems snmpd also
didn't "finish" during the last round).

I think the error I'm trying to address is:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I might have some of the information from the console when this first
broke, but it seems I can reproduce as per below.

It seems I have a very old version of qmail, and upgrading to the one in my
apt mirror is too much of a change. I've googled, and have not been able to
find anything between 1.03-38 and 1.06-5 yet.

(Removed a few lines and struggled with the formatting)
# apt-get install qmail
The following extra packages will be installed:
  qmail-run qmail-uids-gids
Suggested packages:
  dot-forward qmail-tools
The following NEW packages will be installed:
  qmail-run qmail-uids-gids
The following packages will be upgraded:
  qmail
1 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
107 not fully installed or removed.
Do you want to continue [Y/n]?
Get:1 http://10.105.176.67/debian/ wheezy/main snmpd i386
5.4.3~dfsg-2.8+deb7u1 [964 kB]
Fetched 964 kB in 0s (6,685 kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 1852018 files and directories currently installed.)
Preparing to replace qmail 1.03-38 (using
.../archives/qmail_1.06-5_i386.deb) ...
Upgrading from qmail version 1.03-38 is not yet supported.
dpkg: error processing /var/cache/apt/archives/qmail_1.06-5_i386.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 1
rmdir: failed to remove `/var/lib/qmail': Directory not empty
insserv: warning: script 'K01qmail' missing LSB tags and overrides
insserv: warning: script 'qmail' missing LSB tags and overrides
dpkg: regarding .../qmail-uids-gids_1.06-5_all.deb containing
qmail-uids-gids:
 qmail conflicts with qmail-uids-gids
  qmail-uids-gids (version 1.06-5) is to be installed.
dpkg: error processing
/var/cache/apt/archives/qmail-uids-gids_1.06-5_all.deb (--unpack):
 conflicting packages - not installing qmail-uids-gids
dpkg: regarding .../qmail-run_2.0.2_all.deb containing qmail-run:
 qmail-run conflicts with mail-transport-agent
  qmail provides mail-transport-agent and is present and installed.


Re: Error code 1...........

2014-10-23 Thread Joel Rees
2014/10/23 12:57 Charles Kroeger ckro...@frankensteinface.com:

 On Tue, 21 Oct 2014 11:30:02 +0200
 Charlie aries...@ipstarmail.com.au wrote:

E: Sub-process /usr/bin/dpkg returned an error code (1)
  
   When I encountered this error (which was mentioned on this list a few
   days ago) I purged the linjpeg-turbo-progs package (on which
   apparently nothing depended because it went without complaint) and
   then resumed my upgrade; the error went away. But maybe that's not the
   right way to do it.

 I get a code (1) on every dist-upgrade for some time now..maybe two
weeks, can't
 remember but if I run:

 apt-get -f install

 apt-get goes on to setup the packages it downloaded.

 If the dist-upgrade message says it it going to remove a lot of packages
I run
 instead:

 apt-get -u upgrade

 I continue this command until a dist-upgrade returns to sanity.

Probably a meaningless suggestion, but have you tried

apt-get clean

?

--
Joel Rees

Computer memory is just fancy paper,
CPUs just fancy pens.
All is a stream of text
flowing from the past into the future.


Re: Error code 1...........

2014-10-23 Thread Charles Kroeger
On Thu, 23 Oct 2014 08:10:01 +0200
Joel Rees joel.r...@gmail.com wrote:

 Probably a meaningless suggestion, but have you tried
 
 apt-get clean
 
 ?

Yes once in a while, but I use:

apt-get autoclean

instead and that's before making a weekly image using terabyte image for Linux. 
(and
windows if you like) it is non-free like Weihenstephaner hefe weissbier.

-- 
CK 


-- 
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/casn9lfod6...@mid.individual.net



Re: Error code 1...........

2014-10-22 Thread Charles Kroeger
On Tue, 21 Oct 2014 11:30:02 +0200
Charlie aries...@ipstarmail.com.au wrote:

   E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  When I encountered this error (which was mentioned on this list a few
  days ago) I purged the linjpeg-turbo-progs package (on which
  apparently nothing depended because it went without complaint) and
  then resumed my upgrade; the error went away. But maybe that's not the
  right way to do it.

I get a code (1) on every dist-upgrade for some time now..maybe two weeks, can't
remember but if I run:

apt-get -f install

apt-get goes on to setup the packages it downloaded.

If the dist-upgrade message says it it going to remove a lot of packages I run
instead:

apt-get -u upgrade

I continue this command until a dist-upgrade returns to sanity.

-- 
CK


-- 
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/carbhnf8q2...@mid.individual.net



Re: Error code 1...........

2014-10-21 Thread Charlie
On Mon, 20 Oct 2014 18:33:30 -0400 Patrick Wiseman sent:

 On Mon, Oct 20, 2014 at 6:20 PM, Charlie aries...@ipstarmail.com.au
 wrote:
 
  From my keyboard:
 Debian Jessie on laptop.
 
  Probably nothing but:
 
  The following packages will be upgraded:
libjpeg-progs
  1 upgraded, 0 newly installed, 0 to remove and 100 not upgraded.
  40 not fully installed or removed.
  Need to get 0 B/82.1 kB of archives.
  After this operation, 162 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 140431 files and directories currently
  installed.) Preparing to
  unpack .../libjpeg-progs_1%3a9a-2_amd64.deb ... Unpacking
  libjpeg-progs (1:9a-2) over (1:1.3.1-3) ... dpkg: error processing
  archive /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb
  (--unpack): trying to overwrite '/usr/share/man/man1/djpeg.1.gz',
  which is also in package libjpeg-turbo-progs 1:1.3.1-3 Processing
  triggers for man-db (2.7.0.2-1) ... Errors were encountered while
  processing: /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 When I encountered this error (which was mentioned on this list a few
 days ago) I purged the linjpeg-turbo-progs package (on which
 apparently nothing depended because it went without complaint) and
 then resumed my upgrade; the error went away. But maybe that's not the
 right way to do it.
 
 Patrick

Thanks Patrick,

That package is just dross so I purged it from the system.

Charlie
-- 
Registered Linux User:- 329524
***

The philosopher asks himself, What is your aim in philosophy?
and he answers, To show the fly the way out of the bottle.
And where is he when he has made his escape? He is, it appears,
exactly where he started; for philosophy leaves everything as
it is. --Ludwig Wittgenstein

***

Debian GNU/Linux - just the best way to create magic

-


-- 
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/20141021202740.21cfc000@taogypsy



Error code 1...........

2014-10-20 Thread Charlie

From my keyboard:
   Debian Jessie on laptop.

Probably nothing but:

The following packages will be upgraded:
  libjpeg-progs
1 upgraded, 0 newly installed, 0 to remove and 100 not upgraded.
40 not fully installed or removed.
Need to get 0 B/82.1 kB of archives.
After this operation, 162 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 140431 files and directories currently installed.)
Preparing to unpack .../libjpeg-progs_1%3a9a-2_amd64.deb ...
Unpacking libjpeg-progs (1:9a-2) over (1:1.3.1-3) ...
dpkg: error processing
archive /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb
(--unpack): trying to overwrite '/usr/share/man/man1/djpeg.1.gz', which
is also in package libjpeg-turbo-progs 1:1.3.1-3 Processing triggers
for man-db (2.7.0.2-1) ... Errors were encountered while
processing: /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb E:
Sub-process /usr/bin/dpkg returned an error code (1)
-- 
Registered Linux User:- 329524
***

Just because I accept you as you are does not mean that I have
given up all hope of your improvement. Ashleigh
Brilliant

***

Debian GNU/Linux - just the best way to create magic

-


-- 
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/20141021092047.2d9fbe9c@taogypsy



Re: Error code 1...........

2014-10-20 Thread Patrick Wiseman
On Mon, Oct 20, 2014 at 6:20 PM, Charlie aries...@ipstarmail.com.au wrote:

 From my keyboard:
Debian Jessie on laptop.

 Probably nothing but:

 The following packages will be upgraded:
   libjpeg-progs
 1 upgraded, 0 newly installed, 0 to remove and 100 not upgraded.
 40 not fully installed or removed.
 Need to get 0 B/82.1 kB of archives.
 After this operation, 162 kB of additional disk space will be used.
 Do you want to continue? [Y/n] y
 (Reading database ... 140431 files and directories currently installed.)
 Preparing to unpack .../libjpeg-progs_1%3a9a-2_amd64.deb ...
 Unpacking libjpeg-progs (1:9a-2) over (1:1.3.1-3) ...
 dpkg: error processing
 archive /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb
 (--unpack): trying to overwrite '/usr/share/man/man1/djpeg.1.gz', which
 is also in package libjpeg-turbo-progs 1:1.3.1-3 Processing triggers
 for man-db (2.7.0.2-1) ... Errors were encountered while
 processing: /var/cache/apt/archives/libjpeg-progs_1%3a9a-2_amd64.deb E:
 Sub-process /usr/bin/dpkg returned an error code (1)

When I encountered this error (which was mentioned on this list a few
days ago) I purged the linjpeg-turbo-progs package (on which
apparently nothing depended because it went without complaint) and
then resumed my upgrade; the error went away. But maybe that's not the
right way to do it.

Patrick


-- 
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/cajvvksosay6ggxs9-ckcdnakcukj3dqt6gjenwhcc9cc-ms...@mail.gmail.com



Re: Sub-Process /usr/bin/dpkg returned an error code (1)

2013-02-27 Thread Camaleón
El Tue, 26 Feb 2013 18:38:26 -0300, Horacio escribió:

Horacio, por favor, evita el formato html en los mensajes que mandes a la 
lista. Gracias.

 Holas, en un hosting que me permite instalar un server debian al
 actualizar por apt-get update / upgrade no me permite actualizar el
 kernel... el error que me da con
 
 dpkg --configure --pending
 
 que es el mismo apt-get -f install
 
 me dan estos errores...

(...)
 Searching for default file ... Generating /boot/grub/default file and
 setting the default boot entry to 0
 entry not specified.
 run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code
 1 Failed to process /etc/kernel/postinst.d at
 /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799. dpkg:
 error al procesar linux-image-2.6.32-5-686 (--configure): el subproceso
 instalado el script post-installation devolvió el código de salida de
 error 1
 configured to not write apport reports

(...)

 Se encontraron errores al procesar:
 linux-image-2.6.32-5-686
 linux-image-2.6.32-5-xen-686
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 Alguna idea?

Los dos errores parecen tener el mismo origen por lo que entiendo que 
corrigiendo uno el otro irá detrás.

Me escama ese setting the default boot entry to 0 entry not specified 
generado por el script zz-update-grub. A ver qué encuentra Google... 
ah, mira, revisa este bug aunque es para GRUB Legacy :-?

update-grub failure
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560417

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kgl57s$s7f$2...@ger.gmane.org



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-23 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Dec 22, 2008 at 5:06 PM, Sven Joachim  wrote:
 Exactly.  FWIW, I kind of expected that, it's a rather common error
 when installing linux-image packages because

 - they are rather large and dump everything into the root partition

 - old versions are not automatically deleted by apt/aptitude.

 Also note that during the package upgrades you need to have enough free
 space for both the old and the new version of the package.

Which partition I should free up?
I mean, so that I can install new linux-image package.

Here's my df -h

# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 259M  207M   38M  85% /
tmpfs 253M 0  253M   0% /lib/init/rw
udev   10M   96K   10M   1% /dev
tmpfs 253M 0  253M   0% /dev/shm
/dev/hda9 9.4G  150M  8.8G   2% /home
/dev/hda8 373M   11M  343M   3% /tmp
/dev/hda5 4.6G  541M  3.9G  13% /usr
/dev/hda6 2.8G  771M  1.9G  29% /var

- --
Zaki Akhmad


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklRDJ4ACgkQT4k8JfIMt5f4JACgqJNlTTr+0DJ/R6b/b4t52zDH
huIAniu3bxxiDN5jEHB3bavryQ7Rvu50
=b9hz
-END PGP SIGNATURE-


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



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-23 Thread Sven Joachim
On 2008-12-23 17:07 +0100, Zaki Akhmad wrote:

 On Mon, Dec 22, 2008 at 5:06 PM, Sven Joachim  wrote:
 Exactly.  FWIW, I kind of expected that, it's a rather common error
 when installing linux-image packages because

 - they are rather large and dump everything into the root partition

 - old versions are not automatically deleted by apt/aptitude.

 Also note that during the package upgrades you need to have enough free
 space for both the old and the new version of the package.

 Which partition I should free up?
 I mean, so that I can install new linux-image package.

The root partition, i.e. the one mounted on /.

 Here's my df -h

 # df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/hda1 259M  207M   38M  85% /

Here is your problem, official linux-image-* packages do not fit into
that space:

,
| % aptitude show linux-image-2.6.26-1-686 | grep Size:
| Uncompressed Size: 59.5M
`

In the short run you can free space by removing old kernels, but if you
plan to have more than two kernels installed concurrently, you probably
have to bite the bullet and repartition.

 tmpfs 253M 0  253M   0% /lib/init/rw
 udev   10M   96K   10M   1% /dev
 tmpfs 253M 0  253M   0% /dev/shm
 /dev/hda9 9.4G  150M  8.8G   2% /home
 /dev/hda8 373M   11M  343M   3% /tmp
 /dev/hda5 4.6G  541M  3.9G  13% /usr
 /dev/hda6 2.8G  771M  1.9G  29% /var

Sven


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



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-22 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Dec 22, 2008 at 2:52 PM, Sven Joachim  wrote:

 If you still have your terminal open, send the complete output of the
 apt-get upgrade run.  Otherwise, try apt-get upgrade again.

Here's the full version:

# apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  acpid apache2 apache2-mpm-prefork apache2-utils apache2.2-common
apt-utils aptitude dselect e2fslibs libblkid1 libcairo2 libgnutls26
  libgpm2 libncursesw5 libss2 libuuid1 libxml2 linux-image-2.6-686
linux-image-2.6.26-1-686 locales net-tools openssh-client
openssh-server
  perl-doc ssh ucf
26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
Need to get 0B/42.1MB of archives.
After this operation, 3052kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
Setting up libcomerr2 (1.41.3-1) ...
(Reading database ... 27219 files and directories currently installed.)
Preparing to replace linux-image-2.6.26-1-686 2.6.26-8 (using
.../linux-image-2.6.26-1-686_2.6.26-12_i386.deb) ...
The directory /lib/modules/2.6.26-1-686 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.26-1-686 ...
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
(--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.26-1-686/kernel/net/irda/irda.ko': No space left on
device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/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 ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-1-686
Found kernel: /boot/vmlinuz-2.6.25-2-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done

Preparing to replace e2fslibs 1.41.2-1 (using
.../e2fslibs_1.41.3-1_i386.deb) ...
Unpacking replacement e2fslibs ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

- --
Zaki Akhmad


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklPSX8ACgkQT4k8JfIMt5fUuwCffrSZxeWWgtIX1DCHczoVNACR
CUcAnjs0fcul4XEszKLL8v9FgDWAB3jC
=23qx
-END PGP SIGNATURE-


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



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-22 Thread M.Lewis


Zaki Akhmad wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Dec 22, 2008 at 2:52 PM, Sven Joachim  wrote:

If you still have your terminal open, send the complete output of the
apt-get upgrade run.  Otherwise, try apt-get upgrade again.


Here's the full version:

# apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  acpid apache2 apache2-mpm-prefork apache2-utils apache2.2-common
apt-utils aptitude dselect e2fslibs libblkid1 libcairo2 libgnutls26
  libgpm2 libncursesw5 libss2 libuuid1 libxml2 linux-image-2.6-686
linux-image-2.6.26-1-686 locales net-tools openssh-client
openssh-server
  perl-doc ssh ucf
26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
Need to get 0B/42.1MB of archives.
After this operation, 3052kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
Setting up libcomerr2 (1.41.3-1) ...
(Reading database ... 27219 files and directories currently installed.)
Preparing to replace linux-image-2.6.26-1-686 2.6.26-8 (using
.../linux-image-2.6.26-1-686_2.6.26-12_i386.deb) ...
The directory /lib/modules/2.6.26-1-686 still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.26-1-686 ...
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
(--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.26-1-686/kernel/net/irda/irda.ko': No space left on
device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /sbin/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 ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-1-686
Found kernel: /boot/vmlinuz-2.6.25-2-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done

Preparing to replace e2fslibs 1.41.2-1 (using
.../e2fslibs_1.41.3-1_i386.deb) ...
Unpacking replacement e2fslibs ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Looks like you're out of space:

 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
`./lib/modules/2.6.26-1-686/kernel/net/irda/irda.ko': No space left on
device

--

 SENILE.COM found... Out Of Memory.
  02:05:01 up 5 days,  1:42,  1 user,  load average: 1.87, 1.26, 0.67

 Linux Registered User #241685  http://counter.li.org


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




Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-22 Thread Sven Joachim
On 2008-12-22 09:08 +0100, M.Lewis wrote:

 Looks like you're out of space:

  failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during
 `./lib/modules/2.6.26-1-686/kernel/net/irda/irda.ko': No space left on
 device

Exactly.  FWIW, I kind of expected that, it's a rather common error
when installing linux-image packages because

- they are rather large and dump everything into the root partition

- old versions are not automatically deleted by apt/aptitude.

Also note that during the package upgrades you need to have enough free
space for both the old and the new version of the package.

Sven


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



E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-21 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I met this error while trying to upgrade with

# apt-get upgrade
...
...
...
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-1-686
Found kernel: /boot/vmlinuz-2.6.25-2-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done

Preparing to replace libcomerr2 1.41.2-1 (using
.../libcomerr2_1.41.3-1_i386.deb) ...
Unpacking replacement libcomerr2 ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Someone could give me a hint? I can't find error on /var/log/syslog

- --
Zaki Akhmad


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAklPDVkACgkQT4k8JfIMt5fQ+ACdGunu1fgQzcmR89csIdUSEyhr
uM0An2PY0Mk70JrvdlbkfJY+YFWs8LQ4
=wISd
-END PGP SIGNATURE-


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



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2008-12-21 Thread Sven Joachim
On 2008-12-22 04:45 +0100, Zaki Akhmad wrote:

 I met this error while trying to upgrade with

 # apt-get upgrade
 ...

Somewhere here there should be the error message.

 ...
 ...
 Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
 Searching for splash image ... none found, skipping ...
 Found kernel: /boot/vmlinuz-2.6.26-1-686
 Found kernel: /boot/vmlinuz-2.6.25-2-686
 Found kernel: /boot/vmlinuz-2.6.18-4-686
 Updating /boot/grub/menu.lst ... done

 Preparing to replace libcomerr2 1.41.2-1 (using
 .../libcomerr2_1.41.3-1_i386.deb) ...
 Unpacking replacement libcomerr2 ...
 Errors were encountered while processing:
  /var/cache/apt/archives/linux-image-2.6.26-1-686_2.6.26-12_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 Someone could give me a hint? I can't find error on /var/log/syslog

If you still have your terminal open, send the complete output of the
apt-get upgrade run.  Otherwise, try apt-get upgrade again.

Sven


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



Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-06 Thread Stefan Frech
Am Samstag, 4. November 2006 22:15 schrieb Rüdiger Noack:
 Stefan Frech schrieb:
  Hast du Plattenplatzprobleme?
 
  /dev/hda3 250M  250M 0 100% /
 
  sieht nicht danach aus

 Nicht? Wie würdest du das (s.o.) denn nennen?

Flüchtigkeitsfehler - oder nach müd kommt doof

Da ein erweitern der Partion wohl nicht in Frage kommt,  wäre zu 
überlegen was man in / alles löschen könnte ( und dass man bei der 
nächsten Installation eine Partition /boot groß genug anlegt.

Rückenschmerzenhabende Grüße 
Stefan 


pgpvC7V0Eh42A.pgp
Description: PGP signature


Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-06 Thread Stefan Frech
Am Sonntag, 5. November 2006 17:49 schrieb David Haller:
 Hallo,

 Am Sam, 04 Nov 2006, Stefan Frech schrieb:
 P.S. gibt es ein How-To wie ich meinen geliebten Pinguin auf eine
 größere Festplatte migieren kann?

 http://de.opensuse.org/SDB:SuSE_Linux_umkopieren

Danke werde ich mir am Wochenende zu gemühte führen 

Grüße 
Stefan 



Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-06 Thread Stefan Frech
Am Montag, 6. November 2006 21:10 schrieb Stefan Frech:
 Am Samstag, 4. November 2006 22:15 schrieb Rüdiger Noack:
  Stefan Frech schrieb:
   Hast du Plattenplatzprobleme?
  
   /dev/hda3 250M  250M 0 100% /
  
   sieht nicht danach aus
 
  Nicht? Wie würdest du das (s.o.) denn nennen?

 Flüchtigkeitsfehler - oder nach müd kommt doof

 Da ein erweitern der Partion wohl nicht in Frage kommt,  wäre zu
 überlegen was man in / alles löschen könnte ( und dass man bei der
 nächsten Installation eine Partition /boot groß genug anlegt.

 Rückenschmerzenhabende Grüße
 Stefan

Hallo,
hab jetzt alles was nach Kernel2.6.16-vserver aussieht in /boot gelöscht 
und apt-get dist-upgrade ausgeführt - jezt schein alles wieder in 
Ordnung 

Grüße 
Stefan 


pgpYCyr8lhClf.pgp
Description: PGP signature


Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-05 Thread David Haller
Hallo,

Am Sam, 04 Nov 2006, Stefan Frech schrieb:
P.S. gibt es ein How-To wie ich meinen geliebten Pinguin auf eine 
größere Festplatte migieren kann?

http://de.opensuse.org/SDB:SuSE_Linux_umkopieren

-dnh

-- 
Speed doesn't kill... Impact does.
   -- David Wilcox


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread Stefan Frech
Hallo, 
wollte heute mal wieder mein Sarge auf den neusten Stand bringen 


tatooine:/home/skf# apt-get dist-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Berechne Upgrade...Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht 
aktualisiert.
2 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Richte libdevmapper1.01 ein (1.01.00-4) ...
Creating device-mapper devices...done.
ldconfig: Writing of cache data failed
dpkg: Fehler beim Bearbeiten von libdevmapper1.01 (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von lilo:
 lilo hängt ab von libdevmapper1.01; aber:
  Paket libdevmapper1.01 bereitstellt, ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von lilo (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 libdevmapper1.01
 lilo
E: Sub-process /usr/bin/dpkg returned an error code (1)
tatooine:/home/skf# 


Wie kann ich das reparieren? 

Müde Grüße aus Gönningen
Stefan


pgpskfMkiwWDe.pgp
Description: PGP signature


Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread Rüdiger Noack
Stefan Frech schrieb:

 Wie kann ich das reparieren? 
 
Hast du Plattenplatzprobleme?

Rüdiger
-- 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread Stefan Frech
Am Samstag, 4. November 2006 21:22 schrieb Rüdiger Noack:
 Stefan Frech schrieb:
  Wie kann ich das reparieren?

 Hast du Plattenplatzprobleme?

[EMAIL PROTECTED]:~$ df -h
Dateisystem  Größe Benut  Verf Ben% Eingehängt auf
/dev/hda3 250M  250M 0 100% /
tmpfs 380M 0  380M   0% /dev/shm
/dev/hda124,7G  3,6G  953M  80% /home
/dev/hda11361M  8,1M  334M   3% /tmp
/dev/hda8 4,6G  2,1G  2,3G  48% /usr
/dev/hda9 2,4G  635M  1,6G  28% /var
/dev/hda6 4,7G  384M  4,1G   9% /opt
/dev/hda7 5,0G  843M  3,9G  18% /home/skf/Backup
tmpfs  10M  2,8M  7,3M  28% /dev
[EMAIL PROTECTED]:~$

sieht nicht danach aus - ehm hab vergessen dass ich den kernel 
2.6.16-vserver-k7 sowie kernel 2.6.16-k7 ausversehen installiert habe 
und danach das Problem auftrat

Grüße Stefan

P.S. gibt es ein How-To wie ich meinen geliebten Pinguin auf eine 
größere Festplatte migieren kann?


pgpzozCqoXwJh.pgp
Description: PGP signature


Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread Rüdiger Noack
Stefan Frech schrieb:

 Hast du Plattenplatzprobleme?
 
 /dev/hda3 250M  250M 0 100% /
 
 sieht nicht danach aus

Nicht? Wie würdest du das (s.o.) denn nennen?

Rüdiger
-- 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread Gerhard Schromm
On Sat, 4 Nov 2006, Stefan Frech stated:

 Am Samstag, 4. November 2006 21:22 schrieb Rüdiger Noack:
 Stefan Frech schrieb:
  Wie kann ich das reparieren?
 Hast du Plattenplatzprobleme?
 
 [EMAIL PROTECTED]:~$ df -h
 Dateisystem  Größe Benut  Verf Ben% Eingehängt auf
 /dev/hda3 250M  250M 0 100% /
 ^ 
 sieht nicht danach aus 

Eher doch.

 - ehm hab vergessen dass ich den kernel 
 2.6.16-vserver-k7 sowie kernel 2.6.16-k7 ausversehen installiert habe
 und danach das Problem auftrat

Nach dem zweiten installierten Kernel war dein / wohl voll, was dann für
das Problem sorgte.

 P.S. gibt es ein How-To wie ich meinen geliebten Pinguin auf eine 
 größere Festplatte migieren kann?

IIRC Disk-Upgrading HowTo oder so ähnlich.

bye Gerhard


pgpZVkhPwE2HO.pgp
Description: PGP signature


Re: Wie behebe ich den Error Code (1) bei apt-get dist-upgrade?

2006-11-04 Thread alexander syring
Am Samstag, 4. November 2006 22:04 schrieb Stefan Frech:
 Am Samstag, 4. November 2006 21:22 schrieb Rüdiger Noack:
  Stefan Frech schrieb:
   Wie kann ich das reparieren?
 
  Hast du Plattenplatzprobleme?

 [EMAIL PROTECTED]:~$ df -h
 Dateisystem  Größe Benut  Verf Ben% Eingehängt auf
 /dev/hda3 250M  250M 0 100% /
   
 tmpfs 380M 0  380M   0% /dev/shm
 /dev/hda124,7G  3,6G  953M  80% /home
 /dev/hda11361M  8,1M  334M   3% /tmp
 /dev/hda8 4,6G  2,1G  2,3G  48% /usr
 /dev/hda9 2,4G  635M  1,6G  28% /var
 /dev/hda6 4,7G  384M  4,1G   9% /opt
 /dev/hda7 5,0G  843M  3,9G  18% /home/skf/Backup
 tmpfs  10M  2,8M  7,3M  28% /dev
 [EMAIL PROTECTED]:~$

 sieht nicht danach aus - ehm hab vergessen dass ich den kernel
sieht doch danach aus dein / ist voll
 2.6.16-vserver-k7 sowie kernel 2.6.16-k7 ausversehen installiert habe
 und danach das Problem auftrat

 Grüße Stefan

 P.S. gibt es ein How-To wie ich meinen geliebten Pinguin auf eine
 größere Festplatte migieren kann?
Gruß 
Alex



Sub-process /usr/bin/dpkg returned an error code (1)

2006-04-15 Thread Jean-Louis Giraud
 xvfb zlib1g
241 mis à jour, 0 nouvellement installés, 0 à enlever et 70 non mis à jour.
Il est nécessaire de prendre 77,7Mo/161Mo dans les archives.
Après dépaquetage, 10,4Mo d'espace disque seront libérés.
Souhaitez-vous continuer [O/n] ?
je passe les messages de réception des paquets .
77,7Mo réceptionnés en 20m6s (64,4ko/s)
Extraction des modèles depuis les paquets : 100%
Préconfiguration des paquets...
(Lecture de la base de données... 93327 fichiers et répertoires déjà 
installés.)Préparation du remplacement de zlib1g 1:1.2.3-9 (en utilisant 
.../zlib1g_1%3a1.2.3-11_i386.deb) ...

Dépaquetage de la mise à jour de zlib1g ...
Paramétrage de zlib1g (1.2.3-11) ...

(Lecture de la base de données... 93327 fichiers et répertoires déjà 
installés.)Préparation du remplacement de file 4.15-2 (en utilisant 
.../archives/file_4.17-1_i386.deb) ...

Dépaquetage de la mise à jour de file ...
Préparation du remplacement de libmagic1 4.15-2 (en utilisant 
.../libmagic1_4.17-1_i386.deb) ...

Dépaquetage de la mise à jour de libmagic1 ...
Préparation du remplacement de dpkg 1.13.16 (en utilisant 
.../archives/dpkg_1.13.17_i386.deb) ...

Dépaquetage de la mise à jour de dpkg ...
dpkg : erreur de traitement de 
/var/cache/apt/archives/dpkg_1.13.17_i386.deb (--unpack) :
 tentative de remplacement de « /usr/share/man/fr/man8 », qui 
appartient aussi au paquet base-passwd

dpkg-deb: sous-processus paste tué par le signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/dpkg_1.13.17_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
J'ai googlisé mais je n'ai rien trouvé qui me paraisse pertinent.
Si quelqu'un a une bonne idée je suis preneur
d'avance merci
Jean-Louis Giraud


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et

Reply-To:

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



Re: Sub-process /usr/bin/dpkg returned an error code (1)

2006-04-15 Thread Klaus Becker
Le Samstag 15 April 2006 16:56, Jean-Louis Giraud a écrit :
 bonjour,
 depuis quelques temps lorsque je lance apt-get update puis upgrade
 j'obtiens systématiquement le message cité en objet à la fin du
 processus d'upgrade.
...
 dpkg : erreur de traitement de
 /var/cache/apt/archives/dpkg_1.13.17_i386.deb (--unpack) :
   tentative de remplacement de « /usr/share/man/fr/man8 », qui
 appartient aussi au paquet base-passwd
 dpkg-deb: sous-processus paste tué par le signal (Relais brisé (pipe))
 Des erreurs ont été rencontrées pendant l'exécution :
   /var/cache/apt/archives/dpkg_1.13.17_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/share/man/fr/man8 existe déjà dans une autre packetage et tu peux le 
remplacer par

dpkg --force-overwrite  /var/cache/apt/archives/dpkg_1.13.17_i386.deb

mais je mesure pas les risques que ça peut comporter. Je l'ai déjà fait pls 
fois dans ce cas de figure et je n'ai jamais eu de problème

Klaus



E: Sub-process /usr/bin/dpkg returned an error code (1)

2005-12-09 Thread Mehmet Fatih AKBULUT
Merhaba.E: Sub-process /usr/bin/dpkg returned an error code (1)bu hatayla daha evvel karsilasip giderebilen biri bana da yardimci olursa sevinirim.google'da aratinca bircok forum sayfasi cikiyo fakat sorunu giderecek pek ciddi bi cevapla karsilasamadim henuz.
yardimci olursaniz sevinirim.Iyi aksamlar.


Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2005-12-09 Thread alphan
 9 Dec 2005 tarihinde Mehmet Fatih AKBULUT dedi ki:

 Merhaba.

 E: Sub-process /usr/bin/dpkg returned an error code (1)

 bu hatayla daha evvel karsilasip giderebilen biri bana da yardimci
 olursa sevinirim.  google'da aratinca bircok forum sayfasi cikiyo
 fakat sorunu giderecek pek ciddi bi cevapla karsilasamadim henuz.
 yardimci olursaniz sevinirim.  Iyi aksamlar.

Merhaba,

bu hata size fazla bir bilgi vermiyor. yani apt arayuzunuzun de olaydan
bir haberi yok, tek bildigi dpkg'nin hata verdigi.
neyseki dpkg'nin verdigi hata ustlerde bir yerlerde yaziyordur.
ciktinin tamamini gonderirseniz yorum yapmak daha kolay olur

kolay gelsin
-aab

---
Bu alana reklam veremeyebilirsiniz!
http://www.bayazit.net/alphan/


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



Sub-process gzip returned an error code (1)

2005-11-22 Thread marc
When doing
# aptitude update
on my bog standard testing setup, I'm getting the following error:

Get:8 http://http.us.debian.org testing/contrib Packages [49.0kB]
99% [8 Packages gzip 0] [7 Packages 0]
gzip: stdin: not in gzip format
Err http://http.us.debian.org testing/contrib Packages
  Sub-process gzip returned an error code (1)

The full log is shown below [1]. Plus sources.list [2]

I've googled and found nothing conclusive. Any ideas why this is 
failing?

Is anyone else seeing the same thing

-- 
Best,
Marc

[1]
mote:~# aptitude update
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Ign cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 
(20050607)] unstable Release.gpg
Ign cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 
(20050607)] unstable Release.gpg
Ign cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 
(20050607)] unstable Release
Ign cdrom://[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 
(20050607)] unstable Release
Get:1 http://secure-testing.debian.net etch/security-updates Release.gpg 
[189B]
Get:2 http://security.debian.org stable/updates Release.gpg [189B]
Get:3 http://http.us.debian.org stable Release.gpg [197B]
Get:4 http://http.us.debian.org testing Release.gpg [189B]
Hit http://secure-testing.debian.net etch/security-updates Release
Hit http://security.debian.org stable/updates Release
Get:5 ftp://ftp.nerim.net sarge Release.gpg [189B]
Hit http://http.us.debian.org stable Release
Hit http://secure-testing.debian.net etch/security-updates/main Packages
Ign http://security.debian.org stable/updates/main Packages
Hit http://http.us.debian.org testing Release
Hit http://secure-testing.debian.net etch/security-updates/contrib 
Packages
Hit http://secure-testing.debian.net etch/security-updates/non-free 
Packages
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Get:6 http://ftp.debian-unofficial.org sarge Release.gpg [189B]
Ign http://http.us.debian.org stable/main Packages
Ign http://http.us.debian.org stable/contrib Packages
Ign http://http.us.debian.org stable/non-free Packages
Hit http://security.debian.org stable/updates/main Packages
Hit http://ftp.debian-unofficial.org sarge Release
Hit http://http.us.debian.org testing/main Packages
Ign http://http.us.debian.org testing/contrib Packages
Hit http://http.us.debian.org testing/non-free Packages
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://ftp.debian-unofficial.org sarge/main Packages
Hit ftp://ftp.nerim.net sarge Release
Ign ftp://ftp.nerim.net sarge Release
Hit http://http.us.debian.org stable/main Packages
Hit http://http.us.debian.org stable/contrib Packages
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://ftp.debian-unofficial.org sarge/contrib Packages
Hit http://ftp.debian-unofficial.org sarge/non-free Packages
Hit http://ftp.debian-unofficial.org sarge/restricted Packages
Hit http://http.us.debian.org stable/non-free Packages
Get:7 ftp://ftp.nerim.net sarge/main Packages
Get:8 http://http.us.debian.org testing/contrib Packages [49.0kB]
99% [8 Packages gzip 0] [7 Packages 0]
gzip: stdin: not in gzip format
Err http://http.us.debian.org testing/contrib Packages
  Sub-process gzip returned an error code (1)
Ign ftp://ftp.nerim.net sarge/main Packages
Hit ftp://ftp.nerim.net sarge/main Packages
Fetched 195B in 5s (36B/s)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done

[2]

deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-2 
(20050607)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 
(20050607)]/ unstable contrib main

deb http://http.us.debian.org/debian/ stable main contrib non-free
deb http://http.us.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free
deb http://secure-testing.debian.net/debian-secure-testing 
etch/security-updates main contrib non-free

# mplayer, acroread, LAME, etc.
deb ftp://ftp.nerim.net/debian-marillat/ sarge main

# www.debian-unofficial.org e.g. JRE
deb http://ftp.debian-unofficial.org/debian sarge main contrib non-free 
restricted


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



Re: Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2004-10-04 Thread [KS]
Thanks for the advice Adam. Everything was fine after
waiting a couple of days.
openoffice.org-mimelnk_1.1.2-4_all.deb didn't cause
any errors then.

Thanks.
/KS





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


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



Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

2004-09-23 Thread Adam Aube
[KS] wrote:

 Can anyone figure out what should be done to get rid
 of error given when unpacking
 openoffice.org-mimelnk_1.1.2-4_all.deb?

Ignore it until the bug (reported twice - #265852  #269040) gets fixed. It
won't interfere with the install of other packages.

Adam


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



E: Sub-process /usr/bin/dpkg returned an error code (1)

2004-09-22 Thread [KS]
:

/var/cache/apt/archives/openoffice.org-mimelnk_1.1.2-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code
(1)
02:10:28:~#

**

Thanks,
/KS





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


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



dpkg error code (1)

2002-03-06 Thread Baroof Pender








I looked through the archives and saw this a coupla times, but didnt see any real answers. I have an unmet dependency (libopenldap-runtime), but that doesnt look to be the
problem. When called from apt-get dpkg is giving me Sub-process /usr/bin/dpkg returned an error code (1). full screenshot is below.



I saw a thread that pointed to this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no\bug=129807



but, how do I install the ncurses
upgrade if my installer, dpkg, isnt
working?!?!?



sorry if this is dumb, Im a noob
to debian.



thx for the help,



Baroof



heres the whole thing:



# apt-get -f install

Reading Package Lists... Done

Building Dependency Tree... Done

Correcting dependencies... Done

The following extra packages will be installed:

 libopenldap-runtime

The following NEW packages will be installed:

 libopenldap-runtime

0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

1 packages not fully installed or
removed.

Need to get 0B/26.3kB of archives. After unpacking 119kB
will be used.

Do you want to continue? [Y/n] y

(Reading database
... 6538 files and directories currently installed.)

Unpacking libopenldap-runtime
(from .../libopenldap-runtime_1%3a1.2.12-1_all.deb) ...

dpkg: error
processing /var/cache/apt/archives/libopenldap-runtime_1%3a1.2.12-1_all.deb
(--unpack):

trying to
overwrite `/usr/share/man/man5/ldapsearchprefs.conf.5.gz', which
is also in package libldap2

Errors were encountered while processing:

/var/cache/apt/archives/libopenldap-runtime_1%3a1.2.12-1_all.deb

E: Sub-process /usr/bin/dpkg
returned an error code (1)

#








Re: dpkg error code (1)

2002-03-06 Thread J.H.M. Dassen \(Ray\)
On Wed, Mar 06, 2002 at 03:37:35 -0800, Baroof Pender wrote:
 but, how do I install the ncurses upgrade if my installer, dpkg, isn't
 working?!?!?

dpkg is working fine. It is refusing to install a package that overwrites
files that already belong to another package, without explicitly being told
that it is ok in this case.

 Unpacking libopenldap-runtime (from .../
 libopenldap-runtime_1%3a1.2.12-1_all.deb) ...
 
 dpkg: error processing /var/cache/apt/archives/
 libopenldap-runtime_1%3a1.2.12-1_all.deb (--unpack):
 
  trying to overwrite `/usr/share/man/man5/ldapsearchprefs.conf.5.gz', which is
 also in package libldap2

Do
dpkg --force-overwrite -i 
/var/cache/apt/archives/libopenldap-runtime_1%3a1.2.12-1_all.deb
and you should be fine.

HTH,
Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years old.
I'd be interested to hear from him. There are so many pseudos around taking
his name in vain.
- The Hipcrime Vocab by Chad C. Mulligan



RE: dpkg error code (1)

2002-03-06 Thread Baroof Pender

Yay!  It worked!

Thx,

baroof

-Original Message-
From: J.H.M. Dassen (Ray) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 06, 2002 3:54 AM
To: debian-user@lists.debian.org
Subject: Re: dpkg error code (1)

On Wed, Mar 06, 2002 at 03:37:35 -0800, Baroof Pender wrote:
 but, how do I install the ncurses upgrade if my installer, dpkg, isn't
 working?!?!?

dpkg is working fine. It is refusing to install a package that
overwrites
files that already belong to another package, without explicitly being
told
that it is ok in this case.

 Unpacking libopenldap-runtime (from .../
 libopenldap-runtime_1%3a1.2.12-1_all.deb) ...
 
 dpkg: error processing /var/cache/apt/archives/
 libopenldap-runtime_1%3a1.2.12-1_all.deb (--unpack):
 
  trying to overwrite `/usr/share/man/man5/ldapsearchprefs.conf.5.gz',
which is
 also in package libldap2

Do
dpkg --force-overwrite -i
/var/cache/apt/archives/libopenldap-runtime_1%3a1.2.12-1_all.deb
and you should be fine.

HTH,
Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years
old.
I'd be interested to hear from him. There are so many pseudos around
taking
his name in vain.
- The Hipcrime Vocab by Chad C. Mulligan


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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: dpkg error code (1)

2002-03-06 Thread Paolo Falcone

Baroof Pender wrote:

I looked through the archives and saw this a coupla times, but didn't
see any real answers.  I have an unmet dependency (libopenldap-runtime),
but that doesn't look to be the problem.  When called from apt-get dpkg
is giving me  Sub-process /usr/bin/dpkg returned an error code (1).
full screenshot is below.

Try forcing dpkg to install the package by passing the --force-overwrite 
parameter.

Or:

A quick and dirty hack would be to extract the contents of the Debian
package you are trying to install, as well as its control files, via dpkg-deb.
Then edit the control files or remove the file that causes the problem.
Then repack the Debian package. Given that you do it right, it would install.

As I said, it's quick and dirty, though.

--paolo

Paolo Falcone

__
www.edsamail.com