Bug#398297: apt-move: doesn't move, doesn't delete

2012-08-04 Thread aborigines
Package: apt-move
Version: 4.2.27-2+b1
Followup-For: Bug #398297

Dear Maintainer,
Debian Wheezy have too.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-move depends on:
ii  bc  1.06.95-2+b1
ii  dash0.5.7-3
ii  libapt-pkg4.12  0.9.7.2
ii  libc6   2.13-33
ii  libgcc1 1:4.7.1-2
ii  libstdc++6  4.7.1-2

Versions of packages apt-move recommends:
ii  apt  0.9.7.2

apt-move suggests no packages.

-- Configuration Files:
/etc/apt-move.conf changed:
APTSITES=/all/
LOCALDIR=/media/tData/mirrors/debian
DIST=wheezy
PKGTYPE=binary
FILECACHE=/var/cache/apt/archives
LISTSTATE=/var/lib/apt/lists
DELETE=no
MAXDELETE=20
COPYONLY=yes
PKGCOMP=gzip
CONTENTS=yes
GPGKEY=


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#398297: bug 398297: apt-move: doesn't move, doesn't delete

2012-05-23 Thread Jurrie Overgoor
The bug is also in apt-move 4.2.27-2 (from Ubuntu 12.04 repo). The 
solution by Robert works like a charm. Thanks Robert!




smime.p7s
Description: S/MIME Cryptographic Signature


Bug#398297: bug 398297: apt-move: doesn't move, doesn't delete

2011-10-06 Thread Robert The-M
Dear Maintainer.

I'm not sure, but I think I have found the reason for this bug
and also the bug-fix. Please check.

I use apt-move 4.2.27-1+b7 and perl 5.12.4-4.

In /usr/share/apt-move/move3 (which is a perl sript), line 45 is currently
split;

However in 
https://rt.perl.org/rt3/Public/Bug/Display.html?id=100026
I learned, that in perl the implicit split; was cancelled.

I changed /usr/share/apt-move/move3 line 45 to
@_=split(/\s+/,$_);

and apt-move worked again flawlessly. 

Many greetings,

Robert The-M



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#398297: apt-move: doesn't move, doesn't delete

2007-02-27 Thread Paolo
hello,

I'm having problems with apt-move, which seems related to this bug: from 
previous apt-get ...  apt-move update I have in local repository *~rc*
packages, which appear to confuse apt-move: it throws away new pkgs while
keeping those old ones - eg:

...
removing:  pool/main/o/openoffice.org/openoffice.org_2.0.4.dfsg.2-4_i386.deb
removing:  pool/main/o/openoffice.org/openoffice.org_2.0.4.dfsg.2-5_i386.deb
removing:  pool/main/o/openoffice.org/python-uno_2.0.4.dfsg.2-4_i386.deb
removing:  pool/main/o/openoffice.org/python-uno_2.0.4.dfsg.2-5_i386.deb
removing:  pool/main/o/openoffice.org/ttf-opensymbol_2.0.4.dfsg.2-4_all.deb
removing:  pool/main/o/openoffice.org/ttf-opensymbol_2.0.4.dfsg.2-5_all.deb
removing:  pool/main/r/rhino/rhino_1.6R2-3_all.deb

and in local repo remain:

# ls -l pool/main/o/openoffice.org/
totale 113000
2006-10-04 23:36 openoffice.org_2.0.4~rc3-1_i386.deb
2006-10-04 23:36 openoffice.org-base_2.0.4~rc3-1_i386.deb
2006-10-04 23:36 openoffice.org-calc_2.0.4~rc3-1_i386.deb
2006-10-03 14:02 openoffice.org-common_2.0.4~rc3-1_all.deb
2006-10-04 23:36 openoffice.org-core_2.0.4~rc3-1_i386.deb
2006-10-04 23:36 openoffice.org-draw_2.0.4~rc3-1_i386.deb
2007-02-15 13:47 openoffice.org-dtd-officedocument1.0_2.0.4.dfsg.2-5_all.deb
2006-10-03 14:02 openoffice.org-filter-mobiledev_2.0.4~rc3-1_all.deb
2006-10-04 23:36 openoffice.org-filter-so52_2.0.4~rc3-1_i386.deb
2007-02-16 20:47 openoffice.org-gcj_2.0.4.dfsg.2-5_i386.deb
2006-10-04 23:36 openoffice.org-gtk_2.0.4~rc3-1_i386.deb
2006-10-03 14:02 openoffice.org-help-it_2.0.4~rc3-1_all.deb
2006-10-04 23:36 openoffice.org-impress_2.0.4~rc3-1_i386.deb
2006-10-03 14:02 openoffice.org-java-common_2.0.4~rc3-1_all.deb
2006-10-04 23:36 openoffice.org-kde_2.0.4~rc3-1_i386.deb
2006-10-03 14:02 openoffice.org-l10n-it_2.0.4~rc3-1_all.deb
2006-10-04 23:36 openoffice.org-math_2.0.4~rc3-1_i386.deb
2006-10-04 23:36 openoffice.org-writer_2.0.4~rc3-1_i386.deb
2006-10-04 23:36 python-uno_2.0.4~rc3-1_i386.deb
2006-10-03 14:02 ttf-opensymbol_2.0.4~rc3-1_all.deb
 
so I'm chasing for those *~rc* and purging them manually.

-- 
 paolo
 


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



Bug#398297: apt-move: doesn't move, doesn't delete

2006-12-27 Thread Paolo
On Sun, Nov 12, 2006 at 02:03:31PM -0800, Debian Bug Tracking System wrote:
 
 Package: apt-move
 Version: 4.2.24-1.1
 Severity: important

still there, in 4.2.26-1: 

eg:
# ls /var/cache/apt/archives/*core*
/var/cache/apt/archives/openoffice.org-core_2.0.4.dfsg.2-2_i386.deb

which has been downloaded  installed with latest update. 
Yet:

# apt-move update
Updating from local Packages files...

Moving files...
Skipping files:
...
/var/cache/apt/archives/openoffice.org-core_2.0.4.dfsg.2-2_i386.deb
...
Moving Files:

Removing obsolete packages...
...
removing:  
pool/main/o/openoffice.org/openoffice.org-core_2.0.4.dfsg.2-2_i386.deb
...

# find /mnt/dati/debian -name 'openoffice.org-core*deb'

/mnt/dati/debian/pool/main/o/openoffice.org/openoffice.org-core_2.0.4~rc3-1_i386.deb

it'd say such 'removing: ...' each time I run apt-move, even if the pkg being 
removed isn't in LOCALDIR yet, and has never been moved in so far.

# egrep -v '^#|^$|=$' /etc/apt-move.conf
APTSITES=/all/
LOCALDIR=/mnt/dati/debian
DIST=etch
PKGTYPE=binary
FILECACHE=/var/cache/apt/archives
LISTSTATE=/var/lib/apt/lists
DELETE=yes
MAXDELETE=50
COPYONLY=no
PKGCOMP=gzip
CONTENTS=no

isn't apt-move supposed to move in the new ones and move out old ones?

thanks

-- paolo


 
 hi,
 
 at some point, for some reason, apt-move runs but does nothing, ie in 
 LOCALDIR I have old files while newer files remain in FILECACHE - eg
 
 $ find /mnt/dati/debian/ -name 'openoffice*writer*'
 /mnt/dati/debian/pool/main/o/openoffice.org/openoffice.org-writer_2.0.4~rc3-1_i386.deb
 /mnt/dati/debian/.apt-move/pool/main/o/openoffice.org/.index/openoffice.org-writer_2.0.4~rc3-1_i386
 /mnt/dati/debian/.apt-move/dists/etch/main/binary-i386/.index/openoffice.org-writer
 
 $ find /var/cache/apt/archives/ -name 'openoffice*writer*'
 /var/cache/apt/archives/openoffice.org-writer_2.0.4-5_i386.deb
 /var/cache/apt/archives/openoffice.org-writer_2.0.4-2_i386.deb
 
 #--[log of last apt-move update]-
 Updating from local Packages files...
 
 Moving files...
 Skipping files:
 ...
 /var/cache/apt/archives/openoffice.org-writer_2.0.4-2_i386.deb
 ...
 /var/cache/apt/archives/openoffice.org-writer_2.0.4-5_i386.deb
 ...
 Moving Files:
 
 Removing obsolete packages...
 ...
 removing:  pool/main/o/openoffice.org/openoffice.org-writer_2.0.4-2_i386.deb
 removing:  pool/main/o/openoffice.org/openoffice.org-writer_2.0.4-5_i386.deb
 ...
 Creating Release files...
 Building: etch Release
 
 All done, exiting.
 #
 
 nope, it did nothing! OOo-w_2.0.4-{2,5} were and still are in cache, not in 
 localdir, and anyway 2.0.4-5 isn't supposed to be delete as it's the latest 
 (and installed, listed in 
 /var/lib/apt/lists/ftp.it.debian.org_debian_dists_etch_main_binary-i386_Packages)
  
 version, but moved from cache to localdir.
 
 
 #--[/etc/apt-move.conf]-
 APTSITES=/all/
 LOCALDIR=/mnt/dati/debian
 DIST=etch
 PKGTYPE=binary
 FILECACHE=/var/cache/apt/archives
 LISTSTATE=/var/lib/apt/lists
 DELETE=yes
 COPYONLY=no
 PKGCOMP=gzip
 CONTENTS=no
 SIGNINGKEY=
 #
 
 It insist in removing old files from localdir while they're in cache (and 
 won't remove).
 Also, it fails to move new files in.
 Seems the culprint is the '~' in version - all files remained in cache had
 an older copy *~rc* in localdir. 
 
 No clue when it broke, but it seems it worked till some apt-get * cycles
 ago. 
 Perhaps just till newer versions supposed to replace *~rc* became avail.
 
 
 thanks
 -- paolo


-- 
 paolo
 
 GPG/PGP id:0x1D5A11A4  - 04FC 8EB9 51A1 5158 1425  BC12 EA57 3382 1D5A 11A4
 Indeed, it does come with warranty: it *will* fail.


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