smart installation not scriptable
Cliff Wells
cliff at develix.com
Tue Dec 18 20:21:45 PST 2007
On Tue, 2007-12-18 at 22:47 -0500, Patrick Shanahan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> * Cliff Wells <cliff at develix.com> [12-18-07 21:23]:
> >
> > Dependency Installed: fedora-package-config-smart.i386 0:8-10 smart.i386
> > 0:0.51-49.fc8
> > Complete!
> > [root at vz111 /]# smart update
> > New channel 'Fedora - i386 - Development (development)' detected.
> > Include it? (Y/n):
> >
> > New channel 'Fedora - i386 - Development - Debug
> > (development-debuginfo)' detected.
> > Include it? (Y/n):
> >
>
>
> herein lies your problem. The package contains pre-configured
> channels. If you add your own channels, interaction is not required.
> So, the first operation:
> smart channel --remove-all -y
Unfortunately this seems to invoke the same series of questions:
Running Transaction
Installing: fedora-package-config-smart ######################### [1/2]
Installing: smart ######################### [2/2]
Dependency Installed: fedora-package-config-smart.i386 0:8-10 smart.i386 0:0.51-49.fc8
Complete!
[root at vz111 tmp]# smart channel -y --remove-all
New channel 'Fedora - i386 - Development (development)' detected.
Include it? (Y/n):
Were it possible, I'd not install fedora-package-config-smart, but it's
a dependency of smart itself (and force installing is against my
religion). Anyway, this problem is clearly a shortcoming in smart. -y
should answer "yes" to all questions, not "most" questions.
Regards,
Cliff
>
> so there are no channels and no questions
> then:
> smart channel --add ./mychannels.txt
> smart update
> and no quesitons.
>
> - --
> Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
> http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
> Registered Linux User #207535 @ http://counter.li.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFHaJRWClSjbQz1U5oRAg3IAKCsFlatB+RioniGz8VbZkyqt/cnbgCfRu56
> tKHUZdZBu/JWyRADu/sq/TA=
> =TXLL
> -----END PGP SIGNATURE-----
More information about the Smart
mailing list