Results 1 to 8 of 8

Thread: Upgrading any package in 11.10 impossible

  1. #1
    Join Date
    Nov 2005
    Location
    Atikokan, Ontario, Canada
    Beans
    225
    Distro
    Ubuntu Development Release

    Exclamation Upgrading any package in 11.10 impossible

    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
    Code:
    sudo apt-get install -f
    However when I run that I get this

    Code:
    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.
    Ubuntu User #30623 - Ubuntu 10.04 /InfinityOS
    "Why do you have flies in your freakin house? I
    noticed this earlier. It's southern California and I have fruit.You put zombie and you put eerie in the title and I don't wanna do it."

  2. #2
    Join Date
    Feb 2009
    Location
    Hull, England
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Upgrading any package in 11.10 impossible

    What repos do you have enabled?

  3. #3
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Upgrading any package in 11.10 impossible

    use the "main" server via synaptic

  4. #4
    Join Date
    Nov 2005
    Location
    Atikokan, Ontario, Canada
    Beans
    225
    Distro
    Ubuntu Development Release

    Re: Upgrading any package in 11.10 impossible

    the only repos I have enabled are whatever is enabled by default I havent added or changed any.

    As for synaptic whenever I try to install it I get

    Code:
    leveliv@leveliv-Satellite-L500:~$ sudo apt-get install synaptic
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     libc6 : Depends: libc-bin (= 2.13-20ubuntu3)
     libc6-dev : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     libc6-i386 : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     synaptic : Depends: libapt-pkg4.11 (>= 0.8.16~exp5ubuntu12) but 0.8.16~exp5ubuntu11 is to be installed
                Depends: libept1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Then whenever I do "sudo apt-get -f install" I get
    Code:
    leveliv@leveliv-Satellite-L500:~$ sudo apt-get install synaptic
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     libc6 : Depends: libc-bin (= 2.13-20ubuntu3)
     libc6-dev : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     libc6-i386 : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     synaptic : Depends: libapt-pkg4.11 (>= 0.8.16~exp5ubuntu12) but 0.8.16~exp5ubuntu11 is to be installed
                Depends: libept1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    leveliv@leveliv-Satellite-L500:~$ sudo apt-get install synaptic
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     libc6 : Depends: libc-bin (= 2.13-20ubuntu3)
     libc6-dev : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     libc6-i386 : Depends: libc6 (= 2.13-20ubuntu5) but 2.13-20ubuntu3 is to be installed
     synaptic : Depends: libapt-pkg4.11 (>= 0.8.16~exp5ubuntu12) but 0.8.16~exp5ubuntu11 is to be installed
                Depends: libept1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    leveliv@leveliv-Satellite-L500:~$ sudo apt-get -f install
    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 0 B/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
    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)
    leveliv@leveliv-Satellite-L500:~$
    And then a window from Ubuntu Software centre pops up and asks me to repair my packages, However when I try that same repair window just keeps popping up and asking the same thing.
    If I want to repair my packages...but by that point its just an endless loop of that window popping up.

    I don't know if its myself that broke this machine or just an update gone back (my wifi likes to drop a lot) but even then it rolls back to the original state.
    Ubuntu User #30623 - Ubuntu 10.04 /InfinityOS
    "Why do you have flies in your freakin house? I
    noticed this earlier. It's southern California and I have fruit.You put zombie and you put eerie in the title and I don't wanna do it."

  5. #5
    Join Date
    Feb 2009
    Location
    Hull, England
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Upgrading any package in 11.10 impossible

    Try editing your /etc/apt/sources.list,
    and make sure the following are enabled or add them if they're not, then try again:
    Code:
    deb http://archive.ubuntu.com/ubuntu oneiric-updates main restricted
    deb-src http://archive.ubuntu.com/ubuntu oneiric-updates main restricted
    deb http://archive.ubuntu.com/ubuntu oneiric universe
    deb-src http://archive.ubuntu.com/ubuntu oneiric universe
    deb http://archive.ubuntu.com/ubuntu oneiric-updates universe
    deb-src http://archive.ubuntu.com/ubuntu oneiric-updates universe
    deb http://archive.ubuntu.com/ubuntu oneiric multiverse
    deb-src http://archive.ubuntu.com/ubuntu oneiric multiverse
    deb http://archive.ubuntu.com/ubuntu oneiric-updates multiverse
    deb-src http://archive.ubuntu.com/ubuntu oneiric-updates multiverse
    deb http://archive.ubuntu.com/ubuntu oneiric-security main restricted
    deb-src http://archive.ubuntu.com/ubuntu oneiric-security main restricted
    deb http://archive.ubuntu.com/ubuntu oneiric-security universe
    deb-src http://archive.ubuntu.com/ubuntu oneiric-security universe
    deb http://archive.ubuntu.com/ubuntu oneiric-security multiverse
    deb-src http://archive.ubuntu.com/ubuntu oneiric-security multiverse

  6. #6
    Join Date
    Nov 2005
    Location
    Atikokan, Ontario, Canada
    Beans
    225
    Distro
    Ubuntu Development Release

    Re: Upgrading any package in 11.10 impossible

    I backed up and cleared out my old Sources.list and copied what you wrote down there, trying now will let people know if it works...Heres hoping.
    Ubuntu User #30623 - Ubuntu 10.04 /InfinityOS
    "Why do you have flies in your freakin house? I
    noticed this earlier. It's southern California and I have fruit.You put zombie and you put eerie in the title and I don't wanna do it."

  7. #7
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,198
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Upgrading any package in 11.10 impossible

    Never run a partial upgrade, it will often break something.
    It is safer to use synaptic package manager to update packages. At least synaptic tells you waht it proposes to do and what will break if an update involves removal of packages.
    MacBook Pro 10,1 retina

  8. #8

    Re: Upgrading any package in 11.10 impossible

    I'm having the same problem here.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •