Example for adding channel type=apt_deb

Anders F Björklund afb at algonet.se
Thu Apr 9 12:56:14 PDT 2009


C. Bergström wrote:

> I'm not on real debian, but trying to add an apt_deb channel..
>
> Can someone take a look at this line and correct the example  
> please.  (I've found zarro examples online anywhere)
>
> smart --log-level=debug --ignore-locks channel --add debian  
> type=apt_deb baseurl="http://ftp.debian.org/debian/dists"  
> distribution="/stable/main/binary-amd64"

I think this would rather look like:

smart channel --add debian type=apt-deb baseurl="http:// 
ftp.debian.org/debian/" distribution="stable" components="main"

"dists" is implied, and the arch too.


I agree there should be some Smart samples,
so I tried adding a contrib/channels dir...

I believe "real debian" (or ubuntu, perhaps)
uses the apt-sync plugin to add the channels ?

> This and a few other tests all end up with the same result..

Did you also do a "smart update debian" ?

> Not sure what else on my system may be missing or I'm doing wrong?

Well, your pathlocks seem to be broken... ;-)

https://bugs.launchpad.net/smart/+bug/345326

--anders




More information about the Smart mailing list