[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Renaming a package and its corresponding debug package



2014-05-30 20:51 GMT+01:00 Jakub Wilk <jwilk@debian.org>:
* Ghislain Vaillant <ghisvail@gmail.com>, 2014-05-30, 15:45:

Basically, if I install python-fftw3 and call `dpkg -i python-pyfftw.deb`, then dpkg figures out the replacement, uninstall python-fftw3 and configure and install python-pyfftw.

If I install python-fftw3-dbg, and python-fftw3 automatically as a result the dependency, then `dpkg -i python-pyfftw.deb python-pyfftw-dbg.deb` does figure out the replacement of the -dbg package but fails on the main package.

Try in the opposite order:
dpkg -i python-pyfftw-dbg.deb python-pyfftw.deb

"apt-get install" would likely figure the correct order of debs. However, "apt-get dist-upgrade" won't know how to upgrade the old packages. So you probably need transitional packages:
https://wiki.debian.org/Renaming_a_Package


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20140530195111.GA4529@jwilk.net" target="_blank">https://lists.debian.org/20140530195111.GA4529@jwilk.net


A transitional package would probably be overkill for a package whose sole reverse dependency is its debug package. Besides, the package is fairly new to the main archive, so damages are likely to remain very limited if not inexistent.

Could I just indicate the change in NEWS so apt-listchanges indicate that breackage could happen if the -dbg is installed and that the solution is to just let aptitude remove it and install the renamed -dbg ?

Ghis

Reply to: