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

Re: renaming a package



This one time, at band camp, christophe barbé wrote:
>On Sun, Jul 28, 2002 at 01:04:07PM +1000, Jamie Wilkinson wrote:
>> I intend to rename the glut packages from
>>  glutg3
>>  glutg3-dev
>> to
>>  libglut3
>>  libglut-dev
>> to follow the convention for library package naming.
>> 
>> So in the control file, I've specified that libglut3 Conflicts and Replaces
>> glutg3 for versions <= 3.7-15, and created a glutg3 package with no content,
>
>I am not sure but isn't it better to use 'Provides: glutg3' instead of
>providing a package glutg3 with no content.

I did try to use Provides: but that didn't work, dpkg complained that glutg3
and libglut3 were conflicting:

Package: libglut3
Conflicts: glutg3 (<= 3.7-15)
Replaces: glutg3 (<= 3.7-15)
Provides: glutg3

willow# dpkg -i ../libglut3_3.7-16_i386.deb ../libglut-dev_3.7-16_i386.deb 
Selecting previously deselected package libglut3.
dpkg: considering removing glutg3 in favour of libglut3 ...
dpkg: no, cannot remove glutg3 (--auto-deconfigure will help):
 billard-gl depends on glutg3 (>= 3.7-2)
  glutg3 is to be removed.
dpkg: regarding ../libglut3_3.7-16_i386.deb containing libglut3:
 libglut3 conflicts with glutg3 (<= 3.7-15)
  glutg3 (version 3.7-15) is installed.
dpkg: error processing ../libglut3_3.7-16_i386.deb (--install):
 conflicting packages - not installing libglut3
Selecting previously deselected package libglut-dev.
dpkg: considering removing glutg3-dev in favour of libglut-dev ...
dpkg: yes, will remove glutg3-dev in favour of libglut-dev.
(Reading database ... 70338 files and directories currently installed.)
Unpacking libglut-dev (from ../libglut-dev_3.7-16_i386.deb) ...
dpkg: dependency problems prevent configuration of libglut-dev:
 libglut-dev depends on libglut3 (= 3.7-16); however:
  Package libglut3 is not installed.
dpkg: error processing libglut-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ../libglut3_3.7-16_i386.deb
 libglut-dev

-- 
jaq@spacepants.org                           http://spacepants.org/jaq.gpg


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: