Bug#552595: please remove dangling symlinks at upgrade
Package: python-central Version: 0.6.8 Severity: serious Lenny's version of python-central doesn't remove old symlinks at upgrade (it's fixed in 0.6.10) so if upstream author decides to rename one file (or worse: directory), python-central leaves dangling symlinks and doesn't remove associated .pyc files. Please use something like: find /usr/lib/python2.[345] -follow -lname '*' to find dangling symlinks and remove associated .pyc files, symlinks and directories (if they're empty after removing symlinks/pyc files). Please note that this operation has to be done before new package will unpack its files as otherwise above command will not find all files that have to be removed. [Severity: serious due to the fact that leaving pyc files will break a lot of packages after Lenny->Squeeze upgrade] -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-central depends on: ii python2.5.2-3An interactive high-level object-o python-central recommends no packages. python-central suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#552595: please remove dangling symlinks at upgrade
notfound 552595 0.6.10 thanks On 27.10.2009 10:46, Piotr Ożarowski wrote: Package: python-central Version: 0.6.8 Severity: serious Lenny's version of python-central doesn't remove old symlinks at upgrade (it's fixed in 0.6.10) so if upstream author decides to rename one file (or worse: directory), python-central leaves dangling symlinks and doesn't remove associated .pyc files. please could you point to a specifc package where you did see this behaviour? Please use something like: find /usr/lib/python2.[345] -follow -lname '*' to find dangling symlinks and remove associated .pyc files, symlinks and directories (if they're empty after removing symlinks/pyc files). Please note that this operation has to be done before new package will unpack its files as otherwise above command will not find all files that have to be removed. looking at 0.6.8 it does remove the symlinks before upgrade. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#552595: please remove dangling symlinks at upgrade
[Matthias Klose, 2010-01-12] > please could you point to a specifc package where you did see this behaviour? I can give you hundrets of such packages (if not more) but instead I will give you one of your own: python-reportlab: | $ mkdir /dane/lenny_chroot | $ su -c "debootstrap lenny /dane/lenny_chroot" | [...] | I: Base system installed successfully. | $ su - -c "chroot /dane/lenny_chroot" | # aptitude install python-reportlab | [...] | # echo 'deb http://ftp.us.debian.org/debian squeeze main' >> /etc/apt/sources.list | # aptitude update | # aptitude install python-central | # # apt-cache policy python-central | python-central: | Installed: 0.6.14+nmu2 | Candidate: 0.6.14+nmu2 | Version table: | *** 0.6.14+nmu2 0 | 500 http://ftp.us.debian.org squeeze/main Packages | 100 /var/lib/dpkg/status | 0.6.8 0 | 500 http://ftp.us.debian.org lenny/main Packages | # find /usr/lib/python2.[345] -follow -lname '*' | wc -l | 0 | # aptitude install python-reportlab | # find /usr/lib/python2.[345] -follow -lname '*' | wc -l | 40 again, this is extremely serious problem IMO signature.asc Description: Digital signature
Bug#552595: please remove dangling symlinks at upgrade
tag 552595 + pending thanks uploaded to experimental, while uploads are not working, the package can be found here at http://people.debian.org/~doko/tmp/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#552595: please remove dangling symlinks at upgrade
[Matthias Klose, 2010-03-31] > uploaded to experimental, while uploads are not working, the package can > be found here at http://people.debian.org/~doko/tmp/ after some tests, you will add this trigger in 0.6.8 (i.e. version in Lenny), right? -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#552595: please remove dangling symlinks at upgrade
On 31.03.2010 09:21, Piotr Ożarowski wrote: [Matthias Klose, 2010-03-31] uploaded to experimental, while uploads are not working, the package can be found here at http://people.debian.org/~doko/tmp/ after some tests, you will add this trigger in 0.6.8 (i.e. version in Lenny), right? not before it's in testing -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#552595: please remove dangling symlinks at upgrade
[Matthias Klose, 2010-03-31] > On 31.03.2010 09:21, Piotr Ożarowski wrote: >> after some tests, you will add this trigger in 0.6.8 (i.e. version in >> Lenny), right? > > not before it's in testing yeah, that's what I meant, thanks. I can test updated package on my Lenny servers if you will provide one somewhere (unless you want to upload 0.6.15 to Lenny, if not, please consider backporting fixes for python2.6 (for python2.6 backporters)). -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#552595: please remove dangling symlinks at upgrade
Processing commands for cont...@bugs.debian.org: > notfound 552595 0.6.10 Bug #552595 [python-central] please remove dangling symlinks at upgrade Ignoring request to alter found versions of bug #552595 to the same values previously set > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org