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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to