PDA

View Full Version : E: Couldn't find package debmirror



Albretch
01-09-2007, 01:26 AM
sh-3.1# apt-get install debmirror
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package debmirror
.
What is it one has to do in order to get and work with debmirror?
.
thanks

rusty
01-09-2007, 05:23 AM
A couple of things that you can add:

What version of Knoppix

Whether you're running from CD ot a HD install

Did you apt-get update before you tried apt-get install...

HTH

marhleet
01-09-2007, 08:15 AM
it's definitely available
in Kpackage

and listed in the new section
so the update would be required before apt-get knew the package existed

Albretch
01-09-2007, 10:13 PM
Right! First, I should have gone: "apt-get update"
.
However I still don't get debmirror to actually build a local mirror and I can't see what mistake I have made in my debmirror command
.
Could it possibly be the debian mirrors? I have used like 4 different ones
.
// __
#!/bin/bash

#_MIRR_NET="ftp.us.debian.org"
#_MIRR_ROOT="debian"
_MIRR_NET="mirror.cs.wisc.edu"
_MIRR_ROOT="/pub/mirrors/linux/debian/"
#
_MIRR_DIR="/media/hda3/cmllpz_dir/debmirror/debspiegel"
_MIRR_ARCH="386"
_MIRR_DISTS="sarge"
_MIRR_SECT="main,contrib,non-free,main/debian-installer"
_MIRR_METH="http"

mkdir ${_MIRR_DIR}

debmirror ${_MIRR_DIR} -v --arch ${_MIRR_ARCH} --host ${_MIRR_NET} --root ${_MIRR_ROOT} --dist ${_MIRR_DISTS} --section ${_MIRR_SECT} --method ${_MIRR_METH} --getcontents --nosource --progress --cleanup --ignore-release-gpg --ignore-small-errors --md5sums
.
// __
Mirroring to /media/hda3/cmllpz_dir/debmirror/debspiegel from http://mirror.cs.wisc.edu//pub/mirrors/linux/debian//
Arches: 386
Dists: sarge
Sections: main,contrib,non-free,main/debian-installer
Checking md5sums.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Getting: dists/sarge/Release... ok
[0%] Getting: dists/sarge/Release.gpg... ok
Get Packages and Sources files and other miscellany.
Get Contents files.
[100%] Getting: dists/sarge/Contents-386.gz... dists/sarge/Contents-386.gz failed 404 Not Found
dists/sarge/Contents-386.gz failed md5sum check, removing
Parse Packages and Sources files and add to the file list everything therein.
Cleanup mirror.
Download all files that we need to get (1 MiB).
Downloaded 1 MiB in 1s at 34.01 kiB/s
Errors:
Download of dists/sarge/Contents-386.gz failed: 404 Not FoundFailed to download files (1 errors)!
Everything OK. Moving meta files.
All done.
sh-3.1#
.
// __
sh-3.1# pwd
/media/hda3/cmllpz_dir/debmirror/debspiegel
sh-3.1# ls -lR
.:
total 16
drwxr-xr-x 3 root root 8192 Jan 9 16:01 dists
drwxr-xr-x 3 root root 8192 Jan 9 16:02 project

./dists:
total 8
drwxr-xr-x 2 root root 8192 Jan 9 16:02 sarge

./dists/sarge:
total 48
-rwxr-xr-x 1 root root 34641 Jan 9 16:02 Release
-rwxr-xr-x 1 root root 189 Jan 9 16:02 Release.gpg

./project:
total 8
drwxr-xr-x 2 root root 8192 Jan 9 16:02 trace

./project/trace:
total 8
-rwxr-xr-x 1 root root 29 Jan 9 16:02 Knoppix
sh-3.1#
.

marhleet
01-10-2007, 08:10 AM
well, that's slightly different

just a sec ....
I said it was available,
i didn't look to see if it errored while trying to get it
though yours said it downloaded
must be something screwy

============
gack
don't mind me
looking for package
you want debmirror config
uhm .....