[Bug 659438] Re: Installation/Removal fails because of package which could not be located (failure in apt.Cache.required_download)

nithin_aneesh nithin_aneesh at aol.in
Fri Mar 2 04:05:35 UTC 2012


The error I am experiencing is something different.  I am sorry for my previous comment. 
The bug I experience is as that if I reject EULA then also the package is marked as installed.

I ran the command  sudo apt-get install ttf-mscorefonts-installer and
declined the EULA . I have attached the screenshots. I rerun the command
but I am getting output "ttf-mscorefonts-installer is already the newest
version". But actually it is not installed. It is not taking me to EULA
page to accept it. How to fix this?

1. Output of first run of sudo apt-get install ttf-mscorefonts-installer (declined EULA):
>
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/34.8 kB of archives.
After this operation, 209 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package ttf-mscorefonts-installer.
(Reading database ... 259348 files and directories currently installed.)
Unpacking ttf-mscorefonts-installer (from .../ttf-mscorefonts-installer_3.3ubuntu4_all.deb) ...
user did not accept the mscorefonts-eula license
Setting up ttf-mscorefonts-installer (3.3ubuntu4) ...
user did not accept the mscorefonts-eula license

2. Output of subsequent run of sudo apt-get install ttf-mscorefonts-installe
>
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


** Attachment added: "Screenshots.tar.gz"
   https://bugs.launchpad.net/aptdaemon/+bug/659438/+attachment/2799755/+files/Screenshots.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/659438

Title:
  Installation/Removal fails because of package which could not be
  located (failure in apt.Cache.required_download)

Status in Aptdaemon:
  Fix Committed
Status in “apt” package in Ubuntu:
  Triaged
Status in “aptdaemon” package in Ubuntu:
  Triaged
Status in “python-apt” package in Ubuntu:
  Invalid
Status in “apt” source package in Maverick:
  Confirmed
Status in “aptdaemon” source package in Maverick:
  Fix Released
Status in “python-apt” source package in Maverick:
  Invalid

Bug description:
  Steps to reproduce:

  1. Run apt-get nstall ms-ttcorefonts-installer in a terminal
  2. Close the terminal window at the EULA question (apt-get/dpkg/debconf) will sting hang in the background and lock the system)
  3. Reboot


  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
      return self._simulate_helper(trans, status_path)
    File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 936, 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 liblua50 package. This might mean you need to manually fix this package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/659438/+subscriptions




More information about the foundations-bugs mailing list