leveliv
October 5th, 2011, 03:01 PM
Hi there,
I am running the beta or alpha whatever it is on my laptop of 11.10
and I recently tried to upgrade my packages just to stay up to date and maybe fix a bug or two to make it stable.
however when I try to use update manager I get an error saying I need to do a partial upgrade. When I do it stops when getting new packages It says the package system is broken and that I should run
sudo apt-get install -f
However when I run that I get this
leveliv@leveliv-Satellite-L500:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin libc6
Suggested packages:
glibc-doc
The following NEW packages will be installed:
libc-bin
The following packages will be upgraded:
libc6
1 upgraded, 1 newly installed, 0 to remove and 444 not upgraded.
3 not fully installed or removed.
Need to get 994 kB/5,296 kB of archives.
After this operation, 3,420 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ oneiric/main libc-bin amd64 2.13-20ubuntu5 [994 kB]
Fetched 994 kB in 3s (266 kB/s)
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: error: 1 expected program not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have no idea how to fix it, Should I just re install from an .iso and try again? I haven't really got anything to lose from this point on, but I am trying to make myself learn more about linux rather than just reformat and refresh.
I could get a stable copy of 11.04 and try that but I always like being on the heels of Canonical just to see what they are coming up with next.
I am running the beta or alpha whatever it is on my laptop of 11.10
and I recently tried to upgrade my packages just to stay up to date and maybe fix a bug or two to make it stable.
however when I try to use update manager I get an error saying I need to do a partial upgrade. When I do it stops when getting new packages It says the package system is broken and that I should run
sudo apt-get install -f
However when I run that I get this
leveliv@leveliv-Satellite-L500:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin libc6
Suggested packages:
glibc-doc
The following NEW packages will be installed:
libc-bin
The following packages will be upgraded:
libc6
1 upgraded, 1 newly installed, 0 to remove and 444 not upgraded.
3 not fully installed or removed.
Need to get 994 kB/5,296 kB of archives.
After this operation, 3,420 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ oneiric/main libc-bin amd64 2.13-20ubuntu5 [994 kB]
Fetched 994 kB in 3s (266 kB/s)
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: error: 1 expected program not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have no idea how to fix it, Should I just re install from an .iso and try again? I haven't really got anything to lose from this point on, but I am trying to make myself learn more about linux rather than just reformat and refresh.
I could get a stable copy of 11.04 and try that but I always like being on the heels of Canonical just to see what they are coming up with next.