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

Bug#640499: libxvmc: please add multiarch support



On Tuesday, 14. August 2012 11:35:21 Ralf Jung wrote:
> As it turned out, the conffile issue is actually a bug in dpkg [1]. In
> theory (and once dpkg is fixed), it is perfectly fine to have a conffile in
> an MA: same package, as long as the content is the same for all
> architectures.

Have the upgrade and install paths paths of this scenario been tested? And the 
case of locally modified/removed config files?

I'll take libfoo as an example package that ships /etc/foo.conf

apt-get install libfoo:arch1
modify-or-delete /etc/foo.conf
apt-get install libfoo:arch2

# libfoo=1 is available
apt-get install libfoo:arch1=1 libfoo:arch2=1
modify-or-delete /etc/foo.conf
apt-get update # makes libfoo=2 available
# libfoo=2 comes with a modified foo.conf
apt-get dist-upgrade

# libfoo=1 is available
apt-get install libfoo:arch1=1 libfoo:arch2=1
apt-get update # makes libfoo=2 available
# libfoo=2 uses dpkg-maintscript-helper to get rid of foo.conf
apt-get dist-upgrade

Just curious ...

Andreas


Reply to: