Some errors upgrading ubuntu

Alex Maynard maynarda-dxuVLtCph9gsA/PxXw9srA at public.gmane.org
Sat Dec 15 15:28:44 UTC 2007


Hi All,

I've been upgrading from ubuntu drapper to edgy. Two upgrades went fine, 
but the third hit some snags.  One way to fix it would be to install from 
disk, but this laptop has my only xp partition and although I don't use it 
often I'd rather not risk losing it. It also has some customization 
from emperor-linux, so I could lose features by a new install.
I've included the error messages below just in case any one has any 
suggestions. It sounds to me like I have some missing directories I need 
to create or some directories I need to empty, but it's not quite clear 
which ones.

Alex

root at rhino:/usr/X11R6/bin# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
   libxdmcp6: Depends: x11-common (>= 1:7.0.0) but 7.0.0-0ubuntu45 is 
installed
   xserver-xorg-core: Depends: x11-common (>= 1:7.0.0) but 7.0.0-0ubuntu45 
is installed
E: Unmet dependencies. Try using -f.
root at rhino:/usr/X11R6/bin# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
   x11-common
The following packages will be upgraded:
   x11-common
1 upgraded, 0 newly installed, 0 to remove and 1064 not upgraded.
80 not fully installed or removed.
Need to get 0B/291kB of archives.
After unpacking 418kB of additional disk space will be used.
Do you want to continue [Y/n]?
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
         LANGUAGE = "en",
         LC_ALL = (unset),
         LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
Preconfiguring packages ...
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: No such file or directory
(Reading database ... 168920 files and directories currently installed.)
Preparing to replace x11-common 7.0.0-0ubuntu45 (using 
.../x11-common_1%3a7.1.1ubuntu6.2_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
         LANGUAGE = "en",
         LC_ALL = (unset),
         LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking replacement x11-common ...
dpkg: error processing 
/var/cache/apt/archives/x11-common_1%3a7.1.1ubuntu6.2_i386.deb (--unpack):
  trying to overwrite `/usr/X11R6/bin', which is also in package 
empkernel26
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
         LANGUAGE = "en",
         LC_ALL = (unset),
         LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
         LANGUAGE = "en",
         LC_ALL = (unset),
         LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
         LANGUAGE = "en",
         LC_ALL = (unset),
         LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Errors were encountered while processing:
  /var/cache/apt/archives/x11-common_1%3a7.1.1ubuntu6.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list