Autor |
Nachricht |
|
Titel: Faluire to create local repository
Verfasst am: 13.08.2006, 04:00 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
I followed these instructions
http://www.debian.org/doc/manuals/reference/ch-package.en.html
The relavant section is ---> 6.4.11 Local package archive
also I also tried
http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html#trivial-example
When I apt-update every thing goes fine and the file shows in synaptic.
But when I try to install one its errors
Zitat:
W: Failed to fetch file:/usr/local//usr/local/pool/mypackage_4.0.1693-1_i386.deb
File not found
I tried all 3 methods but I get the exact same results.
The relevant source list section in order of the guides
Lines from sources.list (they are in order of the how tos I posted)
deb file:///usr/local/ unstable main #packages locacted in /usr/local/pool
deb file:/usr/local/debian/ ./ #packages located in /usr/local/debian
deb file:///usr/local/binary/ binary/ #packages located in /usr/local/binary |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel: RE: Faluire to create local repository
Verfasst am: 13.08.2006, 13:29 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
|
|
 |
|
Titel:
Verfasst am: 13.08.2006, 18:46 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
Zitat:
error is in sources.list
deb file:///usr/local/ unstable main #packages locacted in /usr/local/pool
should:
deb file:///usr/local unstable main #packages locacted in /usr/local/pool
I get the same error. I tried create an sys link to compensate but that doesn't work either. |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel:
Verfasst am: 13.08.2006, 21:02 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
I dont' know anything about this, nor have I tried it, but should we expect:
file:/usr/local/pool/mypackage_4.0.1693-1_i386.deb
instead of:
file:/usr/local//usr/local/pool/mypackage_4.0.1693-1_i386.deb
?
... ie it's as if it's trying to add the 2nd "/usr/local" for the 1st "/usr/local/"
... it all looks very confusing to me (and and I don't know why I'm posting)
... but if I'm right then the source file should be:
deb file:// unstable main #packages locacted in /usr/local/pool
instead of:
deb file:///usr/local unstable main #packages locacted in /usr/local/pool
?
... or maybe:
deb file:///usr/local/ unstable main #packages locacted in pool
? |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel:
Verfasst am: 13.08.2006, 21:33 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
deb file:// unstable main #packages locacted in /usr/local/pool
results in
file://usr/local/dists/unstable/main/bi ... ckages.gz: Invalid URI, local URIS must not start with //
deb file:///usr/local/ unstable main #packages locacted in pool
is what I started with |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel:
Verfasst am: 14.08.2006, 04:47 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
Well I am out of my on conversation know. I accidentaly formatted the partition with all my data on it while testing out the new debian intstaller.
I got nothing left but an empty partition |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel:
Verfasst am: 14.08.2006, 04:50 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
I've done that before - lost all of my data  |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|