Find the answer to your Linux question:
Results 1 to 4 of 4
Hey guys, The installation of a program seemed stuck (it was, I'll explain if necessary) so I closed the shell and am getting this error now... Code: Traceback (most recent ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2

    apt-get error

    Hey guys,

    The installation of a program seemed stuck (it was, I'll explain if necessary) so I closed the shell and am getting this error now...

    Code:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
        return self._simulate_helper(trans, status_path)
      File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 948, in _simulate_helper
        return depends, status, self._cache.required_download, \
      File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
        pm.get_archives(fetcher, self._list, self._records)
    SystemError: E:I wasn't able to locate file for the libmono-data-tds2.0-cil package. This might mean you need to manually fix this package.
    The installation was definitely stuck, I had this EXACT same problem before with Chrome. Not sure how to resolve this, any help? Please??

    Need MAJOR help, CANNOT install ANYTHING through Synaptic or anything!

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    32
    can you write full command?wat you try to install and how?

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    5
    Please run these commands and post the complete outputs.

    Code:
    sudo dpkg --configure -a
    sudo apt-get install -f

  4. #4
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2
    Appreciate the help guys, but I just reinstalled. I made my home directory a separate partition before I reinstalled so I didn't really care.

    For future reference, I tried those commands that you posted and it told me that there was a lock on the programs. I removed the lock by doing something like "sudo rm dpkg.lock" and "sudo rm apt.lock". Those weren't the exact commands, but you get where I'm coming from, hopefully.

    Anyway, once the locks were removed, it still didn't work. I did a command such as "sudo apt-get install filezilla --fix-missing" and it still did not ignore the broken packages, it looked at it as packages that needed to be "updated" and kept trying to update them. When I tried removing them with "sudo apt-get remove package --purge" it still did not work. A solution to this would maybe be completely removing all traces of the package that is installed, but I don't recommend this at all. Do it only if it is your last option.

    This was my fault in the first place, I exited an apt-get update thinking nothing would happen but it completely screwed up apt. Hope this helps someone...

Posting Permissions

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