moving debian repository from one machine (running etch) to another (running lenny) is not as trivial as i thought it would be.well, it not hard ether, is just that you should do few things before the new machine is happy, up and running. the problem lies in the fact that you're moving from reprepro version 1.3.1+1-1 to version 3.5.2-6:. now that's a proper jump, ain't it ;)
once i moved all them pretty repo files, users, keys used for signing and so on, to a new server i tried adding new deb package to the repostiry:
~#reprepro --ask-passphrase -A all -Vb . includedeb unstable filename-v1.deb
didn't go. it said that something is wrong with this line in the conf/distributions:
SignWith="Key UID"
but when i change it to
SignWith=yes
the error message was gone.
then i run two more commands:
reprepro translatefilelists
this command translate the file list cache within db/contents.cache.db into the new format used since reprepro 3.0.0.
reprepro collectnewchecksums
this command, according to the man page, calculate all supported checksums for all files in the pool. (Versions prior to 3.3 did only store md5sums, 3.3 added sha1).
after this i was able to add/remove packages to the repository :))
Tuesday, May 05, 2009
Monday, April 06, 2009
another 'hundred' to keep track of..
scavara@whocares:~$ cat .ssh/known_hosts | wc -l
101
Posted by
cavara
at
Monday, April 06, 2009
0
comments
Subscribe to:
Posts (Atom)