Op zondag 8 januari 2006 11:56, schreef Pascal Bleser:
> >>> Something like the /etc/yum.repos.d directory but than on a central
> >>> server. (Perhaps start on wiki page)?  packman has a mirrorlist file, I
> >>> have a just created a repodata file, there is one for kolab, but where
> >>> can these be registered?  How do we know what is available, without
> >>> searching the whole internet?  Perhaps Eberhard can make a directory
> >>> that hold links to all the repodata directories on his server?
> >>
> >> Similar to the list of repositories on http://opensuse.org
> >>
> >> Note that smart has the nice ability to retrieve a list of repositories
> >> from a text file, e.g.: smart channel --add
> >> http://linux01.gwdg.de/~pbleser/files/smart/my-smart-channels.txt
> >
> > Something like this I was looking for indeed.  Can it be stored on a wiki
> > page, so we can all add our own channel information?
>
> I would suggest that too. See the URL above.
> Maybe we could also embed smart channel files for those ?
> e.g. a link to a file "guru-10.0.channel" that includes the following:
>
> [guru-10.0]
> type = yast2
> name = Guru
> baseurl = http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0
>
> One would just need to right-click the link on the wiki page, "copy link
> location" and then paste it in a shell, like this:
> smart channel --add http://www.opensuse.org/smart/guru-10.0.channel
>
> Maybe one could even make a MIME handler for *.channel files (one-click
> channel adding) ;) *.channel => kdesu - -c "konsole -e 'smart channel
> --add'"
> or something like that, with a .desktop file...

Yes, that would be awesome!

> >> Smart has no rpmkey support AFAIK. Again, could be done as well.
> >
> > How does this not get forgotten, do you take care for it?  BTW, I think
> > this is a must if smart is to replace apt.  so 'smart install
> > rpmkey-suser-guru' should insert your key into the gpg database.
>
> Hmm... IIRC that works on RPM level.

No it is not.  It are plugins into apt.  Gustavo knows this very well ;)
Have a look at the scripts:
/usr/lib/apt/scripts (from the pkg apt).

Does smart support the functionality provided by: gpg-checker.lua, 
gpg-import.lua, pkglog.lua and post.lua inclusive configuration settings.

Heh, we want smart to replace apt, so it should do it with the same 
functionality or more.

> What I meant with "no rpmkey support" is that Smart won't automatically
> install the rpmkey-* RPM that matches a repository (as yum does IIRC).

How does yum do this, where does it fetch the signature from?

> > Is there yast support to configure automatic package upgrades?
> > Have a look at:
> > /var/adm/fillup-templates/sysconfig.autoupdate
> > This can be reached via yast -> system -> sysconfig editor -> Autoupdate
>
> That's a YaST2-only feature, or YOU rather.

No not all.  It uses YAST to provide a GUI.  The backend is stored in:
/etc/cron.daily/suse-apt-upgrade

> Would require YOU repository support in Smart.
> That might be on Mauricio's TODO list, once yast2 repository support is
> sufficently tested ;)

I thought that YOU is already able to repomd formatted pkg repositories?
Could you explain what Mauricio is adding?

> > Running # smart upgrade
> > Loading cache...
> > Updating cache...               ########################################
> > [100%]
> >
> > Computing transaction...
> >
> > Upgrading packages (19):
> >   alsa               gcompris           libvorbis         
> > perl-Cyrus-IMAP alsa-devel         imlib2             libvorbis-devel   
> > rar
> >   alsa-firmware      imlib2-loaders     libxine1           sane
> >   alsa-tools         k3b                mad                speex
> >   freeciv            kipi-plugins       mplayerplug-in
> >
> > Installed packages (5):
> >   faac         faad2        libffmpeg0   libmpcdec    xvid
> >
> > Now from which repositories are these packages installed.  With apt does
> > can be deducted from the version number.  Would smart be able to put the
> > component name behind the rpm name?
>
> Sure. Not implemented as of now, but from having looked at the smart source
> code [1] a few times, I'd say this would be very easy to implement, but has
> to be done for the shell, CLI and GUI interface.
>
> Please open a feature request on the tracker [2].
>
> [1] svn co http://svn.smartpm.python-hosting.com/trunk
> [2] http://tracker.labix.org/
>
> > What is meant in the output above with:
> >
> > Installed packages (5):
> >   faac         faad2        libffmpeg0   libmpcdec    xvid
> >
> > The package is not installed, see:
> > linux:/etc/sysconfig # rpm -q faac
> > package faac is not installed
>
> Actually it means that to perform the upgrade you've asked for, smart will
> - upgrade the 19 packages mentioned in "Upgrading packages"
> - additionally install the 5 currently uninstalled packaged mentioned in
> "Installed packages" to fulfill the dependencies created by the upgrade
> process
>
> Indeed, "Installed packages" might be a bit misleading.
> "Installing additional packages" would be more appropriate.
>
> I've submitted a bug (+ patch) for this one:
> http://tracker.labix.org/issue72 (same for "Removed packages", should be
> "Removing packages")
>
> cheers

What does smart mean with updating cache?  Does it retrieve new information 
from an online server, see:

linux:/usr/share/doc/packages/apt/lua-scripts/gpg-check> smart search yast2-tv
Loading cache...
Updating cache...           ######################################## [100%]

yast2-tv - YaST2 - TV Configuration


linux:/usr/share/doc/packages/apt/lua-scripts/gpg-check> smart search yast2
Loading cache...
Updating cache...         ######################################## [100%]

Why is the 2nd time the cache updated?  Does smart use a local cache, if so 
where is it stored?  This is as regular user so the local cached if owned by 
root can not be updated.


Just testing smart with 1 of my packages.  I choose gramps, which is already 
installed, it can be updated it works and as far as I know there are no 
problems with it.  Still smart tells me the following packages are needed:

[EMAIL PROTECTED]:~> smart install gramps
Loading cache...
Updating cache...               ######################################## 
[100%]

Computing transaction...

Upgrading packages (1):
  [EMAIL PROTECTED]

Installed packages (8):
  [EMAIL PROTECTED]             [EMAIL PROTECTED]
  [EMAIL PROTECTED]                 [EMAIL PROTECTED]
  [EMAIL PROTECTED]                [EMAIL PROTECTED]
  [EMAIL PROTECTED]                  [EMAIL PROTECTED]

7.0MB of package files are needed. 12.9MB will be used.
===========

Why are these packages needed/  Why do I needed a gnome CD burner for this 
application (it does not do anything with CDs at all)....  The counts for 
totem, probably isocodes.


Now if I answer "Y" to the question:

Confirm changes? (Y/n):

It crashes:

Traceback (most recent call last):
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])


This for now.  With respect to have smart replace apt and as such leave apt 
out of the distribution; I think that smart is getting there, but that it is 
still lacking things and in some cases have bugs that are to be fixed.  

What I would like to see is, to have smart installed by default on suse (if 
suse want to push it) and provide apt online for 10.1 (not on CD as is the 
case with 10.0).   With 10.2 apt can be moved from online to .....
I believe this scenario (descirbed) is needed to give smart some time to 
mature and to get susers used to smart.  besides that the 10.1 alpha cycly is 
almost finished and as such no big new things can be added to 10.1...

Provide more information online (wiki whatever) with tricks and such.

I have not filed bugs, I leave that up to the people that want smart to 
succeed with suse.


-- 
Regards,

Richard Bos
Without a home the journey is endless

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to