[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#431816: marked as done (apt-mark fails after renaming extended states)



Your message dated Sun, 13 Jul 2008 16:34:41 +0200
with message-id <200807131634.43431.thijs@debian.org>
and subject line fixed in 0.7.7
has caused the Debian Bug report #431816,
regarding apt-mark fails after renaming extended states
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
431816: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431816
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.3
Severity: normal
Tags: patch

*** Please type your report below this line ***

As I was fiddling with apt-mark, I discovered that after writing the
new "extended-states.tmp" file and renaming it, it tries to access the
"old" file. I have included a patch for that, and another option
parsing mistake, when -f is specified.

I think the attached simple "diff" patch makes apt-mark OK to the best
of my knowledge.

Thanks.
Kumar

<patch>
43c43
<         STATE_FILE=options.filename
---
>         STATE_FILE=options.state_file
65c65
<         os.chmod(STATE_FILE, 0644)
---
>         os.chmod(outfile.name, 0644)
</patch>

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-ck1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2007.02.19-0.1   GnuPG archive keys of the Debian a
ii  libc6                   2.5-11           GNU C Library: Shared libraries
ii  libgcc1                 1:4.2-20070609-1 GCC support library
ii  libstdc++6              4.2-20070609-1   The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information

-- 
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


--- End Message ---
--- Begin Message ---
Version: 0.7.7

Confirmed that this has been fixed in 0.7.7:
  * cmdline/apt-mark:
    - Fix chmoding after have renamed the extended-states file (LP: #140019)

Attachment: pgp8WXNSZH7Fr.pgp
Description: PGP signature


--- End Message ---

Reply to: