Bug#147183: dpkg: problem temporarily resolved if I manually untar something
Ben Collins said:
> On Tue, May 21, 2002 at 02:29:10PM -0400, Kurt Yoder wrote:
>> Package: dpkg
>> Version: 1.6.15
>> Followup-For: Bug #147183
>>
>> If I pick some random tarred file and untar it, I can install a
>> package. Sometimes I have to untar something twice before this will
>> work. Right after I've installed the one package, dpkg will fail if I
>> try to install a second package. I have to manually go untar some file
>> to fix it (it doesn't seem to matter which file I untar, just that tar
>> is used somehow).
>>
>> BTW, a reboot did not fix this.
>
> This is either completely bogus, or your system is fundamentally
> screwed up beyond dpkg's control.
Always a possibility. Any way for me to check this?
> IMO, the "have to untar to get dpkg to work" sounds too much like a
> Windows mentality to actually be true. The two have nothing to do with
> each other.
Dunno how Windows fits into this, and I realize it sounds bizarre. However,
the two *do* seem related, since I can untar something, then dpkg works once
or a few times, then fails until I untar something else.
I tried a google search using one of the error lines "subprocess dpkg-deb
--control returned error exit status 2". One of the results mentioned glibc
errors and tar, so I decided to see if tar was working. It was. I happened
to retry installing something with apt, and one of the packages worked.
Subsequently installing anything with apt failed again. Until I tried tar
again.
Yes it's weird. No I don't know why. Perhaps this information is useful for
one of the dpkg wizards.
> Further more, you need to supply dpkg's actual error message when the
> failure happens. Leaving out that bit of info makes this bug report
> pretty much useless. Dpkg has hundreds of different error combinations,
> and attempting to guess which one you are hitting is not even a
> possibility.
The complete error message is at the top of the ticket; I submitted it when
I first submitted the ticket. However, if you want to see it again:
root@samerica:/var/log# apt-get install weather
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
int-fiction-installer
The following NEW packages will be installed:
int-fiction-installer weather
0 packages upgraded, 2 newly installed, 0 to remove and 170 not upgraded.
Need to get 0B/82.0kB of archives. After unpacking 311kB will be used.
Do you want to continue? [Y/n]
Selecting previously deselected package int-fiction-installer.
(Reading database ... 18774 files and directories currently installed.)
Unpacking int-fiction-installer (from .../int-fiction-installer_1.4_all.deb)
...dpkg-deb: wait for tar failed: No child processes
dpkg: error processing /var/cache/apt/archives/weather_1%3a1-1_all.deb
(--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/weather_1%3a1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
(it downloaded 0 bytes because I already downloaded/installed these two
packages once as a test, then apt-get removed them and installed them again)
--
Kurt Yoder
Sport & Health network administrator
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: