apt-get and dselect want to upgrade the same package
I am the maintainer of the unofficial gnome2.2 backport for woody, and
am having problems packaging gnome-panel. Here is what I did:
apt-get source gnome-panel (from sid sources)
modified debian/control to use libpng-dev instead of libpng3-dev
dch -i and changed the version number from 126.96.36.199-1 to 188.8.131.52-1jds1
su -c "dpkg -i ../*.deb"
The package builds and installs without errors
Then I scp these (debs, dsc, diff and orig) over to my web server, and
dpkg-scanpackages gnome2.2 /dev/null | gzip > ./gnome2.2/Packages.gz
No errors reported.
On the client, I do:
apt-get update && apt-get upgrade
and gnome-panel is downloaded and installed without errors. If I
'apt-get upgrade' again, gnome-panel is installed again. It doesn't
matter how many times you upgrade, gnome-panel does not get updated in
the database (but it installs without errors).
[james@sirius ~]$ apt-cache policy gnome-panel
500 http://hedwig gnome2.2/ Packages
*** 184.108.40.206-1jds1 0
500 http://220.127.116.11 stable/main Packages
Everything looks ok here. Also, the other packages from the gnome-panel
source (eg gnome-panel-data) are not upgraded to the same version.
gnome-panel in sid does not appear to have this problem, so it doesn't
appear to be a bug in the package. dpkg and apt are the same version on
all machines involved (from woody). It also happens with dselect, so it
is not apt specific.
What am I doing wrong?
Targeted Performance Partners, LLC
Tel: (585) 271-8370
Fax: (585) 271-8373