Port deleted

Hi,

I am getting this message from portmaster:

Code:
===>>> The devel/automake110 port has been deleted: No longer required by any port ===>>> Aborting update

It seems that update is stopped. What is the right solution to "fix" this.

-Folivora
 
folivora said:
Hi,

I am getting this message from portmaster:

Code:
===>>> The devel/automake110 port has been deleted: No longer required by any port ===>>> Aborting update

It seems that update is stopped. What is the right solution to "fix" this.

Just remove that package with pkg_delete(1).
 
SirDice

Thanks for the reply, but it seems that i can't delete that package.

Code:
pkg_delete automake110 
      pkg_delete: no such package 'automake110' installed

Am i doing something wrong or ?


Folivora
 
Code:
pkg_info | grep pkg
(In this case, automake110.)
Code:
pkg_delete -f pkg
(Where pkg is exactly the output of the package in the above command.)
For example we want to remove audacious:
Code:
pkg_info | grep audacious
[B]audacious-2.3_3     A media player based on BMP and XMMS[/B]
audacious-plugins-2.3_5 Plugins needed for audacious
audacious-skins-0.1_7 A collection of audacious skins
Code:
pkg_delete -f audacious-2.3_3
 
Hey,

[CMD=]pkg_info |grep automake110[/CMD]

doesn't give any results, so it seems that it is not installed. I am a bit lost now, how to fix this. I've googled and deleting package seems to be the solution as i can see in this thread also.

Any other solutions ?

Folivora
 
Code:
pkg_info | grep automake 
automake-1.10.3 GNU Standards-compliant Makefile generator (1.10) 
automake-wrapper-20071109 Wrapper script for GNU automake
 
Output should give you something like this:
Code:
pkg_info | grep automake
[B]automake-1.10.3     GNU Standards-compliant Makefile generator (1.10)[/B]
automake-1.11.1     GNU Standards-compliant Makefile generator (1.11)
automake-1.4.6_6    GNU Standards-compliant Makefile generator (1.4)
automake-1.9.6_4    GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
So
Code:
pkg_delete -f automake-1.10.3
should make the job.
I did it right now too :)
 
When in doubt, read the man page: pkg_delete()

Note the -x (package name glob) and the -i (interactive) switches. They really come in handy. :)

For example, to query for all versions of automake currently installed and ask whether to delete them:
# pkg_delete -xi automake

That will find all packages named "*automake*" and ask you for each one found whether to remove it. :)

No need for pkg_info, no need for grep, no need to guess about the names.
 
portmaster users should probaly also run
Code:
portmaster --check-depends
and
Code:
portmaster --check-port-dbdir
to clean out any residual dependencies on the deleted version of automake.
 
Back
Top