Updating packages with reprepro

Software

There are dozens, if not trillons, of guides out there showing us how to use reprepro to create and add packages to a deb repository. Much as the documentation for their end user package manager bretherin however, there's scant info anywhere about how to update an already existing package to a newer version.

To start, when you add a package you do this:

reprepro -b /repopath includedeb wheezy package_1.0.0_arch.deb

To update, you don't need to delete the previous, you just add the next version:

reprepro -b /srv/repopath includedeb wheezy package_1.0.1_arch.deb

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

You can leave me a comment by contacting me, and I might publish your thoughts. Please read the FAQs first though.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!