Packages files missing from dapper (at least) on mirrors

cristianrosa ulist at gs1.ubuntuforums.org
Wed Sep 20 14:46:08 BST 2006


I'm having exactly the same problem. I'm using debmirror to maintain a
local mirror of ubuntu dapper, and since a few days i'am having the
same error.

This is the output of debmirror with debugging:




Code:
--------------------
    Net::FTP>>> Net::FTP(2.75)

  Net::FTP>>>   Exporter(5.58)

  Net::FTP>>>   Net::Cmd(2.26)

  Net::FTP>>>   IO::Socket::INET(1.28)

  Net::FTP>>>     IO::Socket(1.28)

  Net::FTP>>>       IO::Handle(1.24)

  Net::FTP=GLOB(0xd58c50)<<< 220 Ubuntu FTP server (vsftpd)

  Net::FTP=GLOB(0xd58c50)>>> user anonymous

  Net::FTP=GLOB(0xd58c50)<<< 331 Please specify the password.

  Net::FTP=GLOB(0xd58c50)>>> PASS ....

  Net::FTP=GLOB(0xd58c50)<<< 230 Login successful.

  Net::FTP=GLOB(0xd58c50)>>> TYPE I

  Net::FTP=GLOB(0xd58c50)<<< 200 Switching to Binary mode.

  Net::FTP=GLOB(0xd58c50)>>> CWD ubuntu/

  Net::FTP=GLOB(0xd58c50)<<< 250 Directory successfully changed.

  Net::FTP=GLOB(0xd58c50)>>> HELP SIZE

  Net::FTP=GLOB(0xd58c50)<<< 214-The following commands are recognized.

  Net::FTP=GLOB(0xd58c50)<<<  ABOR ACCT ALLO APPE CDUP CWD  DELE EPRT EPSV FEAT HELP LIST MDTM MKD

  Net::FTP=GLOB(0xd58c50)<<<  MODE NLST NOOP OPTS PASS PASV PORT PWD  QUIT REIN REST RETR RMD  RNFR

  Net::FTP=GLOB(0xd58c50)<<<  RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD

  Net::FTP=GLOB(0xd58c50)<<<  XPWD XRMD

  Net::FTP=GLOB(0xd58c50)<<< 214 Help OK.

  Net::FTP=GLOB(0xd58c50)>>> SIZE dists/dapper/Release

  Net::FTP=GLOB(0xd58c50)<<< 213 34750

  Net::FTP=GLOB(0xd58c50)>>> MDTM dists/dapper/Release

  Net::FTP=GLOB(0xd58c50)<<< 213 20060531185908

  Net::FTP=GLOB(0xd58c50)>>> SIZE dists/dapper/Release.gpg

  Net::FTP=GLOB(0xd58c50)<<< 213 189

  Net::FTP=GLOB(0xd58c50)>>> MDTM dists/dapper/Release.gpg

  Net::FTP=GLOB(0xd58c50)<<< 213 20060531190210

  gpg: Signature made Wed 31 May 2006 04:02:10 PM ART using DSA key ID 437D05B5

  gpg: Can't check signature: public key not found

  Net::FTP=GLOB(0xd58c50)>>> SIZE dists/dapper-updates/Release

  Net::FTP=GLOB(0xd58c50)<<< 213 30903

  Net::FTP=GLOB(0xd58c50)>>> MDTM dists/dapper-updates/Release

  Net::FTP=GLOB(0xd58c50)<<< 213 20060823102016

  Net::FTP=GLOB(0xd58c50)>>> SIZE dists/dapper-updates/Release.gpg

  Net::FTP=GLOB(0xd58c50)<<< 213 189

  Net::FTP=GLOB(0xd58c50)>>> MDTM dists/dapper-updates/Release.gpg

  Net::FTP=GLOB(0xd58c50)<<< 213 20060823102501

  gpg: Signature made Wed 23 Aug 2006 07:25:01 AM ART using DSA key ID 437D05B5

  gpg: Can't check signature: public key not found

  Net::FTP=GLOB(0xd58c50)>>> PASV

  Net::FTP=GLOB(0xd58c50)<<< 227 Entering Passive Mode (195,248,90,54,119,140)

  Net::FTP=GLOB(0xd58c50)>>> RETR dists/dapper/main/binary-amd64/Packages

  Net::FTP=GLOB(0xd58c50)<<< 550 Failed to open file.

  failed:Failed to open file.

  Net::FTP=GLOB(0xd58c50)>>> SIZE dists/dapper/main/binary-amd64/Packages

  Net::FTP=GLOB(0xd58c50)<<< 550 Could not get file size.

  Failed to download some Package, Sources or Eelease files!

  WARNING: releasing 1 pending lock...
--------------------




And this is the script i'am using to run debmirror




Code:
--------------------
    #!/bin/bash

  

  # Arquitecturas a incluir en el mirror

  ARCHS="--arch=i386,amd64"

  

  # Secciones a  incluir en el mirror

  SECTIONS="--section=main,multiverse,universe,restricted"

  

  # Directorio donde se creara el mirror

  DSTDIR="/var/mirror/ubuntu"

  

  # Opciones adicionales

  MAINOP="--method=ftp --passive --dist=dapper,dapper-updates --root=ubuntu/ --host=ar.archive.ubuntu.com"

  OTHROP="--debug -v --nosource --postcleanup --getcontents --ignore-release-gpg"

  

  # Logfile

  LOGFILE="/var/log/debmirror"

  

  DM=$(type -p debmirror)

  

  if [ -z "$DM" ]

  then

  echo "debmirror not found!" > $LOGFILE

  exit 1

  else

  if [ ! -x "$DM" ]

  then

  echo "cannot execute $DM" > $LOGFILE

  exit 1

  fi

  fi

  

  # Ejecutamos debmirror.

  $DM $MAINOP $ARCHS $SECTIONS $OTHROP $DSTDIR > $LOGFILE

  
--------------------




Any suggestions? How do i fix this?


-- 
cristianrosa




More information about the ubuntu-users mailing list