Re: [opensuse] Smart package manager problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stevens wrote: > I asked this question a few days ago but it got no reply, so I am > asking again in the hope that someone may know. > > Smart hosed up (hung, quit, froze, whatever) and I killed it with the > kill command. Subsequent launches give the warning that the configuration > is read only, even as root. If I use cli (smart --gui --ignore-locks) then it > works. > > I have looked in what I thought were the obvious places for a lock file but I > cannot find one. I also searched through the mail list archives and bug > reports for Smart to see if anyone else reported the problem but nothing > came back. Anyone know where the lock file is hiding? The lock file is in the "data-dir": $ smart config --show data-dir /var/lib/smart But it's a real file lock, so it doesn't remain once the process died. Are you really sure there is no smart process still running ? ps -ef | grep smart | grep -v grep If that line shows anything, kill those processes. cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFGHyv5r3NMWliFcXcRAgH6AKCE762f1BAFYFyHJTwXQdP8Y6RE1ACgvs2D syjopRmGyCdTsqu8iGMvz2U= =NsUF -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Smart package manager problem
I asked this question a few days ago but it got no reply, so I am asking again in the hope that someone may know. Smart hosed up (hung, quit, froze, whatever) and I killed it with the kill command. Subsequent launches give the warning that the configuration is read only, even as root. If I use cli (smart --gui --ignore-locks) then it works. I have looked in what I thought were the obvious places for a lock file but I cannot find one. I also searched through the mail list archives and bug reports for Smart to see if anyone else reported the problem but nothing came back. Anyone know where the lock file is hiding? Thanks, Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager questions
* Moby <[EMAIL PROTECTED]> [12-06-06 15:03]: > Patrick Shanahan wrote: > >from the command-line: > > smart flag --help (paying particular attention to 'lock') > > note that *most* command-line application generate help via: app-name -? or --help or -h and smart followes this tradition. -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager questions
Christoph Thiel wrote: On Wed, Dec 06, 2006 at 01:14:01PM -0600, Moby wrote: Hello all, I have two, hopefully quick to answer, questions regarding the Smart package manager. 1) Is there a way to copy the smart configuration (channels etc) from one machine to another? Yes, just save the output of "smart channel --show" and add it on the second maschine by doing a "smart channel --add filename.that.you.saved.your.channel.config.to". 2) Is there a way to exclude certain packages from getting installed even though I want other packages from the same channel (exclude certain packages without deleting the channel) ? Just add a negative (lower) priority to the channel/package. Best, Christoph Thanks Christoph. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager questions
On Wed, Dec 06, 2006 at 01:14:01PM -0600, Moby wrote: > Hello all, I have two, hopefully quick to answer, questions regarding > the Smart package manager. > > 1) Is there a way to copy the smart configuration (channels etc) from > one machine to another? Yes, just save the output of "smart channel --show" and add it on the second maschine by doing a "smart channel --add filename.that.you.saved.your.channel.config.to". > 2) Is there a way to exclude certain packages from getting installed even > though I want other packages from the same channel (exclude certain > packages without deleting the channel) ? Just add a negative (lower) priority to the channel/package. Best, Christoph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager questions
Patrick Shanahan wrote: * Moby <[EMAIL PROTECTED]> [12-06-06 14:19]: 1) Is there a way to copy the smart configuration (channels etc) from one machine to another? provided both machines are of the same SUSE version /var/lib/smart/channel (copy entire directory) 2) Is there a way to exclude certain packages from getting installed even though I want other packages from the same channel (exclude certain packages without deleting the channel) ? from the command-line: smart flag --help (paying particular attention to 'lock') Thank you Patrick, much appreciated. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager questions
* Moby <[EMAIL PROTECTED]> [12-06-06 14:19]: > 1) Is there a way to copy the smart configuration (channels etc) from > one machine to another? provided both machines are of the same SUSE version /var/lib/smart/channel (copy entire directory) > 2) Is there a way to exclude certain packages from getting installed > even though I want other packages from the same channel (exclude certain > packages without deleting the channel) ? from the command-line: smart flag --help (paying particular attention to 'lock') -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Smart package manager questions
Hello all, I have two, hopefully quick to answer, questions regarding the Smart package manager. 1) Is there a way to copy the smart configuration (channels etc) from one machine to another? 2) Is there a way to exclude certain packages from getting installed even though I want other packages from the same channel (exclude certain packages without deleting the channel) ? Thank you in advance for any help, -- --Moby -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package Manager problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jim tate wrote: > Smart-0.42-5.guru.suse101 > > run Smart package manager to do updates and I get this error message, > Anybody know? > > Run: smart config -set keyserver=pgp.mit.edu > and error pops up: no such option: -s > > Anyone know the proper sytax for this command. smart config --set keyserver=subkeys.pgp.net ^^ I would also recommend to use subkeys.pgp.net instead of pgp.mit.edu The latter seems to be known to have some service outages at times, and is not reachable through port 80, which might causes problems when you're behind a firewall or proxy you don't control (e.g. at work ;)). Retrieving keys from subkeys.pgp.net goes through HTTP, so no problems there. cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE3hbnr3NMWliFcXcRAsvHAJ4/XPkpHzuvWem3pPP6PYZPBuii6gCgpt2e 78B7a0rqDAjJstcsAleCGeA= =V2ml -END PGP SIGNATURE-
Re: [opensuse] Smart Package Manager problems
* jim tate <[EMAIL PROTECTED]> [08-12-06 12:23]: > Smart-0.42-5.guru.suse101 > > run Smart package manager to do updates and I get this error message, > Anybody know? > > Run: smart config -set keyserver=pgp.mit.edu > and error pops up: no such option: -s > > Anyone know the proper sytax for this command. 12:35 wahoo:~ > smart config --help Usage: smart config [options] This command allows changing the internal configuration representation arbitrarily. This is supposed to be used by advanced users only, and is generally not needed. Options: -h, --help Show this help message and exit --set Set given key=value options --show Show given options --removeRemove given options --force Ignore problems Examples: smart config --set someoption.suboption=10 smart config --remove someoption smart config --show someoption smart config --show note: there is a reason for 'command --help' and the man files. -- Patrick ShanahanRegistered Linux User #207535 http://wahoo.no-ip.org@ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Re: [opensuse] Smart Package Manager problems
Hi, jim tate schrieb: > Run: smart config -set keyserver=pgp.mit.edu > and error pops up: no such option: -s > > Anyone know the proper sytax for this command. smart config --set keyserver=pgp.mit.edu Note the double hyphen. Andreas Hanke
[opensuse] Smart Package Manager problems
Smart-0.42-5.guru.suse101 run Smart package manager to do updates and I get this error message, Anybody know? Run: smart config -set keyserver=pgp.mit.edu and error pops up: no such option: -s Anyone know the proper sytax for this command. Jim
Re: [opensuse] Smart Package manager
Mandag 31 juli 2006 20:53 skrev Janne Karhunen: > Does the version on CDs have repositories set by default? He's > going to ask that next if he makes that far before giving up. This Kommander script adds repositories to Smart using point and click http://kde-apps.org/content/show.php?content=43378 Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Janne Karhunen wrote: > On Monday 31 July 2006 19:21, Andreas Hanke wrote: >>> Where do I find a working version of Smart Package for Suse10.1. >>> Without the 10,000 dependencies that are needed. >> On your CDs. >> >> Use YaST to install it from the CDs. It will resolve the dependencies >> for you. (It's the last package you have to install with YaST if you >> don't like it.) > > Does the version on CDs have repositories set by default? He's > going to ask that next if he makes that far before giving up. My smart RPMs are preconfigured with repositories. You can get it from one of these locations: http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/smart http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/System/smart/ http://ftp.skynet.be/pub/suser-guru/rpm/packages/System/smart/ Spoon-fed instructions here: http://dev-loki.blogspot.com/2006/05/how-to-install-and-use-smart-on-suse.html [...] cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFEzn4rr3NMWliFcXcRAgtfAKCw6zn7mvuECzIrdmlgQzbcw7D8KwCfUYfK I4YrKhllqb/2lVUZvY3yWKQ= =FVVc -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
Hi, jim tate schrieb: > Is Smart on the cd's on Suse 10.1? Yes, it is. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
Marcus Rueckert wrote: On 2006-07-31 11:49:03 -0400, jim tate wrote: Where do I find a working version of Smart Package for Suse10.1. Without the 10,000 dependencies that are needed. you have 4: python python-elementtree python-xml rpm-python but thanks for counting. darix Is Smart on the cd's on Suse 10.1? Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
On Monday 31 July 2006 19:21, Andreas Hanke wrote: > > Where do I find a working version of Smart Package for Suse10.1. > > Without the 10,000 dependencies that are needed. > > On your CDs. > > Use YaST to install it from the CDs. It will resolve the dependencies > for you. (It's the last package you have to install with YaST if you > don't like it.) Does the version on CDs have repositories set by default? He's going to ask that next if he makes that far before giving up. That said, to install anything, new Linux user needs to know quite a few things to install software; - to know that you need separate tools to install software - how to install/find that tool - name of the tool to use (let alone the fact that you have many semi-working tools available) - how to use the tool - location of the repositories - some luck that repositories are available and working - name of the software to install (naming of packages and programs are far from obvious quite often) Smart etc are great tools all right, but they really don't help real life home user(s) get going if that is to be desired :/ -- // Janne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
Hi, jim tate schrieb: > Where do I find a working version of Smart Package for Suse10.1. > Without the 10,000 dependencies that are needed. On your CDs. Use YaST to install it from the CDs. It will resolve the dependencies for you. (It's the last package you have to install with YaST if you don't like it.) Andreas Hanke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart Package manager
On 2006-07-31 11:49:03 -0400, jim tate wrote: > Where do I find a working version of Smart Package for Suse10.1. > Without the 10,000 dependencies that are needed. you have 4: python python-elementtree python-xml rpm-python but thanks for counting. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Smart Package manager
Where do I find a working version of Smart Package for Suse10.1. Without the 10,000 dependencies that are needed. Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager
On Tue, 2005-10-25 at 17:40 +0200, Christoph Thiel wrote: > On Tue, 25 Oct 2005, Ken Schneider wrote: > > > Trying to use smart on a 9.3 system. When running smart update the cache > > will only build to 91% then the apt crashes with the following: > > > > smart update suse-93-security-apt > > Traceback (most recent call last):## > > ( 91%) > > File "/usr/bin/smart", line 193, in ? > > main(sys.argv[1:]) > > File "/usr/bin/smart", line 166, in main > > exitcode = iface.run(opts.command, opts.argv) > > File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, > > in run > > result = _command.main(self._ctrl, opts) > > File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line > > 77, in main > > ctrl.reloadChannels() > > File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in > > reloadChannels > > self._cache.load() > > File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", > > line 253, in load > > reqdict[(f[i]&7744 and PreReq or Req, > > TypeError: unsubscriptable object > > > > Any clues on how to fix this? > > --- smart/backends/rpm/header.py > +++ smart/backends/rpm/header.py > @@ -246,6 +250,8 @@ > # RPMSENSE_SCRIPT_PREUN | > # RPMSENSE_SCRIPT_POST | > # RPMSENSE_SCRIPT_POSTUN == 7744 > +if type(f) != list: > + f = [f] > reqdict[(f[i]&7744 and PreReq or Req, > intern(ni), r, vi)] = True > reqargs = reqdict.keys() > > > Regards > Christoph > Thank you very much. Problem solved. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Smart package manager
On Tue, 25 Oct 2005, Ken Schneider wrote: > Trying to use smart on a 9.3 system. When running smart update the cache > will only build to 91% then the apt crashes with the following: > > smart update suse-93-security-apt > Traceback (most recent call last):## > ( 91%) > File "/usr/bin/smart", line 193, in ? > main(sys.argv[1:]) > File "/usr/bin/smart", line 166, in main > exitcode = iface.run(opts.command, opts.argv) > File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, > in run > result = _command.main(self._ctrl, opts) > File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line > 77, in main > ctrl.reloadChannels() > File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in > reloadChannels > self._cache.load() > File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", > line 253, in load > reqdict[(f[i]&7744 and PreReq or Req, > TypeError: unsubscriptable object > > Any clues on how to fix this? --- smart/backends/rpm/header.py +++ smart/backends/rpm/header.py @@ -246,6 +250,8 @@ # RPMSENSE_SCRIPT_PREUN | # RPMSENSE_SCRIPT_POST | # RPMSENSE_SCRIPT_POSTUN == 7744 +if type(f) != list: + f = [f] reqdict[(f[i]&7744 and PreReq or Req, intern(ni), r, vi)] = True reqargs = reqdict.keys() Regards Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Smart package manager
Trying to use smart on a 9.3 system. When running smart update the cache will only build to 91% then the apt crashes with the following: smart update suse-93-security-apt Traceback (most recent call last):## ( 91%) File "/usr/bin/smart", line 193, in ? main(sys.argv[1:]) File "/usr/bin/smart", line 166, in main exitcode = iface.run(opts.command, opts.argv) File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run result = _command.main(self._ctrl, opts) File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 77, in main ctrl.reloadChannels() File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in reloadChannels self._cache.load() File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 253, in load reqdict[(f[i]&7744 and PreReq or Req, TypeError: unsubscriptable object Any clues on how to fix this? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]