unable to install anything on ubuntu 9.10 with aptitude

Posted by Srisa on Server Fault See other posts from Server Fault or by Srisa
Published on 2010-12-30T10:24:44Z Indexed on 2010/12/30 11:56 UTC
Read the original article Hit count: 261

Filed under:
|

Hello,

Earlier i could install software by using the 'sudo aptitude install ' command. Today when i tried to install rkhunter i am getting errors. It is not just rkhunter, i am not able to install anything.

Here is the text output:

user@server:~$ sudo aptitude install rkhunter
................
................
20% [3 rkhunter 947/271kB 0%]

Get:4 http://archive.ubuntu.com karmic/universe unhide 20080519-4 [832kB]


40% [4 unhide 2955/832kB 0%]

100% [Working]

Fetched 1394kB in 1s (825kB/s)
Preconfiguring packages ...
Selecting previously deselected package lsof.
(Reading database ... 
................
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20076 files and directories currently installed.)
Unpacking lsof (from .../lsof_4.81.dfsg.1-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/lsof_4.81.dfsg.1-1_amd64.deb (--unpack):
 unable to create `/usr/bin/lsof.dpkg-new' (while processing `./usr/bin/lsof'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package libmd5-perl.
Unpacking libmd5-perl (from .../libmd5-perl_2.03-1_all.deb) ...
Selecting previously deselected package rkhunter.
Unpacking rkhunter (from .../rkhunter_1.3.4-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/rkhunter_1.3.4-5_all.deb (--unpack):
 unable to create `/usr/bin/rkhunter.dpkg-new' (while processing `./usr/bin/rkhunter'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package unhide.
Unpacking unhide (from .../unhide_20080519-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/unhide_20080519-4_amd64.deb (--unpack):
 unable to create `/usr/sbin/unhide-posix.dpkg-new' (while processing `./usr/sbin/unhide-posix'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/lsof_4.81.dfsg.1-1_amd64.deb
 /var/cache/apt/archives/rkhunter_1.3.4-5_all.deb
 /var/cache/apt/archives/unhide_20080519-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up libmd5-perl (2.03-1) ...

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

...........
....................

I have removed some lines to reduce the text. All the error messages are in here though. My experience with linux is limited and i am not sure what the problem is or how it is to be resolved.

Thanks.

© Server Fault or respective owner

unable to install anything on ubuntu 9.10 with aptitude

Posted by Srisa on Stack Overflow See other posts from Stack Overflow or by Srisa
Published on 2010-12-30T10:24:44Z Indexed on 2010/12/30 10:53 UTC
Read the original article Hit count: 261

Filed under:
|

Hello,

Earlier i could install software by using the 'sudo aptitude install ' command. Today when i tried to install rkhunter i am getting errors. It is not just rkhunter, i am not able to install anything.

Here is the text output:

user@server:~$ sudo aptitude install rkhunter
................
................
20% [3 rkhunter 947/271kB 0%]

Get:4 http://archive.ubuntu.com karmic/universe unhide 20080519-4 [832kB]


40% [4 unhide 2955/832kB 0%]

100% [Working]

Fetched 1394kB in 1s (825kB/s)
Preconfiguring packages ...
Selecting previously deselected package lsof.
(Reading database ... 
................
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20076 files and directories currently installed.)
Unpacking lsof (from .../lsof_4.81.dfsg.1-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/lsof_4.81.dfsg.1-1_amd64.deb (--unpack):
 unable to create `/usr/bin/lsof.dpkg-new' (while processing `./usr/bin/lsof'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package libmd5-perl.
Unpacking libmd5-perl (from .../libmd5-perl_2.03-1_all.deb) ...
Selecting previously deselected package rkhunter.
Unpacking rkhunter (from .../rkhunter_1.3.4-5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/rkhunter_1.3.4-5_all.deb (--unpack):
 unable to create `/usr/bin/rkhunter.dpkg-new' (while processing `./usr/bin/rkhunter'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package unhide.
Unpacking unhide (from .../unhide_20080519-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/unhide_20080519-4_amd64.deb (--unpack):
 unable to create `/usr/sbin/unhide-posix.dpkg-new' (while processing `./usr/sbin/unhide-posix'): Permission denied
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/lsof_4.81.dfsg.1-1_amd64.deb
 /var/cache/apt/archives/rkhunter_1.3.4-5_all.deb
 /var/cache/apt/archives/unhide_20080519-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up libmd5-perl (2.03-1) ...

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

...........
....................

I have removed some lines to reduce the text. All the error messages are in here though. My experience with linux is limited and i am not sure what the problem is or how it is to be resolved.

Thanks.

© Stack Overflow or respective owner

Related posts about ubuntu

Related posts about aptitude