Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update 0.1.4.0_beta10 [git] --toolchain, --perl
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Aug 14, 2007 5:20 am    Post subject: Reply with quote

Code:
** You can turn off tips with gentooNovice=0 in the config file.

It does not work. I have a file /etc/update. In the file there is no "gentooNovice=0", but "novice=0". I tried putting "gentooNovice=0" but tips don't go. I already tried renaming the file to /etc/update.conf. Also tried placing the file to /etc/conf.d.
I use sys-apps/update-0.1.4.0_beta1
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Aug 16, 2007 10:17 am    Post subject: Reply with quote

Sorry about that, should be fixed in new version.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Aug 16, 2007 12:23 pm    Post subject: Reply with quote

steveL wrote:
Sorry about that, should be fixed in new version.

Thanks a lot. update-0.1.4.0_beta2 works just fine.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Sat Aug 18, 2007 4:24 am    Post subject: Reply with quote

I'm getting the following error when running update -vve
I'm using versions, 0.1.3.3d
Code:
** update: Unknown install type: ebuildRsys-devel/gcc-3.4.6-r2UE="(-altivec)-bootstrap-boundschecking-build-d-doc-ortran-gcj-gtkhardened-ip28-ip32r10k-multilib-multislot(-n32)(-n64)nls-nocxx-nopie-nossp-objc-test-vanilla"
[ebuild   R   ] sys-devel/gcc-3.4.6-r2  USE="(-altivec) -bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk hardened -ip28 -ip32r10k -multilib -multislot (-n32) (-n64) nls -nocxx -nopie -nossp -objc -test -vanilla"


and 0.1.4.0_beta2
Code:
** update: Unknown install type: ebuildUsys-kernel/linux-headers-2.6.212.6.17-r2UE="(-gcc64%)"
[ebuild     U ] sys-kernel/linux-headers-2.6.21 [2.6.17-r2] USE="(-gcc64%)"
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sat Aug 18, 2007 8:59 am    Post subject: Reply with quote

bunkacid wrote:
I'm getting the following error when running update -vve

Oh man, that's awful! Sorry, looks like a problem in checkType(); we had a similar issue which i thought we fixed. Is it only with -vv (which seems really odd to me) or is it with standard -e as well?

-vv is more for troubleshooting an ebuild that doesn't work (it echoes all lines from the build, so it's not much different to running emerge, although still using the list from update.) It still needs to be fixed, ofc; we're meeting up later this evening to do a bit of work on --depclean so we'll look at it then. Sorry for inconvenience.

BTW if you can, please log into irc.freenode.org channel #friendly-coders to talk to us about fixing stuff, as it makes the whole process a lot quicker. My nick is igli (though I won't be there for another 5 or 6 hours today, I'm always there when I'm online.)
Back to top
View user's profile Send private message
12345moon12345
n00b
n00b


Joined: 24 Dec 2006
Posts: 27

PostPosted: Sun Aug 19, 2007 10:16 am    Post subject: feature request: prelink Reply with quote

Hi,
love your script.
I would like to see this feature added: after all the emerges run prelink -av automatically ( or maybe with an extra setting)
bye,

Victor
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Sun Aug 19, 2007 11:29 am    Post subject: Reply with quote

steveL wrote:
Is it only with -vv (which seems really odd to me) or is it with standard -e as well?

BTW if you can, please log into irc.freenode.org channel #friendly-coders to talk to us about fixing stuff, as it makes the whole process a lot quicker. My nick is igli (though I won't be there for another 5 or 6 hours today, I'm always there when I'm online.)


The error is with standard -e as well.

I'll try and meet up with you on IRC sometime this week. My nick is px on freenode.

thanks again!
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Tue Aug 21, 2007 1:36 am    Post subject: Reply with quote

a word of warning.

if you have EMERGE_DEFAULT_OPTS set in your make.conf, be sure not to include "--quiet"

This fixed my error I was having above.
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Mon Aug 27, 2007 3:34 pm    Post subject: Reply with quote

Code:
[blocks B     ] <sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/udev-114)
!! sys-fs/device-mapper is not in the list
Press Y to unmerge <sys-fs/device-mapper-1.02.19-r1, any other key to skip sys-fs/udev-114, CTRL-C to quit. (y/N)?
** You can turn off tips with novice=0 in the config file.


It would be really nice if the script just chose to upgrade device-mapper before udev instead of defaulting to remove it.
:)
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Aug 29, 2007 7:22 am    Post subject: Reply with quote

Dan wrote:
Code:
[blocks B     ] <sys-fs/device-mapper-1.02.19-r1 (is blocking sys-fs/udev-114)
!! sys-fs/device-mapper is not in the list
Press Y to unmerge <sys-fs/device-mapper-1.02.19-r1, any other key to skip sys-fs/udev-114, CTRL-C to quit. (y/N)?


It would be really nice if the script just chose to upgrade device-mapper before udev instead of defaulting to remove it.
:)

Hmm it would do if device-mapper were being upgraded in the list to a newer version, before udev. As it's not in the list, it would still block udev by the time we come to install it.

For instance I get this (as we're still working on putting in mechanism for expat fix for next time.)
Code:
! There are blocking packages:
[blocks B     ] <kde-base/kdesktop-3.5.6-r1 (is blocking kde-base/kdebase-kioslaves-3.5.7-r1)
[blocks B     ] <=kde-base/kmail-3.5.6-r1 (is blocking kde-base/libkdepim-3.5.7-r1)
Upgrading kde-base/kdesktop to 3.5.7 from 3.5.5-r1 before emerge of kde-base/kdebase-kioslaves-3.5.7-r1
Upgrading kde-base/kmail to 3.5.7-r2 from 3.5.5-r2 before emerge of kde-base/libkdepim-3.5.7-r1
Toolchain- sys-kernel/linux-headers is being upgraded
        This requires a rebuild of glibc afterwards which will be done by this script.
About to proceed (Y/n)?

Since kdesktop and kmail are being upgraded, the blocks will be overcome by the time we come to install kioslaves/libkdepim.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Aug 30, 2007 8:53 am    Post subject: Reply with quote

These are the problems I run against in 0.1.4.0_beta2:

* if I do "update -vp <package>" I get this error
Code:
/usr/local/bin/update: line 2478: helpV: command not found

* this morning there was only 1 package to be updated and typing in "update" (which is an alias for "update -D") started the job immediately without asking me - not really how I like things to work :-/

Greetz
swimmer
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Aug 31, 2007 9:42 am    Post subject: Reply with quote

bunkacid wrote:
a word of warning.

if you have EMERGE_DEFAULT_OPTS set in your make.conf, be sure not to include "--quiet"

This fixed my error I was having above.

Nice one, bunkacid; you said you'd wait for the next version, so I didn't put out a bugfix. Beta_2a is a really minor fix, and so the existing 2a will now be 2b (it has a much nicer interface for large resumes, which I think might make a good default for non-verbose use.) --depclean will be beta_3 and when that's all working nicely we'll put out a release.

Anyhow, it should work ok with --quiet in EMERGE_DEFAULT_OPTS now; it'll automatically set the -q option.


Last edited by steveL on Fri Aug 31, 2007 9:50 am; edited 1 time in total
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Aug 31, 2007 9:43 am    Post subject: Reply with quote

swimmer wrote:
* if I do "update -vp <package>" I get this error
Code:
/usr/local/bin/update: line 2478: helpV: command not found

* this morning there was only 1 package to be updated and typing in "update" (which is an alias for "update -D") started the job immediately without asking me - not really how I like things to work :-/

These are fixed in beta_2a; just for you swimmer :P
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Aug 31, 2007 10:48 am    Post subject: Re: feature request: prelink Reply with quote

12345moon12345 wrote:
I would like to see this feature added: after all the emerges run prelink -av automatically ( or maybe with an extra setting)

Yeah that makes sense. I had a look at http://www.gentoo.org/doc/en/prelink-howto.xml and it says it installs a daily cron script, but it would be better to do it at the end of the whole upgrade, glsa-check, depclean, revdep process imo. I don't know much about it: this topic talks about using symlinks -drv / before prelink -av but this bug says:
2007-01-21 -- jakub wrote:
prelink doesn't work w/ KDE, we know about it, noone's maintaining prelink and noone's working on it, look for prelink alternatives instead.

I'm guessing symlinks only needs to be run on install. Any info would be much appreciated, especially on usage of prelink.
/etc/conf.d/prelink wrote:
# Change to
# PRELINK_NOEMER_CHECK_INTERVAL=0
# if you want to disable the portage database timestamp
# check (especially if you don't use portage
# exclusively to upgrade system libraries and/or binaries).

seems to imply that there's no real need. Anyhow, let me know which options (-mR are in config and look good, R maybe for server use?)
Back to top
View user's profile Send private message
Diredicker
n00b
n00b


Joined: 26 Apr 2006
Posts: 31
Location: NL

PostPosted: Sat Sep 01, 2007 7:31 pm    Post subject: Reply with quote

Isn't it better to use the total amount of packages that should be installed in the script?

Packages installed so far: 16 of 16. 7 remaining
Packages installed so far: 17 of 17. 6 remaining


Shouldn't it say

Packages installed so far: 16 of 23. 7 remaining
Packages installed so far: 17 of 23. 6 remaining


Notice the difference?


Quote:

Packages installed so far: 16 of 16. 7 remaining
* Downloading poppler-0.5.4.tar.gz
* (237.35 KB/s) - `/var/tmp/distfiles/poppler-0.5.4.tar.gz' saved [1062401/1062401]
* Patching:...done
* Elibtoolize: poppler-0.5.4
* Patching:..done
** Completed compile
** Uninstalling app-text/poppler-0.5.4-r1
** IMPORTANT: 8 config files in '/etc' need updating.
** app-text/poppler-0.5.4-r2 installed successfully.
Packages installed so far: 17 of 17. 6 remaining
* Downloading lxml-1.3.4.tgz
* (254.24 KB/s) - `/var/tmp/distfiles/lxml-1.3.4.tgz' saved [1219812/1219812]


It is just a suggestion :D
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Sep 02, 2007 4:19 am    Post subject: Reply with quote

Diredicker wrote:
Isn't it better to use the total amount of packages that should be installed in the script?

Packages installed so far: 16 of 16. 7 remaining
Packages installed so far: 17 of 17. 6 remaining


Shouldn't it say

Packages installed so far: 16 of 23. 7 remaining
Packages installed so far: 17 of 23. 6 remaining


Heh, welp asked the same thing when he came over for GUK. The reason for that is, if any have failed it would say eg:

Packages installed so far: 14 of 16. 7 remaining
Packages installed so far: 15 of 17. 6 remaining


The xterm titlebar should show the information you're referring to. 16 of 23. 7 remaining is kinda insulting user intelligence though ;) I prefer the way it is now as you get more info and you quickly see how many packages are left when you glance at the window during a long emerge. I often haven't even noticed something has failed until I spot that the numbers don't match. (Then I scan for the fail list.)
Quote:
It is just a suggestion :D

Heh, they're always welcome :D If you still thinks it would be more useful, I guess we could add it as a config var. TBH though we need to split this script up as it's getting kinda excessive ;)
Back to top
View user's profile Send private message
ryz
n00b
n00b


Joined: 06 Feb 2005
Posts: 11

PostPosted: Sun Sep 02, 2007 10:54 am    Post subject: update -s does not work for me Reply with quote

Just running update without flags works like a charm but if I add the -s flag I get this result:
Quote:

lonestar ~ # update -s
**Emerging -uDN world then running maintenance.
* You will be asked for confirmation; CTRL-C to abort at any time
[Tip] You can speed up portage sync -- please read https://forums.gentoo.org/viewtopic-t-529919.html#3891968
** Syncing portage tree [getting file list] ..
** Resolving..
usage: emerge [options]es in 5.897255 seconds

emerge: error: no such option: --uDNpv
** You can turn off tips with novice=0 in the config file.
** update: Please review the errors : try emerge --uDNpv world for more info
or search site:forums.gentoo.org


Seems that it ads an extra '-'
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Sep 02, 2007 1:35 pm    Post subject: Re: update -s does not work for me Reply with quote

ryz wrote:
Just running update without flags works like a charm but if I add the -s flag I get this result:

emerge: error: no such option: --uDNpv

Seems that it ads an extra '-'

Do you have anything in EMERGE_DEFAULT_OPTS in make.conf? I didn't actually test the fix for --quiet, but if there's anything else (especially -u*) it'll bork. If you want that from update, the easiest way is to use alias update='update -u'

Other than that, nfc atm.
Back to top
View user's profile Send private message
ryz
n00b
n00b


Joined: 06 Feb 2005
Posts: 11

PostPosted: Sun Sep 02, 2007 2:15 pm    Post subject: Re: update -s does not work for me Reply with quote

steveL wrote:

Do you have anything in EMERGE_DEFAULT_OPTS in make.conf? I didn't actually test the fix for --quiet, but if there's anything else (especially -u*) it'll bork. If you want that from update, the easiest way is to use alias update='update -u'

Other than that, nfc atm.


Sorry but I do not set EMERGE_DEFAULT_OPTS at all in my make.conf I see if I have time to debug it a little more later on.
Back to top
View user's profile Send private message
ryz
n00b
n00b


Joined: 06 Feb 2005
Posts: 11

PostPosted: Sun Sep 02, 2007 2:40 pm    Post subject: Reply with quote

I have run the script with the '-x' flag given to bash and belowe you can see a short transcript from that run. The problem seems to come from this line
Code:
[[ $param ]] && param="-$param"
at line number 234. I do not under stand what the extra -n comes from in
Code:
[[ -n -uDN ]]
since param is set to just -uDN. But i have to confess that I am not an bash guru.


Code:

+ hasEIX=0
+ let ask=pretend=quiet=verbose=install=syncFirst=doRevdep=doGLSA=doDepclean=force=doKdeps=doKmods=0
+ let doEmerge=1
+ param=
+ f=()
+ fR=()
+ t=()
+ pf=0
+ '[' 1 -lt 1 ']'
+ [[ 1 -eq 1 ]]
+ [[ -s = -* ]]
+ [[ ! -s = *[^sqvpaFSCRM-]* ]]
+ target=world
+ param=-uDN
+ [[ -s = *[FSCRM]* ]]
+ [[ -s = *M* ]]
+ checkFlags -s
+ getopts :eapqvurnDNbBgGkKcimsfFlRSChxXWYz opt
+ case $opt in
+ syncFirst=1
+ getopts :eapqvurnDNbBgGkKcimsfFlRSChxXWYz opt
+ (( ask&&pretend ))
+ (( quiet&&verbose ))
+ (( resume ))
+ (( server&&(ask||pretend) ))
+ (( server&&verbose>1 ))
+ (( doKmods ))
+ (( doKdeps ))
+ (( doKernel&&(doKmods||doKdeps) ))
+ (( fetchOnly ))
+ [[ -n -uDN ]]
+ param=--uDN
+ macro
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Sep 02, 2007 4:20 pm    Post subject: Reply with quote

ryz wrote:
I have run the script with the '-x' flag given to bash and belowe you can see a short transcript from that run. The problem seems to come from this line
Code:
[[ $param ]] && param="-$param"
at line number 234. I do not under stand what the extra -n comes from in
Code:
[[ -n -uDN ]]
since param is set to just -uDN. But i have to confess that I am not an bash guru.
That is just bash using the test whether $param is nonzero. [[ $param ]] is just the short form for [[ -n $param ]].
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
ryz
n00b
n00b


Joined: 06 Feb 2005
Posts: 11

PostPosted: Sun Sep 02, 2007 6:59 pm    Post subject: Reply with quote

I have found the problem. First param is set to "-uDN" and then it calls checkFlags which ads another minus '-'. Either param should just be set to uDN or checkFlags has to check that if param is not empty that it does not already has an minus in front.


Code:

elif [[ $# -eq 1 && $1 = -* && ! $1 = *[^sqvpaFSCRM-]* ]]; then
   target='world'
   param='-uDN'
   if [[ $1 = *[FSCRM]* ]]; then
      doEmerge=0
      target=[none]
   fi
   [[ $1 = *M* && $1 = *[SCR]* ]] && msg 'M covers all maintenance options'
   checkFlags "$1"
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Sep 02, 2007 10:20 pm    Post subject: Reply with quote

Code:

elif [[ $# -eq 1 && $1 = -* && ! $1 = *[^sqvpaFSCRM-]* ]]; then
   target='world'
   param='-uDN'
   if [[ $1 = *[FSCRM]* ]]; then
      doEmerge=0
      target=[none]
   fi
   [[ $1 = *M* && $1 = *[SCR]* ]] && msg 'M covers all maintenance options'
   checkFlags "$1"

This is only for shortcut usage (ie no target, so implicit world) and only options have nothing to do with tree (ie no -uDN required.) If you specify world it will only use the options you choose.
_________________
creaker wrote:
systemd. It is a really ass pain

update - "a most excellent portage wrapper"

#friendly-coders -- We're still here for you™ ;)
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Wed Sep 05, 2007 8:49 am    Post subject: Reply with quote

Hmm - it happens to me on one (of three) system that if one package fails to compile/install the chain seemed to be borked ...
Code:
!! media-gfx/splashutils-1.5.1.1 failed to install.
! Failed so far: media-gfx/splashutils-1.5.1.1
Checking dependencies..done
** update: Dependency Error - media-video/dvdrip-0.98.8 requires [0.98.6] which is not in the install list!

It happened t ome quite often the last days on this system because splashutils does not build on it but I'm not sure whether the same happens as well on the other systems ... is this a known issue to you guys?

Greetz
swimmer
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Sep 05, 2007 11:39 am    Post subject: Reply with quote

ryz wrote:
Either param should just be set to uDN or checkFlags has to check that if param is not empty that it does not already has an minus in front.

Yeah you're right, sorry wasn't thinking.
_________________
creaker wrote:
systemd. It is a really ass pain

update - "a most excellent portage wrapper"

#friendly-coders -- We're still here for you™ ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
Page 3 of 11

 
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