I just kicked my old deb install and gave the new Ubuntu 8.04 image a shot.
The few clicks for it went smoothly till I opened the AJAX console and logged in. So far so good. Problems started happening when I ran
aptitude safe-upgrade.
I started getting all different type of errors.
Quote:
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 8561 files and directories currently installed.)
Preparing to replace util-linux 2.13.1-5ubuntu1 (using .../util-linux_2.13.1-5ubuntu2_i386.deb) ...
install-info(ipc): no file /usr/share/info/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/share/info/dir': No such file or directory
install-info(ipc): copying /var/backups/infodir.bak to /usr/share/info/dir failed, giving up: No such file or directory
... ... ...
Errors were encountered while processing:
/var/cache/apt/archives/util-linux_2.13.1-5ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing util-linux (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
util-linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
1# apt-utils not installed
2# locale nowhere to be found
3# /usr/share/info directory completely missing
Point 3# fixed by creating the directory.
Point 1# solved by copying the the apt-utils package over and installing it.
Still stuck on 2# though.
Who would have thought that such a simple task as running aptitude on a freshly installed system could lead to this?
Same result if runnign apt-get on the fresh install. (tried it after redoing the install just to have a fresh system to start of nothaving run aptitude on it).
... anybody else had this?