0

I have a package foo-new, which many new users know by its old name foo-old, so they try to execute apt install foo-old which does not work.

Is it possible through a control field to make a package being installed through either name from apt, so both

apt install foo-new

and

apt install foo-old

would work?

fornwall
  • 103
  • 3

1 Answers1

3

It's not possible, you have to use a dummy transitional package which depends on foo-new. For a real world example see iceweasel package, which installs firefox now: https://packages.debian.org/stretch/iceweasel

Ipor Sircer
  • 1,230
  • 7
  • 8