Announcement

Collapse
No announcement yet.

Adept Failure on any Installation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adept Failure on any Installation

    Using Kubuntu 8.10 Beta, when I try to install anything in Adept I get the following error:

    APT Error. Context:
    Package download failed,
    I wasn't able to locate file for the linux-image-2.6.27-7-generic package. This might mean you need to manually fix this package.,

    Any advice?
    Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

    #2
    Re: Adept Failure on any Installation

    One thing to try is to open a console and copy/paste or type: sudo dpkg --configure -a

    followed by: sudo apt-get autoclean

    followed by: sudo apt-get update

    followed by: sudo apt-get install

    followed by: sudo apt-get autoremove

    They probably are'nt all necessary, but better safe than sorry.

    Comment


      #3
      Re: Adept Failure on any Installation

      Thanks... still got some errors. I clearly have a kernel update problem.
      This is the result of sudo apt-get -f install:

      The following packages will be upgraded:
      linux-image-2.6.27-7-generic
      1 upgraded, 1 newly installed, 0 to remove and 131 not upgraded.
      1 not fully installed or removed.
      Need to get 0B/26.8MB of archives.
      After this operation, 5591kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      (Reading database ... 102459 files and directories currently installed.)
      Preparing to replace linux-image-2.6.27-7-generic 2.6.27-7.10 (using .../linux-image-2.6.27-7-generic_2.6.27-7.12_i386.deb) ...
      Done.
      Unpacking replacement linux-image-2.6.27-7-generic ...
      dpkg: error processing /var/cache/apt/archives/linux-image-2.6.27-7-generic_2.6.27-7.12_i386.deb (--unpack):
      unable to make backup link of `./boot/vmlinuz-2.6.27-7-generic' before installing new version: Operation not permitted
      dpkg-deb: subprocess paste killed by signal (Broken pipe)
      Running postrm hook script /sbin/update-grub.
      Searching for GRUB installation directory ... found: /boot/grub
      Searching for default file ... found: /boot/grub/default
      Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
      Searching for splash image ... none found, skipping ...
      Found kernel: /boot/vmlinuz-2.6.27-7-generic
      Found kernel: /boot/vmlinuz-2.6.27-4-generic
      Found kernel: /boot/memtest86+.bin
      Updating /boot/grub/menu.lst ... done

      Selecting previously deselected package linux-firmware.
      Unpacking linux-firmware (from .../linux-firmware_1.1_all.deb) ...
      Errors were encountered while processing:
      /var/cache/apt/archives/linux-image-2.6.27-7-generic_2.6.27-7.12_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      tim@ubuntu:~$ sudo apt-get autoremove
      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:
      E: Unmet dependencies. Try using -f.
      Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

      Comment


        #4
        Re: Adept Failure on any Installation

        To be honest, i'm not at all sure what the best next step should be, if it were my system, i would sudo apt-get autoremove, and then start again.

        I had this problem myself with Intrepid, but can't for the life of me remember how i resolved it.

        I'm sort-of hoping that toad or someone else with more knowledge than myself will drop by shortly....

        Comment


          #5
          Re: Adept Failure on any Installation

          Appears (to me) that the installation of the updated kernel didn't finish, and as such, is in a BROKEN state. Easy to confirm. Reboot and select the earlier kernel. Once logged in to the users desktop, open Adept Manager and search on linux-image-2.6.27-7-generic and I'll bet that it is reported as BROKEN.
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: Adept Failure on any Installation

            Originally posted by aged hippy
            To be honest, i'm not at all sure what the best next step should be, if it were my system, i would sudo apt-get autoremove, and then start again.

            I had this problem myself with Intrepid, but can't for the life of me remember how i resolved it.

            I'm sort-of hoping that toad or someone else with more knowledge than myself will drop by shortly....

            Thanks!
            Being aged and something of a hippie myself, I know that memory problem well. Not sure if it's the age or something consumed... 8)

            I'll try snowhog's suggestions and keep coming back here.

            Using a previous kernel version but still have the same problem.

            Cheers
            Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

            Comment


              #7
              Re: Adept Failure on any Installation

              Would you post the output of:
              Code:
              ls -l /boot
              Using Kubuntu Linux since March 23, 2007
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: Adept Failure on any Installation

                Originally posted by Snowhog
                Appears (to me) that the installation of the updated kernel didn't finish, and as such, is in a BROKEN state. Easy to confirm. Reboot and select the earlier kernel. Once logged in to the users desktop, open Adept Manager and search on linux-image-2.6.27-7-generic and I'll bet that it is reported as BROKEN.
                Hi Snowhog,
                It's getting weirder. As you suggested, I rebooted into a previous kernel (2.6.27-4) and searched in Adept for linux-image-2.6.27-7-generic.
                The search results were
                Sun Java 6.0 Plugin
                Sun Java 6.0 Runtime


                I tried to install these, but I get the same error message
                Download failed.
                The list of errors is attached. The recovery for this case is currently not implemented. If you see 404 errors, it might be useful to try fetching package lists (see the Sources tab) and retrying the operation.

                The error was:
                APT Error. Context:
                Package download failed,
                I wasn't able to locate file for the linux-image-2.6.27-7-generic package. This might mean you need to manually fix this package.,


                Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

                Comment


                  #9
                  Re: Adept Failure on any Installation

                  Output of ls -l /boot

                  tim@ubuntu:~$ ls -l /boot
                  total 24608
                  -rwxr-xr-x 1 root root 504774 2008-09-24 03:15 abi-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 505136 2008-10-10 07:42 abi-2.6.27-7-generic
                  -rwxr-xr-x 1 root root 95910 2008-09-24 03:15 config-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 91300 2008-10-10 07:42 config-2.6.27-7-generic
                  drwxr-xr-x 2 root root 32768 2008-10-19 21:21 grub
                  -rwxr-xr-x 1 root root 8613019 2008-10-13 23:09 initrd.img-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 8388541 2008-10-18 01:06 initrd.img-2.6.27-7-generic
                  drwxr-xr-x 2 root root 32768 2008-10-14 00:45 last-good-boot.tmp
                  -rwxr-xr-x 1 root root 124152 2008-09-11 20:11 memtest86+.bin
                  -rwxr-xr-x 1 root root 1041452 2008-09-24 03:15 System.map-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 1030984 2008-10-10 07:42 System.map-2.6.27-7-generic
                  -rwxr-xr-x 1 root root 1073 2008-09-24 03:17 vmcoreinfo-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 1073 2008-10-10 07:44 vmcoreinfo-2.6.27-7-generic
                  -rwxr-xr-x 1 root root 2305072 2008-10-13 23:03 vmlinuz-2.6.27-4-generic
                  -rwxr-xr-x 1 root root 2249168 2008-10-10 07:42 vmlinuz-2.6.27-7-generic
                  Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

                  Comment


                    #10
                    Re: Adept Failure on any Installation

                    Can you remember what you did/what happened on October 14th?
                    drwxr-xr-x 2 root root 32768 2008-10-14 00:45 last-good-boot.tmp
                    Indicates that your last successful boot into your system occurred on that date.
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: Adept Failure on any Installation

                      I'm afraid that I must refer to aged hippie's reply that I don't remember!
                      I only recently installed Kubuntu and had the normal 800 x 600 screen resolution problem for a few days over that period.
                      I edited xorg.conf and added vga=791 (and =792 and =788) to the grub to try and sort it out.
                      Unfortunately in the desperate search for a solution, I didn't keep track of exactly what I did.
                      Of interest, and perhaps a clue, my screen resolution is "normal" in this boot session (earlier kernel) whereas it is still 800x600 in the later (BROKEN) kernel.
                      Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

                      Comment


                        #12
                        Re: Adept Failure on any Installation

                        So you are booted into your 2.6.27-4 kernel? And, then as I'm understanding it, you are also able to boot into the newer 2.6.27-7 kernel as well? But, in either, you are unable to use Adept Manager to install any packages. Is this correct?
                        Using Kubuntu Linux since March 23, 2007
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Re: Adept Failure on any Installation

                          Yep, that's correct.
                          Currently in 2.6.27-4. Unable to update or install anything using Adept or command line.
                          Also, Adept was working fine over the period prior to downloading the later kernel (approx 2 dfays ago?). I installed various packages using Adept with no problem.
                          As you have indicated, it appears that the installation of the later kernel is broken, but apt-get -f install doesn't seem to fix it.
                          Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

                          Comment


                            #14
                            Re: Adept Failure on any Installation

                            Originally posted by timjohn
                            As you have indicated, it appears that the installation of the later kernel is broken, but apt-get -f install doesn't seem to fix it.
                            That (now) appears to be unlikely, as you are able to boot into that kernel. Something else is going on here.

                            What does your sources.list file look like?
                            Code:
                            cat /etc/apt/sources.list
                            Using Kubuntu Linux since March 23, 2007
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Re: Adept Failure on any Installation

                              # deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Alpha i386 (20081005)]/ intrepid main restricted
                              # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                              # newer versions of the distribution.

                              deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted

                              ## Major bug fix updates produced after the final release of the
                              ## distribution.
                              deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

                              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                              ## team, and may not be under a free licence. Please satisfy yourself as to
                              ## your rights to use the software. Also, please note that software in
                              ## universe WILL NOT receive any review or updates from the Ubuntu security
                              ## team.
                              deb http://archive.ubuntu.com/ubuntu/ intrepid universe
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid universe
                              deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates universe

                              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                              ## team, and may not be under a free licence. Please satisfy yourself as to
                              ## your rights to use the software. Also, please note that software in
                              ## multiverse WILL NOT receive any review or updates from the Ubuntu
                              ## security team.
                              deb http://archive.ubuntu.com/ubuntu/ intrepid multiverse
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid multiverse
                              deb http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
                              deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

                              ## Uncomment the following two lines to add software from the 'backports'
                              ## repository.
                              ## N.B. software from this repository may not have been tested as
                              ## extensively as that contained in the main release, although it includes
                              ## newer versions of some applications which may provide useful features.
                              ## Also, please note that software in backports WILL NOT receive any review
                              ## or updates from the Ubuntu security team.
                              # deb http://za.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
                              # deb-src http://za.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

                              ## Uncomment the following two lines to add software from Canonical's
                              ## 'partner' repository. This software is not part of Ubuntu, but is
                              ## offered by Canonical and the respective vendors as a service to Ubuntu
                              ## users.
                              deb http://archive.canonical.com/ubuntu intrepid partner
                              deb-src http://archive.canonical.com/ubuntu intrepid partner

                              # Line commented out by installer because it failed to verify:
                              # deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
                              # Line commented out by installer because it failed to verify:
                              # deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
                              # Line commented out by installer because it failed to verify:
                              # deb http://security.ubuntu.com/ubuntu intrepid-security universe
                              # Line commented out by installer because it failed to verify:
                              # deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
                              # Line commented out by installer because it failed to verify:
                              # deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
                              # Line commented out by installer because it failed to verify:
                              # deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
                              Let&#39;s disconnect these cables, Overturn these tables, <br />This place don&#39;t make sense to me no more<br />Can you tell me what we&#39;re waiting for, Señor?: Bob Dylan<br />Registered Ubuntu User # 23094

                              Comment

                              Working...
                              X