[Bug 1072934] Re: keeps telling me I have broken packages, I did clean, autoclean, autoremove and apt install - f, same result

David Gardner 1072934 at bugs.launchpad.net
Thu Jan 10 11:44:54 UTC 2013


I've also had this happen on an Ubuntu 12.04 LTS install with minimal
unofficial packages installed (only Dropbox).  The python-dap package
which contains this is the standard Ubuntu package.


There's a "fix" available in the answer to this stackoverflow question:

 http://stackoverflow.com/questions/13915269/why-do-i-get-userwarning-
module-dap-was-already-imported-from-none

..which is to add "dap" as the first line in the /usr/lib/python2.7
/dist-packages/dap-2.2.6.7.egg-info/namespace_packages.txt file.


This appears to work, as it doesn't attempt to import the already built-in module "dap".  Are there any problems this hack is likely to cause?  If this is the correct solution then it would be nice to have in a 12.04 LTS update package if possible.

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

Title:
  keeps telling me I have broken packages, I did clean, autoclean,
  autoremove and apt install - f, same result

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 12.04 upgrading to ubuntu 12.10 (Ubuntu 12.04.1 LTS)

  it may be in python 2.7
  python2.7:
    Installed: 2.7.3-0ubuntu3.1
    Candidate: 2.7.3-5ubuntu4
    Version table:
       2.7.3-5ubuntu4 0
          500 http://gb.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
   *** 2.7.3-0ubuntu3.1 0
          100 /var/lib/dpkg/status

  i recieved the message: ubuntu-bug ubuntu-release-upgrader-core
  /usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py:19: UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
    import pkg_resources
   I expected my upgrade to 12.10 to be flawless as usual
  It failed to complete, hardly flawless, FAIL!

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: update-manager 1:0.156.14.11
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  ApportVersion: 2.0.1-0ubuntu14
  Architecture: amd64
  Date: Tue Oct 30 00:52:59 2012
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1351550815
   com.ubuntu.update-manager window-height 658
   com.ubuntu.update-manager window-width 600
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  PackageArchitecture: all
  SourcePackage: update-manager
  Symptom: ubuntu-release-upgrader-core
  UpgradeStatus: Upgraded to precise on 2012-10-29 (0 days ago)
  VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 13] Permission denied: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1072934/+subscriptions




More information about the foundations-bugs mailing list