Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 13, 2008 4:56 pm 
Offline
Newbie

Joined: Tue May 13, 2008 4:40 pm
Posts: 3
WLM: jaggared@hotmail.com
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?


Top
   
 Post subject:
PostPosted: Tue May 13, 2008 5:25 pm 
Offline
Junior Member

Joined: Fri Mar 28, 2008 8:20 pm
Posts: 20
Website: http://pathennessy.org/
Location: Delaware
I believe the locales package should fix some of those issues.

Code:
aptitude install locales


Top
   
 Post subject:
PostPosted: Tue May 13, 2008 5:45 pm 
Offline
Newbie

Joined: Tue May 13, 2008 4:40 pm
Posts: 3
WLM: jaggared@hotmail.com
@path

Aye, so it did indeed.
Just weird ... haven't had this happen to me before.


Top
   
 Post subject:
PostPosted: Tue May 13, 2008 11:54 pm 
Offline

Joined: Thu Aug 10, 2006 3:22 am
Posts: 1
I'm having this same problem, and "aptitude install locales" didn't seem to work. Any ideas?


Top
   
 Post subject:
PostPosted: Wed May 14, 2008 1:57 am 
Offline
Newbie

Joined: Tue May 13, 2008 4:40 pm
Posts: 3
WLM: jaggared@hotmail.com
@Hamilogre

I started out fresh.
This is what I did.

Downloaded following packages from the Ubuntu mirrors.

locales_2.7.9-4_all.deb
belocs-locales-bin_2.4-2.2ubuntu7_i386.deb (dependancy of locales)
apt-utils_0.7.9ubuntu17_i386.deb
wget_1.10.2-3ubuntu1_i386.deb

scp'ed them over.

First dpkg -i apt-utils. Then belocs, then locales and finally wget.
Somewhere in the process /usr/share/info was also created.


Top
   
 Post subject:
PostPosted: Wed May 21, 2008 3:00 pm 
Offline
Junior Member

Joined: Mon Oct 23, 2006 12:09 am
Posts: 26
I kept getting locale-related warnings until I installed the language-pack-en package also.


Top
   
 Post subject:
PostPosted: Tue Jun 03, 2008 4:54 pm 
Offline
Newbie

Joined: Tue Jun 03, 2008 4:50 pm
Posts: 2
I used
Code:
localedef -i en_US -c -f UTF-8 en_US.UTF-8
after I installed the locales package. That fixed the locale problem for me.


Top
   
 Post subject:
PostPosted: Wed Oct 14, 2009 3:31 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
If locales is already installed,
Code:
dpkg-reconfigure locales

and generate your local locales.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group