Tux

...making Linux just a little more fun!

Corrupt dpkg?

Amit k. Saha [amitsaha.in at gmail.com]


Thu, 4 Dec 2008 13:56:58 +0530

Hi all,

Greetings!

I am using Ubuntu 8.10. I am facing strange issues on my installation. I cannot install any package from the repo:

sudo apt-get install tar
[sudo] password for amit:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  ncompress
The following NEW packages will be installed:
  tar
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
Need to get 0B/338kB of archives.
After this operation, 2298kB of additional disk space will be used.
dpkg-deb (subprocess): failed to exec tar: No such file or directory
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/tar_1.20-1_i386.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/tar_1.20-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is what happens.

What might have probably caused this is that I removed 'nautilus' and put on 'Dolphin' file manager. I am not sure.

Any thoughts how can I fix this?

Much appreciated.

Thanks, Amit

-- 
Amit Kumar Saha
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
Skype: amitkumarsaha


Top    Back


Thomas Adam [thomas.adam22 at gmail.com]


Thu, 4 Dec 2008 08:41:10 +0000

2008/12/4 Amit k. Saha <amitsaha.in@gmail.com>:

>  subprocess dpkg-deb --control returned error exit status 2
> Errors were encountered while processing:
>  /var/cache/apt/archives/tar_1.20-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

http://backports.ubuntuforums.com/showthread.php?t=959397

-- Thomas Adam


Top    Back


Amit k. Saha [amitsaha.in at gmail.com]


Thu, 4 Dec 2008 14:44:25 +0530

On Thu, Dec 4, 2008 at 2:11 PM, Thomas Adam <thomas.adam22@gmail.com> wrote:

> 2008/12/4 Amit k. Saha <amitsaha.in@gmail.com>:
>>  subprocess dpkg-deb --control returned error exit status 2
>> Errors were encountered while processing:
>>  /var/cache/apt/archives/tar_1.20-1_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> http://backports.ubuntuforums.com/showthread.php?t=959397

Thanks!

that does it.

-Amit


Top    Back


Ben Okopnik [ben at linuxgazette.net]


Thu, 4 Dec 2008 08:47:37 -0500

On Thu, Dec 04, 2008 at 08:41:10AM +0000, Thomas Adam wrote:

> 2008/12/4 Amit k. Saha <amitsaha.in@gmail.com>:
> >  subprocess dpkg-deb --control returned error exit status 2
> > Errors were encountered while processing:
> >  /var/cache/apt/archives/tar_1.20-1_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> http://backports.ubuntuforums.com/showthread.php?t=959397

Nicely done, Thomas!

   Obviously I've never used any version of Informix; so I'm not sure
   how much help I'll be in any event. However, I am a semi-intelligent
   interface to search engines; so here's some results from my online
   burrowing.
    -- Jim Dennis
-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *


Top    Back