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

Re: removing dummy package



On 12/08/11 23:51, Bonno Bloksma wrote:
Hi,

After upgrading from Lenny to Squeeze I have some dhcp3 dummy packages.

--------------<quote>---------------------------------
linbobo:~# aptitude show dhcp3-client
Package: dhcp3-client
State: installed
Automatically installed: no
Version: 4.1.1-P1-15+squeeze3
Priority: extra
Section: oldlibs
Maintainer: Debian ISC DHCP maintainers
<pkg-dhcp-devel@lists.alioth.debian.org>
Uncompressed Size: 36.9 k
Depends: isc-dhcp-client
Provided by: isc-dhcp-client
Description: ISC DHCP server (transitional package)
  This is the client from the Internet Software Consortium's implementation
of DHCP. For more information visit http://www.isc.org.

  Dynamic Host Configuration Protocol (DHCP) is a protocol like BOOTP
(actually dhcpd includes much of the functionality of bootpd). It gives
client
  machines "leases" for IP addresses and can automatically set their network
configuration. If your machine depends on DHCP (especially likely if it's
  a workstation on a large network, or a laptop, or attached to a cable
modem), keep this or another DHCP client installed.

  This is a dummy package to aid in transitioning from the v3 DHCP packages
to the new-style DHCP packages.

  This dummy package may be safely removed after upgrading to squeeze
--------------<quote>---------------------------------

So I wanted to remove the dummy package but....

--------------<quote>---------------------------------
linbobo:~# aptitude remove dhcp3-client
The following packages will be REMOVED:
   dhcp3-client isc-dhcp-client{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 680 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
--------------<quote>---------------------------------

When I want to remove the dummy dhcp3 package, the real isc package also
gets removed.
This is probably one of those simply to answer questions and probably has a
easy answer, but I am unable to find it. :-(


Bonno Bloksma

I wouldn't remove the dummy package ('cause I'm lazy) - but if you want to, the following will work.

Note: if you can't login as root (#), just use sudo.

if:-
# ls /var/cache/apt/archives | grep isc-dhcp-client
yields nothing
then:-
# apt-get -d install isc-dhcp-client;apt-get --purge remove dhcp3-client;apt-get install isc-dhcp-client
else:-
# apt-get --purge remove dhcp3-client;apt-get install isc-dhcp-client

Cheers


--
“This needs to be said: there never was a war. "How can you say that, Bill?" Well, a war is when two armies are fighting. So you can see, right there, there never was a war … People say to me, "Hey, Bill, the war made us feel better about ourselves." Really? What kind of people are these with such low self-esteem that they need a war to feel better about themselves? May I suggest, instead of a war to feel better about yourself, perhaps … sit-ups? Maybe a fruit cup? Eight glasses of water a day?”
~ Bill Hicks (about the first Gulf War)


Reply to: