Re: Ubuntu 8.0.4 can not update and install new software



There some kernel versions in my computer. This problem occurred when
updating while computer is shut down suddenly!

some results is as follows:

install-info --version:
install-info (GNU texinfo) 4.9

Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

where install-info
bash: where:can not find command

egrep -v '^\s*(#|$)' /etc/apt/sources.list
deb http://cn.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-updates main
restricted
deb http://cn.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy universe
deb http://cn.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb http://cn.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe
multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted
universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted
universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted
universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted
universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe
multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted
universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted
universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted
universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted
universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu hardy-security main restricted
universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted
universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-backports main restricted
universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy main restricted universe
multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy-security main restricted
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy-updates main restricted
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy-backports main restricted
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hardy-proposed main restricted
universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted
universe
deb http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse
restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse
restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse
restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse
restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse
restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-backports main
multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse
restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse
restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse
restricted universe

在 2008-10-07二的 00:36 +0200,Florian Diesch写道:
chenym <nudtchenym@xxxxxxxxx> wrote:

Hi, everyone
My ubuntu 8.0.4 cann't update and install new software any more! when
doing these works, following message is displayed:

preparing to replace util-linux 2.13.1-5ubuntu2
(using .../util-linux_2.13.1-5ubuntu3_i386.deb) ...
install-info: donn't specify the index file;try --help to obtain more
information。
dpkg:warning - older pre-removal script, when exitting, return error
code 1
dpkg - now, try ro use new software package's script...
install-info: don not specify index file; try --help to obtain more
information。
dpkg:while
dealing /var/cache/apt/archives/util-linux_2.13.1-5ubuntu3_i386.deb
(--unpack), errors occur:
subprocess, new pre-removal scirpt, return error code 1
install-info:unrecognized option“--description=System V interprocess
communication facilities”
try “install-info --help” to get complete list about option。
dpkg: while finish clean, error occur:
subprocess post-installation script return error code 1
while dealing, following error occur:
/var/cache/apt/archives/util-linux_2.13.1-5ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

why?

It seems that the currently installed version of util-linux expects
another version of install-info then the one that is installed. Did
you mix different version of ubuntu or are you using third party
repositories?
What do
install-info --version
and
where install-info
and
egrep -v '^\s*(#|$)' /etc/apt/sources.list
print if you execute them in a terminal window?


Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------

--
Yiming Chen
Computer School of National University of Defence Technology,
HuNan, Changsha, P.R.China


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: add/remove software
    ... deb http://us.archive.ubuntu.com/ubuntu/ edgy restricted main multiverse ... deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates restricted ... ## universe WILL NOT receive any review or updates from the Ubuntu ...
    (Ubuntu)
  • Re: Error in the terminal trying to fix an error with synaptic Manager
    ... deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe ... deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe ... deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates restricted main multiverse universe #Added by software-properties ...
    (Ubuntu)
  • Re: Calendar/PIM applications - recommendations?
    ... deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted ... multiverse universe deb-src http://us.archive.ubuntu.com/ubuntu/ ... deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted ...
    (Ubuntu)
  • Re: How to install emacs on Kubuntu
    ... deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted ... deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted ... deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse ...
    (Ubuntu)
  • Re: what pakage to install the latest version av Java RTE?
    ... This is my current sources list only difference I see is how universe ... deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted ... deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted ... deb http://archive.ubuntu.com/ubuntu feisty universe multiverse ...
    (Ubuntu)