[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to retrieve package source from arbitrary repository



Am 11.04.2012 15:59, schrieb Camaleón:
> 
> If the repository does not follow Debian mirror rules nor package naming, 
> it's almost impossible to decipher the URI from a given ".dsc" file, it 
> can be hosted anywhere in the server.
> 
> Otherwise, if it uses conventional Debian packaging rules, you can use 
> the static information to make a guess:
> 
> uri="ftp.de.debian.org/debian/pool/main/g" pkg="gedit" ver="_3.2.6-1" wget $uri/$pkg/$pkg$ver.dsc
> 

Unfortenately, guessing would be hard: I don't know the package's
version number, plus I can't be sure about the repository's directory
structure (trivial or automatic repository).

Still, thanks a lot,
Malte





Reply to: