| View previous topic :: View next topic |
| Author |
Message |
snIP3r l33t

Joined: 21 May 2004 Posts: 658 Location: germany
|
Posted: Fri Jun 13, 2008 9:36 am Post subject: strange update world behaviour [solved] |
|
|
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 |
|
 |
muhsinzubeir l33t


Joined: 29 Sep 2007 Posts: 773 Location: /home/muhsin
|
Posted: Fri Jun 13, 2008 9:46 am Post subject: |
|
|
that is indeed strange....
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  _________________ x86
p5k-se
Intel Core 2 Duo
msi geforce 8600GT
http://www.mzalendo.net |
|
| Back to top |
|
 |
snIP3r l33t

Joined: 21 May 2004 Posts: 658 Location: germany
|
Posted: Fri Jun 13, 2008 9:53 am Post subject: |
|
|
| muhsinzubeir wrote: | that is indeed strange....
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  |
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 |
|
 |
Shawn n00b

Joined: 17 Jan 2003 Posts: 12 Location: Kansas City, Missouri
|
Posted: Sat Jun 14, 2008 1:46 pm Post subject: |
|
|
| Is it possible that no USE flags have changed? What does it try to update if you drop the (N) flag? |
|
| Back to top |
|
 |
snIP3r l33t

Joined: 21 May 2004 Posts: 658 Location: germany
|
Posted: Sat Jun 14, 2008 1:50 pm Post subject: |
|
|
| 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 |
|
 |
AllenJB Veteran


Joined: 02 Sep 2005 Posts: 1151 Location: Canterbury, Kent
|
Posted: Sat Jun 14, 2008 2:29 pm Post subject: |
|
|
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 |
|
 |
Shawn n00b

Joined: 17 Jan 2003 Posts: 12 Location: Kansas City, Missouri
|
Posted: Sat Jun 14, 2008 2:29 pm Post subject: |
|
|
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 |
|
 |
snIP3r l33t

Joined: 21 May 2004 Posts: 658 Location: germany
|
Posted: Sat Jun 14, 2008 2:46 pm Post subject: |
|
|
| 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 |
|
 |
ABCDwp n00b

Joined: 26 Mar 2006 Posts: 67
|
Posted: Sat Jun 14, 2008 9:50 pm Post subject: |
|
|
| 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 |
|
 |
|