On Thu, Jul 12, 2007 at 12:53:33PM +1000, Paul wrote:
> ok working now, thanks for the assist.
> 
> only problem is :
> smart upgrade --update
> what to update how can I just list the updates from a script
> 
> eg
> smart upgrade > updates.list

Check out smart upgrade --check.

> Also when I use Man  or smart --help I don't see --update as a listed 
> option are there any other undocumented  arguments

Try smart upgrade --help

> NB:
> smart --version
> smart 0.50
> 
> 
> thanks
> 
> On 11/07/2007 6:56 PM, Axel Thimm wrote:
> >On Wed, Jul 11, 2007 at 11:58:51AM +1000, Paul wrote:
> >>See below answers
> >>On 11/07/2007 9:24 AM, Axel Thimm wrote:
> >>>On Tue, Jul 10, 2007 at 08:46:38AM +1000, Paul wrote:
> >>>>On 10/07/2007 8:02 AM, Axel Thimm wrote:
> >>>>>On Tue, Jul 10, 2007 at 07:56:48AM +1000, Paul wrote:
> >>>>>>I tried smart cmd from the console but Smart doesn't seem to find any 
> >>>>>>of the updates that yum lists for extras or updates (see below)
> >>>>>>what config files do I need to check to verify its setup.
> >>>>>$ rpm -qf /etc/smart/channels/* | sort -u
> >>>>>atrpms-package-config-117-5.fc7
> >>>>>fedora-package-config-smart-7-8.1
> >>>>>
> >>>>>You're probably missing the latter. Or maybe you forgot to `smart
> >>>>>update'? What does smart channel --show say?
> >>>>>
> >>>>I install thee fedora-package-config-smart which now adds the other 
> >>>>channels but I still don't see any updates:
> >>>o does /etc/smart/channels/fedora-updates.channel exist?
> >>yes
> >>==
> >>[updates]
> >>name=Fedora Core 6 - i386 - Updates
> >>baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/
> >>type=rpm-md
> >>[updates-debuginfo]
> >>name=Fedora Core 6 - i386 - Updates - Debug
> >>baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/debug/
> >>disabled=yes
> >>type=rpm-md
> >>[updates-source]
> >>name=Fedora Core 6 - Updates Source
> >>baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/SRPMS/
> >>disabled=yes
> >>type=rpm-md
> >>
> >>==
> >>>o output of smart channel --show updates
> >>[EMAIL PROTECTED] channels]# smart channel --show updates
> >>warning: Channel 'updates' not found.
> >
> >That looks bad.
> >
> >>>o did you enable the channel?
> >>>
> >>I guess so in previous email I answered "y" to the include prompts
> >>
> >>[EMAIL PROTECTED] ~]# smart upgrade --update
> >>New channel 'Fedora Core 6 - i386 (core)' detected.
> >>Include it? (Y/n): y
> >
> >You must have missed the update channel or something is really
> >amiss. Nuke away /var/lib/smart/config and do
> >
> >smart channel --list
> >
> >You will be asked again, press always return. At the end do
> >
> >smart channel --enable updates
> >
> >to make sure it is enabled. If that doesn't work, then I'm out of ideas.
> 

-- 
Axel.Thimm at ATrpms.net

Attachment: pgpoPXoX9VnVj.pgp
Description: PGP signature

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to