Gavin Chester wrote:
On Wed, 2007-12-26 at 09:51 +0200, Dave Plater wrote:
Don't know how you tried to set it up ... but, if you had populated
your
local cache under /var/lib/smart/cache/packages (and so on) with
your
own downloaded packages (after initial setup) it should have "just worked" to get your rpms off the local disk. Don't think you have to create a local repository unless you're serving up to a clutch of
PCs on
a LAN/WAN.
Gavin
Which version of smart are you running? I got 0.52-31 and maybe its just a bug. I tried to add packman to its list and it didn't take it either. The biggest problem is the lack of documentation. I tried a couple of configuration options from command line and couldn't come right either, perhaps there is a file somewhere to edit, I can't find anything useful in etc only two url specs it picked up on first run in the smart directory. Nothing in root either. /var/lib/smart/cache is a file on my system. Dave
If you get the package "smart-latest.rpm" it will automatically contain ALL the desirable repos, particularly packman and guru. A link I give below will tell how. That will solve the big show-stopper for you :-)
The way to solve the second show-stopper is from the smart-faq: "How do I keep the downloaded files after installation? You can do this once by using "smart -o remove-packages=false <install| upgrade>", or set this as a permanent option using "smart config --set remove-packages=false"."
Work from cli first and after installing smart run "$ smart update" and it will prompt you one-by-one to enable all those repos. Getting that correct install file ("smart-latest.rpm") is the key to avoid adding repos by hand. Then add the "smart-gui" package if you prefer the gui approach. I chop and change according to need.
The first time you run "smart update" from the cli and download even one package it will create that directory "/var/lib/smart/packages" (NOTE: I typed that path wrong first posting).
Sounds to me like you need to do some reading :-) Sooo ...
Try these links - especially this first one as most important: http://susewiki.org/index.php?title=SMART_Package_Manager
and for smart documentation either "man smart" or - http://labix.org/smart/faq
Following ALL those steps will get you humming along with the best package (meta)manager around! ;-)
Gavin
Thanks for your help, it looks like a smart package manager. Its maybe a little too smart, it only wants to add the oss and non-oss factory repositories, I assume because my system calls itself 11.0 alpha or because thats where I got it. I am using the gui version and it did the update automatically. When I select hide installed packages, there is nothing to see. I tried adding my local rpm dir and it won't stop asking for keys anyway I jammed the enter key and changed to focus under mouse and it's reached 99% after a while. At last I have a package list, now lets try to hide installed. Yes at last I've got some packages I can install. Now the big test is install poppler (poppler is a no no on my system as it has some issue with kdegraphics. Perfect it tells me to remove xpdf-tools, kdebase, kdegraphics and every thing kerry or beagle. OK it looks good, thanks for forcing me to make an extra effort. seasons compliments Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org