- Fix chmoding after have renamed the extended-states file (LP: #140019)
(thanks to Laurent Bigonville, LP: #140019)
* cmdline/apt-mark:
- Fix chmoding after have renamed the extended-states file (LP: #140019)
(thanks to Laurent Bigonville)
if not options.filename:
STATE_FILE = apt_pkg.Config.FindDir("Dir::State") + "extended_states"
else:
- STATE_FILE=options.state_file
+ STATE_FILE=options.filename
# open the statefile
if os.path.exists(STATE_FILE):
# all done, rename the tmpfile
os.chmod(outfile.name, 0644)
os.rename(outfile.name, STATE_FILE)
- os.chmod(outfile.name, 0644)
+ os.chmod(STATE_FILE, 0644)
+apt (0.7.6ubuntu12) gutsy; urgency=low
+
+ * cmdline/apt-mark:
+ - Fix chmoding after have renamed the extended-states file (LP: #140019)
+ (thanks to Laurent Bigonville, LP: #140019)
+
+ --
+
apt (0.7.6ubuntu11) gutsy; urgency=low
* apt-pkg/contrib/mmap.cc:
* cmdline/apt-get.cc:
- do not change the auto-installed information if a package
is reinstalled
+ * cmdline/apt-mark:
+ - Fix chmoding after have renamed the extended-states file (LP: #140019)
+ (thanks to Laurent Bigonville)
[ Ian Jackson ]
* dpkg-triggers: Deal properly with new package states.