aptitude; First do no harm.

NoOp glgxg at sbcglobal.net
Mon Oct 19 20:49:17 UTC 2009


On 10/19/2009 08:01 AM, Martin McCormick wrote:
> I am one of the administraters of a Ubuntu-Server 
> 8.10 _Intrepid Ibex_ - Release i386 (20081028.1)
> system. I went to install openntpd on it and aptitude wanted to
> remove 507 packages which looks to me like maybe sources.list
> needs to point to a different repository now.
> 
> Building dependency tree... 0%Building dependency tree... 0%Building dependency tree... 50%Building dependency tree... 50%Building dependency tree       
> Reading state information... 0%Reading state information... 0%Reading state information... Done
> Reading extended state information... 0%Reading extended state information      
> Initializing package states... 0% Initializing package states... Done
> The following NEW packages will be installed:
>   openntpd 
> The following packages will be REMOVED:
>   abiword{u} abiword-common{u} abiword-help{u} abiword-plugin-grammar{u} 
> 
> SNIP
> 
>   zip{u} 
> 0 packages upgraded, 1 newly installed, 507 to remove and 107 not upgraded.
> Need to get 43.6kB of archives. After unpacking 1309MB will be freed.
> Do you want to continue? [Y/n/?] n
> Abort.
> 

Something is definitely out of wack. Trying a simulate (-s) on jaunty I get:

$ sudo apt-get install -s openntpd
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages will be REMOVED:
  ntp
The following NEW packages will be installed:
  openntpd
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Remv ntp [1:4.2.4p4+dfsg-7ubuntu5.1]
Inst openntpd (3.9p1+debian-1 Ubuntu:9.04/jaunty)
Conf openntpd (3.9p1+debian-1 Ubuntu:9.04/jaunty)

$ sudo aptitude -s install openntpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  openntpd
The following packages will be REMOVED:
  ntp{a}
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 44.7kB of archives. After unpacking 905kB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.

What do you get with:

$ sudo aptitude -f install






More information about the ubuntu-users mailing list