The problem is my /usr is actually a symlink, and
despite the fact that it has lots of files and other
subdirs in it (in the real dir it's a link to, that
is), dpkg -r does remove it. So I was trying to think
of some way to prevent that happening.
There's this comment in remove.c:
/* Only delete
Hope Duryea wrote:
The problem is my /usr is actually a symlink,
[snip behaviour explanation]
I have to ask... *Why* do you have /usr as a symlink? Extra partition,
loopback mount, NFS mount I can understand... Symlink I just can't see
being more useful than any of the other three I noted, or
hi folks,
sorry for breaking the thread, but i'm not subscribed and i wasn't cc'd,
and my current MUA sucks.
from ian:
Well, I don't know if I still count as one of the `dpkg team' but I
think this is a terrible idea for lots of reasons. dpkg needs to be
very reliable; its databases must
Hope Duryea [EMAIL PROTECTED] writes:
Hi all,
I haven't read through the entire source, but from
what I can tell by using dpkg -r on a package, and
from looking at isdirectoryinuse(), and the call to it
in remove.c, it seems the criteria for whether a
directory is included in the removal
Hope Duryea [EMAIL PROTECTED] writes:
The problem is my /usr is actually a symlink, and
despite the fact that it has lots of files and other
subdirs in it (in the real dir it's a link to, that
is), dpkg -r does remove it. So I was trying to think
of some way to prevent that happening.
%
OLEN SAIRASLOMALLA 02.04 - 30.04.2007.
TYÖASIAT, TIMO MUTTILAINEN, 020 130 2320
Processing commands for [EMAIL PROTECTED]:
# Automatically generated email from bts, devscripts version 2.9.26
tags 6714 moreinfo
Bug#6714: dselect missing package sizes
There were no tags set.
Tags added: moreinfo
End of message, stopping processing here.
Please contact me if you need
dpkg: please try not to use up all disk space
http://bugs.debian.org/15865
Actually dpkg should already handle this pretty gracefully. It uses
atomic rename()s after linking each file in a package for backup then
writing to a new filename. So if you run out of disk space, the
maintscript
8 matches
Mail list logo