apt-mark broken

Bug #140019 reported by Laurent Bigonville
2
Affects Status Importance Assigned to Milestone
apt (Debian)
Fix Released
Unknown
apt (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: apt

apt-mark seems broken

sudo apt-mark markauto gtk-doc-tools
Traceback (most recent call last):
  File "/usr/bin/apt-mark", line 65, in <module>
    os.chmod(outfile.name, 0644)
OSError: [Errno 2] No such file or directory: '/var/lib/apt/extended_states.tmp'

Related branches

Revision history for this message
Laurent Bigonville (bigon) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Michael: can you look into this one?

Changed in apt:
assignee: nobody → mvo
Changed in apt:
status: Unknown → New
Changed in apt:
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport. This is fixed in my bzr branch and it will be part of the next upload.

Changed in apt:
status: Confirmed → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :

apt (0.7.6ubuntu12) gutsy; urgency=low

  [ Michael Vogt ]
  * cmdline/apt-mark:
    - Fix chmoding after have renamed the extended-states file
      (thanks to Laurent Bigonville, LP: #140019)
  * apt-pkg/deb/debmetaindex.cc: comparison with string literal results
      in unspecified behaviour;
  * Reset curl options and timestamp between downloaded files. Thanks to
    Ryan Murray <email address hidden> for the patch

  [Paul Sladen]
  * Have 'cron.daily/apt' send D-Bus doesn't exist error messages
    to the bit bucket. Thanks to 'dasdda'. (LP: #115397)

 -- Michael Vogt <email address hidden> Wed, 03 Oct 2007 02:17:45 +0200

Changed in apt:
status: Fix Committed → Fix Released
Revision history for this message
Michael Vogt (mvo) wrote :
Download full text (7.0 KiB)

apt (0.7.9ubuntu1) hardy; urgency=low

  * merged from http://bzr.debian.org/apt/apt/debian-sid/, remaining
    changes:
    - mirror download method (pending merge with debian)
    - no pdiff download by default (unsuitable for ubuntu)
    - no recommends-by-default yet
    - add "Original-Maintainer" field to tagfile
    - show warning on apt-get source if the package is maintained
      in a VCS (pedinging merge with debian)
    - use ubuntu-archive keyring instead of debians one
    - support metapackages section for autoremoval
    - debian maintainer field change
    - send ubuntu string in user-agent

  * Changes from the debian-sid bzr branch (but not uploaded to debian
    yet):

  [ Otavio Salvador ]
  * Applied patch from Mike O'Connor <email address hidden> to add a manpage to
    apt-mark, closes: #430207.
  * Applied patch from Andrei Popescu <email address hidden> to add a
    note about some frontends in apt.8 manpage, closes: #438545.
  * Applied patch from Aurelien Jarno <email address hidden> to avoid CPU
    getting crazy when /dev/null is redirected to stdin (which breaks
    buildds), closes: #452858.
  * Applied patch from Aurelien Jarno <email address hidden> to fix building
    with newest dpkg-shlibdeps changing the packaging building order,
    closes: #452862.

  [ Program translations ]
    - Basque updated. Closes: #453088

  [ Michael Vogt ]
  * debian/rules
    - fix https install location
  * methods/gpgv.cc:
    - remove cruft code that caused timestamp/I-M-S issues
  * ftparchive/contents.cc:
    - fix error output
  * methods/mirror.{cc,h}:
    - only update mirror list on IndexFile updates
  * apt-pkg/acquire-item.{cc,h}:
    - make the authentication download code more robust against
      servers/proxies with broken If-Range implementations

  [ Chris Cheney ]
  * ftparchive/contents.cc:
    - support lzma data members
  * ftparchive/multicompress.cc:
    - support lzma output

apt (0.7.9) unstable; urgency=low

  [ Christian Perrier ]
  * Add several languages to LINGUAS and, therefore, really ship the relevant
    translation:
    Arabic, Dzongkha, Khmer, Marathi, Nepali, Thai
    Thanks to Theppitak Karoonboonyanan for checking this out. Closes: #448321

  [ Program translations ]
    - Korean updated. Closes: #448430
    - Galician updated. Closes: #448497
    - Swedish updated.

  [ Otavio Salvador ]
  * Fix configure script to check for CURL library and headers presense.
  * Applied patch from Brian M. Carlson <email address hidden>
    to add backward support for arches that lacks pselect support,
    closes: #448406.
  * Umount CD-ROM when calling apt-cdrom ident, except when called with
    -m, closes: #448521.

apt (0.7.8) unstable; urgency=low

  * Applied patch from Daniel Leidert <email address hidden> to fix
    APT::Acquire::Translation "none" support, closes: #437523.
  * Applied patch from Daniel Burrows <email address hidden> to add support
    for the Homepage field (ABI break), closes: #447970.
  * Applied patch from Frans Pop <email address hidden> to fix a trailing
    space after cd label, closes: #448187.

apt (0.7.7) unstable; urgency=low

  [ Michael Vogt ]
  * apt-inst/contr...

Read more...

Changed in apt:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.