Estou tendo um problema aqui com o apt-get. Etou recebendo essas 
mensagens de erro e não sei o que fazer. O sistema é um ubuntu server.
Ele nao estava comigo mas, estava com apt-get -y upgrade no crontab.

# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  vim-runtime
Suggested packages:
  ctags vim-doc vim-scripts
The following NEW packages will be installed:
  vim vim-runtime
0 upgraded, 2 newly installed, 0 to remove and 37 not upgraded.
5 not fully installed or removed.
Need to get 0B/6413kB of archives.
After unpacking 24.5MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ...
dpkg: serious warning: files list file for package `sudo' missing, 
assuming package has no files currently installed.

dpkg: serious warning: files list file for package `libssl0.9.8' 
missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `libmysqlclient15off' 
missing, assuming package has no files currently installed.

[...]

dpkg: serious warning: files list file for package `reiserfsprogs' 
missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `php5-mysql' missing, 
assuming package has no files currently installed.
20052 files and directories currently installed.)
Preparing to replace python-apt 0.7.3.1ubuntu4 (using 
.../python-apt_0.7.3.1ubuntu4_i386.deb) ...
pycentral: pycentral pkgremove: package python-apt is not installed
pycentral pkgremove: package python-apt is not installed
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
pycentral: pycentral pkgremove: package python-apt is not installed
pycentral pkgremove: package python-apt is not installed
dpkg: error processing 
/var/cache/apt/archives/python-apt_0.7.3.1ubuntu4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
pycentral: pycentral pkginstall: package python-apt is not installed
pycentral pkginstall: package python-apt is not installed
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-apt_0.7.3.1ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a