[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg returned an error code 1



(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 <wooledg@eeg.ccf.org> 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. 

Reply to: