DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd February 2009
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default devel/linux-glib2

hi

I have freeBSD 7.0 installed and have the following problem:
Code:
# pkgdb -F

--->  Checking the package registry database
Stale origin: 'devel/linux-glib2': perhaps moved or obsoleted.
-> The port 'devel/linux-glib2' was removed on 2009-01-21 because:
        "Removed since the port is incorporated into all linux base ports"
-> Hint:  linux-glib2-2.6.6 is required by the following package(s):
        linux-gtk2-2.6.10
        acroread8-8.1.3_1
        linux-scim-gtk-fc4-1.4.4
        linux-scim-libs-fc4-1.4.4_1
        linux-nvu-1.0
        linux-atk-1.9.1
-> Hint: checking for overwritten files...
 -> No files installed by linux-glib2-2.6.6 have been overwritten by other packages.
Deinstall linux-glib2-2.6.6 ? [no] yes
--->  Deinstalling 'linux-glib2-2.6.6'
pkg_delete: package 'linux-glib2-2.6.6' is required by these other packages
and may not be deinstalled:
acroread8-8.1.3_1
linux-atk-1.9.1
linux-gtk2-2.6.10
linux-nvu-1.0
linux-scim-gtk-fc4-1.4.4
linux-scim-libs-fc4-1.4.4_1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! linux-glib2-2.6.6     (pkg_delete failed)
Command failed [exit code 1]: /usr/local/sbin/pkg_deinstall linux-glib2-2.6.6
howto solve this problem ?
Reply With Quote
  #2   (View Single Post)  
Old 3rd February 2009
hydra's Avatar
hydra hydra is offline
Port Guard
 
Join Date: May 2008
Location: Slovakia (Europe)
Posts: 41
Default

Read /usr/ports/UPDATING.
Reply With Quote
  #3   (View Single Post)  
Old 3rd February 2009
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Quote:
Originally Posted by hydra View Post
Read /usr/ports/UPDATING.
thx, according to /usr/ports/UPDATING:
Code:
20090121:
  AFFECTS: users of devel/linux-glib2, emulation/linux_base-f4
  AUTHOR: bsam@FreeBSD.org

  Glib2 now is incorporated to emulation/linux_base-fc4 (it has always
  been a part of more recent linux base ports). All users should deinstall
  devel/linux-glib2 and then deinstall/reinstall emulation/linux_base-f4.
but I cannot delete linux-glib2:
Code:
# locate linux-glib2-2.6.6
/usr/ports/packages/All/linux-glib2-2.6.6.tbz
/var/db/pkg/linux-glib2-2.6.6
/var/db/pkg/linux-glib2-2.6.6/+COMMENT
/var/db/pkg/linux-glib2-2.6.6/+CONTENTS
/var/db/pkg/linux-glib2-2.6.6/+DESC
/var/db/pkg/linux-glib2-2.6.6/+REQUIRED_BY
# cd /usr/ports/devel/linux-glib2
/usr/ports/devel/linux-glib2: No such file or directory
# pkg_delete linux-glib2-2.6.6
pkg_delete: no such package 'linux-glib2-2.6.6' installed
# pkg_delete /var/db/pkg/linux-glib2-2.6.6
pkg_delete: no such package 'linux-glib2-2.6.6' installed
# pkg_delete -r /var/db/pkg/linux-glib2-2.6.6
pkg_delete: no such package 'linux-glib2-2.6.6' installed
howto delete or deinstall linux-glib2 ?
Reply With Quote
  #4   (View Single Post)  
Old 3rd February 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Use pkg_delete -xi linux-glib

-x tells pkg_delete to do wildcard matching on the name, and the -i tells it to ask for permission to delete any matching packages that it finds.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 3rd February 2009
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Quote:
Originally Posted by phoenix View Post
Use pkg_delete -xi linux-glib

-x tells pkg_delete to do wildcard matching on the name, and the -i tells it to ask for permission to delete any matching packages that it finds.
still cannot delete:
Code:
# locate linux-glib2-2.6.6
/usr/ports/packages/All/linux-glib2-2.6.6.tbz
/var/db/pkg/linux-glib2-2.6.6
/var/db/pkg/linux-glib2-2.6.6/+COMMENT
/var/db/pkg/linux-glib2-2.6.6/+CONTENTS
/var/db/pkg/linux-glib2-2.6.6/+DESC
/var/db/pkg/linux-glib2-2.6.6/+REQUIRED_BY
# pkg_delete -xi linux-glib2
pkg_delete: no packages match pattern(s)
# pkg_delete -xi linux-glib2-2.6.6
pkg_delete: no packages match pattern(s)
Reply With Quote
  #6   (View Single Post)  
Old 3rd February 2009
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Try it without the 2.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 3rd February 2009
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Quote:
Originally Posted by phoenix View Post
Try it without the 2.
Code:
# pkg_delete -xi linux-glib
pkg_delete: no packages match pattern(s)
Reply With Quote
  #8   (View Single Post)  
Old 3rd February 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You can locate the Linux glib package with:
% pkg_info | grep glib

You will also need to use -f for pkg_delete, since some packages depend on linux-glib:
# pkg_delete -f linux-glib2-2.6.6

Then install the new linux_base (Which includes glib).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #9   (View Single Post)  
Old 3rd February 2009
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Quote:
Originally Posted by Carpetsmoker View Post
You can locate the Linux glib package with:
% pkg_info | grep glib

You will also need to use -f for pkg_delete, since some packages depend on linux-glib:
# pkg_delete -f linux-glib2-2.6.6

Then install the new linux_base (Which includes glib).
thx, pkg_delete -f linux-glib2-2.6.6 has deleted this package.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
devel/kdebindings4-python-pykde4 Mantazz FreeBSD Ports and Packages 1 9th September 2009 06:54 PM
linux compat and linux-only drivers fbsduser FreeBSD General 9 22nd January 2009 05:42 PM
run linux's program johnzlly OpenBSD General 38 8th November 2008 12:10 PM
linux-firefox 3 cmcgoat FreeBSD Ports and Packages 1 8th September 2008 07:06 PM
Linux Kernel map TerryP Other BSD and UNIX/UNIX-like 2 1st July 2008 05:33 AM


All times are GMT. The time now is 05:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick