Gentoo Forums
Gentoo Forums
Quick Search: in
strange update world behaviour [solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 658
Location: germany

PostPosted: Fri Jun 13, 2008 9:36 am    Post subject: strange update world behaviour [solved] Reply with quote

hi all!

i found out that upgrading my system via "emerge -uavDN world" will not work as it should. i updated the portage tree with "emerge --sync" and wanted to update the whole system with "emerge -uavDN world" but it shows me no package to update. but while playing around with openct i found this:

Code:

area52 ~ # emerge -s openct
Searching...
[ Results for search key : openct ]
[ Applications found : 1 ]

*  dev-libs/openct
      Latest version available: 0.6.14
      Latest version installed: 0.6.11-r1
      Size of files: 654 kB
      Homepage:      http://www.opensc-project.org/openct/
      Description:   library for accessing smart card terminals
      License:       LGPL-2.1


area52 ~ # emerge -av openct

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/openct-0.6.14 [0.6.11-r1] USE="usb" 655 kB

Total: 1 package (1 upgrade), Size of downloads: 655 kB

Would you like to merge these packages? [Yes/No] no

Quitting.

area52 ~ # emerge -uavDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No] n

Quitting.


am i doing something wrong?? or can anyone tell me why openct will not be upgraded via "emerge -uavDN world". i am worried about this, because i think other packages will also not be upgraded.

any help would be greatly appreciated.

thx
snIP3r
_________________
AMD X2 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.29-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!


Last edited by snIP3r on Sun Jun 15, 2008 4:17 am; edited 2 times in total
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 773
Location: /home/muhsin

PostPosted: Fri Jun 13, 2008 9:46 am    Post subject: Reply with quote

that is indeed strange.... :wink:
are u using the latest portage version?

P:S
I recently started to feel like updates makes sick, so im goin to update only when i have to ....like twice a year or so :D
_________________
x86
p5k-se
Intel Core 2 Duo
msi geforce 8600GT
http://www.mzalendo.net
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 658
Location: germany

PostPosted: Fri Jun 13, 2008 9:53 am    Post subject: Reply with quote

muhsinzubeir wrote:
that is indeed strange.... :wink:
are u using the latest portage version?

P:S
I recently started to feel like updates makes sick, so im goin to update only when i have to ....like twice a year or so :D


yes i think so:
Code:

sys-apps/portage
      Latest version available: 2.1.4.4
      Latest version installed: 2.1.4.4
      Size of files: 419 kB
      Homepage:      http://www.gentoo.org/proj/en/portage/index.xml
      Description:   Portage is the package management and distribution system for Gentoo
      License:       GPL-2


and there are also no masked packages or keywords in my system that would openct prevent from beeing updated!


greets
snIP3r
_________________
AMD X2 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.29-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
Shawn
n00b
n00b


Joined: 17 Jan 2003
Posts: 12
Location: Kansas City, Missouri

PostPosted: Sat Jun 14, 2008 1:46 pm    Post subject: Reply with quote

Is it possible that no USE flags have changed? What does it try to update if you drop the (N) flag?
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 658
Location: germany

PostPosted: Sat Jun 14, 2008 1:50 pm    Post subject: Reply with quote

Shawn wrote:
Is it possible that no USE flags have changed? What does it try to update if you drop the (N) flag?


no they seem not to have changed:
Code:

area52 ~ # emerge -uavD world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No] yes
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


i also looked at the /etc/portage/* files but i found no hint why openct would not be considered :(
_________________
AMD X2 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.29-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1151
Location: Canterbury, Kent

PostPosted: Sat Jun 14, 2008 2:29 pm    Post subject: Reply with quote

When you portage to update world, you're asking it to check all of the packages you've specifically specified to be installed and their dependencies. If you have a package installed which you didn't specifically ask to be installed and isn't a dependency of any package you specifically ask to be installed, then portage won't check it for updates.

You can clean up these "orphan" dependencies using the depclean utility.

WARNING: Please read the message at the top of depclean output and please check the list of packages that portage wants to remove carefully - it can get it wrong.

To run the depclean utility, run: emerge -a --depclean

WARNING: ALWAYS run depclean with -a (--ask) or -p (--pretend) first because it can get it wrong and remove important packages!

The depclean utility will then list all of the packages that you didn't specifically ask to be installed and aren't a dependency of any package you asked to be installed.

If a package is listed that you don't want to be removed, say no, then run: emerge --noreplace <package-name>
This will register the package in the list of packages you've specifically asked to be installed (AKA the world file).

Run the depclean command again, checking the new list carefully. Repeat until you're happy with the list, then when you're happy, say "yes" to tell emerge to remove the listed packages.
_________________
http://gentoo-wiki.com :: http://lug.org.uk :: http://www.linux.org/groups/ :: User Blogs
Back to top
View user's profile Send private message
Shawn
n00b
n00b


Joined: 17 Jan 2003
Posts: 12
Location: Kansas City, Missouri

PostPosted: Sat Jun 14, 2008 2:29 pm    Post subject: Reply with quote

Hmmm. Well, its possible I suppose that your system is all up to date. Doesn't happen very often on my system, lol.

What does it report would be updated with empty tree? (emerge -ave world )
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 658
Location: germany

PostPosted: Sat Jun 14, 2008 2:46 pm    Post subject: Reply with quote

AllenJB wrote:
When you portage to update world, you're asking it to check all of the packages you've specifically specified to be installed and their dependencies. If you have a package installed which you didn't specifically ask to be installed and isn't a dependency of any package you specifically ask to be installed, then portage won't check it for updates.

You can clean up these "orphan" dependencies using the depclean utility.

WARNING: Please read the message at the top of depclean output and please check the list of packages that portage wants to remove carefully - it can get it wrong.

To run the depclean utility, run: emerge -a --depclean

WARNING: ALWAYS run depclean with -a (--ask) or -p (--pretend) first because it can get it wrong and remove important packages!

The depclean utility will then list all of the packages that you didn't specifically ask to be installed and aren't a dependency of any package you asked to be installed.

If a package is listed that you don't want to be removed, say no, then run: emerge --noreplace <package-name>
This will register the package in the list of packages you've specifically asked to be installed (AKA the world file).

Run the depclean command again, checking the new list carefully. Repeat until you're happy with the list, then when you're happy, say "yes" to tell emerge to remove the listed packages.


thx for the tip! openct is on that list:
Code:

 dev-libs/openct
    selected: 0.6.11-r1
   protected: none
     omitted: none

so i think i have to install it normaly to add it to my packages and finally to the updateable portage tree?!
_________________
AMD X2 3800+ on ASUS M2N-SLI Deluxe
Gentoo Base System 1.12.11.1
Kernel 2.6.29-gentoo-r5 SMP x86_64
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
ABCDwp
n00b
n00b


Joined: 26 Mar 2006
Posts: 67

PostPosted: Sat Jun 14, 2008 9:50 pm    Post subject: Reply with quote

snIP3r wrote:
thx for the tip! openct is on that list:
Code:
 dev-libs/openct
    selected: 0.6.11-r1
   protected: none
     omitted: none
so i think i have to install it normaly to add it to my packages and finally to the updateable portage tree?!
If you want to just want to add it to your world file, you can do:
Code:
# emerge --noreplace dev-libs/openct
If you want to update it and add it to the world file, do:
Code:
# emerge dev-libs/openct
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum