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]

Reply via email to