Announcement

Collapse
No announcement yet.

SOLVED: adept, etc., unable to install

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

    SOLVED: adept, etc., unable to install

    I thoughtlessly deleted (no recovery possible) some files and directories for a program I was trying to get rid of, and now adept won't work for me (apt-get works no better). All attempts to install anything produces an "cannot commit changes" error msg.

    apt-get yields -

    E: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it.

    Is there a way to clean this up somehow so I can get back to normal? (I also cannot get ksysguard to execute normally, suddenly - if that gives any kind of clue to to the problem.)

    There surely is a reasonably simply way to recover from this - but I don't know it. Any ideas, anyone?


    #2
    Re: adept, etc., unable to install

    Did you try
    Code:
    sudo dpkg --configure -a
    ?

    If that doesn't work, you may have done some irreversible damage, and be facing reinstallation of the OS.

    Deleting things in root user mode is a dangerous undertaking, and needs to be done with utmost caution (or not at all, like me).

    Comment


      #3
      Re: adept, etc., unable to install

      OK, executed the command just as you gave it to me. As I read the dpkg info pages, it isn't necessary to specify any particular package, and I didn't.

      Returning to adept, I tried to install ark (which I'd previously uninstalled). No go. This is curious, as when I tried a soft reboot of the system, upon relaunching it was notified that there were 8 update packages available. I tried to effect the update, and it happened OK, except that the "download" phase wouldn't come to a normal end. I clicked the available button to terminate the process (can't recall its label), and was then told that the updates were ready to install. I continued the process and came to a normal termination. For example, my Firefox instance is now updated to 2.0.0.12 - the new update I've been waiting for.

      But, I can't do a simple install from within adept.

      When I deleted those files - the deletion that appears to have cause this problem, they were only those having to do with the 7zip compression functionality of two archiving programs. That doesn't sound too major at all. So I'm not sure what the hangup with adept might be.

      Any further ideas?

      Comment


        #4
        Re: adept, etc., unable to install

        Can you do this from a terminal:
        Code:
        sudo apt-get clean
        
        sudo apt-get autoclean
        
        sudo apt-get update
        
        sudo apt-get upgrade
        
        sudo apt-get install ark
        and post what eventual error messages come up?
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment


          #5
          Re: adept, etc., unable to install

          Originally posted by Fintan
          Can you do this from a terminal:
          Code:
          sudo apt-get clean
          
          sudo apt-get autoclean
          
          sudo apt-get update
          
          sudo apt-get upgrade
          
          sudo apt-get install ark
          and post what eventual error messages come up?
          All was fine until the "...update". Here are two lines of output showing successes, then the trouble starte...

          Hit http://archive.ubuntu.com gutsy-proposed/multiverse Sources
          Hit http://archive.ubuntu.com gutsy-proposed/universe Sources
          Err http://ca.archive.ubuntu.com gutsy Release.gpg
          Could not connect to ca.archive.ubuntu.com:80 (129.97.134.71), connection timed out
          Err http://ca.archive.ubuntu.com gutsy/main Translation-en_CA
          Could not connect to ca.archive.ubuntu.com:80 (129.97.134.71), connection timed out
          99% [Connecting to ca.archive.ubuntu.com (129.97.134.71)]

          At this point I terminated the console, as it didn't look like things were going to get better. This looks like what happens when adept is used...it stalls on the download, times out, errors off.

          Comment


            #6
            Re: adept, etc., unable to install

            Err http://ca.archive.ubuntu.com gutsy Release.gpg
            Could not connect to ca.archive.ubuntu.com:80 (129.97.134.71), connection timed out
            Err http://ca.archive.ubuntu.com gutsy/main Translation-en_CA
            Could not connect to ca.archive.ubuntu.com:80 (129.97.134.71), connection timed out
            99% [Connecting to ca.archive.ubuntu.com (129.97.134.71)]
            Okay looks like those repos are down for the moment.

            Just comment those out and do all of the above sudo apt-get stuff again.

            You can use adept: adept->manage packages

            or with alt+F2->kdesudo (od kdesu) kate->password->/etc/apt/sources.list->save.
            HP Pavilion dv6 core i7 (Main)
            4 GB Ram
            Kubuntu 18.10

            Comment


              #7
              Re: adept, etc., unable to install

              I'm greatly relieved to report that you were entirely right. It took me 24+ hours to return to this problem. After reading your analysis, I thought I'd begin by simply attempting an install of ark, through adept. Damned if it didn't simple work. Problem solved. I tried another - a reinstall. It just worked, again.

              So. I've learned something. Many thanks for your walking through this with me, and making sense of it. I had been preparing to reload Kubuntu, if it became clear that I'd broken something. Now, this is off the list. Thanks!

              Comment

              Working...
              X