Announcement

Collapse
No announcement yet.

adept_installer crashes so can't install / un-install

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

    adept_installer crashes so can't install / un-install

    I am trying to install cups software to be able to install a new Dell 1320c lazer printer to run on my self built PC which uses Kubuntu for AMD64.

    I get following message with adept_installer after selecting to apply changes...

    There was an error commiting changes. Possibly there was a problem downloading some packages or the commit would break packages.

    with adept_manager I get the following message after selecting to apply changes...

    adept_manager crashed causing signal 11 (SIGSEGV).

    Sould I attempt to install CUPS printer install packages using Konsole?

    Christian : )


    #2
    Re: adept_installer crashes so can't install / un-install

    In a terminal type sudo apt-get install synaptic

    That will install synaptic, an alternative package manager that seems to have fewer issues. Then try it from there.

    If you get errors please let us know.

    Comment


      #3
      Re: adept_installer crashes so can't install / un-install

      Hi there,

      I tried to install synaptic through terminal program Konsole and I get the following Errors based on permission to access (am I root?). How do I get this root permission?

      "The following packages were automatically installed and are no longer required:
      libxfcegui4-4 torcs-data libgnomekbd1 libxfce4mcs-client3 libopenal0a ktip
      kpager xfce4-panel torcs-data-tracks torcs-data-cars libgnome-menu2
      libxfce4util4 libgnomekbd-common libalut0 libgnomekbdui1 python-cups
      avida-base libxklavier11 kappfinder libxfce4mcs-manager3 binfmt-support
      plib1.8.4c2
      Use 'apt-get autoremove' to remove them.
      The following extra packages will be installed:
      liblaunchpad-integration0 libvte-common libvte9
      Recommended packages:
      deborphan libgnome2-perl
      The following NEW packages will be installed
      liblaunchpad-integration0 libvte-common libvte9 synaptic
      0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
      Need to get 2182kB of archives.
      After unpacking 8790kB of additional disk space will be used.
      Do you want to continue [Y/n]? Y
      WARNING: The following packages cannot be authenticated!
      liblaunchpad-integration0 libvte-common libvte9 synaptic
      Install these packages without verification [y/N]? N
      E: Some packages could not be authenticated
      christian@christian-desktop:~$ apt-get autoremove
      E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
      E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
      christian@christian-desktop:~$ "

      I have managed to remove adept-manager but still have adept-installer which seems to work with limited functionality (it let me remove adept-manager but I can't seem to install printer programs).

      Thanks for your help,

      Christian

      Comment


        #4
        Re: adept_installer crashes so can't install / un-install

        If you type sudo apt-get install synaptic

        and then hit return you will be asked for your password. Type that in and hit return and you will then be working at the higher level, and you should be able to install.

        If you get errors (indicated by the lock - probably caused by the earlier mis-fire) you ought to be able to clear that by doing a reboot.

        Comment


          #5
          Re: adept_installer crashes so can't install / un-install

          Great - thanks for help on that one....I get through to typing y to download but then fresh error messages appear as below:

          "Err http://archive.ubuntu.com feisty/main liblaunchpad-integration0 0.1.13
          404 Not Found [IP: 91.189.88.46 80]
          Err http://archive.ubuntu.com feisty/main libvte-common 1:0.16.1-0ubuntu1
          404 Not Found [IP: 91.189.88.46 80]
          Err http://archive.ubuntu.com feisty/main libvte9 1:0.16.1-0ubuntu1
          404 Not Found [IP: 91.189.88.46 80]
          Err http://archive.ubuntu.com feisty/main synaptic 0.57.11.1ubuntu14
          404 Not Found [IP: 91.189.88.46 80]
          Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1.13_i386.deb 404 Not Found [IP: 91.189.88.46 80]
          Failed to fetch http://archive.ubuntu.com/ubuntu/poo...buntu1_all.deb 404 Not Found [IP: 91.189.88.46 80]
          Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu1_i386.deb 404 Not Found [IP: 91.189.88.46 80]
          Failed to fetch http://archive.ubuntu.com/ubuntu/poo...ntu14_i386.deb 404 Not Found [IP: 91.189.88.46 80]
          E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
          christian@christian-desktop:~$ "

          I have tried run apt-get update and get following:

          "Ign cdrom://Packages Release.gpg
          Ign cdrom://Packages Translation-en_GB
          Ign cdrom://Packages Release
          Ign http://archive.ubuntu.com feisty Release.gpg
          Ign http://archive.ubuntu.com feisty/main Translation-en_GB
          Ign http://archive.ubuntu.com feisty/universe Translation-en_GB
          Ign http://archive.ubuntu.com feisty/restricted Translation-en_GB
          Ign http://archive.ubuntu.com feisty/multiverse Translation-en_GB
          Ign http://archive.ubuntu.com feisty Release
          Ign http://archive.ubuntu.com feisty/main Packages
          Ign http://archive.ubuntu.com feisty/universe Packages
          Ign http://archive.ubuntu.com feisty/restricted Packages
          Ign http://archive.ubuntu.com feisty/multiverse Packages
          Ign http://archive.ubuntu.com feisty/main Sources
          Ign http://archive.ubuntu.com feisty/universe Sources
          Ign http://archive.ubuntu.com feisty/restricted Sources
          Ign http://archive.ubuntu.com feisty/multiverse Sources
          Err http://archive.ubuntu.com feisty/main Packages
          404 Not Found
          Err http://archive.ubuntu.com feisty/universe Packages
          404 Not Found
          Err http://archive.ubuntu.com feisty/restricted Packages
          404 Not Found
          Err http://archive.ubuntu.com feisty/multiverse Packages
          404 Not Found
          Err http://archive.ubuntu.com feisty/main Sources
          404 Not Found
          Err http://archive.ubuntu.com feisty/universe Sources
          404 Not Found
          Err http://archive.ubuntu.com feisty/restricted Sources
          404 Not Found
          Err http://archive.ubuntu.com feisty/multiverse Sources
          404 Not Found
          Ign http://ftp.osuosl.org feisty/ Release.gpg
          Ign http://ftp.osuosl.org feisty/ Translation-en_GB
          Ign http://ftp.osuosl.org feisty/ Release
          Ign http://ftp.osuosl.org feisty/ Packages
          Hit http://ftp.osuosl.org feisty/ Packages
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz 404 Not Found
          Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rce/Sources.gz 404 Not Found
          Reading package lists... Done
          E: Some index files failed to download, they have been ignored, or old ones used instead.
          christian@christian-desktop:~$ "


          Thanks again for your help - I feel like progress is being made...
          Incidentally I also tried to type sudo apt-get install kdeprint ...but got the following:

          "Install these packages without verification [y/N]? y
          Err http://archive.ubuntu.com feisty/main kdeprint 4:3.5.6-0ubuntu20
          404 Not Found [IP: 91.189.88.46 80]
          Failed to fetch http://archive.ubuntu.com/ubuntu/poo...ntu20_i386.deb 404 Not Found [IP: 91.189.88.46 80]
          E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
          christian@christian-desktop:~$ "

          Best wishes,

          Christian

          Comment


            #6
            Re: adept_installer crashes so can't install / un-install

            Your error messages suggest you are running Feisty, which IIRC is 7.04. Is that right?

            Comment


              #7
              Re: adept_installer crashes so can't install / un-install

              I think I may be with Feisty yes. I don't know for sure. I tried through Konsole terminal to check which Kubuntu version I am using by typing "cat /etc/issue". What came back was ubuntu 7.04.

              Upgrades have not been working on my set up since the adept-installer became unstable (which occurred when I tried unsuccessfully to install Amaya so I could edit my website).

              Best wishes and thanks again,

              Christian

              Comment


                #8
                Re: adept_installer crashes so can't install / un-install

                The end of life for Feisty (7.04) was October 2008, so it's no longer supported. I therefore strongly recommend you get a more up to date version of kubuntu.

                Presumably, stability is key for you. In that case I would recommend 8.04.

                Back up your home file/partition and do a new installation. You ought to be able to do a new install and save your home data (if it's in a separate partition) as both use kde3, but back up first just in case. I would not get 8.10 unless you are prepared to start completely from scratch and copy your backed up data to a clean home as kde 4 has significant differences to kde3.

                HTH

                Ian

                Comment


                  #9
                  Re: adept_installer crashes so can't install / un-install

                  Edit the file /etc/apt/sources.list and every place you find feisty, replace it with gutsy. If you have files in /etc/apt/sources.list.d do the same with those. Then run

                  sudo aptitude update

                  followed by sudo aptitude -f full-upgrade

                  This should upgrade your system to gutsy, and will probably go without much trouble. You should then probably upgrade to hardy in the same way. At that point you should be good for a few months. Don't try to skip from feisty to hardy, take them in order.

                  Comment


                    #10
                    Re: adept_installer crashes so can't install / un-install

                    I tried to find all feisty and replace with gutsy in the ect/apt/sources.list and ../sources.list.save and sources.list.d folders. I could not save these with the changes so I tried running the command you suggested without closing down the folders. If I try to save changes in ect file I get the following message:

                    The document could not be saved, as it was not possible to write to file:///etc/apt/sources.list.save.
                    Check that you have write access to this file or that enough disk space is available.

                    Then I tried to run the command:

                    sudo aptitude -f full-upgrade. I got the following message:

                    Unknown command "full-upgrade"
                    aptitude 0.4.4
                    Usage: aptitude [-S fname] [-u|-i]
                    aptitude [options] <action> ...
                    Actions (if none is specified, aptitude will enter interactive mode):

                    install - Install/upgrade packages
                    remove - Remove packages
                    purge - Remove packages and their configuration files
                    hold - Place packages on hold
                    unhold - Cancel a hold command for a package
                    markauto - Mark packages as having been automatically installed
                    unmarkauto - Mark packages as having been manually installed
                    forbid-version - Forbid aptitude from upgrading to a specific package version.
                    update - Download lists of new/upgradable packages
                    upgrade - Perform a safe upgrade
                    dist-upgrade - Perform an upgrade, possibly installing and removing packages
                    forget-new - Forget what packages are "new"
                    search - Search for a package by name and/or expression
                    show - Display detailed information about a package
                    clean - Erase downloaded package files
                    autoclean - Erase old downloaded package files
                    changelog - View a package's changelog
                    download - Download the .deb file for a package
                    reinstall - Download and (possibly) reinstall a currently installed package

                    Options:
                    -h This help text
                    -s Simulate actions, but do not actually perform them.
                    -d Only download packages, do not install or remove anything.
                    -P Always prompt for confirmation or actions
                    -y Assume that the answer to simple yes/no questions is 'yes'
                    -F format Specify a format for displaying search results; see the manual
                    -O order Specify how search results should be sorted; see the manual
                    -w width Specify the display width for formatting search results
                    -f Aggressively try to fix broken packages.
                    -V Show which versions of packages are to be installed.
                    -D Show the dependencies of automatically changed packages.
                    -Z Show the change in installed size of each package.
                    -v Display extra information. (may be supplied multiple times)
                    -t [release] Set the release from which packages should be installed
                    -q In command-line mode, suppress the incremental progress indicators.
                    -o key=val Directly set the configuration option named 'key'
                    --with(out)-recommends Specify whether or not to treat recommends as
                    strong dependencies
                    -S fname: Read the aptitude extended status info from fname.
                    -u : Download new package lists on startup.
                    -i : Perform an install run on startup.

                    This aptitude does not have Super Cow Powers.

                    Thank you for your help so far....hopefully can upgrade soon and then work on getting the printer driver I need for my Dell colour lazer printer.

                    Comment


                      #11
                      Re: adept_installer crashes so can't install / un-install

                      I get a kick out of Super Cow powers every time I see it. sudo is a command that allows you to run commands as root (like do as Super User). You need to use it every time you want to run a command as root, which includes installing and removing packages and editing the sources.list files. Usually you will do something like "sudo kate /etc/apt/sources.list" or "sudo aptitude update" but you can run "sudo -s" so that you get a root shell and can run numerous commands without typing sudo each time.

                      So try again to edit the /etc/apt/sources.list file, as root this time. Then when you are done, as root, run "aptitude update" to let your system download a new database of available packages. Then you want to tell it to install a whole new version of Ubuntu so use, as root,

                      "aptitude -f dist-upgrade"

                      I told you full-upgrade before, not realizing that your version of apt was before the change from dist-upgrade to full-upgrade. In newer version they are the same but dist-upgrade will go away. The -f tells aptitude to try real hard to find a way to fix any problems it encounters. Hopefully that will get you to Hardy.

                      Comment


                        #12
                        Re: adept_installer crashes so can't install / un-install

                        Yesterday I finally managed, through your help, to download a new version of ubuntu. It took ages on the broadband connection (fairly remote situation) and eventually it seemed to end.

                        However the computer seems exactly the same as it was before. How do I check whether it is now on Hardy or still on Feisty?

                        When type cat /ect/issue into the terminal Konsole window I get back "ubuntu 7.04 \n \l"

                        Perhaps the new upgrade install got stuck or failed?

                        In hope,

                        Christian : )

                        Comment


                          #13
                          Re: adept_installer crashes so can't install / un-install

                          Actually I can now confirm that my version of kubuntu is not Gutsy because I just tried to install synaptic through terminal Konsole by typing
                          sudo apt-get install synaptic

                          It worked! YIPEEE

                          and as it churned away I noticed Gusty appearing instead of the old Feisty

                          So THANK YOU!

                          Now onto my second problem which is how to find a printer driver for Dell laser printers...

                          Any ideas?

                          Comment


                            #14
                            Re: adept_installer crashes so can't install / un-install

                            For help with your printer try here:

                            http://openprinting.org/show_printer...0c_color_laser

                            Check in your printer database whether there is an entry for the Fuji printer, in which case install it. If not, you may care to look here:

                            http://www.mepis.org/docs/en/index.p...rinter_drivers

                            Basically this gives you the location of a Redhat RPM for the driver. If you install a package called alien and follow the instructions on that page it will create a deb which you can install. Note that I have no knowledge of this printer so these instructions don't come with any money-back guarantee

                            Good luck
                            Ian

                            Comment

                            Working...
                            X