Skip to main content
edited body
Source Link
Yurij Goncharuk
  • 4.4k
  • 2
  • 23
  • 36

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

Now I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

Now I want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

deleted 32 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

Any suggestions are appreciated.

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

Any suggestions are appreciated.

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

Source Link

Configure APT repositories using DEB package

I am using a MySQL server and have created a custom .deb package that depends on (and basically wraps) MySQL and performs some customizations in postinst maintainer script.

I now want to upgrade MySQL to the latest version, which is not provided by APT by default, and requires downloading and installing a package that configures APT to supply later versions of MySQL.

My questions is how can I do this using still a .deb package to do all of that automatically?

I have looked into using pre-depend field of control file to install the configuration package fully before the MySQL wrapper package, but I still need to do apt-get update in the middle, which is not possible to do from the maintainer scripts.

I am trying to stick to debian package format, and not create any custom scripts (outside of maintainer scripts or other options supported by the .deb format)

Any suggestions are appreciated.